Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CDatagramIn Class Reference

#include <Datagram.h>

List of all members.

Public Member Functions

 CDatagramIn ()
virtual ~CDatagramIn ()
void Create (SOCKADDR_IN *pHost, BYTE nFlags, WORD nSequence, BYTE nCount)
BOOL Add (BYTE nPart, LPCVOID pData, DWORD nLength)
CG2PacketToG2Packet ()

Public Attributes

CDatagramInm_pNextHash
CDatagramIn ** m_pPrevHash
CDatagramInm_pNextTime
CDatagramInm_pPrevTime
SOCKADDR_IN m_pHost
BOOL m_bCompressed
WORD m_nSequence
BYTE m_nCount
BYTE m_nLeft
DWORD m_tStarted
CBuffer ** m_pBuffer
BOOL * m_pLocked
BYTE m_nBuffer


Constructor & Destructor Documentation

CDatagramIn::CDatagramIn  ) 
 

Definition at line 39 of file Datagram.cpp.

References m_nBuffer, m_pBuffer, m_pLocked, and NULL.

CDatagramIn::~CDatagramIn  )  [virtual]
 

Definition at line 46 of file Datagram.cpp.

References m_pBuffer, and m_pLocked.


Member Function Documentation

BOOL CDatagramIn::Add BYTE  nPart,
LPCVOID  pData,
DWORD  nLength
 

Definition at line 83 of file Datagram.cpp.

References CBuffer::Add(), m_nCount, m_nLeft, m_pBuffer, and m_pLocked.

Referenced by CDatagrams::OnReceiveSGP().

void CDatagramIn::Create SOCKADDR_IN *  pHost,
BYTE  nFlags,
WORD  nSequence,
BYTE  nCount
 

Definition at line 55 of file Datagram.cpp.

References m_bCompressed, m_nBuffer, m_nCount, m_nLeft, m_nSequence, m_pBuffer, m_pHost, m_pLocked, m_tStarted, and SGP_DEFLATE.

Referenced by CDatagrams::OnReceiveSGP().

CG2Packet * CDatagramIn::ToG2Packet  ) 
 

Definition at line 102 of file Datagram.cpp.

References CBuffer::AddBuffer(), m_bCompressed, m_nCount, m_pBuffer, NULL, and CG2Packet::ReadBuffer().

Referenced by CDatagrams::OnReceiveSGP().


Member Data Documentation

BOOL CDatagramIn::m_bCompressed
 

Definition at line 46 of file Datagram.h.

Referenced by Create(), and ToG2Packet().

BYTE CDatagramIn::m_nBuffer
 

Definition at line 54 of file Datagram.h.

Referenced by CDatagramIn(), and Create().

BYTE CDatagramIn::m_nCount
 

Definition at line 48 of file Datagram.h.

Referenced by Add(), Create(), CDatagrams::OnReceiveSGP(), and ToG2Packet().

BYTE CDatagramIn::m_nLeft
 

Definition at line 49 of file Datagram.h.

Referenced by Add(), and Create().

WORD CDatagramIn::m_nSequence
 

Definition at line 47 of file Datagram.h.

Referenced by Create(), and CDatagrams::OnReceiveSGP().

CBuffer** CDatagramIn::m_pBuffer
 

Definition at line 52 of file Datagram.h.

Referenced by Add(), CDatagramIn(), Create(), CDatagrams::OnReceiveSGP(), CDatagrams::Remove(), ToG2Packet(), and ~CDatagramIn().

SOCKADDR_IN CDatagramIn::m_pHost
 

Definition at line 45 of file Datagram.h.

Referenced by Create(), and CDatagrams::OnReceiveSGP().

BOOL* CDatagramIn::m_pLocked
 

Definition at line 53 of file Datagram.h.

Referenced by Add(), CDatagramIn(), Create(), and ~CDatagramIn().

CDatagramIn* CDatagramIn::m_pNextHash
 

Definition at line 40 of file Datagram.h.

Referenced by CDatagrams::Listen(), CDatagrams::OnReceiveSGP(), and CDatagrams::Remove().

CDatagramIn* CDatagramIn::m_pNextTime
 

Definition at line 42 of file Datagram.h.

Referenced by CDatagrams::OnReceiveSGP(), and CDatagrams::Remove().

CDatagramIn** CDatagramIn::m_pPrevHash
 

Definition at line 41 of file Datagram.h.

Referenced by CDatagrams::OnReceiveSGP(), and CDatagrams::Remove().

CDatagramIn* CDatagramIn::m_pPrevTime
 

Definition at line 43 of file Datagram.h.

Referenced by CDatagrams::OnReceiveSGP(), and CDatagrams::Remove().

DWORD CDatagramIn::m_tStarted
 

Definition at line 50 of file Datagram.h.

Referenced by Create().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:05 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2