builtin AsioEvent - tadashi9e/gmp4pony GitHub Wiki
Functions for asynchronous event notification.
primitive val AsioEventnew val create()
: AsioEvent val^- AsioEvent val^
An empty event.
fun box none()
: Pointer[AsioEvent val] tagReturns true if the flags contain the readable flag.
fun box readable(
flags: U32 val)
: Bool val- flags: U32 val
- Bool val
Returns true if the flags contain the writeable flag.
fun box writeable(
flags: U32 val)
: Bool val- flags: U32 val
- Bool val
Returns true if the event should be disposed of.
fun box disposable(
flags: U32 val)
: Bool val- flags: U32 val
- Bool val
Returns true if the flags contain the oneshot flag.
fun box oneshotable(
flags: U32 val)
: Bool val- flags: U32 val
- Bool val
fun box dispose()
: U32 val- U32 val
fun box read()
: U32 val- U32 val
fun box write()
: U32 val- U32 val
fun box timer()
: U32 val- U32 val
fun box signal()
: U32 val- U32 val
fun box read_write()
: U32 val- U32 val
fun box oneshot()
: U32 val- U32 val
fun box read_write_oneshot()
: U32 val- U32 val
fun box eq(
that: AsioEvent val)
: Bool val- that: AsioEvent val
- Bool val
fun box ne(
that: AsioEvent val)
: Bool val- that: AsioEvent val
- Bool val