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

CBTClients Class Reference

#include <BTClients.h>

List of all members.

Public Member Functions

 CBTClients ()
virtual ~CBTClients ()
void Clear ()
BOOL OnAccept (CConnection *pConnection)
void ShutdownRequests ()
POSITION GetIterator () const
CBTClientGetNext (POSITION &pos) const
int GetCount () const

Protected Member Functions

void Add (CBTClient *pClient)
void Remove (CBTClient *pClient)
void Add (CBTTrackerRequest *pRequest)
void Remove (CBTTrackerRequest *pRequest)

Protected Attributes

CPtrList m_pList
CCriticalSection m_pSection
CEvent m_pShutdown
BOOL m_bShutdown
CPtrList m_pRequests

Friends

class CBTClient
class CBTTrackerRequest


Constructor & Destructor Documentation

CBTClients::CBTClients  ) 
 

Definition at line 43 of file BTClients.cpp.

References m_bShutdown.

CBTClients::~CBTClients  )  [virtual]
 

Definition at line 48 of file BTClients.cpp.

References Clear().


Member Function Documentation

void CBTClients::Add CBTTrackerRequest pRequest  )  [protected]
 

Definition at line 126 of file BTClients.cpp.

References m_bShutdown, m_pRequests, and m_pSection.

void CBTClients::Add CBTClient pClient  )  [protected]
 

Definition at line 110 of file BTClients.cpp.

References m_pList, and NULL.

Referenced by CBTClient::CBTClient(), and CBTTrackerRequest::CBTTrackerRequest().

void CBTClients::Clear  ) 
 

Definition at line 56 of file BTClients.cpp.

References GetIterator(), GetNext(), and ShutdownRequests().

Referenced by CShareazaApp::ExitInstance(), and ~CBTClients().

int CBTClients::GetCount  )  const [inline]
 

Definition at line 73 of file BTClients.h.

References m_pList.

POSITION CBTClients::GetIterator  )  const [inline]
 

Definition at line 63 of file BTClients.h.

References m_pList.

Referenced by Clear().

CBTClient* CBTClients::GetNext POSITION &  pos  )  const [inline]
 

Definition at line 68 of file BTClients.h.

References m_pList.

Referenced by Clear().

BOOL CBTClients::OnAccept CConnection pConnection  ) 
 

Definition at line 94 of file BTClients.cpp.

References CBTClient::AttachTo(), CBTClient, CTransfers::m_pSection, NULL, and Transfers.

Referenced by CHandshake::OnRead().

void CBTClients::Remove CBTTrackerRequest pRequest  )  [protected]
 

Definition at line 133 of file BTClients.cpp.

References m_bShutdown, m_pRequests, m_pSection, and m_pShutdown.

void CBTClients::Remove CBTClient pClient  )  [protected]
 

Definition at line 116 of file BTClients.cpp.

References m_pList, and NULL.

Referenced by CBTClient::~CBTClient(), and CBTTrackerRequest::~CBTTrackerRequest().

void CBTClients::ShutdownRequests  ) 
 

Definition at line 142 of file BTClients.cpp.

References CHttpRequest::CloseThread(), m_bShutdown, m_pRequests, m_pSection, and m_pShutdown.

Referenced by Clear().


Friends And Related Function Documentation

friend class CBTClient [friend]
 

Definition at line 78 of file BTClients.h.

Referenced by OnAccept().

friend class CBTTrackerRequest [friend]
 

Definition at line 79 of file BTClients.h.


Member Data Documentation

BOOL CBTClients::m_bShutdown [protected]
 

Definition at line 46 of file BTClients.h.

Referenced by Add(), CBTClients(), Remove(), and ShutdownRequests().

CPtrList CBTClients::m_pList [protected]
 

Definition at line 41 of file BTClients.h.

Referenced by Add(), GetCount(), GetIterator(), GetNext(), and Remove().

CPtrList CBTClients::m_pRequests [protected]
 

Definition at line 47 of file BTClients.h.

Referenced by Add(), Remove(), and ShutdownRequests().

CCriticalSection CBTClients::m_pSection [protected]
 

Definition at line 44 of file BTClients.h.

Referenced by Add(), Remove(), and ShutdownRequests().

CEvent CBTClients::m_pShutdown [protected]
 

Definition at line 45 of file BTClients.h.

Referenced by Remove(), and ShutdownRequests().


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