Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CODEX_Quorum::QuorumDispatcher Class Reference

Virtual base class for handling responses from a quorum. More...

#include <MessageDispatcher.h>

Inheritance diagram for CODEX_Quorum::QuorumDispatcher:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void operator() (const void *request, ResponseInfo *ri)=0
 Method used to dispatch a collection of responses to a request.

Detailed Description

Virtual base class for handling responses from a quorum.

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 quorum of messages have been received for a request sent out by the local server.

Definition at line 55 of file MessageDispatcher.h.


Member Function Documentation

virtual void CODEX_Quorum::QuorumDispatcher::operator() const void *  request,
ResponseInfo ri
[pure virtual]
 

Method used to dispatch a collection of responses to a request.

The QuorumDispatcher takes ownership of both parameters passed to it, and is responsible for ensuring that their memory is freed.

Parameters:
request Unique identifier of the request for which responses have been collected.
ri ResponseInfo for request.


The documentation for this class was generated from the following file:
Generated on Fri May 6 17:42:29 2005 for COrnell Data EXchange (CODEX) by  doxygen 1.4.1