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

CODEX_KeyService::SupportedClientResponseEventBase Class Reference

Abstract base class for events containing responses for clients with supporting evidence from a quorum. More...

#include <SupportedClientResponseEvent.h>

Inheritance diagram for CODEX_KeyService::SupportedClientResponseEventBase:

Inheritance graph
[legend]
Collaboration diagram for CODEX_KeyService::SupportedClientResponseEventBase:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SupportedClientResponseEventBase (CODEX_Events::Activity *source, unsigned char *server, unsigned char *seqNum)
 Create a new SupportedClientResponseEventBase, forwarding the event source to the base Activity class.
virtual ~SupportedClientResponseEventBase ()
 Virtual destructor.
virtual int marshal (unsigned char **pp)=0
 Forward a marshal request to the underlying message.
virtual bool unmarshal (unsigned char **pp, long length)=0
 Forward an unmarshal request to the underlying message.
virtual bool handle ()=0
 This virtual method allows a derived class to call the handler for its appropriate Activity, thereby enabling the Activity to distinguish the event by overloading on type.
Activitysource ()
 The Activity that created this event.
const unsigned char * server () const
 The ID of the server.
const unsigned char * seqNum () const
 The unique ID for a request from server.

Protected Attributes

Activity * m_source
 Source of this event.

Detailed Description

Abstract base class for events containing responses for clients with supporting evidence from a quorum.

Routing information is also stored in this class. The internally stored message can be marshalled directly through this object, so a non-const reference to the message never needs to be returned.

Definition at line 40 of file SupportedClientResponseEvent.h.


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