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

CODEX_KeyService::ClientMessageEventBase Class Reference

Abstract base class for events containing messages from clients. More...

#include <ClientMessageEvent.h>

Inheritance diagram for CODEX_KeyService::ClientMessageEventBase:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ClientMessageEventBase (CODEX_Events::Activity *source)
 Create a new ClientMessageEventBase, forwarding the event source to the base Activity class.
virtual ~ClientMessageEventBase ()
 Virtual destructor.
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.

Protected Attributes

Activity * m_source
 Source of this event.

Detailed Description

Abstract base class for events containing messages from clients.

The internally stored message can be unmarshalled directly through this object, so a non-const reference to the message never needs to be returned.

Definition at line 37 of file ClientMessageEvent.h.


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