Next: RpcDispatcher
Up: Building blocks
Previous: GroupRequest
MessageDispatcher
This class is used on top of a channel and allows one to broadcast requests
(in the form of messages) to all or single group members and to optionally
wait for the response(s). It is the application-level equivalent of MessageProtocol (see 4.3.1 for a detailed
discussion). Applications need to implement the RequestHandler
interface by implementing method Handle which is called whenever a
request has been received. The return value will be sent back to the sender
of the request as response.
MessageDispatcher uses both a RequestCorrelator and GroupRequest to implement its functionality.
1999-12-13