oasys::IOHandlerBase Class Reference

#include <IO.h>

Inheritance diagram for oasys::IOHandlerBase:

oasys::BluetoothSocket oasys::IOClient oasys::IPSocket oasys::BluetoothClient oasys::BluetoothServer oasys::BluetoothClient oasys::FdIOClient oasys::IPClient oasys::IPClient oasys::TCPServer oasys::RFCOMMClient oasys::BluetoothServerThread oasys::RFCOMMServer oasys::RFCOMMClient oasys::FileIOClient oasys::TCPClient oasys::UDPClient oasys::TCPClient oasys::UDPClient oasys::TCPServerThread List of all members.

Detailed Description

Virtually inherited base class for holding common elements of an I/O handling class.

IOHandlerBase will possess the notifier associated with it XXX/bowei - don't know whether this is appropriate

Definition at line 299 of file IO.h.

Public Member Functions

 IOHandlerBase (Notifier *intr=0)
 ~IOHandlerBase ()
Notifierget_notifier ()
void interrupt_from_io ()
void set_notifier (Notifier *intr)
void set_monitor (IOMonitor *monitor)
void monitor (IO::IO_Op_t op, const IOMonitor::info_t *info)

Private Attributes

Notifierintr_
IOMonitormonitor_


Constructor & Destructor Documentation

oasys::IOHandlerBase::IOHandlerBase ( Notifier intr = 0  )  [inline]

Definition at line 301 of file IO.h.

oasys::IOHandlerBase::~IOHandlerBase (  )  [inline]

Definition at line 303 of file IO.h.

References delete_z, and intr_.


Member Function Documentation

Notifier* oasys::IOHandlerBase::get_notifier (  )  [inline]

Definition at line 305 of file IO.h.

References intr_.

Referenced by dtn::BluetoothConvergenceLayer::Connection::Connection(), oasys::IPSocket::poll_sockfd(), oasys::BluetoothSocket::poll_sockfd(), oasys::IPClient::read(), oasys::FdIOClient::read(), oasys::BluetoothClient::read(), oasys::IPClient::readall(), oasys::FdIOClient::readall(), oasys::BluetoothClient::readall(), oasys::IPClient::readv(), oasys::FdIOClient::readv(), oasys::BluetoothClient::readv(), oasys::IPClient::readvall(), oasys::FdIOClient::readvall(), oasys::BluetoothClient::readvall(), oasys::IPSocket::recv(), oasys::BluetoothSocket::recv(), oasys::IPSocket::recvfrom(), oasys::IPSocket::recvmsg(), dtn::BluetoothConvergenceLayer::Connection::run(), oasys::IPSocket::send(), oasys::BluetoothSocket::send(), dtn::BluetoothConvergenceLayer::Connection::send_loop(), oasys::IPSocket::sendmsg(), oasys::IPSocket::sendto(), oasys::TCPClient::timeout_connect(), oasys::IPClient::timeout_read(), oasys::FdIOClient::timeout_read(), oasys::BluetoothClient::timeout_read(), oasys::IPClient::timeout_readall(), oasys::FdIOClient::timeout_readall(), oasys::BluetoothClient::timeout_readall(), oasys::IPClient::timeout_readv(), oasys::FdIOClient::timeout_readv(), oasys::BluetoothClient::timeout_readv(), oasys::IPClient::timeout_readvall(), oasys::FdIOClient::timeout_readvall(), oasys::BluetoothClient::timeout_readvall(), oasys::IPClient::timeout_write(), oasys::FdIOClient::timeout_write(), oasys::BluetoothClient::timeout_write(), oasys::IPClient::timeout_writeall(), oasys::FdIOClient::timeout_writeall(), oasys::BluetoothClient::timeout_writeall(), oasys::IPClient::timeout_writev(), oasys::FdIOClient::timeout_writev(), oasys::BluetoothClient::timeout_writev(), oasys::IPClient::timeout_writevall(), oasys::FdIOClient::timeout_writevall(), oasys::BluetoothClient::timeout_writevall(), oasys::IPClient::write(), oasys::FdIOClient::write(), oasys::BluetoothClient::write(), oasys::IPClient::writeall(), oasys::FdIOClient::writeall(), oasys::BluetoothClient::writeall(), oasys::IPClient::writev(), oasys::FdIOClient::writev(), oasys::BluetoothClient::writev(), oasys::IPClient::writevall(), oasys::FdIOClient::writevall(), and oasys::BluetoothClient::writevall().

void oasys::IOHandlerBase::interrupt_from_io (  )  [inline]

Definition at line 309 of file IO.h.

References ASSERT, intr_, and oasys::Notifier::notify().

Referenced by dtn::BluetoothConvergenceLayer::Connection::connect(), dtn::UDPConvergenceLayer::interface_down(), dtn::TCPConvergenceLayer::interface_down(), dtn::BluetoothConvergenceLayer::interface_down(), and dtn::BluetoothConvergenceLayer::Connection::interrupt_from_io().

void oasys::IOHandlerBase::set_notifier ( Notifier intr  )  [inline]

Definition at line 314 of file IO.h.

References ASSERT, and intr_.

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

void oasys::IOHandlerBase::set_monitor ( IOMonitor monitor  )  [inline]

Definition at line 319 of file IO.h.

References monitor(), and monitor_.

void oasys::IOHandlerBase::monitor ( IO::IO_Op_t  op,
const IOMonitor::info_t info 
) [inline]

Definition at line 323 of file IO.h.

References info, oasys::IOMonitor::monitor(), and monitor_.

Referenced by oasys::TCPServer::accept(), oasys::BluetoothServer::accept(), oasys::IPClient::read(), oasys::IPClient::readall(), oasys::IPClient::readv(), oasys::IPClient::readvall(), set_monitor(), oasys::TCPServer::timeout_accept(), oasys::BluetoothServer::timeout_accept(), oasys::TCPClient::timeout_connect(), oasys::IPClient::timeout_read(), oasys::IPClient::timeout_readall(), oasys::IPClient::timeout_readv(), oasys::IPClient::timeout_readvall(), oasys::IPClient::timeout_write(), oasys::IPClient::timeout_writeall(), oasys::IPClient::timeout_writev(), oasys::IPClient::timeout_writevall(), oasys::IPClient::write(), oasys::IPClient::writeall(), oasys::IPClient::writev(), and oasys::IPClient::writevall().


Member Data Documentation

Notifier* oasys::IOHandlerBase::intr_ [private]

Definition at line 332 of file IO.h.

Referenced by get_notifier(), interrupt_from_io(), set_notifier(), and ~IOHandlerBase().

IOMonitor* oasys::IOHandlerBase::monitor_ [private]

Definition at line 333 of file IO.h.

Referenced by monitor(), and set_monitor().


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