org.gudy.azureus2.plugins.download
Interface DownloadAnnounceResultPeer


public interface DownloadAnnounceResultPeer

Author:
parg

Field Summary
static java.lang.String PEERSOURCE_BT_TRACKER
          Peer source for all peers discovered through a tracker announce
static java.lang.String PEERSOURCE_DHT
          Peer source for all peers discovered through other peers from a globally accessible gossiping protocl (usually a DHT)
static java.lang.String PEERSOURCE_INCOMING
          Peer source for all peers which already connected to us but we know nothing about since the connection is incoming
static java.lang.String PEERSOURCE_PEX
          Peer source for all peers discovered through other peers in the same swarm via gossiping protocols
static java.lang.String PEERSOURCE_PLUGIN
          Peer source for all peers discovered by plugins that do not fall into the other categories
static short PROTOCOL_CRYPT
           
static short PROTOCOL_NORMAL
           
 
Method Summary
 java.lang.String getAddress()
           
 byte[] getPeerID()
           
 int getPort()
           
 short getProtocol()
           
 java.lang.String getSource()
           
 int getUDPPort()
           
 

Field Detail

PROTOCOL_NORMAL

static final short PROTOCOL_NORMAL
See Also:
Constant Field Values

PROTOCOL_CRYPT

static final short PROTOCOL_CRYPT
See Also:
Constant Field Values

PEERSOURCE_BT_TRACKER

static final java.lang.String PEERSOURCE_BT_TRACKER
Peer source for all peers discovered through a tracker announce


PEERSOURCE_DHT

static final java.lang.String PEERSOURCE_DHT
Peer source for all peers discovered through other peers from a globally accessible gossiping protocl (usually a DHT)


PEERSOURCE_PEX

static final java.lang.String PEERSOURCE_PEX
Peer source for all peers discovered through other peers in the same swarm via gossiping protocols


PEERSOURCE_PLUGIN

static final java.lang.String PEERSOURCE_PLUGIN
Peer source for all peers discovered by plugins that do not fall into the other categories


PEERSOURCE_INCOMING

static final java.lang.String PEERSOURCE_INCOMING
Peer source for all peers which already connected to us but we know nothing about since the connection is incoming

Method Detail

getSource

java.lang.String getSource()

getPort

int getPort()

getUDPPort

int getUDPPort()

getAddress

java.lang.String getAddress()

getPeerID

byte[] getPeerID()

getProtocol

short getProtocol()