#include <RealmProtocol.h>
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 |
| realm::protocolv1::UserJoinedPacket::UserJoinedPacket | ( | ) |
| realm::protocolv1::UserJoinedPacket::UserJoinedPacket | ( | uint8_t | connection_id, | |
| bool | master, | |||
| boost::shared_ptr< std::string > | userinfo | |||
| ) |
| 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] |
Reimplemented from realm::protocolv1::PayloadPacket.
References realm::protocolv1::PayloadPacket::getPayloadSize(), m_connection_id, m_master, and m_userinfo.
uint8_t realm::protocolv1::UserJoinedPacket::m_connection_id [private] |
Referenced by getConnectionId(), and parse().
uint8_t realm::protocolv1::UserJoinedPacket::m_master [private] |
Referenced by isMaster(), and parse().
boost::shared_ptr<std::string> realm::protocolv1::UserJoinedPacket::m_userinfo [private] |
Referenced by getUserInfo(), and parse().
1.7.1