Public Member Functions | Protected Member Functions | Private Attributes

realm::protocolv1::PayloadPacket Class Reference

#include <RealmProtocol.h>

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

List of all members.

Public Member Functions

virtual int complete (const char *buf, size_t size)
virtual int parse (const char *buf, size_t size)
const uint32_t & getPayloadSize () const

Protected Member Functions

 PayloadPacket (uint8_t t, uint32_t min_payload_size, uint32_t payload_size)
 PayloadPacket (uint8_t t, uint32_t min_payload_size)

Private Attributes

uint32_t m_min_payload_size
uint32_t m_payload_size

Constructor & Destructor Documentation

realm::protocolv1::PayloadPacket::PayloadPacket ( uint8_t  t,
uint32_t  min_payload_size,
uint32_t  payload_size 
) [inline, protected]
realm::protocolv1::PayloadPacket::PayloadPacket ( uint8_t  t,
uint32_t  min_payload_size 
) [inline, protected]

Member Function Documentation

int realm::protocolv1::PayloadPacket::complete ( const char *  buf,
size_t  size 
) [virtual]
const uint32_t& realm::protocolv1::PayloadPacket::getPayloadSize (  )  const [inline]
int realm::protocolv1::PayloadPacket::parse ( const char *  buf,
size_t  size 
) [virtual]

Member Data Documentation

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