|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PeerEvent
Field Summary | |
---|---|
static int |
ET_ADD_AVAILABILITY
The peer asserts that their availability should be added to the torrent-global availability pool. |
static int |
ET_BAD_CHUNK
The peer has sent us a bad piece data chunk. |
static int |
ET_REMOVE_AVAILABILITY
The peer asserts that their availability must now be taken from the torrent-global availability pool The peer must send this only after having sent a corresponding addAvailability message, and must not send it in a state prior to CLOSING state. |
static int |
ET_STATE_CHANGED
peer state has changed data - Integer holding one of the state values defined in Peer |
Method Summary | |
---|---|
Object |
getData()
|
int |
getType()
|
Field Detail |
---|
static final int ET_STATE_CHANGED
static final int ET_BAD_CHUNK
static final int ET_ADD_AVAILABILITY
static final int ET_REMOVE_AVAILABILITY
Method Detail |
---|
int getType()
Object getData()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |