#include <sxPacket.h>
Public Member Functions | |
sxPacket (sxPacketHeader *h) | |
sxPacket (sxPacketContent *c, sxPacketHeader *h) | |
void | Serialize (QDataStream &ds) const |
void | Deserialize (QDataStream &ds) |
bool | Append (const sxPacket &packet) |
void | Drop () |
void | DropContent () |
void | DropHeader () |
void | SetContentType (sx::DataType type) |
sx::DataType | ContentType () const |
sxPacketContent * | CreateContent (sx::DataType type, bool attach) |
sxPacket * | Clone () const |
sxPacketHeader * | Header () const |
void | AttachHeader (sxPacketHeader *h) |
void | DetachHeader () |
sxPacketContent * | Content () const |
void | AttachContent (sxPacketContent *c) |
void | DetachContent () |
void | Detach () |
bool | IsEmpty () const |
bool | HasContent () const |
bool | HasHeader () const |
Static Public Member Functions | |
static sxPacketContent * | CreateContent (sx::DataType type) |
void sxPacket::Drop | ( | ) |