|
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
org.mpisws.p2p.transport.commonapi.TransportLayerNodeHandle<Identifier>
rice.pastry.NodeHandle<Identifier>
rice.pastry.dist.DistNodeHandle<MultiInetSocketAddress>
rice.pastry.socket.SocketNodeHandle
rice.pastry.socket.nat.rendezvous.RendezvousSocketNodeHandle
public class RendezvousSocketNodeHandle
Maintains RendezvousInfo with the NodeHandle
| Field Summary |
|---|
| Fields inherited from class rice.pastry.socket.SocketNodeHandle |
|---|
eaddress |
| Fields inherited from class rice.pastry.dist.DistNodeHandle |
|---|
nodeId |
| 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 |
| Method Summary | |
|---|---|
boolean |
canContactDirect()
|
boolean |
isConnected()
return True if isAlive() and canContactDirect() or we already have a direct connection on the third party channel. |
void |
serialize(OutputBuffer buf)
|
| Methods inherited from class rice.pastry.socket.SocketNodeHandle |
|---|
checkLiveness, equals, getAddress, getEpoch, getIdentifier, getInetSocketAddress, getLiveness, hashCode, isLocal, ping, proximity, receiveMessage, setLocalNode, toString, toStringFull, update |
| Methods inherited from class rice.pastry.dist.DistNodeHandle |
|---|
getNodeId |
| Methods inherited from class rice.pastry.NodeHandle |
|---|
addObserver, addObserver, assertLocalNode, bootstrap, 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 |
| Method Detail |
|---|
public void serialize(OutputBuffer buf)
throws java.io.IOException
serialize in class SocketNodeHandlejava.io.IOExceptionpublic boolean canContactDirect()
canContactDirect in interface RendezvousContactpublic boolean isConnected()
RendezvousContact
isConnected in interface RendezvousContact
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||