|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rice.pastry.messaging.MessageDispatch | +--rice.pastry.multiring.MultiRingMessageDispatch
Constructor Summary | |
MultiRingMessageDispatch(rice.pastry.multiring.MultiRingPastryNode node,
rice.pastry.messaging.MessageDispatch dispatch)
|
Method Summary | |
boolean |
dispatchMessage(rice.pastry.messaging.Message msg)
Dispatches a message to the appropriate receiver. |
void |
registerReceiver(rice.pastry.messaging.Address address,
rice.pastry.messaging.MessageReceiver receiver)
Registers a receiver with the mail service. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MultiRingMessageDispatch(rice.pastry.multiring.MultiRingPastryNode node, rice.pastry.messaging.MessageDispatch dispatch)
Method Detail |
public void registerReceiver(rice.pastry.messaging.Address address, rice.pastry.messaging.MessageReceiver receiver)
MessageDispatch
registerReceiver
in class MessageDispatch
receiver
- the receiver.public boolean dispatchMessage(rice.pastry.messaging.Message msg)
MessageDispatch
dispatchMessage
in class MessageDispatch
msg
- the message.
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |