#include <RealmProtocol.h>
List of all members.
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 (unsigned char type) |
| static uint32_t | s_body_size (unsigned char type) |
Protected Member Functions |
| | Packet (uint8_t type) |
Private Attributes |
| uint8_t | m_type |
Constructor & Destructor Documentation
| virtual realm::protocolv1::Packet::~Packet |
( |
|
) |
[inline, virtual] |
| Packet::Packet |
( |
uint8_t |
type |
) |
[protected] |
Member Function Documentation
| int Packet::complete |
( |
const char * |
buf, |
|
|
size_t |
size | |
|
) |
| | [virtual] |
| PacketPtr Packet::construct |
( |
uint8_t |
type |
) |
[static] |
| virtual int realm::protocolv1::Packet::parse |
( |
const char * |
, |
|
|
size_t |
| |
|
) |
| | [inline, virtual] |
| uint32_t Packet::s_body_size |
( |
unsigned char |
type |
) |
[static] |
| bool Packet::s_valid |
( |
unsigned char |
type |
) |
[static] |
| const uint8_t& realm::protocolv1::Packet::type |
( |
|
) |
const [inline] |
Member Data Documentation
The documentation for this class was generated from the following files: