#include <Transfers.h>
Public Member Functions | |
CTransfers () | |
virtual | ~CTransfers () |
int | GetActiveCount () const |
BOOL | IsConnectedTo (IN_ADDR *pAddress) |
BOOL | StartThread () |
void | StopThread () |
POSITION | GetIterator () const |
CTransfer * | GetNext (POSITION &pos) const |
int | GetCount () const |
BOOL | Check (CTransfer *pTransfer) const |
Public Attributes | |
CMutex | m_pSection |
DWORD | m_nBuffer |
BYTE * | m_pBuffer |
Protected Member Functions | |
void | OnRun () |
void | OnRunTransfers () |
void | OnCheckExit () |
void | Add (CTransfer *pTransfer) |
void | Remove (CTransfer *pTransfer) |
Static Protected Member Functions | |
static UINT | ThreadStart (LPVOID pParam) |
Protected Attributes | |
CPtrList | m_pList |
HANDLE | m_hThread |
volatile BOOL | m_bThread |
CEvent | m_pWakeup |
DWORD | m_nRunCookie |
Friends | |
class | CTransfer |
class | CUpload |
class | CDownloadWithTransfers |
Classes | |
class | Lock |
|
Definition at line 44 of file Transfers.cpp. References m_bThread, m_hThread, m_nBuffer, m_nRunCookie, m_pBuffer, and NULL. |
|
Definition at line 53 of file Transfers.cpp. References m_pBuffer, and StopThread(). |
|
Definition at line 131 of file Transfers.cpp. References CSettings::sGeneral::Debug, CSettings::sGeneral::DebugLog, CSettings::General, CConnection::m_hSocket, m_pList, m_pWakeup, CShareazaApp::Message(), MSG_DEBUG, NULL, Settings, StartThread(), and theApp. Referenced by CTransfer::AttachTo(), and CTransfer::ConnectTo(). |
|
Definition at line 97 of file Transfers.h. |
|
Definition at line 62 of file Transfers.cpp. References Downloads, CDownloads::GetCount(), CUploads::GetTransferCount(), and Uploads. Referenced by OnCheckExit(), CMainWnd::OnNetworkAutoClose(), and CMainWnd::OnUpdateNetworkAutoClose(). |
|
Definition at line 92 of file Transfers.h. References m_pList. Referenced by OnCheckExit(), and StartThread(). |
|
Definition at line 82 of file Transfers.h. References m_pList. Referenced by IsConnectedTo(). |
|
Definition at line 87 of file Transfers.h. References m_pList. Referenced by IsConnectedTo(). |
|
Definition at line 67 of file Transfers.cpp. References GetIterator(), GetNext(), and m_pSection. Referenced by CNetwork::IsConnectedTo(). |
|
Definition at line 206 of file Transfers.cpp. References CSettings::sLive::AutoClose, Downloads, GetActiveCount(), CDownloads::GetCount(), GetCount(), CSettings::Live, m_bThread, CShareazaApp::m_pSection, CShareazaApp::SafeMainWnd(), Settings, and theApp. Referenced by OnRun(). |
|
Definition at line 167 of file Transfers.cpp. References CTransferFiles::CommitDeferred(), Downloads, EDClients, CSettings::General, m_bThread, CUploads::m_nBandwidth, CDownloads::m_nBandwidth, CUploads::m_nCount, CDownloads::m_nTransfers, m_pWakeup, CSettings::sGeneral::MinTransfersRest, OnCheckExit(), CUploads::OnRun(), CDownloads::OnRun(), CEDClients::OnRun(), OnRunTransfers(), Settings, TransferFiles, and Uploads. Referenced by ThreadStart(). |
|
Definition at line 191 of file Transfers.cpp. References CConnection::DoRun(), CTransfer::m_nRunCookie, m_nRunCookie, and m_pList. Referenced by OnRun(). |
|
Definition at line 145 of file Transfers.cpp. References CSettings::sGeneral::Debug, CSettings::sGeneral::DebugLog, CSettings::General, CConnection::m_hSocket, m_pList, m_pWakeup, CShareazaApp::Message(), MSG_DEBUG, Settings, and theApp. Referenced by CTransfer::Close(). |
|
Definition at line 83 of file Transfers.cpp. References Downloads, CDownloads::GetCount(), GetCount(), m_bThread, m_hThread, NULL, and ThreadStart(). Referenced by Add(), CDownloads::Add(), and CDownloads::Load(). |
|
Definition at line 97 of file Transfers.cpp. References Downloads, m_bThread, m_hThread, CUploads::m_nBandwidth, CDownloads::m_nBandwidth, CUploads::m_nCount, CDownloads::m_nTransfers, m_pWakeup, CShareazaApp::Message(), MSG_DEBUG, NULL, theApp, and Uploads. Referenced by CShareazaApp::ExitInstance(), CMainWnd::OnClose(), and ~CTransfers(). |
|
Definition at line 160 of file Transfers.cpp. References OnRun(). Referenced by StartThread(). |
|
Definition at line 104 of file Transfers.h. |
|
Definition at line 102 of file Transfers.h. |
|
Definition at line 103 of file Transfers.h. |
|
Definition at line 61 of file Transfers.h. Referenced by CTransfers(), OnCheckExit(), OnRun(), StartThread(), and StopThread(). |
|
Definition at line 60 of file Transfers.h. Referenced by CTransfers(), StartThread(), and StopThread(). |
|
Definition at line 56 of file Transfers.h. Referenced by CDownloadWithTiger::ContinueValidation(), CTransfers(), and CUploadTransferHTTP::OnWrite(). |
|
Definition at line 63 of file Transfers.h. Referenced by CTransfers(), and OnRunTransfers(). |
|
Definition at line 57 of file Transfers.h. Referenced by CDownloadWithTiger::ContinueValidation(), CTransfers(), CUploadTransferHTTP::OnWrite(), and ~CTransfers(). |
|
Definition at line 59 of file Transfers.h. Referenced by Add(), Check(), GetCount(), GetIterator(), GetNext(), OnRunTransfers(), and Remove(). |
|
|
Definition at line 62 of file Transfers.h. Referenced by Add(), OnRun(), Remove(), and StopThread(). |