#include <PacketBuffer.h>
Public Member Functions | |
CG1PacketBufferType () | |
virtual | ~CG1PacketBufferType () |
BOOL | Add (CG1Packet *pPacket) |
CG1Packet * | Get (DWORD dwExpire=0, int *pnTotal=NULL, int *pnDropped=NULL) |
void | Clear () |
Protected Attributes | |
CG1Packet ** | m_pBuffer |
DWORD * | m_pTime |
int | m_nHead |
int | m_nCount |
int | m_nCapacity |
|
Definition at line 190 of file PacketBuffer.cpp. References CSettings::Gnutella1, m_nCapacity, m_nCount, m_nHead, m_pBuffer, m_pTime, CSettings::sGnutella1::PacketBufferSize, and Settings. |
|
Definition at line 205 of file PacketBuffer.cpp. |
|
Definition at line 221 of file PacketBuffer.cpp. References CPacket::AddRef(), CSettings::Gnutella1, m_nCapacity, m_nCount, m_nHead, m_pBuffer, m_pTime, CSettings::sGnutella1::PacketBufferTime, CPacket::Release(), and Settings. Referenced by CG1PacketBuffer::Add(). |
|
Definition at line 308 of file PacketBuffer.cpp. References m_nCapacity, m_nCount, m_nHead, m_pBuffer, and CPacket::Release(). Referenced by CG1PacketBuffer::Clear(), and ~CG1PacketBufferType(). |
|
Definition at line 264 of file PacketBuffer.cpp. References CStatistics::Current, m_nCapacity, m_nCount, m_nHead, m_pBuffer, m_pTime, NULL, CPacket::Release(), and Statistics. Referenced by CG1PacketBuffer::GetPacketToSend(). |
|
Definition at line 92 of file PacketBuffer.h. Referenced by Add(), CG1PacketBufferType(), Clear(), and Get(). |
|
Definition at line 91 of file PacketBuffer.h. Referenced by Add(), CG1PacketBufferType(), Clear(), and Get(). |
|
Definition at line 90 of file PacketBuffer.h. Referenced by Add(), CG1PacketBufferType(), Clear(), and Get(). |
|
Definition at line 86 of file PacketBuffer.h. Referenced by Add(), CG1PacketBufferType(), Clear(), Get(), and ~CG1PacketBufferType(). |
|
Definition at line 87 of file PacketBuffer.h. Referenced by Add(), CG1PacketBufferType(), Get(), and ~CG1PacketBufferType(). |