#include <PacketBuffer.h>
Public Member Functions | |
CG1PacketBuffer (CBuffer *pBuffer) | |
virtual | ~CG1PacketBuffer () |
void | Add (CG1Packet *pPacket, BOOL bBuffered=TRUE) |
void | Clear () |
CG1Packet * | GetPacketToSend (DWORD dwExpire=0) |
Public Attributes | |
int | m_nTotal |
int | m_nDropped |
Protected Attributes | |
CBuffer * | m_pBuffer |
int | m_nCycle |
int | m_nIterate |
CG1PacketBufferType * | m_pType |
|
Definition at line 47 of file PacketBuffer.cpp. References G1_PACKTYPE_MAX, m_nCycle, m_nDropped, m_nIterate, m_nTotal, m_pBuffer, and m_pType. |
|
Definition at line 63 of file PacketBuffer.cpp. |
|
Definition at line 76 of file PacketBuffer.cpp. References CG1PacketBufferType::Add(), CStatistics::Current, m_nDropped, m_nTotal, CG1Packet::m_nTypeIndex, m_pBuffer, m_pType, Statistics, and CG1Packet::ToBuffer(). Referenced by CG1Neighbour::Send(). |
|
Definition at line 173 of file PacketBuffer.cpp. References CG1PacketBufferType::Clear(), G1_PACKTYPE_MAX, m_nTotal, and m_pType. Referenced by ~CG1PacketBuffer(). |
|
Definition at line 113 of file PacketBuffer.cpp. References G1_PACKTYPE_MAX, CG1PacketBufferType::Get(), m_nCycle, m_nDropped, m_nIterate, m_nTotal, m_pType, and NULL. Referenced by CG1Neighbour::OnWrite(). |
|
Definition at line 59 of file PacketBuffer.h. Referenced by CG1PacketBuffer(), and GetPacketToSend(). |
|
Definition at line 51 of file PacketBuffer.h. Referenced by Add(), CG1PacketBuffer(), GetPacketToSend(), and CG1Neighbour::OnWrite(). |
|
Definition at line 60 of file PacketBuffer.h. Referenced by CG1PacketBuffer(), and GetPacketToSend(). |
|
Definition at line 50 of file PacketBuffer.h. Referenced by Add(), CG1PacketBuffer(), Clear(), GetPacketToSend(), and CG1Neighbour::OnWrite(). |
|
Definition at line 56 of file PacketBuffer.h. Referenced by Add(), and CG1PacketBuffer(). |
|
Definition at line 61 of file PacketBuffer.h. Referenced by Add(), CG1PacketBuffer(), Clear(), GetPacketToSend(), and ~CG1PacketBuffer(). |