realm::protocolv1::Packet Class Reference

#include <RealmProtocol.h>

Inheritance diagram for realm::protocolv1::Packet:

realm::protocolv1::PayloadPacket realm::protocolv1::SessionTakeOverPacket realm::protocolv1::UserLeftPacket realm::protocolv1::DeliverPacket realm::protocolv1::RoutingPacket realm::protocolv1::UserJoinedPacket

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 (char type)
static uint32_t s_body_size (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

PacketPtr Packet::construct ( uint8_t  type  )  [static]

bool Packet::s_valid ( char  type  )  [static]

uint32_t Packet::s_body_size ( char  type  )  [static]

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]

References m_type.

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


Member Data Documentation

Referenced by type().


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

Generated on Thu Nov 20 00:07:19 2008 for AbiWord by  doxygen 1.5.5