|
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 |
Fields inherited from interface rice.pastry.LocalNodeI |
pending |
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 PARAMETERMethod Detail |
public NodeId getNodeId()
getNodeId
in class NodeHandle
public int getLiveness()
getLiveness
in class NodeHandle
public int proximity()
proximity
in class NodeHandle
public boolean ping()
ping
in class NodeHandle
public boolean equals(java.lang.Object obj)
equals
in class NodeHandle
obj
- DESCRIBE THE PARAMETER
public int hashCode()
hashCode
in class NodeHandle
public void receiveMessage(Message m)
receiveMessage
in interface MessageReceiver
m
- DESCRIBE THE PARAMETERpublic int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
o
- 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 |