ionflux.org | Impressum

Ionflux::Tools::IOEvent Struct Reference
[I/O Multiplexing]

IO Event. More...

#include <IOHandler.hpp>

Collaboration diagram for Ionflux::Tools::IOEvent:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IOEvent ()
 Constructor.

Public Attributes

int fd
 File descriptor on which the event occured.
int type
 Type of event.
void * data
 Data associated with the event (optional).
TCPRemotePeerpeer
 TCP remote peer which caused the event (optional).

Static Public Attributes

static const int IO_READ = 1
 Event type: read.
static const int IO_WRITE = 2
 Event type: write.
static const int IO_EXCEPT = 4
 Event type: except.

Detailed Description

IO Event.

Provides detailed information about an IO event.


Constructor & Destructor Documentation

Ionflux::Tools::IOEvent::IOEvent  )  [inline]
 

Constructor.


Member Data Documentation

void* Ionflux::Tools::IOEvent::data
 

Data associated with the event (optional).

int Ionflux::Tools::IOEvent::fd
 

File descriptor on which the event occured.

const int Ionflux::Tools::IOEvent::IO_EXCEPT = 4 [static]
 

Event type: except.

const int Ionflux::Tools::IOEvent::IO_READ = 1 [static]
 

Event type: read.

const int Ionflux::Tools::IOEvent::IO_WRITE = 2 [static]
 

Event type: write.

TCPRemotePeer* Ionflux::Tools::IOEvent::peer
 

TCP remote peer which caused the event (optional).

int Ionflux::Tools::IOEvent::type
 

Type of event.


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