#include <UploadTransfer.h>
Inheritance diagram for CUploadTransfer:
|
Definition at line 52 of file UploadTransfer.cpp. References CUploads::Add(), CSettings::Bandwidth, ClearRequest(), m_bClientExtended, m_bLive, m_bStopTransfer, m_nAveragePos, m_nAverageRate, m_nBandwidth, m_nProtocol, m_nRequests, m_nState, m_nUploaded, m_nUserRating, m_pBaseFile, m_pDiskFile, m_pQueue, m_tAverageTime, m_tRatingTime, m_tRotateTime, NULL, CSettings::sBandwidth::Request, Settings, Uploads, upsNull, and urNew. |
|
Definition at line 79 of file UploadTransfer.cpp. References CTransfer::Close(), CUploads::Remove(), CUploadFiles::Remove(), UploadFiles, and Uploads. |
|
Definition at line 470 of file UploadTransfer.cpp. References CUploadFiles::GetFile(), m_bSHA1, m_nFileSize, m_pBaseFile, m_pSHA1, m_sFileName, m_sFilePath, NULL, and UploadFiles. Referenced by CUploadTransferBT::OnRequest(), CUploadTransferHTTP::QueueRequest(), and CUploadTransferED2K::Request(). |
|
Definition at line 326 of file UploadTransfer.cpp. References Downloads, CDownloads::GetAmountDownloadedFrom(), m_nUploaded, m_nUserRating, CConnection::m_pHost, m_tRatingTime, urCredit, urNew, urNotSharing, and urSharing. Referenced by OnRun(). |
|
Definition at line 354 of file UploadTransfer.cpp. References m_bED2K, m_bSHA1, and m_bTiger. Referenced by ClearRequest(), CUploadTransferHTTP::RequestTigerTreeDIME(), and CUploadTransferHTTP::RequestTigerTreeRaw(). |
|
Definition at line 370 of file UploadTransfer.cpp. References ClearHashes(), CTransfer::ClearHeaders(), m_bFilePartial, m_nFileBase, m_nFileSize, m_nLength, m_nOffset, m_nPosition, m_nRequests, m_sFileName, m_sFilePath, m_sFileTags, and SIZE_UNKNOWN. Referenced by CUploadTransferED2K::Cleanup(), CUploadTransfer(), and CUploadTransferHTTP::ReadRequest(). |
|
Reimplemented in CUploadTransferBT, and CUploadTransferED2K. Definition at line 108 of file UploadTransfer.cpp. References CTransfer::Close(), CloseFile(), CUploadQueues::Dequeue(), IDS_UPLOAD_DROPPED, m_nState, m_nUploaded, CConnection::m_sAddress, CShareazaApp::Message(), MSG_SYSTEM, Remove(), theApp, UploadQueues, and upsNull. Referenced by CUploads::EnforcePerHostLimit(), and CUploadsWnd::OnUploadsDisconnect(). |
|
Definition at line 476 of file UploadTransfer.cpp. References m_pDiskFile, NULL, and CTransferFile::Release(). Referenced by CUploadTransferED2K::Cleanup(), CUploadTransferBT::Close(), and Close(). |
|
Definition at line 177 of file UploadTransfer.cpp. References GetMeasuredSpeed(), m_nLength, m_nPosition, m_nState, m_tContent, SIZE_UNKNOWN, and upsUploading. Referenced by CDownloadWithTorrent::ChokeTorrent(), and CUploadTransferHTTP::OnCompleted(). |
|
Reimplemented in CUploadTransferBT, and CUploadTransferED2K. Definition at line 184 of file UploadTransfer.cpp. References CConnection::m_mOutput, CConnection::Measure(), and TCPBandwidthMeter::nMeasure. Referenced by GetAverageSpeed(), LongTermAverage(), CUploadTipCtrl::OnPaint(), CUploads::OnRun(), CRemote::PageUploads(), and CUploadsCtrl::PaintFile(). |
|
Definition at line 171 of file UploadTransfer.cpp. References m_nLength, m_nPosition, m_nState, SIZE_UNKNOWN, and upsUploading. |
|
Definition at line 359 of file UploadTransfer.cpp. References CED2K::HashFromURN(), CTigerNode::HashFromURN(), CSHA::HashFromURN(), m_bED2K, m_bSHA1, m_bTiger, m_pED2K, m_pSHA1, and m_pTiger. Referenced by CUploadTransferHTTP::OnHeaderLine(). |
|
Definition at line 247 of file UploadTransfer.cpp. References CSettings::sLive::BandwidthScale, CSettings::sUploads::ClampdownFactor, CSettings::sUploads::ClampdownFloor, GetMeasuredSpeed(), CSettings::Live, m_nAveragePos, m_nAverageRate, m_nBandwidth, m_nLength, m_nState, CConnection::m_sAddress, m_tAverageTime, CShareazaApp::Message(), MSG_DEBUG, Settings, SIZE_UNKNOWN, CSettings::SmartVolume(), theApp, ULA_SLOTS, CSettings::Uploads, and upsUploading. Referenced by OnRun(). |
|
Reimplemented in CUploadTransferED2K. Definition at line 100 of file UploadTransfer.h. |
|
Reimplemented from CConnection. Reimplemented in CUploadTransferHTTP. Definition at line 214 of file UploadTransfer.cpp. References CUploads::EnforcePerHostLimit(), m_bLive, CConnection::m_mInput, CConnection::OnRead(), TCPBandwidthMeter::tLast, and Uploads. Referenced by CUploadTransferHTTP::OnRead(). |
|
Definition at line 134 of file UploadTransfer.cpp. References CTransfer::Close(), IDS_UPLOAD_DELETED, m_nState, m_pDiskFile, CConnection::m_sAddress, m_sFileName, m_sFilePath, CShareazaApp::Message(), MSG_ERROR, NULL, CTransferFiles::Open(), CTransferFile::Release(), theApp, TransferFiles, and upsUploading. |
|
Reimplemented from CConnection. Reimplemented in CUploadTransferBT, CUploadTransferED2K, and CUploadTransferHTTP. Definition at line 201 of file UploadTransfer.cpp. References CalculateRating(), LongTermAverage(), CConnection::OnRun(), and RotatingQueue(). Referenced by CUploadTransferHTTP::OnRun(), and CUploadTransferED2K::OnRunEx(). |
|
Reimplemented from CConnection. Reimplemented in CUploadTransferHTTP. Definition at line 229 of file UploadTransfer.cpp. References CUploads::EnforcePerHostLimit(), m_bLive, CConnection::m_mOutput, CConnection::OnWrite(), TCPBandwidthMeter::tLast, and Uploads. Referenced by CUploadTransferHTTP::OnWrite(). |
|
Definition at line 124 of file UploadTransfer.cpp. References CUploadQueues::Dequeue(), CUploadQueues::Enqueue(), m_nState, UploadQueues, and upsQueued. Referenced by CPrivateChatFrame::OnChatPriority(). |
|
Definition at line 89 of file UploadTransfer.cpp. References CTransfer::Close(), IDS_UPLOAD_REMOVE, m_nUploaded, CConnection::m_sAddress, m_sFileName, CShareazaApp::Message(), MSG_SYSTEM, NULL, and theApp. Referenced by Close(), CUploadTransferHTTP::OnHeadersComplete(), CUploadsWnd::OnSecurityBan(), CUploadsWnd::OnTimer(), CUploadsWnd::OnUploadsClearCompleted(), and CUploadFile::Remove(). |
|
|
|
Definition at line 293 of file UploadTransfer.cpp. References CUploadQueues::Check(), CUploadQueue::IsActive(), CUploadQueue::m_bRewardUploaders, CUploadQueue::m_bRotate, m_bStopTransfer, CUploadQueue::m_nRotateTime, m_nState, m_nUserRating, m_pQueue, CUploadQueues::m_pSection, m_tRotateTime, NULL, UploadQueues, upsUploading, and urCredit. Referenced by OnRun(). |
|
Definition at line 190 of file UploadTransfer.cpp. References m_nAveragePos, m_nAverageRate, m_nBandwidth, m_tAverageTime, and ULA_SLOTS. Referenced by CUploadQueue::RescaleBandwidth(), and CUploadQueue::SpreadBandwidth(). |
|
|
Definition at line 55 of file UploadTransfer.h. Referenced by CUploadTransfer(), CBTClient::DetermineUserAgent(), and CBTClient::OnBeHandshake(). |
|
|
Definition at line 67 of file UploadTransfer.h. Referenced by ClearRequest(), CUploadQueues::Enqueue(), CUploadTransferHTTP::QueueRequest(), RequestComplete(), and RequestPartial(). |
|
Definition at line 70 of file UploadTransfer.h. Referenced by CUploadTransfer(), CUploads::EnforcePerHostLimit(), CUploads::OnAccept(), OnRead(), and OnWrite(). |
|
|
Definition at line 78 of file UploadTransfer.h. Referenced by CUploadTransfer(), CUploadTransferHTTP::QueueRequest(), RotatingQueue(), and CUploadTransferED2K::ServeRequests(). |
|
|
Definition at line 81 of file UploadTransfer.h. Referenced by CUploadTransfer(), LongTermAverage(), and SetSpeedLimit(). |
|
Definition at line 82 of file UploadTransfer.h. Referenced by CUploadTransfer(), LongTermAverage(), and SetSpeedLimit(). |
|
|
Definition at line 65 of file UploadTransfer.h. Referenced by ClearRequest(), CUploadTransferED2K::DispatchNextChunk(), CUploadTransferHTTP::OnWrite(), RequestComplete(), RequestPartial(), and CUploadTransferHTTP::RequestPartialFile(). |
|
|
|
|
|
|
Definition at line 71 of file UploadTransfer.h. Referenced by ClearRequest(), CUploadTransfer(), and CUploadTransferHTTP::SendDefaultHeaders(). |
|
|
Definition at line 72 of file UploadTransfer.h. Referenced by CalculateRating(), Close(), CUploadTransfer(), CUploadTransferED2K::DispatchNextChunk(), CUploadsWnd::OnTimer(), CUploadTransferHTTP::OnWrite(), Remove(), and CUploadTransferBT::ServeRequests(). |
|
Definition at line 54 of file UploadTransfer.h. Referenced by CalculateRating(), CUploadTransfer(), CUploadsCtrl::PaintFile(), and RotatingQueue(). |
|
|
|
|
|
|
Definition at line 60 of file UploadTransfer.h. Referenced by HashesFromURN(), RequestComplete(), RequestPartial(), CUploadTransferHTTP::RequestPreview(), and CUploadTransferHTTP::SendFileHeaders(). |
|
|
Definition at line 64 of file UploadTransfer.h. Referenced by AllocateBaseFile(), ClearRequest(), OnRename(), CUploadTransferED2K::OpenFile(), CUploadTransferBT::OpenFile(), CUploadTransferHTTP::OpenFileSendHeaders(), RequestComplete(), RequestPartial(), and CUploadTransferHTTP::RequestPreview(). |
|
Definition at line 68 of file UploadTransfer.h. Referenced by ClearRequest(), CUploadQueues::Enqueue(), CUploadTransferHTTP::QueueRequest(), RequestComplete(), and RequestPartial(). |
|
Definition at line 53 of file UploadTransfer.h. Referenced by CUploadTransferED2K::CUploadTransferED2K(), CBTClient::DetermineUserAgent(), CUploadTipCtrl::OnCalcSize(), CUploadTransferHTTP::OnHeaderLine(), CRemote::PageUploads(), and CUploadsCtrl::PaintFile(). |
|
Definition at line 80 of file UploadTransfer.h. Referenced by CUploadTransfer(), LongTermAverage(), and SetSpeedLimit(). |
|
Definition at line 73 of file UploadTransfer.h. Referenced by GetAverageSpeed(), CUploadTransferED2K::StartNextRequest(), and StartSending(). |
|
Definition at line 83 of file UploadTransfer.h. Referenced by CalculateRating(), and CUploadTransfer(). |
|
Definition at line 79 of file UploadTransfer.h. Referenced by CUploadTransfer(), CUploadTransferHTTP::QueueRequest(), RotatingQueue(), and CUploadTransferED2K::ServeRequests(). |