|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.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, logger |
Fields inherited from class rice.p2p.commonapi.NodeHandle |
DECLARED_DEAD, DECLARED_LIVE, PROXIMITY_CHANGED |
Constructor Summary | |
LeafSetTest.TestNodeHandle(Id 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 |
Id |
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 |
void |
serialize(OutputBuffer buf)
DESCRIBE THE METHOD |
java.lang.String |
toString()
DESCRIBE THE METHOD |
Methods inherited from class rice.pastry.NodeHandle |
assertLocalNode, bootstrap, checkLiveness, getId, getLocalNode, isAlive |
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(Id id)
id
- DESCRIBE THE PARAMETERMethod Detail |
public Id 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 class NodeHandle
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()
public void serialize(OutputBuffer buf) throws java.io.IOException
serialize
in class NodeHandle
buf
- DESCRIBE THE PARAMETER
java.io.IOException
- DESCRIBE THE EXCEPTION
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |