FileDocCategorySizeDatePackage
DHTRouterContact.javaAPI DocAzureus 3.0.3.42195Mon Apr 24 14:11:08 BST 2006com.aelitis.azureus.core.dht.router

DHTRouterContact

public interface DHTRouterContact
author
parg

Fields Summary
Constructors Summary
Methods Summary
public DHTRouterContactAttachmentgetAttachment()

public byte[]getID()

public java.lang.StringgetString()

public longgetTimeAlive()
time between first establishing the contact was alive and now, assuming that its not failing. 0 -> failing

return

public booleanhasBeenAlive()
indicates whether or not a message has been received from, or an operation has successfully been made to, the contact.

return

public booleanisAlive()
Whether or not the contact's last interaction was successful

return

public booleanisBucketEntry()
Returns whether this router contact is in a bucket.

return
true if in a bucket, false otherwise

public booleanisFailing()
Whether or not the contact has failed once or more since last alive (if ever)

return

public booleanisReplacement()
Returns whether this router contact is a replacement.

return
true if a replacement, false otherwise