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

CNeighboursWithRouting Class Reference

#include <NeighboursWithRouting.h>

Inheritance diagram for CNeighboursWithRouting:

CNeighboursWithED2K CNeighboursWithG2 CNeighboursWithG1 CNeighboursBase CNeighboursWithConnect CNeighbours List of all members.

Public Member Functions

 CNeighboursWithRouting ()
virtual ~CNeighboursWithRouting ()
int Broadcast (CPacket *pPacket, CNeighbour *pExcept=NULL, BOOL bGGEP=FALSE)
int RouteQuery (CQuerySearch *pSearch, CPacket *pPacket, CNeighbour *pFrom, BOOL bToHubs)

Constructor & Destructor Documentation

CNeighboursWithRouting::CNeighboursWithRouting  ) 
 

Definition at line 44 of file NeighboursWithRouting.cpp.

CNeighboursWithRouting::~CNeighboursWithRouting  )  [virtual]
 

Definition at line 48 of file NeighboursWithRouting.cpp.


Member Function Documentation

int CNeighboursWithRouting::Broadcast CPacket pPacket,
CNeighbour pExcept = NULL,
BOOL  bGGEP = FALSE
 

Definition at line 55 of file NeighboursWithRouting.cpp.

References CNeighboursBase::GetIterator(), CNeighboursBase::GetNext(), CNeighbour::m_nState, CNetwork::m_pSection, Network, nrsConnected, and CNeighbour::Send().

Referenced by CG1Neighbour::OnPing().

int CNeighboursWithRouting::RouteQuery CQuerySearch pSearch,
CPacket pPacket,
CNeighbour pFrom,
BOOL  bToHubs
 

Definition at line 76 of file NeighboursWithRouting.cpp.

References CG2Packet::Clone(), CStatistics::Current, Datagrams, CNeighboursBase::GetIterator(), CNeighboursBase::GetNext(), CDatagrams::IsStable(), CG2Packet::IsType(), CPacket::m_bBigEndian, CNeighbour::m_nNodeType, CPacket::m_nPosition, CNeighbour::m_nProtocol, CPacket::m_nProtocol, CNeighbour::m_nState, CPacket::m_pBuffer, CNetwork::m_pHost, CShareazaApp::Message(), MSG_ERROR, Network, CG1Packet::New(), nrsConnected, ntLeaf, NULL, PROTOCOL_G1, PROTOCOL_G2, CPacket::Release(), CG2Packet::SeekToWrapped(), CNeighbour::SendQuery(), Statistics, theApp, and CPacket::WriteGetPointer().

Referenced by CG2Neighbour::OnQuery(), CG1Neighbour::OnQuery(), and CDatagrams::OnQuery().


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