#include <BTPacket.h>
Inheritance diagram for CBTPacket:

Public Member Functions | |
| virtual void | ToBuffer (CBuffer *pBuffer) const |
| virtual LPCTSTR | GetType () const |
| virtual void | Delete () |
Static Public Member Functions | |
| static CBTPacket * | ReadBuffer (CBuffer *pBuffer) |
| static CBTPacket * | New (BYTE nType) |
Public Attributes | |
| BYTE | m_nType |
Protected Member Functions | |
| CBTPacket () | |
| virtual | ~CBTPacket () |
Static Protected Attributes | |
| static CBTPacketPool | POOL |
Friends | |
| class | CBTPacket::CBTPacketPool |
Classes | |
| class | CBTPacketPool |
|
|
Definition at line 39 of file BTPacket.cpp. References m_nType. |
|
|
Definition at line 44 of file BTPacket.cpp. |
|
|
Implements CPacket. Definition at line 73 of file BTPacket.h. References CPacketPool::Delete(), and POOL. |
|
|
Reimplemented from CPacket. Definition at line 97 of file BTPacket.cpp. References m_nType. |
|
|
|
Definition at line 72 of file BTPacket.cpp. References BT_PACKET_KEEPALIVE, New(), NULL, SWAP_LONG, and CPacket::Write(). Referenced by CBTClient::OnRead(). |
|
|
Implements CPacket. Definition at line 51 of file BTPacket.cpp. References CBuffer::Add(), BT_PACKET_KEEPALIVE, CPacket::m_nLength, m_nType, CPacket::m_pBuffer, NULL, and SWAP_LONG. Referenced by CBTClient::Send(). |
|
|
Definition at line 78 of file BTPacket.h. |
|
|
Definition at line 42 of file BTPacket.h. Referenced by CBTPacket(), GetType(), New(), CBTClient::OnPacket(), and ToBuffer(). |
|
|
Definition at line 33 of file BTPacket.cpp. |
1.4.2