#include <NeighboursBase.h>
Inheritance diagram for CNeighboursBase:
Public Member Functions | |
CNeighboursBase () | |
virtual | ~CNeighboursBase () |
POSITION | GetIterator () const |
CNeighbour * | GetNext (POSITION &pos) const |
CNeighbour * | Get (DWORD nUnique) const |
CNeighbour * | Get (IN_ADDR *pAddress) const |
int | GetCount (PROTOCOLID nProtocol, int nState, int nNodeType) const |
BOOL | NeighbourExists (PROTOCOLID nProtocol, int nState, int nNodeType) const |
virtual void | Connect () |
virtual void | Close () |
virtual void | OnRun () |
Public Attributes | |
DWORD | m_nStableCount |
DWORD | m_nLeafCount |
DWORD | m_nLeafContent |
DWORD | m_nBandwidthIn |
DWORD | m_nBandwidthOut |
Protected Member Functions | |
virtual void | Add (CNeighbour *pNeighbour, BOOL bAssignUnique=TRUE) |
virtual void | Remove (CNeighbour *pNeighbour) |
Protected Attributes | |
CMapPtrToPtr | m_pUniques |
DWORD | m_nUnique |
DWORD | m_nRunCookie |
Friends | |
class | CNeighbour |
class | CShakeNeighbour |
class | CEDNeighbour |
|
Definition at line 40 of file NeighboursBase.cpp. References m_nBandwidthIn, m_nBandwidthOut, m_nLeafContent, m_nLeafCount, m_nRunCookie, m_nStableCount, and m_nUnique. |
|
Definition at line 51 of file NeighboursBase.cpp. References Close(). |
|
Definition at line 248 of file NeighboursBase.cpp. References m_nUnique, m_pUniques, and NULL. Referenced by CShakeNeighbour::AttachTo(), CNeighbour::CNeighbour(), CShakeNeighbour::ConnectTo(), and CEDNeighbour::ConnectTo(). |
|
Reimplemented in CNeighbours, and CNeighboursWithG1. Definition at line 168 of file NeighboursBase.cpp. References GetIterator(), GetNext(), m_nBandwidthIn, m_nBandwidthOut, m_nLeafContent, m_nLeafCount, and m_nStableCount. Referenced by CNeighboursWithG1::Close(), and ~CNeighboursBase(). |
|
Reimplemented in CNeighbours, CNeighboursWithG1, and CNeighboursWithG2. Definition at line 161 of file NeighboursBase.cpp. Referenced by CNeighboursWithG1::Connect(). |
|
Definition at line 82 of file NeighboursBase.cpp. References GetIterator(), GetNext(), CConnection::m_pHost, and NULL. |
|
|
|
|
|
Definition at line 130 of file NeighboursBase.cpp. References CNeighbour::m_nNodeType, CNeighbour::m_nProtocol, CNeighbour::m_nState, CNetwork::m_pSection, m_pUniques, and Network. |
|
Reimplemented in CNeighbours, and CNeighboursWithConnect. Definition at line 185 of file NeighboursBase.cpp. References CConnection::DoRun(), GetIterator(), GetNext(), CConnection::m_mInput, CConnection::m_mOutput, m_nBandwidthIn, m_nBandwidthOut, CNeighbour::m_nFileVolume, m_nLeafContent, m_nLeafCount, CNeighbour::m_nNodeType, CNeighbour::m_nRunCookie, m_nRunCookie, m_nStableCount, CNeighbour::m_nState, CNetwork::m_pSection, CConnection::m_tConnected, CConnection::Measure(), Network, TCPBandwidthMeter::nMeasure, nrsConnected, and ntLeaf. Referenced by CNeighboursWithConnect::OnRun(). |
|
Reimplemented in CNeighboursWithG1. Definition at line 265 of file NeighboursBase.cpp. References m_pUniques, Network, CNetwork::NodeRoute, CNetwork::QueryRoute, and CRouteCache::Remove(). Referenced by CNeighboursWithG1::Remove(). |
|
Definition at line 67 of file NeighboursBase.h. Referenced by CNeighboursWithConnect::ConnectTo(). |
|
Reimplemented in CNeighbours. Definition at line 65 of file NeighboursBase.h. |
|
Reimplemented in CNeighbours. Definition at line 66 of file NeighboursBase.h. Referenced by CNeighboursWithConnect::ConnectTo(), and CNeighboursWithConnect::OnAccept(). |
|
Definition at line 46 of file NeighboursBase.h. Referenced by Close(), CNeighboursBase(), CGraphItem::GetValue(), and OnRun(). |
|
Definition at line 47 of file NeighboursBase.h. Referenced by Close(), CNeighboursBase(), CGraphItem::GetValue(), and OnRun(). |
|
Definition at line 45 of file NeighboursBase.h. Referenced by Close(), CNeighboursBase(), and OnRun(). |
|
Definition at line 44 of file NeighboursBase.h. Referenced by Close(), CNeighboursBase(), CUploadQueue::GetBandwidthLimit(), and OnRun(). |
|
Definition at line 41 of file NeighboursBase.h. Referenced by CNeighboursBase(), and OnRun(). |
|
Definition at line 43 of file NeighboursBase.h. Referenced by Close(), CNeighboursBase(), CNetwork::IsWellConnected(), and OnRun(). |
|
Definition at line 40 of file NeighboursBase.h. Referenced by Add(), and CNeighboursBase(). |
|
Definition at line 39 of file NeighboursBase.h. Referenced by Add(), Get(), GetCount(), GetIterator(), GetNext(), NeighbourExists(), and Remove(). |