|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DHTRouterContact
Method Summary | |
---|---|
DHTRouterContactAttachment |
getAttachment()
|
byte[] |
getID()
|
java.lang.String |
getString()
|
long |
getTimeAlive()
time between first establishing the contact was alive and now, assuming that its not failing. |
boolean |
hasBeenAlive()
indicates whether or not a message has been received from, or an operation has successfully been made to, the contact. |
boolean |
isAlive()
Whether or not the contact's last interaction was successful |
boolean |
isBucketEntry()
Returns whether this router contact is in a bucket. |
boolean |
isFailing()
Whether or not the contact has failed once or more since last alive (if ever) |
boolean |
isReplacement()
Returns whether this router contact is a replacement. |
Method Detail |
---|
byte[] getID()
DHTRouterContactAttachment getAttachment()
boolean hasBeenAlive()
boolean isFailing()
boolean isAlive()
long getTimeAlive()
java.lang.String getString()
boolean isBucketEntry()
true
if in a bucket, false
otherwiseboolean isReplacement()
true
if a replacement, false
otherwise
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |