|
ePOST 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
| 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(NodeId 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(). |
NodeId |
getNodeId()
Gets the nodeId of this Pastry node. |
int |
hashCode()
Hash codes for nodehandles. |
boolean |
ping()
Ping the node. |
int |
proximity()
Returns the last known proximity information about the Pastry node associated with this handle. |
void |
receiveMessage(Message m)
Passes a message along to entity which is this message receiver. |
java.lang.String |
toString()
|
| 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(NodeId id)
| Method Detail |
|---|
public NodeId getNodeId()
NodeHandle
getNodeId in class NodeHandlepublic int getLiveness()
NodeHandle
getLiveness in class NodeHandlepublic int proximity()
NodeHandle
proximity in class NodeHandlepublic boolean ping()
NodeHandle
ping in class NodeHandlepublic boolean equals(java.lang.Object obj)
NodeHandle
equals in class NodeHandleobj - a nodehandle object
public int hashCode()
NodeHandle
hashCode in class NodeHandlepublic void receiveMessage(Message m)
MessageReceiver
receiveMessage in interface MessageReceiverm - the message.public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic java.lang.String toString()
toString in class java.lang.Object
|
ePOST API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||