#include <ManagedSearch.h>
Public Types | |
enum | { spHighest, spMedium, spLowest, spMax } |
Public Member Functions | |
CManagedSearch (CQuerySearch *pSearch=NULL, int nPriority=0) | |
virtual | ~CManagedSearch () |
void | Serialize (CArchive &ar) |
void | Start () |
void | Stop () |
BOOL | Execute () |
void | OnHostAcknowledge (DWORD nAddress) |
BOOL | IsLastED2KSearch () |
CQuerySearch * | GetSearch () const |
BOOL | IsActive () const |
int | GetPriority () const |
void | SetPriority (int nPriority) |
Public Attributes | |
CQuerySearch * | m_pSearch |
int | m_nPriority |
BOOL | m_bAllowG2 |
BOOL | m_bAllowG1 |
BOOL | m_bAllowED2K |
BOOL | m_bActive |
BOOL | m_bReceive |
DWORD | m_tStarted |
DWORD | m_nHits |
DWORD | m_nHubs |
DWORD | m_nLeaves |
DWORD | m_nQueryCount |
DWORD | m_tLastG2 |
DWORD | m_tLastED2K |
DWORD | m_tMoreResults |
DWORD | m_nEDServers |
DWORD | m_nEDClients |
Protected Member Functions | |
BOOL | ExecuteNeighbours (DWORD tTicks, DWORD tSecs) |
BOOL | ExecuteG2Mesh (DWORD tTicks, DWORD tSecs) |
BOOL | ExecuteDonkeyMesh (DWORD tTicks, DWORD tSecs) |
Protected Attributes | |
CMapPtrToPtr | m_pNodes |
DWORD | m_tExecute |
|
Definition at line 39 of file ManagedSearch.h. |
|
Definition at line 49 of file ManagedSearch.cpp. References m_bActive, m_bAllowED2K, m_bAllowG1, m_bAllowG2, m_bReceive, m_nEDClients, m_nEDServers, m_nHits, m_nHubs, m_nLeaves, m_nPriority, m_nQueryCount, m_pSearch, m_tLastED2K, m_tLastG2, m_tMoreResults, and m_tStarted. |
|
Definition at line 74 of file ManagedSearch.cpp. |
|
|
Definition at line 588 of file ManagedSearch.cpp. References Datagrams, CHostCache::eDonkey, CNeighboursBase::Get(), CHostCacheList::GetNewest(), HostCache, m_nEDClients, m_nEDServers, m_pNodes, m_pSearch, CShareazaApp::Message(), MSG_DEBUG, Neighbours, NULL, PROTOCOL_ED2K, CDatagrams::Send(), theApp, and CQuerySearch::ToEDPacket(). Referenced by Execute(). |
|
|
|
Definition at line 84 of file ManagedSearch.h. References m_nPriority. |
|
Definition at line 82 of file ManagedSearch.h. References m_pSearch. |
|
Definition at line 83 of file ManagedSearch.h. References m_bActive. |
|
Definition at line 667 of file ManagedSearch.cpp. References CQuerySearch::m_pGUID, CSearchManager::m_pLastED2KSearch, m_pSearch, and SearchManager. Referenced by Execute(), and CSearchWnd::OnQueryHits(). |
|
Definition at line 658 of file ManagedSearch.cpp. References m_pNodes, and NULL. Referenced by CSearchManager::OnQueryHits(). |
|
Definition at line 83 of file ManagedSearch.cpp. References m_bActive, m_bAllowED2K, m_bAllowG1, m_bAllowG2, m_bReceive, m_nPriority, m_pSearch, and CQuerySearch::Serialize(). Referenced by CSearchWnd::Serialize(). |
|
Definition at line 85 of file ManagedSearch.h. References m_nPriority. |
|
Definition at line 126 of file ManagedSearch.cpp. References CSearchManager::Add(), m_bActive, m_nQueryCount, m_pNodes, CSearchManager::m_pSection, m_tExecute, m_tLastED2K, m_tMoreResults, m_tStarted, NULL, and SearchManager. Referenced by CSearchWnd::ExecuteSearch(), CDownloadWithSearch::StartAutomaticSearch(), and CDownloadWithSearch::StartManualSearch(). |
|
Definition at line 145 of file ManagedSearch.cpp. References Datagrams, m_bActive, CSearchManager::m_pSection, CDatagrams::PurgeToken(), CSearchManager::Remove(), and SearchManager. Referenced by CSearchWnd::ExecuteSearch(), CDownloadWithSearch::FindMoreSources(), CSearchWnd::OnSearchSearch(), CSearchWnd::OnSearchStop(), CDownloadWithSearch::StopSearch(), and ~CManagedSearch(). |
|
Definition at line 49 of file ManagedSearch.h. Referenced by CManagedSearch(), Execute(), IsActive(), CSearchWnd::OnQueryHits(), CSearchWnd::OnSearchSearch(), CSearchWnd::OnTimer(), Serialize(), Start(), and Stop(). |
|
Definition at line 47 of file ManagedSearch.h. Referenced by CManagedSearch(), Execute(), ExecuteNeighbours(), CSearchPanel::GetSearch(), CDownloadWithSearch::PrepareSearch(), Serialize(), and CSearchPanel::ShowSearch(). |
|
Definition at line 46 of file ManagedSearch.h. Referenced by CManagedSearch(), ExecuteG2Mesh(), ExecuteNeighbours(), CSearchPanel::GetSearch(), Serialize(), and CSearchPanel::ShowSearch(). |
|
Definition at line 45 of file ManagedSearch.h. Referenced by CManagedSearch(), Execute(), ExecuteNeighbours(), CSearchPanel::GetSearch(), CSearchWnd::OnQueryHits(), Serialize(), and CSearchPanel::ShowSearch(). |
|
Definition at line 50 of file ManagedSearch.h. Referenced by CManagedSearch(), CSearchWnd::OnQueryHits(), CSearchWnd::OnSearchStop(), and Serialize(). |
|
Definition at line 61 of file ManagedSearch.h. Referenced by CManagedSearch(), ExecuteDonkeyMesh(), and ExecuteNeighbours(). |
|
Definition at line 60 of file ManagedSearch.h. Referenced by CManagedSearch(), ExecuteDonkeyMesh(), and ExecuteNeighbours(). |
|
Definition at line 53 of file ManagedSearch.h. Referenced by CManagedSearch(), CSearchManager::OnQueryHits(), CSearchManager::OnQueryStatusRequest(), and CSearchWnd::UpdateMessages(). |
|
Definition at line 54 of file ManagedSearch.h. Referenced by CManagedSearch(), and CSearchWnd::UpdateMessages(). |
|
Definition at line 55 of file ManagedSearch.h. Referenced by CManagedSearch(), and CSearchWnd::UpdateMessages(). |
|
Definition at line 44 of file ManagedSearch.h. Referenced by CManagedSearch(), Execute(), ExecuteG2Mesh(), ExecuteNeighbours(), GetPriority(), CSearchManager::OnRun(), CSearchWnd::OnSearchSearch(), Serialize(), SetPriority(), CDownloadWithSearch::StartAutomaticSearch(), and CDownloadWithSearch::StartManualSearch(). |
|
Definition at line 56 of file ManagedSearch.h. Referenced by CManagedSearch(), Execute(), CSearchWnd::ExecuteSearch(), CSearchWnd::OnSearchSearch(), CSearchWnd::OnTimer(), and Start(). |
|
Definition at line 63 of file ManagedSearch.h. Referenced by ExecuteDonkeyMesh(), ExecuteG2Mesh(), ExecuteNeighbours(), OnHostAcknowledge(), and Start(). |
|
|
Definition at line 64 of file ManagedSearch.h. |
|
Definition at line 58 of file ManagedSearch.h. Referenced by CManagedSearch(), Execute(), CSearchWnd::OnQueryHits(), CSearchWnd::OnSearchSearch(), and Start(). |
|
Definition at line 57 of file ManagedSearch.h. Referenced by CManagedSearch(), and Execute(). |
|
Definition at line 59 of file ManagedSearch.h. Referenced by CManagedSearch(), ExecuteNeighbours(), CSearchWnd::OnSearchSearch(), and Start(). |
|
Definition at line 52 of file ManagedSearch.h. Referenced by CManagedSearch(), ExecuteNeighbours(), and Start(). |