Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals

CConnectionListener Class Reference

Inbound connection listener Active Object. More...

#include <ConnectionListener.h>


Public Member Functions

 CConnectionListener (RCobainClientSession &aClientSession, MNetworkDriver *aDriver)
 ~CConnectionListener ()
void RunL ()
void DoCancel ()
void Listen (MConnectionListener *aListener)

Private Member Functions

void DoListen ()

Private Attributes

MConnectionListeneriConnectionListener
RCobainClientSessioniClientSession
MNetworkDriveriDriver


Detailed Description

Inbound connection listener Active Object.

Author:
Matti Dahlbom
Version:
beta0_7_2003-12-08, 1.1

Definition at line 38 of file ConnectionListener.h.


Constructor & Destructor Documentation

CConnectionListener::CConnectionListener RCobainClientSession aClientSession,
MNetworkDriver aDriver
 

Definition at line 39 of file ConnectionListener.cpp.

CConnectionListener::~CConnectionListener  ) 
 

Definition at line 48 of file ConnectionListener.cpp.

References CCobainLayer::Log().


Member Function Documentation

void CConnectionListener::DoCancel  ) 
 

Definition at line 109 of file ConnectionListener.cpp.

References EBluetooth, iClientSession, CCobainLayer::Log(), and RCobainClientSession::StopListening().

void CConnectionListener::DoListen  )  [private]
 

Definition at line 57 of file ConnectionListener.cpp.

References RCobainClientSession::GetIncomingSocketL(), and iClientSession.

Referenced by Listen(), and RunL().

void CConnectionListener::Listen MConnectionListener aListener  ) 
 

Definition at line 67 of file ConnectionListener.cpp.

References DoListen(), iConnectionListener, and CCobainLayer::Log().

Referenced by CDriverBase::ListenL().

void CConnectionListener::RunL  ) 
 

Definition at line 77 of file ConnectionListener.cpp.

References MConnectionListener::Accept(), DoListen(), iClientSession, iConnectionListener, iDriver, and CCobainLayer::Log().


Field Documentation

RCobainClientSession& CConnectionListener::iClientSession [private]
 

Definition at line 53 of file ConnectionListener.h.

Referenced by DoCancel(), DoListen(), and RunL().

MConnectionListener* CConnectionListener::iConnectionListener [private]
 

Definition at line 52 of file ConnectionListener.h.

Referenced by Listen(), and RunL().

MNetworkDriver* CConnectionListener::iDriver [private]
 

Definition at line 54 of file ConnectionListener.h.

Referenced by RunL().


The documentation for this class was generated from the following files:
Generated on Mon Dec 8 10:26:08 2003 for CobainAPIImplementation by doxygen 1.3.5