ionflux.org | Impressum

Ionflux::Tools::IOHandler Class Reference
[I/O Multiplexing]

IO event handler. More...

#include <IOHandler.hpp>

Inheritance diagram for Ionflux::Tools::IOHandler:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~IOHandler ()
 Destructor.
virtual void onIO (const IOEvent &event)=0
 Handle IO event.

Detailed Description

IO event handler.

A handler for IO events.


Constructor & Destructor Documentation

virtual Ionflux::Tools::IOHandler::~IOHandler  )  [inline, virtual]
 

Destructor.

Destruct IOHandler object.


Member Function Documentation

virtual void Ionflux::Tools::IOHandler::onIO const IOEvent event  )  [pure virtual]
 

Handle IO event.

Pass an IO event to the object for processing. The IOEvent will have its type flags set according to the events that have been triggered.

Parameters:
event IO event..

Implemented in Ionflux::Tools::TCPClient, and Ionflux::Tools::TCPServer.


The documentation for this class was generated from the following file:
Generated on Tue Mar 14 21:08:25 2006 for Ionflux Tools Class Library (iftools) by  doxygen 1.4.6