#include <RealmProtocol.h>

Public Member Functions | |
| virtual | ~Packet () |
| virtual int | complete (const char *buf, size_t size) |
| virtual int | parse (const char *, size_t) |
| const uint8_t & | type () const |
Static Public Member Functions | |
| static PacketPtr | construct (uint8_t type) |
| static bool | s_valid (char type) |
| static uint32_t | s_body_size (char type) |
Protected Member Functions | |
| Packet (uint8_t type) | |
Private Attributes | |
| uint8_t | m_type |
| virtual realm::protocolv1::Packet::~Packet | ( | ) | [inline, virtual] |
| Packet::Packet | ( | uint8_t | type | ) | [protected] |
| PacketPtr Packet::construct | ( | uint8_t | type | ) | [static] |
Referenced by RealmConnection::_message().
| bool Packet::s_valid | ( | char | type | ) | [static] |
References realm::protocolv1::__LAST_PACKET__.
| uint32_t Packet::s_body_size | ( | char | type | ) | [static] |
References realm::protocolv1::body_size.
| int Packet::complete | ( | const char * | buf, | |
| size_t | size | |||
| ) | [virtual] |
| virtual int realm::protocolv1::Packet::parse | ( | const char * | , | |
| size_t | ||||
| ) | [inline, virtual] |
| const uint8_t& realm::protocolv1::Packet::type | ( | ) | const [inline] |
uint8_t realm::protocolv1::Packet::m_type [private] |
Referenced by type().
1.5.5