#include <EDClient.h>
Inheritance diagram for CEDClient:
|
|
Definition at line 106 of file EDClient.cpp. References EDClients, CConnection::m_hSocket, m_pDownload, m_pUpload, NULL, and CEDClients::Remove(). |
|
Definition at line 337 of file EDClient.cpp. References Connect(), m_bLogin, CConnection::m_hSocket, m_pDownload, NULL, and CDownloadTransferED2K::OnConnected(). Referenced by CDownloadTransferED2K::Initiate(). |
|
Reimplemented from CTransfer. Definition at line 310 of file EDClient.cpp. References CTransfer::AttachTo(), IDS_ED2K_CLIENT_ACCEPTED, CConnection::m_hSocket, CConnection::m_sAddress, CShareazaApp::Message(), MSG_DEFAULT, and theApp. Referenced by CEDClients::OnAccept(). |
|
Reimplemented from CTransfer. Definition at line 320 of file EDClient.cpp. References CTransfer::Close(), dtsDownloading, dtsNull, CConnection::m_bConnected, m_bLogin, CDownloadTransfer::m_nState, m_pDownload, CShareazaApp::Message(), MSG_ERROR, NULL, CDownloadTransfer::SetState(), and theApp. Referenced by OnDropped(), OnEmuleInfo(), OnHello(), OnRun(), and Remove(). |
|
|
Definition at line 118 of file EDClient.cpp. References m_bGUID, m_nClientID, m_pGUID, CConnection::m_pHost, m_pServer, and NULL. Referenced by CEDClients::Connect(). |
|
Definition at line 1058 of file EDClient.cpp. References DeriveVersion(), CDownloadSource::m_bClientExtended, m_bEmule, m_nEmCompatible, m_nSoftwareVersion, m_pDownload, CDownloadTransfer::m_pSource, m_pUpload, and CConnection::m_sUserAgent. Referenced by OnHello(). |
|
Definition at line 1142 of file EDClient.cpp. References _tcsistr(), ED2K_CLIENT_MOD, ED2K_CLIENT_UNKNOWN, CDownloadSource::m_bClientExtended, m_bEmule, m_nEmCompatible, m_nEmVersion, m_nSoftwareVersion, m_nVersion, m_pDownload, m_pGUID, CDownloadTransfer::m_pSource, m_pUpload, m_sNick, CConnection::m_sUserAgent, and GGUID::n. Referenced by DeriveSoftwareVersion(), and OnEmuleInfo(). |
|
Definition at line 371 of file EDClient.cpp. References CDownloadTransferED2K::Close(), m_bSeeking, m_pDownload, NULL, and TS_UNKNOWN. |
|
Definition at line 385 of file EDClient.cpp. References CUploadTransferED2K::Close(), m_pUpload, and NULL. Referenced by Merge(), OnQueueRequest(), and Remove(). |
|
Definition at line 146 of file EDClient.cpp. References CEDPacket::IsLowID(), m_bGUID, m_nClientID, m_pGUID, CConnection::m_pHost, m_pServer, and NULL. |
|
Definition at line 1587 of file EDClient.cpp. References CED2K::HashToString(), CEDPacket::IsLowID(), m_bGUID, m_bUpMD4, m_nClientID, m_nUpSize, CConnection::m_pHost, and m_pUpMD4. Referenced by OnFileStatusRequest(). |
|
Definition at line 141 of file EDClient.h. References CConnection::m_bConnected, and m_bLogin. Referenced by CUploadTransferED2K::CheckRanking(), CUploadTransferED2K::Close(), CUploadTransferED2K::OnQueueKick(), CUploadTransferED2K::OnRunEx(), CDownloadTransferED2K::RunQueued(), CChatSession::SendChatMessage(), and CUploadTransferED2K::ServeRequests(). |
|
|
Definition at line 490 of file EDClient.cpp. References m_bSeeking, m_pDownload, m_pUpload, NULL, CUploadTransferED2K::OnDropped(), and CDownloadTransferED2K::OnDropped(). Referenced by OnDropped(), and OnRun(). |
|
Reimplemented from CConnection. Definition at line 474 of file EDClient.cpp. References ED2K_C2C_HELLO, and SendHello(). |
|
Definition at line 350 of file EDClient.cpp. References CSettings::Bandwidth, CConnection::m_mInput, m_pDownload, CDownloadTransfer::m_pSource, NULL, TCPBandwidthMeter::pLimit, CSettings::sBandwidth::Request, SeekNewDownload(), and Settings. Referenced by CDownloadTransferED2K::Close(). |
|
Reimplemented from CConnection. Definition at line 483 of file EDClient.cpp. References Close(), IDS_ED2K_CLIENT_DROPPED, CConnection::m_sAddress, CShareazaApp::Message(), MSG_ERROR, NotifyDropped(), and theApp. |
|
|
|
|
|
|
Definition at line 539 of file EDClient.cpp. References EDClients, m_bLogin, m_pDownload, m_pUpload, CEDClients::Merge(), NULL, CUploadTransferED2K::OnConnected(), CDownloadTransferED2K::OnConnected(), and SeekNewDownload(). Referenced by OnHello(). |
|
Definition at line 1432 of file EDClient.cpp. References CSecurity::Ban(), banSession, CSettings::sCommunity::ChatAllNetworks, ChatCore, CSettings::sCommunity::ChatEnable, CSettings::Community, ED2K_MESSAGE_MAX, CMessageFilter::IsED2KSpam(), CMessageFilter::IsFiltered(), m_bEmUnicode, m_pDownload, CConnection::m_pHost, CConnection::m_sAddress, CShareazaApp::Message(), MessageFilter, MSG_DEFAULT, MSG_ERROR, NULL, CChatCore::OnED2KMessage(), Security, Settings, and theApp. Referenced by OnPacket(). |
|
|
Definition at line 1410 of file EDClient.cpp. References DetachUpload(), m_bUpMD4, CUploadTransfer::m_pED2K, m_pUpload, m_pUpMD4, NULL, and CUploadTransferED2K::Request(). Referenced by OnPacket(). |
|
Reimplemented from CConnection. Definition at line 510 of file EDClient.cpp. References ED2K_PROTOCOL_EMULE, m_bGUID, CConnection::m_pInput, OnPacket(), CConnection::OnRead(), CEDPacket::ReadBuffer(), and CPacket::Release(). |
|
|
Definition at line 445 of file EDClient.cpp. References CSettings::Connection, m_bOpenChat, CConnection::m_hSocket, m_pDownload, m_pUpload, CConnection::m_tConnected, NULL, CUploadTransferED2K::OnRunEx(), CDownloadTransferED2K::OnRunEx(), Remove(), Settings, and CSettings::sConnection::TimeoutHandshake. |
|
Definition at line 1535 of file EDClient.cpp. References Downloads, CDownloads::FindByED2K(), CPacket::GetRemaining(), IDS_ED2K_CLIENT_BAD_PACKET, CSettings::Library, m_bEmSources, CEDPacket::m_nType, CConnection::m_sAddress, CShareazaApp::Message(), MSG_ERROR, CPacket::Read(), CPacket::ReadLongLE(), CPacket::ReadShortLE(), Settings, CSettings::sLibrary::SourceMesh, and theApp. Referenced by OnPacket(). |
|
Definition at line 1488 of file EDClient.cpp. References Downloads, ED2K_C2C_ANSWERSOURCES, ED2K_PROTOCOL_EMULE, CDownloads::FindByED2K(), IDS_ED2K_CLIENT_BAD_PACKET, m_bEmSources, CPacket::m_nLength, CConnection::m_sAddress, CShareazaApp::Message(), MSG_ERROR, CEDPacket::New(), PROTOCOL_ED2K, CPacket::Release(), Send(), theApp, CPacket::Write(), CPacket::WriteGetPointer(), CPacket::WriteLongLE(), and CPacket::WriteShortLE(). Referenced by OnPacket(). |
|
Definition at line 1697 of file EDClient.cpp. References CDownloadTransferED2K::Close(), m_pDownload, NULL, and TS_FALSE. |
|
Definition at line 1686 of file EDClient.cpp. References CDownloadTransferED2K::Close(), CSettings::eDonkey, m_pDownload, CDownloadTransfer::m_pSource, CDownloadSource::m_tAttempt, NULL, CSettings::seDonkey::ReAskTime, Settings, and TS_UNKNOWN. |
|
Definition at line 1663 of file EDClient.cpp. References m_bUpMD4, m_pUpload, m_pUpMD4, NULL, and CUploadTransferED2K::OnReask(). |
|
Definition at line 1675 of file EDClient.cpp. References m_pDownload, NULL, and CDownloadTransferED2K::SetQueueRank(). |
|
Definition at line 379 of file EDClient.cpp. References CSettings::Bandwidth, CConnection::m_mOutput, m_pUpload, NULL, TCPBandwidthMeter::pLimit, CSettings::sBandwidth::Request, and Settings. Referenced by CUploadTransferED2K::Close(). |
|
Reimplemented from CConnection. Definition at line 501 of file EDClient.cpp. References CConnection::OnWrite(). Referenced by Send(). |
|
Definition at line 104 of file EDClient.h. References m_bOpenChat. Referenced by CChatWindows::OpenPrivate(). |
|
Definition at line 199 of file EDClient.cpp. References Close(), CSettings::sGeneral::Debug, CSettings::sGeneral::DebugLog, DetachDownload(), DetachUpload(), CSettings::General, m_bGUID, CShareazaApp::Message(), MSG_DEBUG, NULL, Settings, and theApp. Referenced by OnRunEx(). |
|
Definition at line 358 of file EDClient.cpp. References Downloads, m_bSeeking, m_pDownload, NULL, and CDownloads::OnDonkeyCallback(). Referenced by OnDownloadClose(), OnLoggedIn(), and CDownloadSource::PushRequest(). |
|
Definition at line 285 of file EDClient.cpp. References ED2K_C2C_EMULEINFO, ED2K_PROTOCOL_EDONKEY, m_bEmule, CConnection::m_hSocket, CConnection::m_pOutput, NULL, OnWrite(), and PROTOCOL_ED2K. Referenced by CUploadTransferED2K::DispatchNextChunk(), OnFileRequest(), OnFileStatusRequest(), OnHashsetRequest(), OnSourceRequest(), CUploadTransferED2K::Send(), CDownloadTransferED2K::Send(), CChatSession::SendChatMessage(), SendCommentsPacket(), SendEmuleInfo(), and SendHello(). |
|
Definition at line 671 of file EDClient.cpp. References ED2K_C2C_FILEDESC, ED2K_COMMENT_MAX, ED2K_PROTOCOL_EMULE, m_bCommentSent, m_bEmComments, m_bEmule, m_bEmUnicode, CConnection::m_sAddress, CShareazaApp::Message(), MSG_DEBUG, CEDPacket::New(), Send(), theApp, CPacket::WriteByte(), and CEDPacket::WriteLongEDString(). Referenced by OnFileRequest(). |
|
|
|
Definition at line 1616 of file EDClient.cpp. References ED2K_PART_SIZE, CDownloadWithFile::IsRangeUseful(), CDownloadBase::m_nSize, NULL, and TS_TRUE. Referenced by OnFileStatusRequest(), and CDownloadTransferED2K::SendPrimaryRequest(). |
|
Definition at line 86 of file EDClient.h. Referenced by CEDClient(), Merge(), and SendCommentsPacket(). |
|
Definition at line 62 of file EDClient.h. Referenced by CEDClient(), Merge(), and OnHello(). |
|
Definition at line 71 of file EDClient.h. Referenced by CEDClient(), Merge(), and OnHello(). |
|
Definition at line 69 of file EDClient.h. Referenced by CEDClient(), Merge(), OnEmuleInfo(), OnHello(), and SendCommentsPacket(). |
|
Definition at line 65 of file EDClient.h. Referenced by CEDClient(), Merge(), OnEmuleInfo(), and OnHello(). |
|
Definition at line 72 of file EDClient.h. Referenced by CEDClient(), Merge(), and OnHello(). |
|
Definition at line 70 of file EDClient.h. Referenced by CEDClient(), Merge(), and OnHello(). |
|
Definition at line 73 of file EDClient.h. Referenced by CEDClient(), Merge(), and OnHello(). |
|
Definition at line 68 of file EDClient.h. Referenced by CEDClient(), Merge(), OnEmuleInfo(), OnHello(), and CDownloadTransferED2K::SendPrimaryRequest(). |
|
Definition at line 66 of file EDClient.h. Referenced by CEDClient(), Merge(), and OnHello(). |
|
Definition at line 67 of file EDClient.h. Referenced by CEDClient(), Merge(), OnEmuleInfo(), OnHello(), OnSourceAnswer(), and OnSourceRequest(). |
|
Definition at line 64 of file EDClient.h. Referenced by CEDClient(), Merge(), OnEmuleInfo(), and OnHello(). |
|
Definition at line 56 of file EDClient.h. Referenced by CEDClient(), CUploadTransferED2K::CheckRanking(), DeriveSoftwareVersion(), DeriveVersion(), OnEmuleInfo(), OnHello(), Send(), SendCommentsPacket(), and CDownloadTransferED2K::SendPrimaryRequest(). |
|
Definition at line 63 of file EDClient.h. Referenced by CEDClient(), Merge(), CDownloadTransferED2K::OnFileComment(), OnFileRequest(), OnHello(), OnMessage(), and SendCommentsPacket(). |
|
Definition at line 48 of file EDClient.h. Referenced by CEDClient(), CDownloadSource::CheckDonkey(), ConnectTo(), Equals(), GetSourceURL(), OnHello(), OnRead(), and Remove(). |
|
Definition at line 75 of file EDClient.h. Referenced by AttachDownload(), CEDClient(), Close(), IsOnline(), OnHello(), OnLoggedIn(), and OnRun(). |
|
Definition at line 85 of file EDClient.h. Referenced by CEDClient(), Merge(), OnRun(), OnRunEx(), and OpenChat(). |
|
Definition at line 82 of file EDClient.h. Referenced by CEDClient(), DetachDownload(), NotifyDropped(), and SeekNewDownload(). |
|
Definition at line 76 of file EDClient.h. Referenced by CEDClient(), GetSourceURL(), OnFileRequest(), OnFileStatusRequest(), OnQueueRequest(), and OnUdpReask(). |
|
Definition at line 50 of file EDClient.h. Referenced by CEDClient(), CDownloadSource::CheckDonkey(), Connect(), ConnectTo(), Equals(), GetSourceURL(), OnFileStatusRequest(), and OnHello(). |
|
Definition at line 59 of file EDClient.h. Referenced by CEDClient(), DeriveSoftwareVersion(), DeriveVersion(), Merge(), OnEmuleInfo(), and OnHello(). |
|
Definition at line 58 of file EDClient.h. Referenced by CEDClient(), DeriveVersion(), Merge(), and OnEmuleInfo(). |
|
Definition at line 83 of file EDClient.h. Referenced by CEDClient(). |
|
Definition at line 60 of file EDClient.h. Referenced by CEDClient(), DeriveSoftwareVersion(), DeriveVersion(), Merge(), and OnHello(). |
|
Definition at line 51 of file EDClient.h. Referenced by CEDClient(), OnEmuleInfo(), OnHello(), CUploadTransferED2K::OnReask(), and CDownloadTransferED2K::RunQueued(). |
|
Definition at line 78 of file EDClient.h. Referenced by GetSourceURL(), and OnFileStatusRequest(). |
|
Definition at line 55 of file EDClient.h. Referenced by DeriveVersion(), and OnHello(). |
|
Definition at line 80 of file EDClient.h. Referenced by AttachDownload(), CEDClient(), Close(), Connect(), DeriveSoftwareVersion(), DeriveVersion(), DetachDownload(), Merge(), NotifyDropped(), OnDownloadClose(), OnLoggedIn(), OnMessage(), OnPacket(), OnRun(), OnRunEx(), OnUdpFileNotFound(), OnUdpQueueFull(), OnUdpReaskAck(), SeekNewDownload(), and ~CEDClient(). |
|
Definition at line 46 of file EDClient.h. Referenced by CEDClients::Add(), CEDClient(), CEDClients::GetByGUID(), CEDClients::GetByID(), CEDClients::GetByIP(), CEDClients::IsFull(), CEDClients::IsOverloaded(), CEDClients::Merge(), and CEDClients::Remove(). |
|
Definition at line 45 of file EDClient.h. Referenced by CEDClients::Add(), CEDClient(), and CEDClients::Remove(). |
|
Definition at line 49 of file EDClient.h. Referenced by CEDClient(), CDownloadSource::CheckDonkey(), ConnectTo(), DeriveVersion(), Equals(), CDownloadTransferED2K::OnConnected(), OnFileStatusRequest(), OnHello(), and CChatSession::SendChatMessage(). |
|
Definition at line 52 of file EDClient.h. Referenced by CDownloadSource::CheckDonkey(), Connect(), ConnectTo(), Equals(), OnFileStatusRequest(), and OnHello(). |
|
Definition at line 81 of file EDClient.h. Referenced by CEDClient(), DeriveSoftwareVersion(), DeriveVersion(), DetachUpload(), Merge(), NotifyDropped(), OnLoggedIn(), OnPacket(), OnQueueRequest(), OnRunEx(), OnUdpReask(), OnUploadClose(), and ~CEDClient(). |
|
Definition at line 77 of file EDClient.h. Referenced by GetSourceURL(), OnFileRequest(), OnFileStatusRequest(), OnQueueRequest(), and OnUdpReask(). |
|
Definition at line 54 of file EDClient.h. Referenced by CUploadTransferED2K::CUploadTransferED2K(), DeriveVersion(), CDownloadTransferED2K::OnConnected(), CDownloadTransferED2K::OnFileComment(), and OnHello(). |