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

CPongItem Class Reference

#include <PongCache.h>

List of all members.

Public Member Functions

 CPongItem (CNeighbour *pNeighbour, IN_ADDR *pAddress, WORD nPort, BYTE nHops, DWORD nFiles, DWORD nVolume)
virtual ~CPongItem ()
CG1PacketToPacket (int nTTL=0, GGUID *pGUID=NULL)

Public Attributes

CNeighbourm_pNeighbour
IN_ADDR m_pAddress
WORD m_nPort
BYTE m_nHops
DWORD m_nFiles
DWORD m_nVolume


Constructor & Destructor Documentation

CPongItem::CPongItem CNeighbour pNeighbour,
IN_ADDR *  pAddress,
WORD  nPort,
BYTE  nHops,
DWORD  nFiles,
DWORD  nVolume
 

Definition at line 139 of file PongCache.cpp.

References m_nFiles, m_nHops, m_nPort, m_nVolume, m_pAddress, and m_pNeighbour.

CPongItem::~CPongItem  )  [virtual]
 

Definition at line 149 of file PongCache.cpp.


Member Function Documentation

CG1Packet * CPongItem::ToPacket int  nTTL = 0,
GGUID pGUID = NULL
 

Definition at line 156 of file PongCache.cpp.

References G1_PACKET_PONG, m_nFiles, m_nHops, CG1Packet::m_nHops, m_nPort, m_nVolume, m_pAddress, CG1Packet::New(), CPacket::WriteLongLE(), and CPacket::WriteShortLE().

Referenced by CG1Neighbour::OnPing().


Member Data Documentation

DWORD CPongItem::m_nFiles
 

Definition at line 70 of file PongCache.h.

Referenced by CPongCache::Add(), CPongItem(), and ToPacket().

BYTE CPongItem::m_nHops
 

Definition at line 69 of file PongCache.h.

Referenced by CPongCache::Add(), CPongItem(), CPongCache::Lookup(), and ToPacket().

WORD CPongItem::m_nPort
 

Definition at line 68 of file PongCache.h.

Referenced by CPongCache::Add(), CPongItem(), and ToPacket().

DWORD CPongItem::m_nVolume
 

Definition at line 71 of file PongCache.h.

Referenced by CPongCache::Add(), CPongItem(), and ToPacket().

IN_ADDR CPongItem::m_pAddress
 

Definition at line 67 of file PongCache.h.

Referenced by CPongCache::Add(), CPongItem(), and ToPacket().

CNeighbour* CPongItem::m_pNeighbour
 

Definition at line 66 of file PongCache.h.

Referenced by CPongItem(), and CPongCache::Lookup().


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