AsioEvent [Src]
Functions for asynchronous event notification.
primitive val AsioEvent
Constructors
create [Src]
new val create()
: AsioEvent val^
Returns
- AsioEvent val^
Public Functions
none [Src]
An empty event.
fun box none()
: Pointer[AsioEvent val] tag
Returns
readable [Src]
Returns true if the flags contain the readable flag.
fun box readable(
flags: U32 val)
: Bool val
Parameters
- flags: U32 val
Returns
- Bool val
writeable [Src]
Returns true if the flags contain the writeable flag.
fun box writeable(
flags: U32 val)
: Bool val
Parameters
- flags: U32 val
Returns
- Bool val
disposable [Src]
Returns true if the event should be disposed of.
fun box disposable(
flags: U32 val)
: Bool val
Parameters
- flags: U32 val
Returns
- Bool val
dispose [Src]
fun box dispose()
: U32 val
Returns
- U32 val
read [Src]
fun box read()
: U32 val
Returns
- U32 val
write [Src]
fun box write()
: U32 val
Returns
- U32 val
timer [Src]
fun box timer()
: U32 val
Returns
- U32 val
signal [Src]
fun box signal()
: U32 val
Returns
- U32 val
read_write [Src]
fun box read_write()
: U32 val
Returns
- U32 val
oneshot [Src]
fun box oneshot()
: U32 val
Returns
- U32 val
read_write_oneshot [Src]
fun box read_write_oneshot()
: U32 val
Returns
- U32 val
eq [Src]
fun box eq(
that: AsioEvent val)
: Bool val
Parameters
- that: AsioEvent val
Returns
- Bool val
ne [Src]
fun box ne(
that: AsioEvent val)
: Bool val
Parameters
- that: AsioEvent val
Returns
- Bool val