#include <BluetoothConvergenceLayer.h>
Inheritance diagram for dtn::BluetoothConvergenceLayer::Listener:

Definition at line 188 of file BluetoothConvergenceLayer.h.
Public Member Functions | |
| Listener (BluetoothConvergenceLayer *cl, BluetoothConvergenceLayer::Params *params) | |
| Constructor. | |
| void | accepted (int fd, bdaddr_t addr, u_int8_t channel) |
| Callback handler for passive connections. | |
Public Attributes | |
| BluetoothConvergenceLayer::Params | params_ |
| Socket parameters are public fields that should be set after creating the socket but before the socket is used. | |
| NeighborDiscovery * | nd_ |
Protected Attributes | |
| BluetoothConvergenceLayer * | cl_ |
Friends | |
| class | Connection |
| class | ConnectionManager |
| dtn::BluetoothConvergenceLayer::Listener::Listener | ( | BluetoothConvergenceLayer * | cl, | |
| BluetoothConvergenceLayer::Params * | params | |||
| ) |
Constructor.
Definition at line 552 of file BluetoothConvergenceLayer.cc.
References ASSERT, BDADDR_ANY, dtn::BluetoothConvergenceLayer::Params::local_addr_, oasys::BluetoothSocket::logfd_, nd_, oasys::RFCOMMServerThread::set_accept_timeout(), oasys::BluetoothSocket::set_local_addr(), and oasys::IOHandlerBase::set_notifier().
| void dtn::BluetoothConvergenceLayer::Listener::accepted | ( | int | fd, | |
| bdaddr_t | addr, | |||
| u_int8_t | channel | |||
| ) | [virtual] |
Callback handler for passive connections.
Implements oasys::BluetoothServerThread.
Definition at line 572 of file BluetoothConvergenceLayer.cc.
References ASSERT, cl_, oasys::BluetoothSocket::close(), Connection, oasys::BluetoothServer::listen(), dtn::BluetoothConvergenceLayer::Connection::listener_, params_, oasys::RFCOMMServerThread::rc_bind(), and oasys::Thread::start().
friend class Connection [friend] |
friend class ConnectionManager [friend] |
Definition at line 209 of file BluetoothConvergenceLayer.h.
Socket parameters are public fields that should be set after creating the socket but before the socket is used.
Reimplemented from oasys::BluetoothSocket.
Definition at line 203 of file BluetoothConvergenceLayer.h.
Referenced by accepted().
Definition at line 205 of file BluetoothConvergenceLayer.h.
Referenced by dtn::BluetoothConvergenceLayer::interface_down(), dtn::BluetoothConvergenceLayer::interface_up(), and Listener().
1.5.1