Public Member Functions | Private Attributes

realm::protocolv1::DeliverPacket Class Reference

#include <RealmProtocol.h>

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

List of all members.

Public Member Functions

 DeliverPacket ()
 DeliverPacket (uint8_t connection_id, boost::shared_ptr< std::string > msg)
virtual int parse (const char *buf, size_t size)
const uint8_t & getConnectionId () const
boost::shared_ptr< std::string > getMessage () const

Private Attributes

uint8_t m_connection_id
boost::shared_ptr< std::string > m_msg

Constructor & Destructor Documentation

realm::protocolv1::DeliverPacket::DeliverPacket (  ) 
realm::protocolv1::DeliverPacket::DeliverPacket ( uint8_t  connection_id,
boost::shared_ptr< std::string >  msg 
)

Member Function Documentation

const uint8_t& realm::protocolv1::DeliverPacket::getConnectionId (  )  const [inline]

References m_connection_id.

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

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

References m_msg.

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

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

Member Data Documentation

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

Referenced by getMessage(), and parse().


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