#include <DownloadWithTransfers.h>
Inheritance diagram for CDownloadWithTransfers:
Public Member Functions | |
CDownloadWithTransfers () | |
virtual | ~CDownloadWithTransfers () |
int | GetTransferCount () const |
int | GetTransferCount (int nState, IN_ADDR *pAddress=NULL) const |
QWORD | GetAmountDownloadedFrom (IN_ADDR *pAddress) const |
BOOL | CanStartTransfers (DWORD tNow=0) |
BOOL | StartTransfersIfNeeded (DWORD tNow=0) |
BOOL | StartNewTransfer (DWORD tNow=0) |
void | CloseTransfers () |
DWORD | GetAverageSpeed () const |
DWORD | GetMeasuredSpeed () const |
BOOL | OnAcceptPush (GGUID *pClientID, CConnection *pConnection) |
BOOL | OnDonkeyCallback (CEDClient *pClient, CDownloadSource *pExcept=NULL) |
void | AddTransfer (CDownloadTransfer *pTransfer) |
void | RemoveTransfer (CDownloadTransfer *pTransfer) |
CDownloadTransfer * | GetFirstTransfer () const |
Protected Attributes | |
CDownloadTransfer * | m_pTransferFirst |
CDownloadTransfer * | m_pTransferLast |
int | m_nTransferCount |
DWORD | m_tTransferStart |
Friends | |
class | CDownloadTransfer |
|
Definition at line 47 of file DownloadWithTransfers.cpp. References m_nTransferCount, m_pTransferFirst, m_pTransferLast, m_tTransferStart, and NULL. |
|
Definition at line 55 of file DownloadWithTransfers.cpp. References CloseTransfers(). |
|
Definition at line 492 of file DownloadWithTransfers.cpp. References m_nTransferCount, CDownloadTransfer::m_pDlNext, CDownloadTransfer::m_pDlPrev, m_pTransferFirst, m_pTransferLast, and NULL. Referenced by CDownloadTransfer::CDownloadTransfer(). |
|
Definition at line 172 of file DownloadWithTransfers.cpp. References CSettings::sDownloads::ConnectThrottle, Downloads, CSettings::Downloads, CDownloads::GetConnectingTransferCount(), CDownloads::m_tLastConnect, m_tTransferStart, CSettings::sDownloads::MaxConnectingSources, Network, CNetwork::ReadyToTransfer(), and Settings. Referenced by CDownloadWithTorrent::ChokeTorrent(), and StartTransfersIfNeeded(). |
|
Definition at line 382 of file DownloadWithTransfers.cpp. References Downloads, CDownloads::m_bClosing, m_nTransferCount, m_pTransferFirst, and TS_TRUE. Referenced by CDownloadEditDlg::Commit(), CDownload::OnDownloaded(), CDownloadEditDlg::OnErase(), CDownloadEditDlg::OnLButtonUp(), CDownload::Remove(), CDownload::StopTrying(), CDownload::~CDownload(), and ~CDownloadWithTransfers(). |
|
Definition at line 155 of file DownloadWithTransfers.cpp. References CDownloadTransfer::m_pDlNext, and m_pTransferFirst. Referenced by CDownloads::GetAmountDownloadedFrom(). |
|
Definition at line 402 of file DownloadWithTransfers.cpp. References dtsDownloading, CDownloadTransfer::m_pDlNext, and m_pTransferFirst. Referenced by CDownloadWithFile::GetTimeRemaining(), CDownloadTipCtrl::OnPaint(), and CDownloadMonitorDlg::OnTimer(). |
|
|
Definition at line 417 of file DownloadWithTransfers.cpp. References dtsDownloading, CDownloadTransfer::m_pDlNext, and m_pTransferFirst. Referenced by CDownloadsCtrl::BubbleSortDownloads(), CDownloadMonitorDlg::OnTimer(), and CDownloadTipCtrl::OnTimer(). |
|
Definition at line 89 of file DownloadWithTransfers.cpp. References dtsConnecting, dtsCountAll, dtsCountNotConnecting, dtsCountNotQueued, dtsCountTorrentAndActive, dtsDownloading, dtsQueued, dtsRequesting, dtsTorrent, CDownloadTransfer::m_pDlNext, m_pTransferFirst, and VALID_TRANSFER. |
|
|
|
|
Definition at line 509 of file DownloadWithTransfers.cpp. References m_nTransferCount, CDownloadTransfer::m_pDlNext, CDownloadTransfer::m_pDlPrev, m_pTransferFirst, m_pTransferLast, and NULL. Referenced by CDownloadTransfer::Close(). |
|
|
|
Reimplemented from CDownloadWithSources. Reimplemented in CDownload, and CDownloadWithFile. Definition at line 72 of file DownloadWithTransfers.h. |
|
Definition at line 45 of file DownloadWithTransfers.h. Referenced by AddTransfer(), CDownloadWithTransfers(), CloseTransfers(), and RemoveTransfer(). |
|
Definition at line 43 of file DownloadWithTransfers.h. Referenced by AddTransfer(), CDownloadWithTransfers(), CloseTransfers(), GetAmountDownloadedFrom(), GetAverageSpeed(), GetFirstTransfer(), GetMeasuredSpeed(), GetTransferCount(), RemoveTransfer(), and StartTransfersIfNeeded(). |
|
Definition at line 44 of file DownloadWithTransfers.h. Referenced by AddTransfer(), CDownloadWithTransfers(), and RemoveTransfer(). |
|
Definition at line 46 of file DownloadWithTransfers.h. Referenced by CanStartTransfers(), and CDownloadWithTransfers(). |