|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.pastry.client.PastryAppl rice.pastry.standard.StandardRouteSetProtocol
public class StandardRouteSetProtocol
An implementation of a simple route set protocol.
Field Summary | |
---|---|
protected Logger |
logger
|
Fields inherited from class rice.pastry.client.PastryAppl |
---|
address, deserializer, instance, options, receiver, thePastryNode |
Constructor Summary | |
---|---|
StandardRouteSetProtocol(PastryNode ln,
RoutingTable rt)
Constructor. |
|
StandardRouteSetProtocol(PastryNode ln,
RoutingTable rt,
MessageDeserializer md)
|
Method Summary | |
---|---|
boolean |
deliverWhenNotReady()
Instructs the MessageDispatch how to behave when the PastryNode is not ready. |
void |
messageForAppl(Message msg)
Receives a message. |
Methods inherited from class rice.pastry.client.PastryAppl |
---|
accept, canReceiveSocket, connect, destroy, enrouteMessage, finishReceiveSocket, getAddress, getDeserializer, getLeafSet, getNodeHandle, getNodeId, getRoutingTable, isClosest, leafSetChange, notifyReady, receiveMessage, receiveMessageInternal, register, routeMsg, routeMsg, routeMsgDirect, routeSetChange, setDeserializer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Logger logger
Constructor Detail |
---|
public StandardRouteSetProtocol(PastryNode ln, RoutingTable rt)
lh
- the local handlesm
- the security managerrt
- the routing tablepublic StandardRouteSetProtocol(PastryNode ln, RoutingTable rt, MessageDeserializer md)
Method Detail |
---|
public void messageForAppl(Message msg)
messageForAppl
in class PastryAppl
msg
- the message.public boolean deliverWhenNotReady()
PastryAppl
deliverWhenNotReady
in class PastryAppl
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |