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

CODEX_Server::ServerQuorumDispatcher Class Reference

This is a concrete CODEX_Quorum::QuorumDispatcher. More...

#include <ServerQuorumDispatcher.h>

Inheritance diagram for CODEX_Server::ServerQuorumDispatcher:

Inheritance graph
[legend]
Collaboration diagram for CODEX_Server::ServerQuorumDispatcher:

Collaboration graph
[legend]
List of all members.

Public Methods

 ServerQuorumDispatcher ()
 Constructor.

virtual ~ServerQuorumDispatcher ()
 Virtual destructor.

void operator() (const void *request, CODEX_Quorum::ResponseInfo *ri)
 Method used to dispatch a collection of responses to a request.


Detailed Description

This is a concrete CODEX_Quorum::QuorumDispatcher.

The major work of handling responses is taken care of by callbacks, so this class primarily does garbage collection and notification of failed requests.

Definition at line 35 of file ServerQuorumDispatcher.h.


Member Function Documentation

void ServerQuorumDispatcher::operator() const void *    request,
CODEX_Quorum::ResponseInfo   ri
[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.

Implements CODEX_Quorum::QuorumDispatcher.

Definition at line 25 of file ServerQuorumDispatcher.cc.

References CODEX_Quorum::ResponseInfo::fail(), and CODEX_Quorum::ResponseInfo::failures().


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