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

CODEX_APSS::RoutedMessageEventBase Class Reference

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

#include <RoutedMessageEvent.h>

Inheritance diagram for CODEX_APSS::RoutedMessageEventBase:

Inheritance graph
[legend]
Collaboration diagram for CODEX_APSS::RoutedMessageEventBase:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RoutedMessageEventBase (CODEX_Events::Activity *source, unsigned char *server, unsigned char *seqNum)
 Create a new RoutedMessageEventBase, forwarding the event source to the base Activity class and the routing information to the base RoutingInfo class.
virtual ~RoutedMessageEventBase ()
 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.
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 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 38 of file RoutedMessageEvent.h.


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