Savarese Software Research Corporation
protocol::MessageInfo Struct Reference

Stores all information associated with a received call, including the raw message data. More...

#include <Caller.h>

List of all members.

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.

Definition at line 263 of file Caller.h.


Constructor & Destructor Documentation

protocol::MessageInfo::MessageInfo ( const unsigned int  message_capacity = Message::DefaultCapacity ) [inline, explicit]

Definition at line 272 of file Caller.h.


Member Function Documentation

void protocol::MessageInfo::clear_header ( ) [inline]

Definition at line 303 of file Caller.h.

wisp_message_id protocol::MessageInfo::id ( ) const [inline]

Definition at line 280 of file Caller.h.

void protocol::MessageInfo::init_header ( const wisp_message_id  id,
const wisp_call_token  token,
const CallRole  role 
) [inline]

Definition at line 296 of file Caller.h.

wisp_message_protocol protocol::MessageInfo::protocol ( ) const [inline]

Definition at line 276 of file Caller.h.

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]

Member Data Documentation

The list of groups to which the message was sent.

Definition at line 269 of file Caller.h.

The call header.

Definition at line 265 of file Caller.h.

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:

Savarese Software Research Corporation
Copyright © 2006-2010 Savarese Software Research Corporation. All rights reserved.