|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.pastry.client.PastryAppl
rice.pastry.socket.nat.rendezvous.RendezvousApp
public abstract class RendezvousApp
TODO: make not abstract
Field Summary |
---|
Fields inherited from class rice.pastry.client.PastryAppl |
---|
address, deserializer, instance, logger, options, receiver, thePastryNode |
Constructor Summary | |
---|---|
RendezvousApp(PastryNode pn)
|
Method Summary | |
---|---|
void |
isNatted(NodeHandle bootstrap,
Continuation<java.net.InetSocketAddress,java.lang.Exception> receiveResult)
Can be called before you boot, will tell you if you are Firewalled. |
void |
updateLocalRendezvousInfo(RendezvousInfo info)
This only sets the local node's info, but you could imagine updating this remotely with a push. |
void |
updateRemoteRendezvousInfo(NodeHandle handle)
Routes a message to the key: If it is the key, gets the updated info. |
Methods inherited from class rice.pastry.client.PastryAppl |
---|
accept, canReceiveSocket, connect, deliverWhenNotReady, destroy, enrouteMessage, finishReceiveSocket, getAddress, getDeserializer, getLeafSet, getNodeHandle, getNodeId, getRoutingTable, isClosest, leafSetChange, messageForAppl, notifyReady, receiveMessage, receiveMessageInternal, register, routeMsg, routeMsgDirect, routeSetChange, setDeserializer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RendezvousApp(PastryNode pn)
Method Detail |
---|
public void isNatted(NodeHandle bootstrap, Continuation<java.net.InetSocketAddress,java.lang.Exception> receiveResult)
bootstrap
- receiveResult
- public void updateLocalRendezvousInfo(RendezvousInfo info)
info
- public void updateRemoteRendezvousInfo(NodeHandle handle)
handle
-
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |