|
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 PARAMETER| Method Detail |
|---|
public Id 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 - the reference object with which to compare.
public int hashCode()
hashCode in class NodeHandlepublic void receiveMessage(Message m)
receiveMessage in class NodeHandlem - DESCRIBE THE PARAMETERpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparableo - 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 NodeHandlebuf - 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 | |||||||||