#include <CrawlSession.h>
Public Member Functions | |
CCrawlSession () | |
virtual | ~CCrawlSession () |
void | Clear () |
void | Bootstrap () |
void | SendCrawl (SOCKADDR_IN *pHost) |
int | GetHubCount () |
int | GetLeafCount () |
void | OnRun () |
void | OnCrawl (SOCKADDR_IN *pHost, CG2Packet *pPacket) |
Public Attributes | |
BOOL | m_bActive |
CPtrList | m_pNodes |
Protected Member Functions | |
CCrawlNode * | Find (IN_ADDR *pAddress, BOOL bCreate) |
Friends | |
class | CCrawlNode |
|
Definition at line 44 of file CrawlSession.cpp. References m_bActive. |
|
Definition at line 49 of file CrawlSession.cpp. References Clear(). |
|
Definition at line 70 of file CrawlSession.cpp. References CNeighboursBase::GetIterator(), CNeighboursBase::GetNext(), CNeighbour::m_nNodeType, CNeighbour::m_nProtocol, CConnection::m_pHost, Neighbours, ntLeaf, PROTOCOL_G2, and SendCrawl(). Referenced by CSystemWnd::OnSystemTest(). |
|
Definition at line 57 of file CrawlSession.cpp. References m_pNodes. Referenced by ~CCrawlSession(). |
|
Definition at line 172 of file CrawlSession.cpp. References CCrawlNode, CCrawlNode::m_nUnique, CCrawlNode::m_pHost, m_pNodes, and NULL. Referenced by OnCrawl(), and CCrawlNode::OnNode(). |
|
Definition at line 102 of file CrawlSession.cpp. References CCrawlNode::m_nType, m_pNodes, and CCrawlNode::ntHub. Referenced by CSystemWnd::OnSystemTest(). |
|
Definition at line 115 of file CrawlSession.cpp. References CCrawlNode::m_nType, m_pNodes, and CCrawlNode::ntLeaf. Referenced by CSystemWnd::OnSystemTest(). |
|
Definition at line 155 of file CrawlSession.cpp. References Find(), m_bActive, CShareazaApp::Message(), MSG_TEMP, CCrawlNode::OnCrawl(), and theApp. Referenced by CDatagrams::OnCrawlAnswer(). |
|
Definition at line 131 of file CrawlSession.cpp. References m_bActive, CCrawlNode::m_nType, CCrawlNode::m_pHost, m_pNodes, CCrawlNode::m_tCrawled, CCrawlNode::m_tResponse, CCrawlNode::ntHub, NULL, and SendCrawl(). Referenced by CNetwork::OnRun(). |
|
Definition at line 87 of file CrawlSession.cpp. References Datagrams, G2_PACKET_CRAWL_REQ, CShareazaApp::Message(), MSG_TEMP, CG2Packet::New(), CDatagrams::Send(), theApp, and CG2Packet::WritePacket(). Referenced by Bootstrap(), and OnRun(). |
|
Definition at line 56 of file CrawlSession.h. Referenced by Find(). |
|
Definition at line 40 of file CrawlSession.h. Referenced by CCrawlSession(), OnCrawl(), CNetwork::OnRun(), OnRun(), and CSystemWnd::OnSystemTest(). |
|
Definition at line 41 of file CrawlSession.h. Referenced by Clear(), Find(), GetHubCount(), GetLeafCount(), and OnRun(). |