Savarese Software Research Corporation
ssrc::wisp::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 std::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. More...
 
Message  message
  The message that was received. More...
 
GroupList  groups
  The list of groups to which the message was sent. More...
 

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

ssrc::wisp::protocol::MessageInfo::MessageInfo ( const unsigned int  message_capacity = Message::DefaultCapacity )
inlineexplicit

Definition at line 272 of file Caller.h.

Member Function Documentation

void ssrc::wisp::protocol::MessageInfo::clear_header ( )
inline

Definition at line 303 of file Caller.h.

References ssrc::wisp::protocol::CallHeader::clear().

wisp_message_id ssrc::wisp::protocol::MessageInfo::id ( ) const
inline

Definition at line 280 of file Caller.h.

References ssrc::wisp::protocol::CallHeader::id.

void ssrc::wisp::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.

References ssrc::wisp::protocol::CallHeader::init().

wisp_message_protocol ssrc::wisp::protocol::MessageInfo::protocol ( ) const
inline

Definition at line 276 of file Caller.h.

wisp_call_role ssrc::wisp::protocol::MessageInfo::role ( ) const
inline
const std::string& ssrc::wisp::protocol::MessageInfo::sender ( ) const
inline
wisp_call_token ssrc::wisp::protocol::MessageInfo::token ( ) const
inline

Member Data Documentation

GroupList ssrc::wisp::protocol::MessageInfo::groups

The list of groups to which the message was sent.

Definition at line 269 of file Caller.h.

CallHeader ssrc::wisp::protocol::MessageInfo::header

The call header.

Definition at line 265 of file Caller.h.

Message ssrc::wisp::protocol::MessageInfo::message

The message that was received.

Definition at line 267 of file Caller.h.

Referenced by ssrc::wisp::protocol::Caller< PT >::message_capacity_send().


The documentation for this struct was generated from the following file:

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