#include <llpacketbuffer.h>
Collaboration diagram for LLPacketBuffer:
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 |
Definition at line 39 of file llpacketbuffer.h.
Definition at line 42 of file llpacketbuffer.cpp.
References llendl, llerrs, mData, mSize, NET_BUFFER_SIZE, and NULL.
LLPacketBuffer::LLPacketBuffer | ( | S32 | hSocket | ) |
LLPacketBuffer::~LLPacketBuffer | ( | ) |
void LLPacketBuffer::free | ( | ) |
const char* LLPacketBuffer::getData | ( | ) | const [inline] |
Definition at line 47 of file llpacketbuffer.h.
References mData.
Referenced by LLPacketRing::receiveFromRing(), and LLPacketRing::sendPacket().
LLHost LLPacketBuffer::getHost | ( | ) | const [inline] |
Definition at line 48 of file llpacketbuffer.h.
References mHost.
Referenced by LLPacketRing::receiveFromRing(), and LLPacketRing::sendPacket().
S32 LLPacketBuffer::getSize | ( | ) | const [inline] |
Definition at line 46 of file llpacketbuffer.h.
References mSize.
Referenced by LLPacketRing::receiveFromRing(), LLPacketRing::receivePacket(), and LLPacketRing::sendPacket().
Definition at line 73 of file llpacketbuffer.cpp.
References get_sender(), mData, mHost, mSize, and receive_packet().
Referenced by LLPacketBuffer().
char LLPacketBuffer::mData[NET_BUFFER_SIZE] [protected] |
Definition at line 53 of file llpacketbuffer.h.
Referenced by getData(), init(), and LLPacketBuffer().
LLHost LLPacketBuffer::mHost [protected] |
S32 LLPacketBuffer::mSize [protected] |
Definition at line 54 of file llpacketbuffer.h.
Referenced by getSize(), init(), and LLPacketBuffer().