|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 | |
---|---|
Object |
getData()
|
Peer |
getPeer()
|
PeerDescriptor |
getPeerDescriptor()
|
PeerManager |
getPeerManager()
|
int |
getType()
|
Field Detail |
---|
static final int ET_PEER_ADDED
static final int ET_PEER_REMOVED
static final int ET_PEER_DISCOVERED
static final int ET_PEER_SENT_BAD_DATA
getPeer()
; getData()
to retrieve Integer
piece number
static final int ET_PIECE_ACTIVATED
getPeer()
; getData()
returns Piece Object
static final int ET_PIECE_DEACTIVATED
getPeer()
; getData()
returns Piece Object
static final int ET_PIECE_COMPLETION_CHANGED
getPeer()
; getData()
returns Piece Object
Method Detail |
---|
PeerManager getPeerManager()
int getType()
Peer getPeer()
PeerDescriptor getPeerDescriptor()
Object getData()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |