#include <DownloadWithTorrent.h>
Inheritance diagram for CDownloadWithTorrent:
|
|
Definition at line 86 of file DownloadWithTorrent.cpp. References CloseTorrentUploads(), m_bTorrentRequested, m_pTorrentBlock, NULL, and CBTTrackerRequest::SendStopped(). |
|
Definition at line 456 of file DownloadWithTorrent.cpp. References m_pTorrentUploads, and NULL. Referenced by CUploadTransferBT::CUploadTransferBT(). |
|
Definition at line 704 of file DownloadWithTorrent.cpp. References dtAlways, dtWhenRatio, CDownloadWithFile::GetVolumeComplete(), CDownloadBase::m_bBTH, m_nStartTorrentDownloads, m_nTorrentDownloaded, and m_nTorrentUploaded. Referenced by CDownload::OnRun(). |
|
|
Definition at line 682 of file DownloadWithTorrent.cpp. References CloseTorrentUploads(), m_bTorrentRequested, m_bTorrentStarted, and CBTTrackerRequest::SendStopped(). Referenced by CDownload::StopTrying(). |
|
Definition at line 468 of file DownloadWithTorrent.cpp. References CUploadTransferBT::Close(), and m_pTorrentUploads. Referenced by CloseTorrent(), CDownload::Remove(), CDownload::Resume(), CDownload::~CDownload(), and ~CDownloadWithTorrent(). |
|
Definition at line 424 of file DownloadWithTorrent.cpp. References BT_PACKET_BITFIELD, CBTInfo::IsAvailable(), m_nTorrentBlock, m_pTorrent, m_pTorrentBlock, CBTPacket::New(), NULL, CPacket::Release(), and CPacket::WriteByte(). Referenced by CBTClient::OnOnline(). |
|
|
Reimplemented in CDownloadWithSearch. Definition at line 611 of file DownloadWithTorrent.cpp. References CSettings::BitTorrent, CSettings::sBitTorrent::DefaultTrackerPeriod, CSettings::sBitTorrent::DownloadConnections, CBTInfo::IsAvailable(), m_bTorrentRequested, CDownloadWithFile::m_pFile, m_pTorrent, m_tTorrentSources, m_tTorrentTracker, NULL, CBTTrackerRequest::SendUpdate(), and Settings. Referenced by CDownloadWithSearch::FindMoreSources(). |
|
Definition at line 94 of file DownloadWithTorrent.h. Referenced by CDownloadWithTorrent(). |
|
Definition at line 261 of file DownloadWithTorrent.cpp. References CSettings::BitTorrent, BT_ID1, BT_ID2, CShareazaApp::m_nVersion, m_pPeerID, CShareazaApp::Message(), MSG_DEBUG, SHA1::n, Settings, CSettings::sBitTorrent::StandardPeerID, and theApp. Referenced by RunTorrent(), and SeedTorrent(). |
|
Definition at line 695 of file DownloadWithTorrent.cpp. References m_nTorrentDownloaded, and m_nTorrentUploaded. Referenced by CDownloadTipCtrl::OnPaint(), and CDownloadsWnd::OnTimer(). |
|
Definition at line 80 of file DownloadWithTorrent.h. References m_bSeeding. Referenced by CDownloads::ClearCompleted(), CDownloads::GetActiveTorrentCount(), CDownloadsCtrl::GetDownloadStatus(), CDownloads::GetSeedCount(), CDownloadTipCtrl::OnCalcSize(), CDownloadsWnd::OnContextMenu(), CDownloadTipCtrl::OnPaint(), and CDownloadsWnd::OnTimer(). |
|
Definition at line 410 of file DownloadWithTorrent.cpp. References CDownloadWithTransfers::GetFirstTransfer(), and PROTOCOL_BT. Referenced by CDownloadWithTiger::FinishValidation(). |
|
Definition at line 317 of file DownloadWithTorrent.cpp. References CSettings::BitTorrent, IDS_BT_TRACKER_DOWN, IDS_BT_TRACKER_RETRY, LoadString(), m_bTorrentTrackerError, m_nTorrentTrackerErrors, m_sTorrentTrackerError, m_tTorrentTracker, CSettings::sBitTorrent::MaxTrackerRetry, NULL, and Settings. Referenced by CBTTrackerRequest::Process(). |
|
Definition at line 462 of file DownloadWithTorrent.cpp. References m_pTorrentUploads. Referenced by CUploadTransferBT::Close(). |
|
|
|
Reimplemented from CDownloadWithFile. Reimplemented in CDownload, CDownloadWithExtras, and CDownloadWithTiger. Definition at line 96 of file DownloadWithTorrent.cpp. References CBTInfo::IsAvailable(), CDownloadBase::m_bBTH, CDownloadBase::m_bBTHTrusted, CBTInfo::m_nBlockCount, CBTInfo::m_nBlockSize, m_nTorrentBlock, m_nTorrentSize, m_nTorrentSuccess, CDownloadBase::m_pBTH, CBTInfo::m_pInfoSHA1, m_pTorrent, m_pTorrentBlock, CBTInfo::Serialize(), and CDownloadWithFile::Serialize(). Referenced by CDownloadWithTiger::Serialize(). |
|
|
Definition at line 736 of file DownloadWithTorrent.cpp. References CUploadTransfer::m_nProtocol, CUploadTransfer::m_nState, CUploadTransferBT::m_pClient, CBTClient::m_pGUID, m_pTorrentUploads, PROTOCOL_BT, and upsNull. |
|
Definition at line 722 of file DownloadWithTorrent.cpp. References CUploadTransfer::m_nProtocol, CUploadTransfer::m_nState, CConnection::m_pHost, m_pTorrentUploads, PROTOCOL_BT, and upsNull. Referenced by CBTClient::OnHandshake1(), and CBTClient::OnHandshake2(). |
|
Definition at line 104 of file DownloadWithTorrent.h. Referenced by CreateTorrentTransfer(). |
|
Definition at line 63 of file DownloadWithTorrent.h. Referenced by CDownloadWithTorrent(), IsSeeding(), CDownload::OnRun(), and SeedTorrent(). |
|
Definition at line 51 of file DownloadWithTorrent.h. Referenced by CDownloadWithTorrent(), CDownloadTransferED2K::SendFragmentRequests(), and CDownloadTransferBT::SendRequests(). |
|
Definition at line 46 of file DownloadWithTorrent.h. Referenced by CDownloadWithTorrent(), CloseTorrent(), FindMoreSources(), CBTTrackerRequest::Process(), RunTorrent(), SeedTorrent(), and ~CDownloadWithTorrent(). |
|
Definition at line 47 of file DownloadWithTorrent.h. Referenced by CDownloadWithTorrent(), CloseTorrent(), CBTTrackerRequest::Process(), RunTorrent(), and SeedTorrent(). |
|
Definition at line 52 of file DownloadWithTorrent.h. Referenced by CDownloadWithTorrent(), CDownloadsCtrl::GetDownloadStatus(), CDownloadTipCtrl::OnCalcSize(), CDownloadsWnd::OnDownloadsHelp(), OnTrackerEvent(), and CDownload::Resume(). |
|
Definition at line 57 of file DownloadWithTorrent.h. Referenced by CDownloadWithTorrent(), CheckTorrentRatio(), CDownloadsWnd::OnDownloadsTorrentInfo(), CBTClient::OnHandshake2(), and CDownloadEditDlg::OnTorrentInfo(). |
|
|
Definition at line 50 of file DownloadWithTorrent.h. Referenced by CDownloadWithTorrent(), CheckTorrentRatio(), GetRatio(), CDownloadTipCtrl::OnPaint(), CDownloadTransferBT::OnPiece(), CDownloadsCtrl::PaintDownload(), RunTorrent(), and SeedTorrent(). |
|
Definition at line 61 of file DownloadWithTorrent.h. Referenced by CDownloadWithTorrent(), CDownloadWithTiger::FindNewValidationBlock(), CDownloadWithTiger::FinishValidation(), CDownloadWithTiger::GetNextVerifyRange(), CDownloadWithTiger::GetVerifyLength(), Serialize(), and SetTorrent(). |
|
Definition at line 62 of file DownloadWithTorrent.h. Referenced by CDownloadWithTorrent(), CDownloadWithTiger::FinishValidation(), CDownloadWithTiger::IsFullyVerified(), CDownload::OnMoved(), CDownloadWithTiger::ResetVerification(), SeedTorrent(), Serialize(), and CDownloadWithTiger::ValidationCanFinish(). |
|
Definition at line 54 of file DownloadWithTorrent.h. Referenced by CDownloadWithTorrent(), OnTrackerEvent(), and CDownload::Resume(). |
|
Definition at line 49 of file DownloadWithTorrent.h. Referenced by CDownloadWithTorrent(), CheckTorrentRatio(), GetRatio(), CDownloadTipCtrl::OnPaint(), CDownloadsCtrl::PaintDownload(), RunTorrent(), SeedTorrent(), and CUploadTransferBT::ServeRequests(). |
|
Definition at line 55 of file DownloadWithTorrent.h. Referenced by CLocalSearch::AddHit(), CDownloadWithTorrent(), GenerateTorrentDownloadID(), and CBTClient::SendHandshake(). |
|
|
|
Definition at line 65 of file DownloadWithTorrent.h. Referenced by AddUpload(), ChokeTorrent(), CloseTorrentUploads(), RemoveUpload(), and UploadExists(). |
|
Definition at line 56 of file DownloadWithTorrent.h. Referenced by CDownloadWithTorrent(). |
|
Definition at line 53 of file DownloadWithTorrent.h. Referenced by CDownloadTipCtrl::OnCalcSize(), CDownloadTipCtrl::OnPaint(), and OnTrackerEvent(). |
|
Definition at line 66 of file DownloadWithTorrent.h. Referenced by CDownloadWithTorrent(), ChokeTorrent(), and RunTorrent(). |
|
Definition at line 67 of file DownloadWithTorrent.h. Referenced by CDownloadWithTorrent(), and FindMoreSources(). |
|
Definition at line 48 of file DownloadWithTorrent.h. Referenced by CDownloadWithTorrent(), FindMoreSources(), OnTrackerEvent(), CBTTrackerRequest::Process(), RunTorrent(), and SeedTorrent(). |