|
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
public static class LeafSetTest.TestNodeHandle
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)
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
|
boolean |
equals(java.lang.Object obj)
Equality operator for nodehandles. |
int |
getLiveness()
A more detailed version of isAlive(). |
Id |
getNodeId()
Gets the nodeId of this Pastry node. |
int |
hashCode()
Hash codes for nodehandles. |
boolean |
ping()
Ping the node. |
int |
proximity()
Deprecated. |
void |
receiveMessage(Message m)
Deprecated. |
void |
serialize(OutputBuffer buf)
|
java.lang.String |
toString()
|
Methods inherited from class rice.pastry.NodeHandle |
---|
addObserver, addObserver, assertLocalNode, bootstrap, checkLiveness, countObservers, deleteObserver, deleteObservers, getId, getLocalNode, isAlive, notifyObservers, update |
Methods inherited from class java.util.Observable |
---|
clearChanged, hasChanged, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LeafSetTest.TestNodeHandle(Id id)
Method Detail |
---|
public Id getNodeId()
NodeHandle
getNodeId
in class NodeHandle
public int getLiveness()
NodeHandle
getLiveness
in class NodeHandle
public int proximity()
NodeHandle
proximity
in class NodeHandle
public boolean ping()
NodeHandle
ping
in class NodeHandle
public boolean equals(java.lang.Object obj)
NodeHandle
equals
in class NodeHandle
obj
- a nodehandle object
public int hashCode()
NodeHandle
hashCode
in class NodeHandle
public void receiveMessage(Message m)
receiveMessage
in class NodeHandle
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public java.lang.String toString()
toString
in class java.lang.Object
public void serialize(OutputBuffer buf) throws java.io.IOException
serialize
in class NodeHandle
java.io.IOException
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |