#include <senf/PPI/IOEvent.hh>
An IOEvent is signaled, whenever the FileHandle handle becomes readable or writable. The type of event is specified using the events mask with values from EventFlags.
There are two types of flags:
Definition at line 69 of file IOEvent.hh.
Classes |
|
struct | ErrorException |
Unhandled error condition. More... |
|
struct | HangupException |
Unhandled hangup condition. More... |
|
Public Types |
|
enum |
EventFlags { Read = scheduler::FdEvent::EV_READ, Prio = scheduler::FdEvent::EV_PRIO, Write = scheduler::FdEvent::EV_WRITE, Hup = scheduler::FdEvent::EV_HUP, Err = scheduler::FdEvent::EV_ERR } |
Public Member Functions |
|
template<class Handle > | |
void | set (Handle handle, unsigned events) |
Structors and default members |
|
IOEvent () | |
template<class Handle > | |
IOEvent (Handle handle, unsigned events) |
enum senf::ppi::IOEvent:: | ||||
EventFlags | ||||
Read | FileHandle is readable |
Prio | FileHandle priority data is readable |
Write | FileHandle is writable |
Hup | Hangup condition on FileHandle |
Err | Some other error condition on FileHandle |
Definition at line 79 of file IOEvent.hh.
senf::ppi::IOEvent:: | ||||
IOEvent | () | |||
Definition at line 33 of file IOEvent.cci.
senf::ppi::IOEvent:: | ||||
IOEvent | ( | Handle | handle, | |
unsigned | events | ) | ||
Definition at line 38 of file IOEvent.cti.
void senf::ppi::IOEvent:: | ||||
set | ( | Handle | handle, | |
unsigned | events | ) | ||
Definition at line 34 of file IOEvent.ct.