#include <Handshake.h>
Inheritance diagram for CHandshake:
Public Member Functions | |
CHandshake () | |
CHandshake (SOCKET hSocket, SOCKADDR_IN *pHost) | |
CHandshake (CHandshake *pCopy) | |
virtual | ~CHandshake () |
virtual BOOL | Push (IN_ADDR *pAddress, WORD nPort, DWORD nIndex) |
Public Attributes | |
BOOL | m_bPushing |
DWORD | m_nIndex |
Protected Member Functions | |
virtual BOOL | OnRun () |
virtual BOOL | OnConnected () |
virtual void | OnDropped (BOOL bError) |
virtual BOOL | OnRead () |
BOOL | OnAcceptGive () |
BOOL | OnAcceptPush () |
BOOL | OnPush (GGUID *pGUID) |
|
Definition at line 57 of file Handshake.cpp. References CSettings::Bandwidth, m_bPushing, CConnection::m_mInput, CConnection::m_mOutput, TCPBandwidthMeter::pLimit, CSettings::sBandwidth::Request, and Settings. |
|
Definition at line 69 of file Handshake.cpp. References CConnection::AcceptFrom(), CSettings::Bandwidth, IDS_CONNECTION_ACCEPTED, m_bPushing, CConnection::m_mInput, CConnection::m_mOutput, CConnection::m_pHost, CConnection::m_sAddress, CShareazaApp::Message(), MSG_DEFAULT, TCPBandwidthMeter::pLimit, CSettings::sBandwidth::Request, Settings, and theApp. |
|
Definition at line 86 of file Handshake.cpp. References CConnection::AttachTo(), CSettings::Bandwidth, m_bPushing, CConnection::m_mInput, CConnection::m_mOutput, m_nIndex, TCPBandwidthMeter::pLimit, CSettings::sBandwidth::Request, and Settings. |
|
Definition at line 100 of file Handshake.cpp. |
|
Definition at line 331 of file Handshake.cpp. References IDS_DOWNLOAD_BAD_PUSH, IDS_DOWNLOAD_UNKNOWN_PUSH, CConnection::m_pHost, CConnection::m_pInput, CShareazaApp::Message(), MSG_ERROR, GGUID::n, OnPush(), CBuffer::ReadLine(), theApp, and CConnection::URLDecode(). Referenced by OnRead(). |
|
Definition at line 292 of file Handshake.cpp. References IDS_DOWNLOAD_BAD_PUSH, IDS_DOWNLOAD_UNKNOWN_PUSH, CConnection::m_pHost, CConnection::m_pInput, CShareazaApp::Message(), MSG_ERROR, GGUID::n, OnPush(), CBuffer::ReadLine(), and theApp. Referenced by OnRead(). |
|
Reimplemented from CConnection. Definition at line 160 of file Handshake.cpp. References CGProfile::GUID, IDS_UPLOAD_GIV, m_nIndex, CConnection::m_pOutput, CShareazaApp::Message(), MSG_DEFAULT, MyProfile, GGUID::n, CConnection::OnConnected(), CConnection::OnWrite(), CBuffer::Print(), and theApp. |
|
Reimplemented from CConnection. Definition at line 188 of file Handshake.cpp. References IDS_UPLOAD_CONNECT_ERROR, m_bPushing, CConnection::m_sAddress, CShareazaApp::Message(), MSG_ERROR, and theApp. |
|
Definition at line 392 of file Handshake.cpp. References ChatCore, Downloads, CWindowManager::Find(), CConnection::m_hSocket, CShareazaApp::m_pSection, NULL, CChildWnd::OnPush(), CChatCore::OnPush(), CDownloads::OnPush(), CShareazaApp::SafeMainWnd(), and theApp. Referenced by OnAcceptGive(), and OnAcceptPush(). |
|
|
Reimplemented from CConnection. Definition at line 142 of file Handshake.cpp. References CSettings::Connection, IDS_HANDSHAKE_TIMEOUT, CConnection::m_sAddress, CConnection::m_tConnected, CShareazaApp::Message(), MSG_ERROR, Settings, theApp, and CSettings::sConnection::TimeoutHandshake. |
|
Definition at line 111 of file Handshake.cpp. References CConnection::ConnectTo(), Handshakes, IDS_UPLOAD_CONNECT, m_bPushing, CConnection::m_hSocket, m_nIndex, CHandshakes::m_pWakeup, CConnection::m_tConnected, CShareazaApp::Message(), MSG_DEFAULT, and theApp. Referenced by CHandshakes::PushTo(). |
|
Definition at line 55 of file Handshake.h. Referenced by CHandshake(), OnDropped(), and Push(). |
|
Definition at line 56 of file Handshake.h. Referenced by CHandshake(), OnConnected(), and Push(). |