#include <HostCache.h>
Public Member Functions | |
CHostCache () | |
BOOL | Load () |
BOOL | Save () |
void | Clear () |
CHostCacheHost * | Find (IN_ADDR *pAddress) const |
BOOL | Check (CHostCacheHost *pHost) const |
void | Remove (CHostCacheHost *pHost) |
void | OnFailure (IN_ADDR *pAddress, WORD nPort) |
CHostCacheList * | ForProtocol (PROTOCOLID nProtocol) |
Public Attributes | |
CHostCacheList | Gnutella1 |
CHostCacheList | Gnutella2 |
CHostCacheList | eDonkey |
CPtrList | m_pList |
Protected Member Functions | |
void | Serialize (CArchive &ar) |
|
Definition at line 50 of file HostCache.cpp. |
|
Definition at line 171 of file HostCache.cpp. References CHostCacheList::Check(), and m_pList. Referenced by CHostCacheWnd::GetItem(). |
|
Definition at line 62 of file HostCache.cpp. References CHostCacheList::Clear(), and m_pList. |
|
Definition at line 161 of file HostCache.cpp. References CHostCacheList::Find(), m_pList, and NULL. |
|
Definition at line 180 of file HostCache.h. References eDonkey, Gnutella1, Gnutella2, NULL, PROTOCOL_ED2K, PROTOCOL_G1, and PROTOCOL_G2. Referenced by CNeighboursWithConnect::Maintain(), CHostCacheWnd::OnTimer(), CNetwork::OnWinsock(), and CHostCacheWnd::Update(). |
|
Definition at line 71 of file HostCache.cpp. References CHostCacheList::Clear(), eDonkey, CSettings::General, CHostCacheList::GetNewest(), CHostCacheList::Import(), m_pList, CNetwork::m_pSection, Network, NULL, Serialize(), Settings, and CSettings::sGeneral::UserPath. Referenced by CShareazaApp::InitInstance(). |
|
Definition at line 190 of file HostCache.cpp. References m_pList, and CHostCacheList::OnFailure(). Referenced by CShakeNeighbour::Close(), CEDNeighbour::OnDropped(), CShakeNeighbour::OnHeadersCompleteG1(), and CNeighboursWnd::OnNeighboursDisconnect(). |
|
Definition at line 181 of file HostCache.cpp. References m_pList, and CHostCacheList::Remove(). Referenced by CHostCacheWnd::OnHostCacheRemove(). |
|
Definition at line 102 of file HostCache.cpp. References CSettings::General, CNetwork::m_pSection, Network, Serialize(), Settings, and CSettings::sGeneral::UserPath. Referenced by CShareazaApp::ExitInstance(), CHostCacheWnd::OnDestroy(), CHostCacheWnd::OnHostcacheImport(), CDonkeyServersDlg::OnRun(), and CDiscoveryServices::RunServerMet(). |
|
Definition at line 119 of file HostCache.cpp. References CHostCacheList::m_nProtocol, m_pList, and CHostCacheList::Serialize(). |
|
|
|
|
Definition at line 163 of file HostCache.h. Referenced by Check(), CHostCache(), Clear(), Find(), Load(), OnFailure(), Remove(), and Serialize(). |