CODEX_KeyService::ResponseCallback Class Reference
Abstract functional class to process incoming responses.
More...
#include <ResponseCallback.h>
Inheritance diagram for CODEX_KeyService::ResponseCallback:
[legend]Collaboration diagram for CODEX_KeyService::ResponseCallback:
[legend]List of all members.
|
Public Member Functions |
|
| ResponseCallback (const unsigned char *seqNum) |
| | Constructor.
|
|
virtual | ~ResponseCallback () |
| | Virtual destructor.
|
|
void | fail () |
| | On failure, callbacks should close the connection to the client.
|
|
const unsigned char * | seqNum () const |
| | The sequence number for the request.
|
| virtual bool | operator() (unsigned int server, Message *msg)=0 |
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 34 of file CODEX_KeyService/ResponseCallback.h.
Member Function Documentation
| virtual bool CODEX_Quorum::ResponseCallback::operator() |
( |
unsigned int |
server, |
|
|
Message * |
msg |
|
) |
[pure virtual, inherited] |
|
|
|
- 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 files:
Generated on Fri May 6 17:42:21 2005 for COrnell Data EXchange (CODEX) by
1.4.1