Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CDownloadTransferED2K Class Reference

#include <DownloadTransferED2K.h>

Inheritance diagram for CDownloadTransferED2K:

CDownloadTransfer CTransfer CConnection List of all members.

Public Member Functions

 CDownloadTransferED2K (CDownloadSource *pSource)
virtual ~CDownloadTransferED2K ()
virtual BOOL Initiate ()
virtual void Close (TRISTATE bKeepSource)
virtual void Boost ()
virtual DWORD GetAverageSpeed ()
virtual DWORD GetMeasuredSpeed ()
virtual BOOL SubtractRequested (FF::SimpleFragmentList &ppFragments)
virtual BOOL OnRun ()
virtual BOOL OnConnected ()
virtual void OnDropped (BOOL bError)
BOOL OnRunEx (DWORD tNow)
BOOL OnFileReqAnswer (CEDPacket *pPacket)
BOOL OnFileNotFound (CEDPacket *pPacket)
BOOL OnFileStatus (CEDPacket *pPacket)
BOOL OnHashsetAnswer (CEDPacket *pPacket)
BOOL OnQueueRank (CEDPacket *pPacket)
BOOL OnRankingInfo (CEDPacket *pPacket)
BOOL OnFileComment (CEDPacket *pPacket)
BOOL OnStartUpload (CEDPacket *pPacket)
BOOL OnFinishUpload (CEDPacket *pPacket)
BOOL OnSendingPart (CEDPacket *pPacket)
BOOL OnCompressedPart (CEDPacket *pPacket)
void SetQueueRank (int nRank)

Public Attributes

CEDClientm_pClient
BOOL m_bHashset
DWORD m_tRequest
DWORD m_tSources
DWORD m_tRanking
BYTE * m_pAvailable
FF::SimpleFragmentQueue m_oRequested
BOOL m_bUDP

Protected Member Functions

void Send (CEDPacket *pPacket, BOOL bRelease=TRUE)
BOOL SendPrimaryRequest ()
BOOL SendSecondaryRequest ()
BOOL SendFragmentRequests ()
void ClearRequests ()
BOOL SelectFragment (const FF::SimpleFragmentList &oPossible, QWORD &nOffset, QWORD &nLength)
BOOL RunQueued (DWORD tNow)

Protected Attributes

LPVOID m_pInflatePtr
CBufferm_pInflateBuffer
QWORD m_nInflateOffset
QWORD m_nInflateLength
QWORD m_nInflateRead
QWORD m_nInflateWritten

Constructor & Destructor Documentation

CDownloadTransferED2K::CDownloadTransferED2K CDownloadSource pSource  ) 
 

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.

CDownloadTransferED2K::~CDownloadTransferED2K  )  [virtual]
 

Definition at line 70 of file DownloadTransferED2K.cpp.

References ClearRequests(), EDClients, CEDClients::GetFirst(), m_pAvailable, m_pClient, m_pInflateBuffer, and NULL.


Member Function Documentation

void CDownloadTransferED2K::Boost  )  [virtual]
 

Reimplemented from CDownloadTransfer.

Definition at line 152 of file DownloadTransferED2K.cpp.

References CConnection::m_mInput, m_pClient, NULL, and TCPBandwidthMeter::pLimit.

void CDownloadTransferED2K::ClearRequests  )  [protected]
 

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().

void CDownloadTransferED2K::Close TRISTATE  bKeepSource  )  [virtual]
 

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().

DWORD CDownloadTransferED2K::GetAverageSpeed  )  [virtual]
 

Reimplemented from CDownloadTransfer.

Definition at line 158 of file DownloadTransferED2K.cpp.

References GetMeasuredSpeed(), CDownloadSource::m_nSpeed, and CDownloadTransfer::m_pSource.

DWORD CDownloadTransferED2K::GetMeasuredSpeed  )  [virtual]
 

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().

BOOL CDownloadTransferED2K::Initiate  )  [virtual]
 

Implements CDownloadTransfer.

Definition at line 90 of file DownloadTransferED2K.cpp.

References CEDClient::AttachDownload(), CTransfer::Close(), CEDClients::Connect(), Downloads, dtsConnecting, dtsNull, EDClients, CEDClients::IsFull(), CDownloadBase::m_bED2K, CDownloadSource::m_bGUID, CConnection::m_mInput, CDownloads::m_nLimitDonkey, CDownloadSource::m_nPort, CDownloadSource::m_nServerPort, CDownloadBase::m_nSize, CDownloadTransfer::m_nState, CDownloadSource::m_pAddress, m_pClient, CDownloadTransfer::m_pDownload, CDownloadSource::m_pGUID, CConnection::m_pHost, CDownloadSource::m_pServerAddress, CDownloadTransfer::m_pSource, CConnection::m_sAddress, CConnection::m_tConnected, NULL, TCPBandwidthMeter::pLimit, CDownloadTransfer::SetState(), SIZE_UNKNOWN, TS_FALSE, and TS_TRUE.

Referenced by CDownloadWithTransfers::OnDonkeyCallback().

BOOL CDownloadTransferED2K::OnCompressedPart CEDPacket pPacket  ) 
 

Definition at line 540 of file DownloadTransferED2K.cpp.

References CBuffer::Add(), CDownloadSource::AddFragment(), BUFFER_SIZE, CBuffer::Clear(), CTransfer::Close(), dtsDownloading, ED2K_PART_SIZE, FF::detail::Queue::erase(), CDownloadWithFile::GetDisplayName(), CPacket::GetRemaining(), IDS_DOWNLOAD_INFLATE_ERROR, IDS_DOWNLOAD_WRONG_HASH, IDS_ED2K_CLIENT_BAD_PACKET, inflate(), inflateEnd(), inflateInit, CDownloadTransfer::m_nDownloaded, m_nInflateLength, m_nInflateOffset, m_nInflateRead, m_nInflateWritten, CBuffer::m_nLength, CPacket::m_nPosition, CDownloadTransfer::m_nState, CEDPacket::m_nType, m_oRequested, CBuffer::m_pBuffer, CPacket::m_pBuffer, CDownloadTransfer::m_pDownload, CDownloadBase::m_pED2K, m_pInflateBuffer, m_pInflatePtr, CDownloadTransfer::m_pSource, CConnection::m_sAddress, CShareazaApp::Message(), MSG_ERROR, NULL, CPacket::Read(), CPacket::ReadLongLE(), CBuffer::Remove(), SendFragmentRequests(), CDownloadSource::SetValid(), CDownloadWithFile::SubmitData(), theApp, TS_FALSE, Z_OK, and Z_SYNC_FLUSH.

Referenced by CEDClient::OnPacket().

BOOL CDownloadTransferED2K::OnConnected  )  [virtual]
 

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().

void CDownloadTransferED2K::OnDropped BOOL  bError  )  [virtual]
 

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().

BOOL CDownloadTransferED2K::OnFileComment CEDPacket pPacket  ) 
 

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().

BOOL CDownloadTransferED2K::OnFileNotFound CEDPacket pPacket  ) 
 

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().

BOOL CDownloadTransferED2K::OnFileReqAnswer CEDPacket pPacket  ) 
 

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().

BOOL CDownloadTransferED2K::OnFileStatus CEDPacket pPacket  ) 
 

Definition at line 282 of file DownloadTransferED2K.cpp.

References detail::List< FragmentT, ContainerT >::clear(), CTransfer::Close(), dtsConnecting, ED2K_PART_SIZE, detail::List< FragmentT, ContainerT >::end(), CDownloadWithFile::GetDisplayName(), CPacket::GetRemaining(), IDS_DOWNLOAD_WRONG_HASH, IDS_ED2K_CLIENT_BAD_PACKET, detail::List< FragmentT, ContainerT >::insert(), CDownloadBase::m_nSize, CDownloadTransfer::m_nState, CEDPacket::m_nType, CDownloadSource::m_oAvailable, m_pAvailable, CDownloadTransfer::m_pDownload, CDownloadBase::m_pED2K, CDownloadTransfer::m_pSource, CConnection::m_sAddress, CShareazaApp::Message(), MSG_ERROR, NULL, CPacket::Read(), CPacket::ReadByte(), CPacket::ReadShortLE(), SendSecondaryRequest(), theApp, and TS_FALSE.

Referenced by CEDClient::OnPacket().

BOOL CDownloadTransferED2K::OnFinishUpload CEDPacket pPacket  ) 
 

Definition at line 477 of file DownloadTransferED2K.cpp.

References SendPrimaryRequest().

Referenced by CEDClient::OnPacket().

BOOL CDownloadTransferED2K::OnHashsetAnswer CEDPacket pPacket  ) 
 

Definition at line 351 of file DownloadTransferED2K.cpp.

References CTransfer::Close(), dtsHashset, ED2K_PART_SIZE, CPacket::GetRemaining(), IDS_DOWNLOAD_HASHSET_ERROR, IDS_ED2K_CLIENT_BAD_PACKET, m_bHashset, CPacket::m_nPosition, CDownloadBase::m_nSize, CDownloadTransfer::m_nState, CEDPacket::m_nType, CPacket::m_pBuffer, CDownloadTransfer::m_pDownload, CDownloadBase::m_pED2K, CConnection::m_sAddress, CShareazaApp::Message(), MSG_ERROR, CPacket::Read(), CPacket::ReadShortLE(), SendSecondaryRequest(), CDownloadWithTiger::SetHashset(), theApp, and TS_FALSE.

Referenced by CEDClient::OnPacket().

BOOL CDownloadTransferED2K::OnQueueRank CEDPacket pPacket  ) 
 

Definition at line 393 of file DownloadTransferED2K.cpp.

References CTransfer::Close(), dtsConnecting, CSettings::eDonkey, CPacket::GetRemaining(), IDS_ED2K_CLIENT_BAD_PACKET, CDownloadTransfer::m_nQueuePos, CDownloadTransfer::m_nState, CEDPacket::m_nType, CDownloadTransfer::m_pSource, CConnection::m_sAddress, CDownloadSource::m_tAttempt, CShareazaApp::Message(), MSG_ERROR, CPacket::ReadLongLE(), CSettings::seDonkey::ReAskTime, SetQueueRank(), Settings, theApp, TS_FALSE, and TS_UNKNOWN.

Referenced by CEDClient::OnPacket().

BOOL CDownloadTransferED2K::OnRankingInfo CEDPacket pPacket  ) 
 

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().

BOOL CDownloadTransferED2K::OnRun  )  [virtual]
 

Reimplemented from CDownloadTransfer.

Definition at line 173 of file DownloadTransferED2K.cpp.

References OnRunEx().

BOOL CDownloadTransferED2K::OnRunEx DWORD  tNow  ) 
 

Definition at line 178 of file DownloadTransferED2K.cpp.

References CTransfer::Close(), CSettings::Connection, dtsConnecting, dtsDownloading, dtsEnqueue, dtsHashset, dtsQueued, dtsRequesting, IDS_CONNECTION_TIMEOUT_CONNECT, IDS_DOWNLOAD_REQUEST_TIMEOUT, IDS_DOWNLOAD_TRAFFIC_TIMEOUT, CConnection::m_mInput, CDownloadTransfer::m_nState, m_pClient, CConnection::m_sAddress, CConnection::m_tConnected, m_tRequest, CShareazaApp::Message(), MSG_ERROR, RunQueued(), Settings, theApp, CSettings::sConnection::TimeoutConnect, CSettings::sConnection::TimeoutHandshake, CSettings::sConnection::TimeoutTraffic, TCPBandwidthMeter::tLast, TS_TRUE, and TS_UNKNOWN.

Referenced by OnRun(), and CEDClient::OnRunEx().

BOOL CDownloadTransferED2K::OnSendingPart CEDPacket pPacket  ) 
 

Definition at line 482 of file DownloadTransferED2K.cpp.

References CDownloadSource::AddFragment(), CTransfer::Close(), dtsDownloading, ED2K_PART_SIZE, FF::detail::Queue::erase(), CDownloadWithFile::GetDisplayName(), CPacket::GetRemaining(), IDS_DOWNLOAD_WRONG_HASH, IDS_ED2K_CLIENT_BAD_PACKET, CDownloadTransfer::m_nDownloaded, CPacket::m_nPosition, CDownloadTransfer::m_nState, CEDPacket::m_nType, m_oRequested, CPacket::m_pBuffer, CDownloadTransfer::m_pDownload, CDownloadBase::m_pED2K, CDownloadTransfer::m_pSource, CConnection::m_sAddress, CShareazaApp::Message(), MSG_ERROR, CPacket::Read(), CPacket::ReadLongLE(), SendFragmentRequests(), CDownloadSource::SetValid(), CDownloadWithFile::SubmitData(), theApp, and TS_FALSE.

Referenced by CEDClient::OnPacket().

BOOL CDownloadTransferED2K::OnStartUpload CEDPacket pPacket  ) 
 

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().

BOOL CDownloadTransferED2K::RunQueued DWORD  tNow  )  [protected]
 

Definition at line 897 of file DownloadTransferED2K.cpp.

References CTransfer::Close(), CEDClient::Connect(), Datagrams, CSettings::Downloads, dtsQueued, ED2K_C2C_UDP_REASKFILEPING, ED2K_PROTOCOL_EMULE, CSettings::eDonkey, CDownloadWithFile::GetDisplayName(), IDS_DOWNLOAD_QUEUE_HUGE, IDS_DOWNLOAD_QUEUE_TIMEOUT, CEDClient::IsOnline(), CConnection::m_bConnected, m_bUDP, CDownloadTransfer::m_nQueuePos, CDownloadTransfer::m_nState, CEDClient::m_nUDP, m_pClient, CDownloadTransfer::m_pDownload, CDownloadBase::m_pED2K, CConnection::m_pHost, CConnection::m_sAddress, m_tRanking, m_tRequest, CShareazaApp::Message(), MSG_ERROR, CEDPacket::New(), NULL, OnConnected(), CSettings::sDownloads::QueueLimit, CSettings::seDonkey::ReAskTime, CDatagrams::Send(), Settings, theApp, TS_FALSE, TS_UNKNOWN, and CPacket::Write().

Referenced by OnRunEx().

BOOL CDownloadTransferED2K::SelectFragment const FF::SimpleFragmentList oPossible,
QWORD nOffset,
QWORD nLength
[protected]
 

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().

void CDownloadTransferED2K::Send CEDPacket pPacket,
BOOL  bRelease = TRUE
[protected]
 

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().

BOOL CDownloadTransferED2K::SendFragmentRequests  )  [protected]
 

Definition at line 779 of file DownloadTransferED2K.cpp.

References CDownloadTransfer::ChunkifyRequest(), CTransfer::Close(), dtsDownloading, ED2K_C2C_QUEUERELEASE, ED2K_C2C_REQUESTPARTS, ED2K_PART_SIZE, CSettings::eDonkey, FF::detail::Queue::empty(), detail::List< FragmentT, ContainerT >::empty(), CSettings::seDonkey::Endgame, CDownloadWithFile::GetDisplayName(), CDownloadWithFile::GetEmptyFragmentList(), CDownloadWithTransfers::GetFirstTransfer(), CDownloadWithFile::GetVolumeComplete(), CDownloadWithFile::GetVolumeRemaining(), IDS_DOWNLOAD_FRAGMENT_END, IDS_DOWNLOAD_FRAGMENT_REQUEST, CDownloadWithTorrent::m_bTorrentEndgame, CDownloadTransfer::m_nDownloaded, CDownloadTransfer::m_nState, m_oRequested, m_pClient, CDownloadTransfer::m_pDownload, CDownloadBase::m_pED2K, CConnection::m_sAddress, CDownloadBase::m_sLocalName, CShareazaApp::Message(), MSG_DEBUG, MSG_DEFAULT, CEDPacket::New(), NULL, FF::detail::Queue::pushBack(), CSettings::seDonkey::RequestPipe, CSettings::seDonkey::RequestSize, SelectFragment(), Send(), Settings, FF::detail::Queue::size(), theApp, TS_TRUE, CPacket::Write(), and CPacket::WriteLongLE().

Referenced by OnCompressedPart(), OnSendingPart(), and OnStartUpload().

BOOL CDownloadTransferED2K::SendPrimaryRequest  )  [protected]
 

Definition at line 666 of file DownloadTransferED2K.cpp.

References ClearRequests(), CSettings::Downloads, dtsRequesting, ED2K_C2C_FILEREQUEST, ED2K_C2C_FILESTATUSREQUEST, ED2K_C2C_REQUESTSOURCES, ED2K_PART_SIZE, ED2K_PROTOCOL_EMULE, CSettings::eDonkey, CSettings::seDonkey::ExtendedRequest, CDownloadWithSources::GetSourceCount(), CNetwork::IsListening(), CEDClient::m_bEmRequest, CEDClient::m_bEmule, CDownloadBase::m_nSize, m_pClient, CDownloadTransfer::m_pDownload, CDownloadBase::m_pED2K, m_tRequest, m_tSources, Network, CEDPacket::New(), NULL, Send(), CDownloadTransfer::SetState(), Settings, CSettings::sDownloads::SourcesWanted, CPacket::Write(), and CEDClient::WritePartStatus().

Referenced by OnConnected(), and OnFinishUpload().

BOOL CDownloadTransferED2K::SendSecondaryRequest  )  [protected]
 

Definition at line 732 of file DownloadTransferED2K.cpp.

References ClearRequests(), CTransfer::Close(), dtsConnecting, dtsEnqueue, dtsHashset, ED2K_C2C_HASHSETREQUEST, ED2K_C2C_QUEUEREQUEST, CSettings::eDonkey, CDownloadSource::HasUsefulRanges(), IDS_DOWNLOAD_FRAGMENT_END, m_bHashset, CConnection::m_mInput, CDownloadTransfer::m_nState, m_pClient, CDownloadTransfer::m_pDownload, CDownloadBase::m_pED2K, CDownloadTransfer::m_pSource, CConnection::m_sAddress, CDownloadSource::m_tAttempt, m_tRequest, CShareazaApp::Message(), MSG_DEFAULT, CDownloadWithTiger::NeedHashset(), CEDPacket::New(), NULL, CDownloadWithFile::PrepareFile(), CSettings::seDonkey::ReAskTime, Send(), CDownloadSource::SetAvailableRanges(), CDownloadTransfer::SetState(), Settings, theApp, TCPBandwidthMeter::tLast, TS_TRUE, and CPacket::Write().

Referenced by OnFileReqAnswer(), OnFileStatus(), and OnHashsetAnswer().

void CDownloadTransferED2K::SetQueueRank int  nRank  ) 
 

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().

BOOL CDownloadTransferED2K::SubtractRequested FF::SimpleFragmentList ppFragments  )  [virtual]
 

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.


Member Data Documentation

BOOL CDownloadTransferED2K::m_bHashset
 

Definition at line 42 of file DownloadTransferED2K.h.

Referenced by CDownloadTransferED2K(), OnHashsetAnswer(), and SendSecondaryRequest().

BOOL CDownloadTransferED2K::m_bUDP
 

Definition at line 48 of file DownloadTransferED2K.h.

Referenced by CDownloadTransferED2K(), RunQueued(), and SetQueueRank().

QWORD CDownloadTransferED2K::m_nInflateLength [protected]
 

Definition at line 53 of file DownloadTransferED2K.h.

Referenced by OnCompressedPart().

QWORD CDownloadTransferED2K::m_nInflateOffset [protected]
 

Definition at line 52 of file DownloadTransferED2K.h.

Referenced by OnCompressedPart().

QWORD CDownloadTransferED2K::m_nInflateRead [protected]
 

Definition at line 54 of file DownloadTransferED2K.h.

Referenced by OnCompressedPart().

QWORD CDownloadTransferED2K::m_nInflateWritten [protected]
 

Definition at line 55 of file DownloadTransferED2K.h.

Referenced by OnCompressedPart().

FF::SimpleFragmentQueue CDownloadTransferED2K::m_oRequested
 

Definition at line 47 of file DownloadTransferED2K.h.

Referenced by ClearRequests(), OnCompressedPart(), OnSendingPart(), SendFragmentRequests(), and SubtractRequested().

BYTE* CDownloadTransferED2K::m_pAvailable
 

Definition at line 46 of file DownloadTransferED2K.h.

Referenced by CDownloadTransferED2K(), OnFileReqAnswer(), OnFileStatus(), SelectFragment(), and ~CDownloadTransferED2K().

CEDClient* CDownloadTransferED2K::m_pClient
 

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().

CBuffer* CDownloadTransferED2K::m_pInflateBuffer [protected]
 

Definition at line 51 of file DownloadTransferED2K.h.

Referenced by CDownloadTransferED2K(), ClearRequests(), OnCompressedPart(), and ~CDownloadTransferED2K().

LPVOID CDownloadTransferED2K::m_pInflatePtr [protected]
 

Definition at line 50 of file DownloadTransferED2K.h.

Referenced by CDownloadTransferED2K(), ClearRequests(), and OnCompressedPart().

DWORD CDownloadTransferED2K::m_tRanking
 

Definition at line 45 of file DownloadTransferED2K.h.

Referenced by CDownloadTransferED2K(), RunQueued(), and SetQueueRank().

DWORD CDownloadTransferED2K::m_tRequest
 

Definition at line 43 of file DownloadTransferED2K.h.

Referenced by CDownloadTransferED2K(), OnRunEx(), RunQueued(), SendPrimaryRequest(), SendSecondaryRequest(), and SetQueueRank().

DWORD CDownloadTransferED2K::m_tSources
 

Definition at line 44 of file DownloadTransferED2K.h.

Referenced by CDownloadTransferED2K(), and SendPrimaryRequest().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:06 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2