org.gudy.azureus2.plugins.peers
Interface PeerManagerEvent


public interface PeerManagerEvent


Field Summary
static int ET_PEER_ADDED
          Peer Added: Use getPeer
static int ET_PEER_DISCOVERED
          Peer Discovered: getPeerDescriptor for discovery information; getPeer() returns peer that discovered it.
static int ET_PEER_REMOVED
          Peer Removed: Use getPeer
static int ET_PEER_SENT_BAD_DATA
          Peer Sent Bad Data: getPeer(); getData() to retrieve Integer piece number
static int ET_PIECE_ACTIVATED
          Piece Activated: Use getPeer(); getData() returns Piece Object
static int ET_PIECE_COMPLETION_CHANGED
          Piece Completion Changed: Use getPeer(); getData() returns Piece Object
static int ET_PIECE_DEACTIVATED
          Piece Deactivated: Use getPeer(); getData() returns Piece Object
 
Method Summary
 java.lang.Object getData()
           
 Peer getPeer()
           
 PeerDescriptor getPeerDescriptor()
           
 PeerManager getPeerManager()
           
 int getType()
           
 

Field Detail

ET_PEER_ADDED

static final int ET_PEER_ADDED
Peer Added: Use getPeer

See Also:
Constant Field Values

ET_PEER_REMOVED

static final int ET_PEER_REMOVED
Peer Removed: Use getPeer

See Also:
Constant Field Values

ET_PEER_DISCOVERED

static final int ET_PEER_DISCOVERED
Peer Discovered: getPeerDescriptor for discovery information; getPeer() returns peer that discovered it.

See Also:
Constant Field Values

ET_PEER_SENT_BAD_DATA

static final int ET_PEER_SENT_BAD_DATA
Peer Sent Bad Data: getPeer(); getData() to retrieve Integer piece number

See Also:
Constant Field Values

ET_PIECE_ACTIVATED

static final int ET_PIECE_ACTIVATED
Piece Activated: Use getPeer(); getData() returns Piece Object

See Also:
Constant Field Values

ET_PIECE_DEACTIVATED

static final int ET_PIECE_DEACTIVATED
Piece Deactivated: Use getPeer(); getData() returns Piece Object

See Also:
Constant Field Values

ET_PIECE_COMPLETION_CHANGED

static final int ET_PIECE_COMPLETION_CHANGED
Piece Completion Changed: Use getPeer(); getData() returns Piece Object

See Also:
Constant Field Values
Method Detail

getPeerManager

PeerManager getPeerManager()

getType

int getType()

getPeer

Peer getPeer()

getPeerDescriptor

PeerDescriptor getPeerDescriptor()

getData

java.lang.Object getData()