ezSocketsPacket Class Reference

#include <ezSockets.h>

Collaboration diagram for ezSocketsPacket:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ezSocketsPacket ()
 ~ezSocketsPacket ()
void CopyPacket (ezSocketsPacket &pPacketToCopy)
void ClearPacket ()
void SetupPacket (unsigned int iSize)
void DestroyTree ()
unsigned char Read1 ()
unsigned short Read2 ()
unsigned long Read4 ()
MString ReadNT ()
int ReadData (int Bytes, char *ToReplace)
void Write1 (unsigned char Info)
void Write2 (unsigned short Info)
void Write4 (unsigned long Info)
void WriteNT (const MString &Info)
void WriteData (const char *Info, unsigned int Length)

Public Attributes

char * Data
unsigned int Position
unsigned int PositionTAG
unsigned int Size
unsigned short Port
ezSocketsPacketNext

Private Member Functions

void Grow (unsigned long iSizeTo)

Detailed Description

Definition at line 29 of file ezSockets.h.


Constructor & Destructor Documentation

ezSocketsPacket::ezSocketsPacket (  ) 

Definition at line 42 of file ezSockets.cpp.

ezSocketsPacket::~ezSocketsPacket (  ) 

Definition at line 51 of file ezSockets.cpp.


Member Function Documentation

void ezSocketsPacket::CopyPacket ( ezSocketsPacket pPacketToCopy  ) 

Definition at line 58 of file ezSockets.cpp.

void ezSocketsPacket::ClearPacket (  ) 

Definition at line 84 of file ezSockets.cpp.

void ezSocketsPacket::SetupPacket ( unsigned int  iSize  ) 

Definition at line 93 of file ezSockets.cpp.

void ezSocketsPacket::DestroyTree (  ) 

Definition at line 69 of file ezSockets.cpp.

unsigned char ezSocketsPacket::Read1 (  ) 

Definition at line 102 of file ezSockets.cpp.

unsigned short ezSocketsPacket::Read2 (  ) 

Definition at line 110 of file ezSockets.cpp.

unsigned long ezSocketsPacket::Read4 (  ) 

Definition at line 118 of file ezSockets.cpp.

MString ezSocketsPacket::ReadNT (  ) 

Definition at line 126 of file ezSockets.cpp.

int ezSocketsPacket::ReadData ( int  Bytes,
char *  ToReplace 
)

Definition at line 165 of file ezSockets.cpp.

void ezSocketsPacket::Write1 ( unsigned char  Info  ) 

Definition at line 138 of file ezSockets.cpp.

void ezSocketsPacket::Write2 ( unsigned short  Info  ) 

Definition at line 144 of file ezSockets.cpp.

void ezSocketsPacket::Write4 ( unsigned long  Info  ) 

Definition at line 151 of file ezSockets.cpp.

void ezSocketsPacket::WriteNT ( const MString Info  ) 

Definition at line 158 of file ezSockets.cpp.

void ezSocketsPacket::WriteData ( const char *  Info,
unsigned int  Length 
)

Definition at line 177 of file ezSockets.cpp.

void ezSocketsPacket::Grow ( unsigned long  iSizeTo  )  [private]

Definition at line 184 of file ezSockets.cpp.


Member Data Documentation

char* ezSocketsPacket::Data

Definition at line 40 of file ezSockets.h.

unsigned int ezSocketsPacket::Position

Definition at line 41 of file ezSockets.h.

unsigned int ezSocketsPacket::PositionTAG

Definition at line 42 of file ezSockets.h.

unsigned int ezSocketsPacket::Size

Definition at line 43 of file ezSockets.h.

unsigned short ezSocketsPacket::Port

Definition at line 44 of file ezSockets.h.

ezSocketsPacket* ezSocketsPacket::Next

Definition at line 46 of file ezSockets.h.


The documentation for this class was generated from the following files:
Hosted by SourceForge.net Logo