oasys::RFCOMMServerThread Class Reference

#include <RFCOMMServer.h>

Inheritance diagram for oasys::RFCOMMServerThread:

oasys::BluetoothServerThread oasys::BluetoothServer oasys::Thread oasys::BluetoothSocket oasys::Logger oasys::IOHandlerBase dtn::BluetoothConvergenceLayer::Listener List of all members.

Detailed Description

Definition at line 21 of file RFCOMMServer.h.

Public Member Functions

 RFCOMMServerThread (char *logbase="/rfcommserver", int flags=0)
void set_accept_timeout (int ms)
int rc_bind ()


Constructor & Destructor Documentation

oasys::RFCOMMServerThread::RFCOMMServerThread ( char *  logbase = "/rfcommserver",
int  flags = 0 
) [inline]

Definition at line 23 of file RFCOMMServer.h.


Member Function Documentation

void oasys::RFCOMMServerThread::set_accept_timeout ( int  ms  )  [inline]

Definition at line 32 of file RFCOMMServer.h.

References oasys::BluetoothServerThread::accept_timeout_.

Referenced by dtn::BluetoothConvergenceLayer::Listener::Listener().

int oasys::RFCOMMServerThread::rc_bind (  )  [inline]

Definition at line 37 of file RFCOMMServer.h.

References oasys::Bluetooth::batostr(), oasys::BluetoothSocket::bind(), oasys::BluetoothSocket::channel_, oasys::BluetoothSocket::close(), errno, oasys::BluetoothSocket::local_addr_, log_err, and oasys::RFCOMMChannel::next().

Referenced by dtn::BluetoothConvergenceLayer::Listener::accepted(), dtn::BluetoothConvergenceLayer::Connection::connect(), and dtn::BluetoothConvergenceLayer::interface_up().


The documentation for this class was generated from the following file:
Generated on Fri Dec 22 14:48:06 2006 for DTN Reference Implementation by  doxygen 1.5.1