#include <BTTrackerRequest.h>
Public Member Functions | |
CBTTrackerRequest (CDownload *pDownload, LPCTSTR pszVerb=NULL, BOOL bProcess=TRUE, WORD nNumWant=0xFFFF) | |
virtual | ~CBTTrackerRequest () |
virtual int | Run () |
virtual BOOL | InitInstance () |
Static Public Member Functions | |
static void | SendStarted (CDownloadBase *pDownload, WORD nNumWant=0xFFFF) |
static void | SendUpdate (CDownloadBase *pDownload, WORD nNumWant=0xFFFF) |
static void | SendCompleted (CDownloadBase *pDownload) |
static void | SendStopped (CDownloadBase *pDownload) |
static CString | Escape (SHA1 *pSHA1) |
Public Attributes | |
CDownload * | m_pDownload |
BOOL | m_bProcess |
CHttpRequest | m_pRequest |
Protected Member Functions | |
void | Process (BOOL bRequest) |
BOOL | Process (CBENode *pRoot) |
|
Definition at line 49 of file BTTrackerRequest.cpp. References CBTClients::Add(), CSettings::BitTorrent, BTClients, CSettings::Connection, CSettings::sConnection::InPort, CNetwork::m_pHost, Network, NULL, Settings, CSettings::SmartAgent(), CSettings::sBitTorrent::StandardPeerID, and CSettings::sBitTorrent::TrackerKey. Referenced by SendCompleted(), SendStarted(), SendStopped(), and SendUpdate(). |
|
Definition at line 123 of file BTTrackerRequest.cpp. References BTClients, and CBTClients::Remove(). |
|
Definition at line 158 of file BTTrackerRequest.cpp. References SHA1::n. |
|
Definition at line 192 of file BTTrackerRequest.cpp. |
|
|
|
Definition at line 197 of file BTTrackerRequest.cpp. References CHttpRequest::Execute(), m_bProcess, m_pRequest, and Process(). |
|
Definition at line 143 of file BTTrackerRequest.cpp. References CBTTrackerRequest(). Referenced by CDownload::OnMoved(). |
|
Definition at line 131 of file BTTrackerRequest.cpp. References CBTTrackerRequest(). Referenced by CDownloadWithTorrent::RunTorrent(), and CDownloadWithTorrent::SeedTorrent(). |
|
Definition at line 149 of file BTTrackerRequest.cpp. References CBTTrackerRequest(). Referenced by CDownloadWithTorrent::CloseTorrent(), CDownloadWithTorrent::RunTorrent(), and CDownloadWithTorrent::~CDownloadWithTorrent(). |
|
Definition at line 137 of file BTTrackerRequest.cpp. References CBTTrackerRequest(), and NULL. Referenced by CDownloadWithTorrent::FindMoreSources(), and CDownloadWithTorrent::RunTorrent(). |
|
Definition at line 44 of file BTTrackerRequest.h. Referenced by Run(). |
|
Definition at line 43 of file BTTrackerRequest.h. Referenced by Process(). |
|
Definition at line 45 of file BTTrackerRequest.h. |