#include <SupportedClientResponseEvent.h>
Inheritance diagram for CODEX_KeyService::SupportedClientResponseEvent< RespT, ReqT >:


Public Types | |
|
typedef SupportedClientResponse< RespT, ReqT > | MsgType |
| Useful shorthand. | |
Public Member Functions | |
| SupportedClientResponseEvent (CODEX_Events::Activity *source, unsigned char *server, unsigned char *seqNum, SupportedClientResponseHandler *destination, const MsgType &message) | |
| Create a SupportedClientResponseEvent. | |
| SupportedClientResponseEvent (CODEX_Events::Activity *source, unsigned char *server, unsigned char *seqNum, SupportedClientResponseHandler *destination) | |
| Create a SupportedClientResponseEvent. | |
| virtual | ~SupportedClientResponseEvent () |
| Virtual destructor. | |
| const MsgType & | message () const |
| The wrapped object. | |
| bool | handle () |
| Handle this event -- invokes the appropriate handler from the destination Activity, which must have type ClientResponseHandler. | |
| void | reRoute (SupportedClientResponseHandler *newDestination) |
| Re-route this event to another Activity. | |
| int | marshal (unsigned char **pp) |
| Forwards a marshal request to the wrapped object. | |
| 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 | |
| Activity * | m_source |
| Source of this event. | |
The template argument is the message type, and specialization of the templated handler in SupportedClientResponseHandler provides the needed polymorphism.
Definition at line 72 of file SupportedClientResponseEvent.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 119 of file SupportedClientResponseEvent.h. |
1.4.1