#include <PongCache.h>
Public Member Functions | |
CPongCache () | |
virtual | ~CPongCache () |
void | Clear () |
BOOL | ClearIfOld () |
CPongItem * | Add (CNeighbour *pNeighbour, IN_ADDR *pAddress, WORD nPort, BYTE nHops, DWORD nFiles, DWORD nVolume) |
CPongItem * | Lookup (CNeighbour *pNotFrom, BYTE nHops, CPtrList *pIgnore) |
POSITION | GetIterator () const |
CPongItem * | GetNext (POSITION &pos) const |
Protected Attributes | |
CPtrList | m_pCache |
DWORD | m_nTime |
|
Definition at line 38 of file PongCache.cpp. References m_nTime. |
|
Definition at line 43 of file PongCache.cpp. References Clear(). |
|
Definition at line 78 of file PongCache.cpp. References CPongItem::m_nFiles, CPongItem::m_nHops, CPongItem::m_nPort, CPongItem::m_nVolume, CPongItem::m_pAddress, and m_pCache. Referenced by CNeighboursWithG1::OnG1Pong(). |
|
Definition at line 51 of file PongCache.cpp. References m_nTime, and m_pCache. Referenced by ClearIfOld(), CNeighboursWithG1::Close(), and ~CPongCache(). |
|
Definition at line 64 of file PongCache.cpp. References Clear(), CSettings::Gnutella1, m_nTime, CSettings::sGnutella1::PongCache, and Settings. Referenced by CNeighboursWithG1::OnG1Ping(). |
|
Definition at line 125 of file PongCache.cpp. References m_pCache. |
|
Definition at line 130 of file PongCache.cpp. References m_pCache. |
|
Definition at line 105 of file PongCache.cpp. References CPongItem::m_nHops, m_pCache, CPongItem::m_pNeighbour, and NULL. Referenced by CG1Neighbour::OnPing(). |
|
Definition at line 42 of file PongCache.h. Referenced by Clear(), ClearIfOld(), and CPongCache(). |
|
Definition at line 41 of file PongCache.h. Referenced by Add(), Clear(), GetIterator(), GetNext(), and Lookup(). |