dtn::BluetoothConvergenceLayer::Listener Class Reference

#include <BluetoothConvergenceLayer.h>

Inheritance diagram for dtn::BluetoothConvergenceLayer::Listener:

dtn::CLInfo oasys::RFCOMMServerThread oasys::SerializableObject oasys::BluetoothServerThread oasys::BluetoothServer oasys::Thread oasys::BluetoothSocket oasys::Logger oasys::IOHandlerBase List of all members.

Detailed Description

Helper class (and thread) that listens on a registered interface for new connections.

Definition at line 111 of file BluetoothConvergenceLayer.h.

Public Member Functions

 Listener (BluetoothConvergenceLayer *cl)
void accepted (int fd, bdaddr_t addr, u_int8_t channel)
 Virtual callback hook that gets called when new connections arrive.

Public Attributes

BluetoothConvergenceLayercl_
 The BTCL instance.


Constructor & Destructor Documentation

dtn::BluetoothConvergenceLayer::Listener::Listener ( BluetoothConvergenceLayer cl  ) 

Definition at line 287 of file BluetoothConvergenceLayer.cc.

References oasys::BluetoothSocket::logfd_.


Member Function Documentation

void dtn::BluetoothConvergenceLayer::Listener::accepted ( int  fd,
bdaddr_t  addr,
u_int8_t  channel 
) [virtual]

Virtual callback hook that gets called when new connections arrive.

Implements oasys::BluetoothServerThread.

Definition at line 297 of file BluetoothConvergenceLayer.cc.

References bd2str, cl_, dtn::BluetoothConvergenceLayer::default_link_params_, and log_debug.


Member Data Documentation

BluetoothConvergenceLayer* dtn::BluetoothConvergenceLayer::Listener::cl_

The BTCL instance.

Definition at line 117 of file BluetoothConvergenceLayer.h.

Referenced by accepted().


The documentation for this class was generated from the following files:
Generated on Thu Jun 7 16:56:57 2007 for DTN Reference Implementation by  doxygen 1.5.1