#include <NeighboursWithG1.h>
Inheritance diagram for CNeighboursWithG1:
Public Member Functions | |
CNeighboursWithG1 () | |
virtual | ~CNeighboursWithG1 () |
virtual void | Connect () |
virtual void | Close () |
void | OnG1Ping () |
void | OnG1Pong (CG1Neighbour *pFrom, IN_ADDR *pAddress, WORD nPort, BYTE nHops, DWORD nFiles, DWORD nVolume) |
Public Attributes | |
CRouteCache * | m_pPingRoute |
CPongCache * | m_pPongCache |
Protected Member Functions | |
virtual void | Remove (CNeighbour *pNeighbour) |
|
Definition at line 41 of file NeighboursWithG1.cpp. References m_pPingRoute, and m_pPongCache. |
|
Definition at line 47 of file NeighboursWithG1.cpp. References m_pPingRoute, and m_pPongCache. |
|
Reimplemented from CNeighboursBase. Reimplemented in CNeighbours. Definition at line 65 of file NeighboursWithG1.cpp. References CPongCache::Clear(), CRouteCache::Clear(), CNeighboursBase::Close(), m_pPingRoute, and m_pPongCache. Referenced by CNeighbours::Close(). |
|
Reimplemented from CNeighboursBase. Reimplemented in CNeighbours, and CNeighboursWithG2. Definition at line 56 of file NeighboursWithG1.cpp. References CNeighboursBase::Connect(), CSettings::Gnutella, m_pPingRoute, CSettings::sGnutella::RouteCache, CRouteCache::SetDuration(), and Settings. Referenced by CNeighboursWithG2::Connect(). |
|
Definition at line 82 of file NeighboursWithG1.cpp. References CPongCache::ClearIfOld(), CNetwork::CreateID(), CNeighboursBase::GetIterator(), CNeighboursBase::GetNext(), CNeighbour::m_bPongCaching, CNeighbour::m_nProtocol, m_pPongCache, Network, PROTOCOL_G1, and CG1Neighbour::SendPing(). Referenced by CG1Neighbour::OnPing(). |
|
Definition at line 106 of file NeighboursWithG1.cpp. References CPongCache::Add(), CNeighboursBase::GetIterator(), CNeighboursBase::GetNext(), CNeighbour::m_nProtocol, m_pPongCache, NULL, CG1Neighbour::OnNewPong(), and PROTOCOL_G1. Referenced by CG1Neighbour::OnPong(). |
|
Reimplemented from CNeighboursBase. Definition at line 73 of file NeighboursWithG1.cpp. References m_pPingRoute, CNeighboursBase::Remove(), and CRouteCache::Remove(). Referenced by CNeighbour::Close(), and CShakeNeighbour::OnHandshakeComplete(). |
|
Definition at line 43 of file NeighboursWithG1.h. Referenced by Close(), CNeighboursWithG1(), Connect(), CG1Neighbour::OnPing(), CG1Neighbour::OnPong(), Remove(), and ~CNeighboursWithG1(). |
|
Definition at line 44 of file NeighboursWithG1.h. Referenced by Close(), CNeighboursWithG1(), OnG1Ping(), OnG1Pong(), CG1Neighbour::OnPing(), and ~CNeighboursWithG1(). |