Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   Related Pages  

CODEX_Quorum::MessageDispatcher Class Reference

Virtual base class for handling new requests. More...

#include <MessageDispatcher.h>

Inheritance diagram for CODEX_Quorum::MessageDispatcher:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual void operator() (Message *m)=0
 Method used to dispatch a message.


Detailed Description

Virtual base class for handling new requests.

In order to implement a QuorumSystem and poll for incoming messages a derived class must be written that implements operator(). This will be called by the concrete QuorumSystem::poll() method when a message arrives that is not a response to a request sent out by the local server.

Definition at line 34 of file MessageDispatcher.h.


Member Function Documentation

virtual void CODEX_Quorum::MessageDispatcher::operator() Message   m [pure virtual]
 

Method used to dispatch a message.

Parameters:
m  A Message to dispatch, including all headers. This object takes ownership of the Message.

Implemented in CODEX_Server::ServerMessageDispatcher.


The documentation for this class was generated from the following file:
Generated on Wed Jun 2 16:33:16 2004 for COrnell Data EXchange (CODEX) by doxygen1.2.18