|
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
Field Summary | |
static java.lang.Integer |
DECLARED_DEAD
DESCRIBE THE FIELD |
static java.lang.Integer |
DECLARED_LIVE
DESCRIBE THE FIELD |
static java.lang.Integer |
PROXIMITY_CHANGED
DESCRIBE THE FIELD |
Constructor Summary | |
NodeHandle()
|
Method Summary | |
abstract boolean |
checkLiveness()
Requests that the underlying transport layer check to ensure that the remote node is live. |
abstract Id |
getId()
Returns this node's id. |
abstract boolean |
isAlive()
Returns whether or not this node is currently alive |
abstract int |
proximity()
Returns the current proximity value of this node |
abstract void |
serialize(OutputBuffer buf)
DESCRIBE THE METHOD |
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.Integer PROXIMITY_CHANGED
public static final java.lang.Integer DECLARED_DEAD
public static final java.lang.Integer DECLARED_LIVE
Constructor Detail |
public NodeHandle()
Method Detail |
public abstract Id getId()
public abstract boolean isAlive()
public abstract int proximity()
public abstract boolean checkLiveness()
public abstract void serialize(OutputBuffer buf) throws java.io.IOException
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 |