|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.pastry.messaging.MessageDispatch
An object which remembers the mapping from names to MessageReceivers and dispatches messages by request.
| Field Summary | |
static int |
BUFFER_SIZE
|
| Constructor Summary | |
MessageDispatch()
Constructor. |
|
| Method Summary | |
protected void |
deliverBuffered(Address address)
|
boolean |
dispatchMessage(Message msg)
Dispatches a message to the appropriate receiver. |
void |
registerReceiver(Address address,
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 |
| Field Detail |
public static int BUFFER_SIZE
| Constructor Detail |
public MessageDispatch()
| Method Detail |
public void registerReceiver(Address address,
MessageReceiver receiver)
receiver - the receiver.public boolean dispatchMessage(Message msg)
msg - the message.
protected void deliverBuffered(Address address)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||