|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rice.pastry.standard.StandardRouteSetProtocol
An implementation of a simple route set protocol.
Constructor Summary | |
StandardRouteSetProtocol(rice.pastry.NodeHandle lh,
rice.pastry.security.PastrySecurityManager sm,
rice.pastry.routing.RoutingTable rt)
Constructor. |
Method Summary | |
rice.pastry.messaging.Address |
getAddress()
Gets the address. |
void |
receiveMessage(rice.pastry.messaging.Message msg)
Receives a message. |
void |
update(java.util.Observable obs,
java.lang.Object arg)
Observer update. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StandardRouteSetProtocol(rice.pastry.NodeHandle lh, rice.pastry.security.PastrySecurityManager sm, rice.pastry.routing.RoutingTable rt)
lh
- the local handlesm
- the security managerrt
- the routing tableMethod Detail |
public rice.pastry.messaging.Address getAddress()
public void update(java.util.Observable obs, java.lang.Object arg)
update
in interface java.util.Observer
obs
- the observable.arg
- the argument.public void receiveMessage(rice.pastry.messaging.Message msg)
receiveMessage
in interface MessageReceiver
msg
- the message.
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |