|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DHTRouterObserver
Observer interface to allow monitoring of contacts in the routing table.
Method Summary | |
---|---|
void |
added(DHTRouterContact contact)
Observer method invoked when a contact is added to the routing table. |
void |
destroyed(DHTRouter router)
Router is not longer in use |
void |
locationChanged(DHTRouterContact contact)
Observer method invoked when a contact changes between a bucket entry and a replacement in the routing table. |
void |
nowAlive(DHTRouterContact contact)
Observer method invoked when a contact is found to be alive. |
void |
nowFailing(DHTRouterContact contact)
Observer method invoked when a contact is found to be failing. |
void |
removed(DHTRouterContact contact)
Observer method invoked when a contact is removed from the routing table. |
Method Detail |
---|
void added(DHTRouterContact contact)
contact
- the added contactvoid removed(DHTRouterContact contact)
contact
- the removed contactvoid locationChanged(DHTRouterContact contact)
contact
- the contact that changed locationvoid nowAlive(DHTRouterContact contact)
contact
- the contact now alivevoid nowFailing(DHTRouterContact contact)
contact
- the contact now failingvoid destroyed(DHTRouter router)
router
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |