#include <IOHandler.hpp>
Collaboration diagram for Ionflux::Tools::IOEvent:
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). | |
TCPRemotePeer * | peer |
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. |
Provides detailed information about an IO event.
|
Constructor.
|
|
Data associated with the event (optional).
|
|
File descriptor on which the event occured.
|
|
Event type: except.
|
|
Event type: read.
|
|
Event type: write.
|
|
TCP remote peer which caused the event (optional).
|
|
Type of event.
|