Public Member Functions | Private Attributes

realm::protocolv1::RoutingPacket Class Reference

#include <RealmProtocol.h>

Inheritance diagram for realm::protocolv1::RoutingPacket:
realm::protocolv1::PayloadPacket realm::protocolv1::Packet

List of all members.

Public Member Functions

 RoutingPacket ()
 RoutingPacket (std::vector< uint8_t > &connection_ids, boost::shared_ptr< std::string > msg)
virtual int parse (const char *buf, size_t size)
const uint8_t & getAddressCount () const
const std::vector< uint8_t > & getConnectionIds () const
boost::shared_ptr< std::string > getMessage () const

Private Attributes

uint8_t m_address_count
std::vector< uint8_t > m_connection_ids
boost::shared_ptr< std::string > m_msg

Constructor & Destructor Documentation

realm::protocolv1::RoutingPacket::RoutingPacket (  ) 
realm::protocolv1::RoutingPacket::RoutingPacket ( std::vector< uint8_t > &  connection_ids,
boost::shared_ptr< std::string >  msg 

Member Function Documentation

const uint8_t& realm::protocolv1::RoutingPacket::getAddressCount (  )  const [inline]

References m_address_count.

Referenced by realm::protocolv1::send().

const std::vector<uint8_t>& realm::protocolv1::RoutingPacket::getConnectionIds (  )  const [inline]

References m_connection_ids.

Referenced by realm::protocolv1::send().

boost::shared_ptr<std::string> realm::protocolv1::RoutingPacket::getMessage (  )  const [inline]

References m_msg.

Referenced by realm::protocolv1::send().

int realm::protocolv1::RoutingPacket::parse ( const char *  buf,
size_t  size 
) [virtual]

Member Data Documentation

Referenced by getConnectionIds(), and parse().

boost::shared_ptr<std::string> realm::protocolv1::RoutingPacket::m_msg [private]

Referenced by getMessage(), and parse().

The documentation for this class was generated from the following files: