LLPacketBuffer Class Reference

#include <llpacketbuffer.h>

Collaboration diagram for LLPacketBuffer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLPacketBuffer (const LLHost &host, const char *datap, const S32 size)
 LLPacketBuffer (S32 hSocket)
 ~LLPacketBuffer ()
S32 getSize () const
const char * getData () const
LLHost getHost () const
void init (S32 hSocket)
void free ()

Protected Attributes

char mData [NET_BUFFER_SIZE]
S32 mSize
LLHost mHost


Detailed Description

Definition at line 39 of file llpacketbuffer.h.


Constructor & Destructor Documentation

LLPacketBuffer::LLPacketBuffer ( const LLHost host,
const char *  datap,
const S32  size 
)

Definition at line 42 of file llpacketbuffer.cpp.

References llendl, llerrs, mData, mSize, NET_BUFFER_SIZE, and NULL.

LLPacketBuffer::LLPacketBuffer ( S32  hSocket  ) 

Definition at line 59 of file llpacketbuffer.cpp.

References init().

Here is the call graph for this function:

LLPacketBuffer::~LLPacketBuffer (  ) 

Definition at line 66 of file llpacketbuffer.cpp.

References free().

Here is the call graph for this function:


Member Function Documentation

S32 LLPacketBuffer::getSize (  )  const [inline]

Definition at line 46 of file llpacketbuffer.h.

References mSize.

Referenced by LLPacketRing::receiveFromRing(), LLPacketRing::receivePacket(), and LLPacketRing::sendPacket().

Here is the caller graph for this function:

const char* LLPacketBuffer::getData (  )  const [inline]

Definition at line 47 of file llpacketbuffer.h.

References mData.

Referenced by LLPacketRing::receiveFromRing(), and LLPacketRing::sendPacket().

Here is the caller graph for this function:

LLHost LLPacketBuffer::getHost (  )  const [inline]

Definition at line 48 of file llpacketbuffer.h.

References mHost.

Referenced by LLPacketRing::receiveFromRing(), and LLPacketRing::sendPacket().

Here is the caller graph for this function:

void LLPacketBuffer::init ( S32  hSocket  ) 

Definition at line 73 of file llpacketbuffer.cpp.

References get_sender(), mData, mHost, mSize, and receive_packet().

Referenced by LLPacketBuffer().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPacketBuffer::free ( void   ) 

Definition at line 81 of file llpacketbuffer.cpp.

Referenced by ~LLPacketBuffer().

Here is the caller graph for this function:


Member Data Documentation

char LLPacketBuffer::mData[NET_BUFFER_SIZE] [protected]

Definition at line 53 of file llpacketbuffer.h.

Referenced by getData(), init(), and LLPacketBuffer().

Definition at line 54 of file llpacketbuffer.h.

Referenced by getSize(), init(), and LLPacketBuffer().

Definition at line 55 of file llpacketbuffer.h.

Referenced by getHost(), and init().


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

Generated on Fri May 16 08:55:07 2008 for SecondLife by  doxygen 1.5.5