CODEX_Quorum::ResponseCallback Class Reference
Abstract functional class to process incoming responses.
More...
#include <ResponseCallback.h>
Inheritance diagram for CODEX_Quorum::ResponseCallback:
[legend]List of all members.
|
Public Member Functions |
|
virtual | ~ResponseCallback () |
| | Virtual destructor.
|
| virtual bool | operator() (unsigned int server, Message *msg)=0 |
|
virtual void | fail () |
| | Hook for derived classes to implement failure operations.
|
Detailed Description
Abstract functional class to process incoming responses.
Derived classes will most likely keep internal state regarding the actual responses received.
Definition at line 30 of file CODEX_Quorum/ResponseCallback.h.
Member Function Documentation
| virtual bool CODEX_Quorum::ResponseCallback::operator() |
( |
unsigned int |
server, |
|
|
Message * |
msg |
|
) |
[pure virtual] |
|
|
|
- Parameters:
-
| server | The ID of the server that sent the message being processed. |
| msg | The message received. The callback object takes ownership of the memory. |
|
The documentation for this class was generated from the following file:
Generated on Fri May 6 17:42:32 2005 for COrnell Data EXchange (CODEX) by
1.4.1