|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.Observable
rice.p2p.commonapi.NodeHandle
rice.pastry.NodeHandle
rice.pastry.testing.LeafSetTest.TestNodeHandle
DESCRIBE THE CLASS
| Field Summary |
| Fields inherited from class rice.pastry.NodeHandle |
LIVENESS_ALIVE, LIVENESS_DEAD, LIVENESS_SUSPECTED, localnode |
| Fields inherited from class rice.p2p.commonapi.NodeHandle |
DECLARED_DEAD, DECLARED_LIVE, PROXIMITY_CHANGED |
| Constructor Summary | |
LeafSetTest.TestNodeHandle(NodeId id)
Constructor for TestNodeHandle. |
|
| Method Summary | |
int |
compareTo(java.lang.Object o)
DESCRIBE THE METHOD |
boolean |
equals(java.lang.Object obj)
DESCRIBE THE METHOD |
int |
getLiveness()
Gets the Liveness attribute of the TestNodeHandle object |
NodeId |
getNodeId()
Gets the NodeId attribute of the TestNodeHandle object |
int |
hashCode()
DESCRIBE THE METHOD |
boolean |
ping()
DESCRIBE THE METHOD |
int |
proximity()
DESCRIBE THE METHOD |
void |
receiveMessage(Message m)
DESCRIBE THE METHOD |
java.lang.String |
toString()
DESCRIBE THE METHOD |
| Methods inherited from class rice.pastry.NodeHandle |
afterSetLocalNode, assertLocalNode, bootstrap, checkLiveness, getId, getLocalNode, isAlive, setLocalNode |
| Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public LeafSetTest.TestNodeHandle(NodeId id)
id - DESCRIBE THE PARAMETER| Method Detail |
public NodeId getNodeId()
getNodeId in class NodeHandlepublic int getLiveness()
getLiveness in class NodeHandlepublic int proximity()
proximity in class NodeHandlepublic boolean ping()
ping in class NodeHandlepublic boolean equals(java.lang.Object obj)
equals in class NodeHandleobj - DESCRIBE THE PARAMETER
public int hashCode()
hashCode in class NodeHandlepublic void receiveMessage(Message m)
receiveMessage in interface MessageReceiverm - DESCRIBE THE PARAMETERpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparableo - DESCRIBE THE PARAMETER
public java.lang.String toString()
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||