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

CNeighboursWithED2K Class Reference

#include <NeighboursWithED2K.h>

Inheritance diagram for CNeighboursWithED2K:

CNeighboursWithG2 CNeighboursWithG1 CNeighboursBase CNeighboursWithRouting CNeighboursWithConnect CNeighbours List of all members.

Public Member Functions

 CNeighboursWithED2K ()
virtual ~CNeighboursWithED2K ()
CEDNeighbourGetDonkeyServer () const
void CloseDonkeys ()
void SendDonkeyDownload (CDownload *pDownload)
BOOL PushDonkey (DWORD nClientID, IN_ADDR *pServerAddress, WORD nServerPort)
BOOL FindDonkeySources (MD4 *pED2K, IN_ADDR *pServerAddress, WORD nServerPort)

Protected Attributes

DWORD m_tEDSources [256]
MD4 m_pEDSources [256]

Constructor & Destructor Documentation

CNeighboursWithED2K::CNeighboursWithED2K  ) 
 

Definition at line 41 of file NeighboursWithED2K.cpp.

References m_pEDSources, and m_tEDSources.

CNeighboursWithED2K::~CNeighboursWithED2K  )  [virtual]
 

Definition at line 47 of file NeighboursWithED2K.cpp.


Member Function Documentation

void CNeighboursWithED2K::CloseDonkeys  ) 
 

Definition at line 76 of file NeighboursWithED2K.cpp.

References CNeighbour::Close(), CNeighboursBase::GetIterator(), CNeighboursBase::GetNext(), CNeighbour::m_nProtocol, and PROTOCOL_ED2K.

Referenced by CNeighboursWithConnect::ConnectTo().

BOOL CNeighboursWithED2K::FindDonkeySources MD4 pED2K,
IN_ADDR *  pServerAddress,
WORD  nServerPort
 

Definition at line 136 of file NeighboursWithED2K.cpp.

References Datagrams, ED2K_C2SG_GETSOURCES, CNetwork::IsListening(), m_pEDSources, m_tEDSources, Network, CEDPacket::New(), CDatagrams::Send(), and CPacket::Write().

CEDNeighbour * CNeighboursWithED2K::GetDonkeyServer  )  const
 

Definition at line 54 of file NeighboursWithED2K.cpp.

References CNeighboursBase::GetIterator(), CNeighboursBase::GetNext(), CEDNeighbour::m_nClientID, CNeighbour::m_nProtocol, CNeighbour::m_nState, nrsConnected, NULL, and PROTOCOL_ED2K.

Referenced by CEDClient::SendHello().

BOOL CNeighboursWithED2K::PushDonkey DWORD  nClientID,
IN_ADDR *  pServerAddress,
WORD  nServerPort
 

Definition at line 105 of file NeighboursWithED2K.cpp.

References ED2K_C2S_CALLBACKREQUEST, CNeighboursBase::Get(), CNetwork::IsListening(), CEDPacket::IsLowID(), CEDNeighbour::m_nClientID, CNeighbour::m_nProtocol, Network, CEDPacket::New(), NULL, PROTOCOL_ED2K, CEDNeighbour::Send(), and CPacket::WriteLongLE().

Referenced by CEDClient::Connect(), and CDownloadSource::PushRequest().

void CNeighboursWithED2K::SendDonkeyDownload CDownload pDownload  ) 
 

Definition at line 89 of file NeighboursWithED2K.cpp.

References CNeighboursBase::GetIterator(), CNeighboursBase::GetNext(), CNeighbour::m_nProtocol, PROTOCOL_ED2K, and CEDNeighbour::SendSharedDownload().

Referenced by CDownloadWithTiger::SetHashset().


Member Data Documentation

MD4 CNeighboursWithED2K::m_pEDSources[256] [protected]
 

Definition at line 51 of file NeighboursWithED2K.h.

Referenced by CNeighboursWithED2K(), and FindDonkeySources().

DWORD CNeighboursWithED2K::m_tEDSources[256] [protected]
 

Definition at line 50 of file NeighboursWithED2K.h.

Referenced by CNeighboursWithED2K(), and FindDonkeySources().


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