#include <RoutedClientMessageEvent.h>
Inheritance diagram for CODEX_KeyService::RoutedClientMessageEvent< MT >:


Public Member Functions | |
| RoutedClientMessageEvent (CODEX_Events::Activity *source, RoutedClientMessageHandler *destination, unsigned char *server, unsigned char *seqNum) | |
| Create a RoutedClientMessageEvent. | |
| virtual | ~RoutedClientMessageEvent () |
| Virtual destructor. | |
| bool | handle () |
| Handle this event -- invokes the appropriate handler from the destination Activity, which must have type ClientMessageHandler. | |
| void | reRoute (RoutedClientMessageHandler *newDestination) |
| Specify a new handler for this event. | |
| bool | failed () const |
| Whether event processing failed. | |
| void | setFailed () |
| Flag that processing this message failed. | |
| ClientMessageHandler * | destination () const |
| The destination. | |
| const MT & | message () const |
| The wrapped object. | |
| void | reRoute (ClientMessageHandler *newDestination) |
| Re-route this event to another Activity. | |
| bool | unmarshal (unsigned char **pp, long length) |
| Forwards an unmarshal request to the wrapped object. | |
| Activity * | source () |
| 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 | |
| ClientMessageHandler * | m_destination |
| The CODEX_Events::Activity that handles this event. | |
| Activity * | m_source |
| Source of this event. | |
Definition at line 37 of file RoutedClientMessageEvent.h.
|
||||||||||||||||||||||||
|
Create a RoutedClientMessageEvent.
This class takes ownership of Definition at line 45 of file RoutedClientMessageEvent.h. |
|
||||||||||
|
Re-route this event to another Activity.
This is a much cheaper operation than copying the data to a new event. The CODEX_Events::Activity calling this should return Definition at line 103 of file ClientMessageEvent.h. References CODEX_KeyService::ClientMessageEvent< MT >::m_destination. |
1.4.1