org.gudy.azureus2.plugins.download
Interface DownloadAnnounceResultPeer

All Known Subinterfaces:
TRTrackerAnnouncerResponsePeer
All Known Implementing Classes:
TRTrackerAnnouncerResponsePeerImpl

public interface DownloadAnnounceResultPeer

Author:
parg

Field Summary
static String PEERSOURCE_BT_TRACKER
          Peer source for all peers discovered through a tracker announce
static String PEERSOURCE_DHT
          Peer source for all peers discovered through other peers from a globally accessible gossiping protocl (usually a DHT)
static String PEERSOURCE_INCOMING
          Peer source for all peers which already connected to us but we know nothing about since the connection is incoming
static String PEERSOURCE_PEX
          Peer source for all peers discovered through other peers in the same swarm via gossiping protocols
static 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
 String getAddress()
           
 byte[] getPeerID()
           
 int getPort()
           
 short getProtocol()
           
 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 String PEERSOURCE_BT_TRACKER
Peer source for all peers discovered through a tracker announce

See Also:
Constant Field Values

PEERSOURCE_DHT

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

See Also:
Constant Field Values

PEERSOURCE_PEX

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

See Also:
Constant Field Values

PEERSOURCE_PLUGIN

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

See Also:
Constant Field Values

PEERSOURCE_INCOMING

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

See Also:
Constant Field Values
Method Detail

getSource

String getSource()

getPort

int getPort()

getUDPPort

int getUDPPort()

getAddress

String getAddress()

getPeerID

byte[] getPeerID()

getProtocol

short getProtocol()