Public Member Functions | Private Attributes

realm::protocolv1::UserJoinedPacket Class Reference

#include <RealmProtocol.h>

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

List of all members.

Public Member Functions

 UserJoinedPacket ()
 UserJoinedPacket (uint8_t connection_id, bool master, boost::shared_ptr< std::string > userinfo)
virtual int parse (const char *buf, size_t size)
const uint8_t & getConnectionId () const
const uint8_t & isMaster () const
boost::shared_ptr< std::string > getUserInfo () const

Private Attributes

uint8_t m_connection_id
uint8_t m_master
boost::shared_ptr< std::string > m_userinfo

Constructor & Destructor Documentation

realm::protocolv1::UserJoinedPacket::UserJoinedPacket (  ) 
realm::protocolv1::UserJoinedPacket::UserJoinedPacket ( uint8_t  connection_id,
bool  master,
boost::shared_ptr< std::string >  userinfo 
)

Member Function Documentation

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

References m_connection_id.

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

boost::shared_ptr<std::string> realm::protocolv1::UserJoinedPacket::getUserInfo (  )  const [inline]

References m_userinfo.

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

const uint8_t& realm::protocolv1::UserJoinedPacket::isMaster (  )  const [inline]

References m_master.

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

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

Member Data Documentation

Referenced by isMaster(), and parse().

boost::shared_ptr<std::string> realm::protocolv1::UserJoinedPacket::m_userinfo [private]

Referenced by getUserInfo(), and parse().


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