|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.pastry.standard.StandardRouteSetProtocol
An implementation of a simple route set protocol.
Constructor Summary | |
StandardRouteSetProtocol(NodeHandle lh,
PastrySecurityManager sm,
RoutingTable rt)
Constructor. |
Method Summary | |
Address |
getAddress()
Gets the address. |
void |
receiveMessage(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(NodeHandle lh, PastrySecurityManager sm, RoutingTable rt)
lh
- the local handlesm
- the security managerrt
- the routing tableMethod Detail |
public 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(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 |