|
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
public static class 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)
Compares this to the parameter. |
int |
getLiveness()
Gets the Liveness attribute of the TestNodeHandle object |
Id |
getNodeId()
Gets the NodeId attribute of the TestNodeHandle object |
int |
hashCode()
Computes a hash value for this object. |
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()
Converts to a String representation of the object. |
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
- the reference object with which to compare.
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()
toString
in class java.lang.Object
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 |