|
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.leafset.testing.MergeTest.TestNodeHandle
public static class MergeTest.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 | |
|---|---|
MergeTest.TestNodeHandle(Id id)
|
|
| Method Summary | |
|---|---|
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 MergeTest.TestNodeHandle(Id id)
| Method Detail |
|---|
public Id 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)
receiveMessage in class NodeHandlepublic java.lang.String toString()
toString in class java.lang.Object
public void serialize(OutputBuffer buf)
throws java.io.IOException
serialize in class NodeHandlejava.io.IOException
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||