protocol::MessageInfo Struct Reference
Stores all information associated with a received call, including the raw message data. More...
#include <Caller.h>
Public Member Functions |
|
| MessageInfo (const unsigned int message_capacity=Message::DefaultCapacity) | |
| wisp_message_protocol | protocol () const |
| wisp_message_id | id () const |
| wisp_call_token | token () const |
| wisp_call_role | role () const |
| const string & | sender () const |
| void | init_header (const wisp_message_id id, const wisp_call_token token, const CallRole role) |
| void | clear_header () |
Public Attributes |
|
| CallHeader | header |
| The call header. |
|
| Message | message |
| The message that was received. |
|
| GroupList | groups |
| The list of groups to which the message was sent. |
|
Detailed Description
Stores all information associated with a received call, including the raw message data.
Constructor & Destructor Documentation
| protocol::MessageInfo::MessageInfo | ( | const unsigned int | message_capacity = Message::DefaultCapacity |
) | [inline, explicit] |
Member Function Documentation
| wisp_message_id protocol::MessageInfo::id | ( | ) | const [inline] |
| void protocol::MessageInfo::init_header | ( | const wisp_message_id | id, |
| const wisp_call_token | token, | ||
| const CallRole | role | ||
| ) | [inline] |
| wisp_message_protocol protocol::MessageInfo::protocol | ( | ) | const [inline] |
| wisp_call_role protocol::MessageInfo::role | ( | ) | const [inline] |
Definition at line 288 of file Caller.h.
Referenced by protocol::Caller< PT >::collect_jumbo_message_keys().
| const string& protocol::MessageInfo::sender | ( | ) | const [inline] |
Definition at line 292 of file Caller.h.
Referenced by protocol::Caller< PT >::collect_jumbo_message_keys().
| wisp_call_token protocol::MessageInfo::token | ( | ) | const [inline] |
Definition at line 284 of file Caller.h.
Referenced by protocol::Caller< PT >::collect_jumbo_message_keys(), and protocol::ContinuationCaller< PT >::resume().
Member Data Documentation
| GroupList protocol::MessageInfo::groups |
| Message protocol::MessageInfo::message |
The message that was received.
Definition at line 267 of file Caller.h.
Referenced by protocol::Caller< PT >::receive().
The documentation for this struct was generated from the following file:
Copyright © 2006-2010 Savarese Software Research Corporation. All rights reserved.
Copyright © 2011 Savarese Software Research Corporation. All rights reserved