#include <DownloadTransferED2K.h>
Inheritance diagram for CDownloadTransferED2K:
|
Definition at line 54 of file DownloadTransferED2K.cpp. References CDownloadBase::m_bED2K, m_bHashset, m_bUDP, m_pAvailable, m_pClient, CDownloadTransfer::m_pDownload, m_pInflateBuffer, m_pInflatePtr, m_tRanking, m_tRequest, m_tSources, and NULL. |
|
Definition at line 70 of file DownloadTransferED2K.cpp. References ClearRequests(), EDClients, CEDClients::GetFirst(), m_pAvailable, m_pClient, m_pInflateBuffer, and NULL. |
|
Reimplemented from CDownloadTransfer. Definition at line 152 of file DownloadTransferED2K.cpp. References CConnection::m_mInput, m_pClient, NULL, and TCPBandwidthMeter::pLimit. |
|
Definition at line 855 of file DownloadTransferED2K.cpp. References CBuffer::Clear(), FF::detail::Queue::clear(), inflateEnd(), m_oRequested, m_pInflateBuffer, m_pInflatePtr, and NULL. Referenced by OnStartUpload(), SendPrimaryRequest(), SendSecondaryRequest(), SetQueueRank(), and ~CDownloadTransferED2K(). |
|
Reimplemented from CDownloadTransfer. Definition at line 136 of file DownloadTransferED2K.cpp. References CTransfer::Close(), dtsNull, m_pClient, NULL, CEDClient::OnDownloadClose(), and CDownloadTransfer::SetState(). Referenced by CEDClient::DetachDownload(), CEDClient::OnUdpFileNotFound(), and CEDClient::OnUdpQueueFull(). |
|
Reimplemented from CDownloadTransfer. Definition at line 158 of file DownloadTransferED2K.cpp. References GetMeasuredSpeed(), CDownloadSource::m_nSpeed, and CDownloadTransfer::m_pSource. |
|
Reimplemented from CDownloadTransfer. Definition at line 163 of file DownloadTransferED2K.cpp. References CConnection::m_mInput, m_pClient, CConnection::Measure(), TCPBandwidthMeter::nMeasure, and NULL. Referenced by GetAverageSpeed(). |
|
|
|
Reimplemented from CConnection. Definition at line 219 of file DownloadTransferED2K.cpp. References IDS_DOWNLOAD_CONNECTED, CDownloadSource::m_bGUID, m_pClient, CEDClient::m_pGUID, CDownloadSource::m_pGUID, CConnection::m_pHost, CDownloadTransfer::m_pSource, CConnection::m_sAddress, CEDClient::m_sNick, CDownloadSource::m_sNick, CDownloadSource::m_sServer, CConnection::m_sUserAgent, CShareazaApp::Message(), MSG_DEFAULT, NULL, SendPrimaryRequest(), CDownloadSource::SetLastSeen(), and theApp. Referenced by CEDClient::AttachDownload(), CEDClient::OnLoggedIn(), and RunQueued(). |
|
Reimplemented from CConnection. Definition at line 241 of file DownloadTransferED2K.cpp. References CTransfer::Close(), dtsQueued, CDownloadWithFile::GetDisplayName(), IDS_DOWNLOAD_DROPPED, IDS_DOWNLOAD_QUEUE_DROP, CDownloadTransfer::m_nState, CDownloadTransfer::m_pDownload, CConnection::m_sAddress, CShareazaApp::Message(), MSG_DEFAULT, MSG_ERROR, theApp, and TS_UNKNOWN. Referenced by CEDClient::NotifyDropped(). |
|
Definition at line 438 of file DownloadTransferED2K.cpp. References CDownloadWithExtras::AddReview(), ED2K_COMMENT_MAX, CEDClient::m_bEmUnicode, m_pClient, CDownloadTransfer::m_pDownload, CConnection::m_pHost, CEDClient::m_sNick, CPacket::ReadByte(), CPacket::ReadLongLE(), CPacket::ReadString(), and CPacket::ReadStringUTF8(). Referenced by CEDClient::OnPacket(). |
|
Definition at line 273 of file DownloadTransferED2K.cpp. References CTransfer::Close(), CDownloadWithFile::GetDisplayName(), IDS_DOWNLOAD_FILENOTFOUND, CDownloadTransfer::m_pDownload, CConnection::m_sAddress, CShareazaApp::Message(), MSG_ERROR, theApp, and TS_FALSE. Referenced by CEDClient::OnPacket(). |
|
Definition at line 258 of file DownloadTransferED2K.cpp. References ED2K_PART_SIZE, detail::List< FragmentT, ContainerT >::end(), detail::List< FragmentT, ContainerT >::insert(), CDownloadBase::m_nSize, CDownloadSource::m_oAvailable, m_pAvailable, CDownloadTransfer::m_pDownload, CDownloadTransfer::m_pSource, and SendSecondaryRequest(). Referenced by CEDClient::OnPacket(). |
|
|
Definition at line 477 of file DownloadTransferED2K.cpp. References SendPrimaryRequest(). Referenced by CEDClient::OnPacket(). |
|
|
|
Definition at line 419 of file DownloadTransferED2K.cpp. References CTransfer::Close(), dtsConnecting, CPacket::GetRemaining(), IDS_ED2K_CLIENT_BAD_PACKET, CDownloadTransfer::m_nQueueLen, CDownloadTransfer::m_nQueuePos, CDownloadTransfer::m_nState, CEDPacket::m_nType, CConnection::m_sAddress, CShareazaApp::Message(), MSG_ERROR, CPacket::ReadShortLE(), SetQueueRank(), theApp, and TS_FALSE. Referenced by CEDClient::OnPacket(). |
|
Reimplemented from CDownloadTransfer. Definition at line 173 of file DownloadTransferED2K.cpp. References OnRunEx(). |
|
|
|
Definition at line 467 of file DownloadTransferED2K.cpp. References ClearRequests(), dtsDownloading, CConnection::m_mInput, m_pClient, SendFragmentRequests(), CDownloadTransfer::SetState(), and TCPBandwidthMeter::tLast. Referenced by CEDClient::OnPacket(). |
|
|
Definition at line 871 of file DownloadTransferED2K.cpp. References FF::detail::Fragment< Payload, OffsetType >::begin(), ED2K_PART_SIZE, FF::detail::Fragment< Payload, OffsetType >::end(), FF::detail::Fragment< Payload, OffsetType >::length(), m_pAvailable, and detail::selectBlock(). Referenced by SendFragmentRequests(). |
|
Definition at line 656 of file DownloadTransferED2K.cpp. References dtsConnecting, CDownloadTransfer::m_nState, m_pClient, NULL, and CEDClient::Send(). Referenced by SendFragmentRequests(), SendPrimaryRequest(), and SendSecondaryRequest(). |
|
|
|
|
Definition at line 943 of file DownloadTransferED2K.cpp. References ClearRequests(), dtsQueued, IDS_DOWNLOAD_QUEUED, m_bUDP, CDownloadTransfer::m_nQueueLen, CDownloadTransfer::m_nQueuePos, CConnection::m_sAddress, m_tRanking, m_tRequest, CShareazaApp::Message(), MSG_DEFAULT, CDownloadTransfer::SetState(), and theApp. Referenced by OnQueueRank(), OnRankingInfo(), and CEDClient::OnUdpReaskAck(). |
|
Implements CDownloadTransfer. Definition at line 887 of file DownloadTransferED2K.cpp. References FF::detail::Queue::begin(), dtsDownloading, FF::detail::Queue::end(), detail::List< FragmentT, ContainerT >::erase(), CDownloadTransfer::m_nState, and m_oRequested. |
|
Definition at line 42 of file DownloadTransferED2K.h. Referenced by CDownloadTransferED2K(), OnHashsetAnswer(), and SendSecondaryRequest(). |
|
Definition at line 48 of file DownloadTransferED2K.h. Referenced by CDownloadTransferED2K(), RunQueued(), and SetQueueRank(). |
|
Definition at line 53 of file DownloadTransferED2K.h. Referenced by OnCompressedPart(). |
|
Definition at line 52 of file DownloadTransferED2K.h. Referenced by OnCompressedPart(). |
|
Definition at line 54 of file DownloadTransferED2K.h. Referenced by OnCompressedPart(). |
|
Definition at line 55 of file DownloadTransferED2K.h. Referenced by OnCompressedPart(). |
|
Definition at line 47 of file DownloadTransferED2K.h. Referenced by ClearRequests(), OnCompressedPart(), OnSendingPart(), SendFragmentRequests(), and SubtractRequested(). |
|
Definition at line 46 of file DownloadTransferED2K.h. Referenced by CDownloadTransferED2K(), OnFileReqAnswer(), OnFileStatus(), SelectFragment(), and ~CDownloadTransferED2K(). |
|
Definition at line 41 of file DownloadTransferED2K.h. Referenced by Boost(), CDownloadTransferED2K(), Close(), GetMeasuredSpeed(), Initiate(), CEDClient::Merge(), OnConnected(), OnFileComment(), CDownloads::OnRun(), OnRunEx(), OnStartUpload(), RunQueued(), Send(), SendFragmentRequests(), SendPrimaryRequest(), SendSecondaryRequest(), and ~CDownloadTransferED2K(). |
|
Definition at line 51 of file DownloadTransferED2K.h. Referenced by CDownloadTransferED2K(), ClearRequests(), OnCompressedPart(), and ~CDownloadTransferED2K(). |
|
Definition at line 50 of file DownloadTransferED2K.h. Referenced by CDownloadTransferED2K(), ClearRequests(), and OnCompressedPart(). |
|
Definition at line 45 of file DownloadTransferED2K.h. Referenced by CDownloadTransferED2K(), RunQueued(), and SetQueueRank(). |
|
Definition at line 43 of file DownloadTransferED2K.h. Referenced by CDownloadTransferED2K(), OnRunEx(), RunQueued(), SendPrimaryRequest(), SendSecondaryRequest(), and SetQueueRank(). |
|
Definition at line 44 of file DownloadTransferED2K.h. Referenced by CDownloadTransferED2K(), and SendPrimaryRequest(). |