Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CNetwork Class Reference

#include <Network.h>

List of all members.

Public Member Functions

 CNetwork ()
virtual ~CNetwork ()
BOOL IsAvailable () const
BOOL IsConnected () const
BOOL IsListening () const
int IsWellConnected () const
BOOL IsStable () const
DWORD GetStableTime () const
BOOL IsConnectedTo (IN_ADDR *pAddress)
BOOL ReadyToTransfer (DWORD tNow) const
BOOL Connect (BOOL bAutoConnect=FALSE)
void Disconnect ()
BOOL ConnectTo (LPCTSTR pszAddress, int nPort=0, PROTOCOLID nProtocol=PROTOCOL_NULL, BOOL bNoUltraPeer=FALSE)
void AcquireLocalAddress (LPCTSTR pszHeader)
BOOL Resolve (LPCTSTR pszHost, int nPort, SOCKADDR_IN *pHost, BOOL bNames=TRUE) const
BOOL AsyncResolve (LPCTSTR pszAddress, WORD nPort, PROTOCOLID nProtocol, BYTE nCommand)
WORD RandomPort () const
void CreateID (GGUID &oID)
BOOL IsFirewalledAddress (LPVOID pAddress, BOOL bIncludeSelf=FALSE)
BOOL GetNodeRoute (GGUID *pGUID, CNeighbour **ppNeighbour, SOCKADDR_IN *pEndpoint)
BOOL RoutePacket (CG2Packet *pPacket)
BOOL SendPush (GGUID *pGUID, DWORD nIndex=0)
BOOL RouteHits (CQueryHit *pHits, CPacket *pPacket)
void OnWinsock (WPARAM wParam, LPARAM lParam)
void OnQuerySearch (CQuerySearch *pSearch)
void OnQueryHits (CQueryHit *pHits)

Public Attributes

CRouteCacheNodeRoute
CRouteCacheQueryRoute
CQueryKeysQueryKeys
CMutex m_pSection
CEvent m_pWakeup
SOCKADDR_IN m_pHost
BOOL m_bEnabled
BOOL m_bAutoConnect
DWORD m_tStartedConnecting
DWORD m_tLastConnect

Protected Member Functions

void OnRun ()

Static Protected Member Functions

static UINT ThreadStart (LPVOID pParam)

Protected Attributes

HANDLE m_hThread
DWORD m_nSequence
CMapPtrToPtr m_pLookups

Friends

class CHandshakes
class CNeighbours


Constructor & Destructor Documentation

CNetwork::CNetwork  ) 
 

Definition at line 68 of file Network.cpp.

References m_bAutoConnect, m_bEnabled, m_hThread, m_nSequence, m_tLastConnect, m_tStartedConnecting, NodeRoute, NULL, QueryKeys, and QueryRoute.

CNetwork::~CNetwork  )  [virtual]
 

Definition at line 82 of file Network.cpp.

References NodeRoute, QueryKeys, and QueryRoute.


Member Function Documentation

void CNetwork::AcquireLocalAddress LPCTSTR  pszHeader  ) 
 

Definition at line 326 of file Network.cpp.

References IsFirewalledAddress(), and m_pHost.

Referenced by CShakeNeighbour::OnHeaderLine(), and CConnection::OnHeaderLine().

BOOL CNetwork::AsyncResolve LPCTSTR  pszAddress,
WORD  nPort,
PROTOCOLID  nProtocol,
BYTE  nCommand
 

Definition at line 427 of file Network.cpp.

References m_pLookups, m_pSection, NULL, and WM_WINSOCK.

Referenced by ConnectTo(), and CDiscoveryService::ResolveGnutella().

BOOL CNetwork::Connect BOOL  bAutoConnect = FALSE  ) 
 

Definition at line 162 of file Network.cpp.

References CSettings::sLive::AutoClose, CNeighbours::Connect(), CSettings::Connection, CONNECTION_FIREWALLED, Datagrams, DiscoveryServices, CSettings::sGnutella1::EnableToday, CDiscoveryServices::Execute(), CSettings::sConnection::FirewallStatus, CSettings::sConnection::ForceConnectedState, CSettings::Gnutella, CHostCache::Gnutella1, CSettings::Gnutella1, Handshakes, HostCache, IDS_NETWORK_CANT_OUTGOING, IDS_NETWORK_FIREWALLED, IDS_NETWORK_OUTGOING, IDS_NETWORK_STARTUP, CSettings::sConnection::InHost, CSettings::sConnection::InPort, CDatagrams::Listen(), CHandshakes::Listen(), CSettings::Live, m_bAutoConnect, m_bEnabled, m_hThread, m_pHost, m_pSection, m_tStartedConnecting, CShareazaApp::Message(), MSG_DEFAULT, MSG_ERROR, MSG_SYSTEM, Neighbours, NodeRoute, NULL, CSettings::sConnection::OutHost, CHostCacheList::PruneOldHosts(), QueryRoute, Resolve(), CSettings::sGnutella::RouteCache, CRouteCache::SetDuration(), Settings, CSettings::SmartAgent(), theApp, and ThreadStart().

Referenced by ConnectTo(), CNeighboursWithConnect::ConnectTo(), CMainWnd::LocalSystemChecks(), CTorrentSeedDlg::OnDownload(), CLibraryCollectionView::OnLibraryFolderDownload(), CMainWnd::OnNetworkConnect(), CMainWnd::OnNetworkED2K(), CMainWnd::OnNetworkG1(), CMainWnd::OnNetworkG2(), CMainWnd::OnNetworkSearch(), CUpgradeDlg::OnOK(), CSearchPadWnd::OnSearchCreate(), CSearchWnd::OnSearchSearch(), CTorrentSeedDlg::OnSeed(), CMainWnd::OnTabConnect(), CMainWnd::OnToolsDownload(), CURLActionDlg::OnUrlDownload(), CURLActionDlg::OnUrlSearch(), CWizardFinishedPage::OnWizardFinish(), CRemote::PageNetworkNetwork(), CDiscoveryService::ResolveGnutella(), and CScheduler::SetVariables().

BOOL CNetwork::ConnectTo LPCTSTR  pszAddress,
int  nPort = 0,
PROTOCOLID  nProtocol = PROTOCOL_NULL,
BOOL  bNoUltraPeer = FALSE
 

Definition at line 307 of file Network.cpp.

References AsyncResolve(), Connect(), GNUTELLA_DEFAULT_PORT, IDS_NETWORK_RESOLVE_FAIL, IDS_NETWORK_RESOLVING, m_bEnabled, m_pSection, CShareazaApp::Message(), MSG_DEFAULT, MSG_ERROR, and theApp.

Referenced by CMainWnd::OnNetworkConnectTo(), CURLActionDlg::OnUrlDownload(), and CURLActionDlg::OnUrlSearch().

void CNetwork::CreateID GGUID oID  ) 
 

Definition at line 349 of file Network.cpp.

References CGProfile::GUID, m_nSequence, and MyProfile.

Referenced by CQuerySearch::CQuerySearch(), CLocalSearch::Execute(), CG1Packet::New(), CNeighboursWithG1::OnG1Ping(), CSearchWnd::OnSearchSearch(), CUploadTransferHTTP::RequestTigerTreeDIME(), and CG2Neighbour::SendHAW().

void CNetwork::Disconnect  ) 
 

Definition at line 233 of file Network.cpp.

References CRouteCache::Clear(), CNeighbours::Close(), Datagrams, CDatagrams::Disconnect(), CHandshakes::Disconnect(), DiscoveryServices, Handshakes, IDS_NETWORK_DISCONNECTED, IDS_NETWORK_DISCONNECTING, m_bAutoConnect, m_bEnabled, m_hThread, m_pLookups, m_pSection, m_pWakeup, m_tStartedConnecting, CShareazaApp::Message(), MSG_DEBUG, MSG_DEFAULT, MSG_SYSTEM, Neighbours, NodeRoute, NULL, QueryRoute, CDiscoveryServices::Stop(), and theApp.

Referenced by CShareazaApp::ExitInstance(), CMainWnd::LocalSystemChecks(), CMainWnd::OnClose(), CMainWnd::OnDestroy(), CMainWnd::OnNetworkAutoClose(), CMainWnd::OnNetworkDisconnect(), CMainWnd::OnTabConnect(), and CScheduler::SetVariables().

BOOL CNetwork::GetNodeRoute GGUID pGUID,
CNeighbour **  ppNeighbour,
SOCKADDR_IN *  pEndpoint
 

Definition at line 533 of file Network.cpp.

References CNeighboursBase::GetIterator(), CNeighboursBase::GetNext(), CGProfile::GUID, CRouteCache::Lookup(), CNeighbour::m_bGUID, CNeighbour::m_pGUID, MyProfile, Neighbours, NodeRoute, and NULL.

Referenced by RoutePacket(), and SendPush().

DWORD CNetwork::GetStableTime  )  const
 

Definition at line 126 of file Network.cpp.

References Handshakes, IsStable(), CHandshakes::m_tStableTime, and NULL.

Referenced by CNeighboursWithConnect::IsG1UltrapeerCapable(), CNeighboursWithConnect::IsG2HubCapable(), CDownloadWithTransfers::StartNewTransfer(), and CDiscoveryServices::Update().

BOOL CNetwork::IsAvailable  )  const
 

Definition at line 92 of file Network.cpp.

Referenced by CMainWnd::LocalSystemChecks().

BOOL CNetwork::IsConnected  )  const
 

Definition at line 103 of file Network.cpp.

References m_bEnabled.

Referenced by CMainWnd::LocalSystemChecks(), CNeighboursWithConnect::NeedMoreHubs(), CNeighboursWithConnect::NeedMoreLeafs(), CNeighboursWnd::OnCustomDrawList(), CMainWnd::OnNetworkED2K(), CMainWnd::OnNetworkG1(), CMainWnd::OnNetworkG2(), CRemote::OnRun(), CTorrentSeedDlg::OnSeed(), CMainWnd::OnTabConnect(), CMainWnd::OnUpdateNetworkConnect(), CMainWnd::OnUpdateNetworkDisconnect(), CMainWnd::OnUpdateTabConnect(), CMainWnd::OnWindowNavBar(), CMainWnd::OnWindowToolBar(), CDownloadsWnd::Prepare(), CDownloadWithTorrent::RunTorrent(), CScheduler::SetVariables(), CDownloadWithTransfers::StartNewTransfer(), CHomeViewCtrl::Update(), CHomeConnectionBox::Update(), and CMainWnd::UpdateMessages().

BOOL CNetwork::IsConnectedTo IN_ADDR *  pAddress  ) 
 

Definition at line 132 of file Network.cpp.

References CNeighboursBase::Get(), Handshakes, CTransfers::IsConnectedTo(), CHandshakes::IsConnectedTo(), m_pHost, Neighbours, NULL, and Transfers.

Referenced by CDatagrams::OnPong().

BOOL CNetwork::IsFirewalledAddress LPVOID  pAddress,
BOOL  bIncludeSelf = FALSE
 

Definition at line 361 of file Network.cpp.

References CSettings::Connection, CSettings::sConnection::IgnoreLocalIP, m_pHost, and Settings.

Referenced by AcquireLocalAddress(), CHostCacheList::Add(), CLibraryFile::AddAlternateSource(), CLibraryFile::AddAlternateSources(), CDownloadWithSources::AddSourceBT(), CDownloadWithSources::AddSourceURL(), CDownloadWithSources::AddSourceURLs(), CNeighboursWithConnect::ConnectTo(), CHostCacheHost::ConnectTo(), CQueryHit::FromPacket(), CEDNeighbour::OnCallbackRequest(), CG2Neighbour::OnHAW(), CEDClient::OnHello(), CG2Neighbour::OnKHL(), CG2Neighbour::OnLNI(), CG2Neighbour::OnPing(), CG1Neighbour::OnPong(), CG2Neighbour::OnPush(), CG1Neighbour::OnPush(), CDatagrams::OnPush(), CSearchManager::OnQueryAck(), CG2Neighbour::OnQueryKeyAns(), CG2Neighbour::OnQueryKeyReq(), CDatagrams::OnQueryKeyRequest(), CQueryHit::ReadEDAddress(), and CQuerySearch::ReadG2Packet().

BOOL CNetwork::IsListening  )  const
 

Definition at line 108 of file Network.cpp.

References Handshakes, CHandshakes::IsListening(), m_bEnabled, and m_pHost.

Referenced by CManagedSearch::Execute(), CNeighboursWithED2K::FindDonkeySources(), IsStable(), CDatagrams::IsStable(), CRemoteSettingsPage::OnBnClickedRemoteEnable(), CURLExportDlg::OnCopy(), CURLCopyDlg::OnInitDialog(), CG1Neighbour::OnPing(), CG1Neighbour::OnQuery(), CG2Neighbour::OnRun(), CURLExportDlg::OnSave(), CNeighboursWithED2K::PushDonkey(), CDiscoveryServices::RunWebCacheUpdate(), CConnection::SendMyAddress(), CDownloadTransferED2K::SendPrimaryRequest(), SendPush(), CUploadTransferHTTP::SendResponse(), CG2Neighbour::SendStartups(), CQuerySearch::ToG1Packet(), CHomeViewCtrl::Update(), and CLocalSearch::WriteTrailerG1().

BOOL CNetwork::IsStable  )  const
 

Definition at line 121 of file Network.cpp.

References Handshakes, IsListening(), and CHandshakes::m_nStableCount.

Referenced by CLocalSearch::CreatePacketG2(), CMatchCtrl::DrawItem(), GetStableTime(), and CDownloadTransferHTTP::SendRequest().

int CNetwork::IsWellConnected  )  const
 

Definition at line 116 of file Network.cpp.

References CNeighboursBase::m_nStableCount, and Neighbours.

Referenced by CMainWnd::LocalSystemChecks(), CTorrentSeedDlg::OnDownload(), CLibraryCollectionView::OnLibraryFolderDownload(), CMainWnd::OnNetworkSearch(), CUpgradeDlg::OnOK(), CSearchManager::OnRun(), CSearchPadWnd::OnSearchCreate(), CSearchWnd::OnSearchSearch(), CMainWnd::OnTabConnect(), CMainWnd::OnToolsDownload(), CBaseMatchWnd::OnUpdateHitMonitorSearch(), CMainWnd::OnUpdateNetworkConnect(), CMainWnd::OnUpdateTabConnect(), CURLActionDlg::OnUrlDownload(), CURLActionDlg::OnUrlSearch(), CStatistics::Update(), and CMainWnd::UpdateMessages().

void CNetwork::OnQueryHits CQueryHit pHits  ) 
 

Definition at line 756 of file Network.cpp.

References Downloads, CWindowManager::Find(), CShareazaApp::m_pSection, NULL, CChildWnd::OnQueryHits(), CDownloads::OnQueryHits(), CShareazaApp::SafeMainWnd(), and theApp.

Referenced by CNeighbour::OnCommonHit(), CEDNeighbour::OnFoundSources(), CDatagrams::OnHit(), CEDNeighbour::OnSearchResults(), and CEDClients::OnUDP().

void CNetwork::OnQuerySearch CQuerySearch pSearch  ) 
 

Definition at line 734 of file Network.cpp.

References CWindowManager::Find(), CShareazaApp::m_pSection, NULL, CChildWnd::OnQuerySearch(), CShareazaApp::SafeMainWnd(), and theApp.

Referenced by CG2Neighbour::OnQuery(), CG1Neighbour::OnQuery(), and CDatagrams::OnQuery().

void CNetwork::OnRun  )  [protected]
 

Definition at line 471 of file Network.cpp.

References CQueryHashMaster::Build(), CrawlSession, Datagrams, CCrawlSession::m_bActive, m_bEnabled, m_pSection, m_pWakeup, Neighbours, CNeighbours::OnRun(), CCrawlSession::OnRun(), CSearchManager::OnRun(), CDatagrams::OnRun(), QueryHashMaster, and SearchManager.

Referenced by ThreadStart().

void CNetwork::OnWinsock WPARAM  wParam,
LPARAM  lParam
 

Definition at line 496 of file Network.cpp.

References CNeighboursWithConnect::ConnectTo(), CHostCache::ForProtocol(), HostCache, IDS_NETWORK_RESOLVE_FAIL, m_pLookups, m_pSection, CShareazaApp::Message(), MSG_ERROR, Neighbours, NULL, and theApp.

Referenced by CMainWnd::OnWinsock().

WORD CNetwork::RandomPort  )  const
 

Definition at line 456 of file Network.cpp.

Referenced by CHandshakes::Listen(), and CWizardConnectionPage::OnWizardNext().

BOOL CNetwork::ReadyToTransfer DWORD  tNow  )  const
 

Definition at line 142 of file Network.cpp.

References CSettings::Connection, m_tStartedConnecting, CSettings::sConnection::RequireForTransfers, Settings, and CSettings::sConnection::SlowConnect.

Referenced by CDownloadWithTransfers::CanStartTransfers(), and CNeighboursWithConnect::Maintain().

BOOL CNetwork::Resolve LPCTSTR  pszHost,
int  nPort,
SOCKADDR_IN *  pHost,
BOOL  bNames = TRUE
const
 

Definition at line 382 of file Network.cpp.

References NULL.

Referenced by Connect(), CConnection::ConnectTo(), CDatagrams::Listen(), CMainWnd::OnNetworkBrowseTo(), CDownloadTransferBT::OnSourceResponse(), CURLActionDlg::OnUrlDownload(), CURLActionDlg::OnUrlSearch(), CSourceURL::ParseBTC(), CSourceURL::ParseED2KFTP(), CSourceURL::ParseFTP(), CSourceURL::ParseHTTP(), and CBTTrackerRequest::Process().

BOOL CNetwork::RouteHits CQueryHit pHits,
CPacket pPacket
 

Definition at line 653 of file Network.cpp.

References CStatistics::Current, Datagrams, G2_PACKET_HIT, G2_PACKET_HIT_WRAP, CSettings::Gnutella1, CG1Packet::Hop(), CG2Packet::IsType(), CRouteCache::Lookup(), GNUTELLAPACKET::m_nHops, CPacket::m_nLength, CPacket::m_nPosition, CNeighbour::m_nProtocol, CPacket::m_nProtocol, GNUTELLAPACKET::m_nTTL, CPacket::m_pBuffer, m_pHost, CSettings::sGnutella1::MaximumTTL, CG2Packet::New(), CG1Packet::New(), NULL, PROTOCOL_G1, PROTOCOL_G2, QueryRoute, CG2Packet::SeekToWrapped(), CDatagrams::Send(), CNeighbour::Send(), Settings, and Statistics.

Referenced by CNeighbour::OnCommonHit(), and CDatagrams::OnHit().

BOOL CNetwork::RoutePacket CG2Packet pPacket  ) 
 

Definition at line 557 of file Network.cpp.

References CStatistics::Current, Datagrams, G2_PACKET_PUSH, GetNodeRoute(), CGProfile::GUID, CNeighbour::m_nProtocol, MyProfile, NULL, PROTOCOL_G1, CDatagrams::Send(), CNeighbour::Send(), CG1Neighbour::SendG2Push(), and Statistics.

Referenced by CG2Neighbour::OnPacket(), and CDatagrams::OnPacket().

BOOL CNetwork::SendPush GGUID pGUID,
DWORD  nIndex = 0
 

Definition at line 596 of file Network.cpp.

References Datagrams, G1_PACKET_PUSH, G2_PACKET_PUSH, G2_PACKET_TO, GetNodeRoute(), CSettings::Gnutella1, IsListening(), CNeighbour::m_nProtocol, m_pHost, m_pSection, CSettings::sGnutella1::MaximumTTL, GGUID::n, CG2Packet::New(), CG1Packet::New(), NULL, PROTOCOL_G1, CDatagrams::Send(), CNeighbour::Send(), Settings, CPacket::Write(), CPacket::WriteByte(), CPacket::WriteLongLE(), CG2Packet::WritePacket(), CPacket::WriteShortBE(), and CPacket::WriteShortLE().

Referenced by CDownloadSource::PushRequest(), CHostBrowser::SendPush(), and CChatSession::SendPush().

UINT CNetwork::ThreadStart LPVOID  pParam  )  [static, protected]
 

Definition at line 464 of file Network.cpp.

References OnRun().

Referenced by Connect().


Friends And Related Function Documentation

friend class CHandshakes [friend]
 

Definition at line 94 of file Network.h.

friend class CNeighbours [friend]
 

Definition at line 95 of file Network.h.


Member Data Documentation

BOOL CNetwork::m_bAutoConnect
 

Definition at line 54 of file Network.h.

Referenced by CNetwork(), Connect(), Disconnect(), CNeighboursWithConnect::Maintain(), and CNeighboursWithConnect::OnRun().

BOOL CNetwork::m_bEnabled
 

Definition at line 53 of file Network.h.

Referenced by CNetwork(), Connect(), ConnectTo(), Disconnect(), IsConnected(), CNeighboursWithConnect::IsG1Leaf(), CNeighboursWithConnect::IsG1Ultrapeer(), CNeighboursWithConnect::IsG2Hub(), CNeighboursWithConnect::IsG2Leaf(), IsListening(), CNeighboursWithConnect::Maintain(), OnRun(), and CNeighboursWithConnect::OnRun().

HANDLE CNetwork::m_hThread [protected]
 

Definition at line 58 of file Network.h.

Referenced by CNetwork(), Connect(), and Disconnect().

DWORD CNetwork::m_nSequence [protected]
 

Definition at line 59 of file Network.h.

Referenced by CNetwork(), and CreateID().

SOCKADDR_IN CNetwork::m_pHost
 

Definition at line 52 of file Network.h.

Referenced by AcquireLocalAddress(), CHostCacheList::Add(), CLibraryFile::AddAlternateSource(), CLocalSearch::AddHit(), CDownloadWithSources::AddSourceBT(), CDownloadWithSources::AddSourceInternal(), CDownloadWithSources::AddSourceURL(), CHostCacheHost::CanConnect(), CDownloadSource::CanInitiate(), CBTTrackerRequest::CBTTrackerRequest(), Connect(), CLocalSearch::CreatePacketG1(), CLocalSearch::CreatePacketG2(), CNeighboursWithG2::CreateQueryWeb(), CManagedSearch::ExecuteG2Mesh(), CManagedSearch::ExecuteNeighbours(), IsConnectedTo(), IsFirewalledAddress(), IsListening(), CHandshakes::Listen(), CDatagrams::Listen(), CRemoteSettingsPage::OnBnClickedRemoteEnable(), CEDNeighbour::OnConnected(), CURLExportDlg::OnCopy(), CDatagrams::OnCrawlRequest(), CDownloadTransferHTTP::OnHeadersComplete(), CEDNeighbour::OnIdChange(), CURLCopyDlg::OnIncludeSelf(), CG2Neighbour::OnKHL(), CG1Neighbour::OnPing(), CDatagrams::OnQuery(), CDatagrams::OnQueryKeyAnswer(), CG2Neighbour::OnQueryKeyReq(), CG2Neighbour::OnRun(), CURLExportDlg::OnSave(), RouteHits(), CNeighboursWithRouting::RouteQuery(), CDiscoveryServices::RunWebCacheUpdate(), CEDClient::SendEmuleInfo(), CG2Neighbour::SendHAW(), CEDClient::SendHello(), CG2Neighbour::SendKHL(), CG2Neighbour::SendLNI(), CConnection::SendMyAddress(), SendPush(), CDownloadTransferHTTP::SendRequest(), CUploadTransferHTTP::SendResponse(), CEDNeighbour::SendSharedDownload(), CEDNeighbour::SendSharedFiles(), CG2Neighbour::SendStartups(), CHostCacheHost::SetKey(), and CHomeViewCtrl::Update().

CMapPtrToPtr CNetwork::m_pLookups [protected]
 

Definition at line 60 of file Network.h.

Referenced by AsyncResolve(), Disconnect(), and OnWinsock().

CMutex CNetwork::m_pSection
 

Definition at line 50 of file Network.h.

Referenced by CDiscoveryServices::Add(), AsyncResolve(), CSecurity::Ban(), CNeighboursWithRouting::Broadcast(), Connect(), ConnectTo(), CNeighboursWithConnect::ConnectTo(), CLocalSearch::CreatePacketG2(), Disconnect(), CDiscoveryService::Execute(), CDiscoveryServices::Execute(), CNeighboursBase::GetCount(), CUploadTransferHTTP::GetNeighbourList(), CGraphItem::GetValue(), CSecurity::Import(), CHostCacheList::ImportMET(), CSecurity::IsDenied(), CHostCache::Load(), CDiscoveryServices::Load(), CHostCacheList::LoadDefaultED2KServers(), CNeighboursBase::NeighbourExists(), CNeighboursWithConnect::OnAccept(), CNeighboursWnd::OnBrowseLaunch(), CPacketWnd::OnContextMenu(), CSecurityWnd::OnCreate(), CHostCacheWnd::OnCreate(), CHostCacheWnd::OnDestroy(), CDiscoveryWnd::OnDestroy(), CDiscoveryWnd::OnDiscoveryAdvertise(), CDiscoveryWnd::OnDiscoveryBrowse(), CDiscoveryWnd::OnDiscoveryEdit(), CDiscoveryWnd::OnDiscoveryQuery(), CDiscoveryWnd::OnDiscoveryRemove(), CHostCacheWnd::OnHostCacheConnect(), CHostCacheWnd::OnHostCacheDisconnect(), CHostCacheWnd::OnHostcachePriority(), CHostCacheWnd::OnHostCacheRemove(), CSecureRuleDlg::OnInitDialog(), CDiscoveryServiceDlg::OnInitDialog(), CNeighboursWnd::OnNeighboursChat(), CNeighboursWnd::OnNeighboursCopy(), CNeighboursWnd::OnNeighboursDisconnect(), CSecureRuleDlg::OnOK(), CDiscoveryServiceDlg::OnOK(), CNeighbourTipCtrl::OnPaint(), CNeighbourTipCtrl::OnPrepare(), OnRun(), CNeighboursWithConnect::OnRun(), CNeighboursBase::OnRun(), CDiscoveryServices::OnRun(), CBaseMatchWnd::OnSearchDownload(), CBaseMatchWnd::OnSearchDownloadNow(), CNeighboursWnd::OnSecurityBan(), CBaseMatchWnd::OnSecurityBan(), CSecurityWnd::OnSecurityEdit(), CSecurityWnd::OnSecurityMoveDown(), CSecurityWnd::OnSecurityMoveUp(), CSecurityWnd::OnSecurityRemove(), CSecurityWnd::OnSecurityReset(), CNeighbourTipCtrl::OnTimer(), CNeighboursWnd::OnUpdateBrowseLaunch(), CDiscoveryWnd::OnUpdateDiscoveryAdvertise(), CHostCacheWnd::OnUpdateHostCacheDisconnect(), CHostCacheWnd::OnUpdateHostcachePriority(), CNeighboursWnd::OnUpdateNeighboursChat(), OnWinsock(), CNeighboursWnd::OpenPacketWnd(), CChatWindows::OpenPrivate(), CRemote::PageNetwork(), CDatagrams::PurgeToken(), CDiscoveryServices::QueryForHosts(), CEDClients::RunGlobalStatsRequests(), CDiscoveryServices::RunServerMet(), CDiscoveryServices::RunWebCacheGet(), CDiscoveryServices::RunWebCacheUpdate(), CSecurity::Save(), CHostCache::Save(), CDiscoveryServices::Save(), SendPush(), CSecurityWnd::Update(), CNeighboursWnd::Update(), CHostCacheWnd::Update(), CDiscoveryWnd::Update(), CDiscoveryServices::Update(), and CHomeConnectionBox::Update().

CEvent CNetwork::m_pWakeup
 

Definition at line 51 of file Network.h.

Referenced by CShakeNeighbour::AttachTo(), CShakeNeighbour::ConnectTo(), CEDNeighbour::ConnectTo(), Disconnect(), CDatagrams::Listen(), and OnRun().

DWORD CNetwork::m_tLastConnect
 

Definition at line 56 of file Network.h.

Referenced by CNetwork(), and CNeighboursWithConnect::Maintain().

DWORD CNetwork::m_tStartedConnecting
 

Definition at line 55 of file Network.h.

Referenced by CNetwork(), Connect(), Disconnect(), and ReadyToTransfer().

CRouteCache* CNetwork::NodeRoute
 

Definition at line 46 of file Network.h.

Referenced by CNetwork(), Connect(), Disconnect(), CQueryHit::FromPacket(), GetNodeRoute(), CNeighbour::OnCommonHit(), CDatagrams::OnHit(), CG1Neighbour::OnPush(), CNeighboursBase::Remove(), and ~CNetwork().

CQueryKeys* CNetwork::QueryKeys
 

Definition at line 48 of file Network.h.

Referenced by CNetwork(), CDatagrams::OnQuery(), CDatagrams::OnQueryKeyRequest(), and ~CNetwork().

CRouteCache* CNetwork::QueryRoute
 

Definition at line 47 of file Network.h.

Referenced by CNetwork(), Connect(), Disconnect(), CG2Neighbour::OnQuery(), CG1Neighbour::OnQuery(), CDatagrams::OnQuery(), CDatagrams::OnQueryAck(), CNeighboursBase::Remove(), RouteHits(), and ~CNetwork().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:10 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2