AsioEvent

Functions for asynchronous event notification.

primitive val AsioEvent

Constructors

create

new val create()
: AsioEvent val^

Returns


Public Functions

none

An empty event.

fun box none()
: Pointer[AsioEvent val] tag

Returns


readable

Returns true if the flags contain the readable flag.

fun box readable(
  flags: U32 val)
: Bool val

Parameters

  • flags: U32 val

Returns


writeable

Returns true if the flags contain the writeable flag.

fun box writeable(
  flags: U32 val)
: Bool val

Parameters

  • flags: U32 val

Returns


disposable

Returns true if the event should be disposed of.

fun box disposable(
  flags: U32 val)
: Bool val

Parameters

  • flags: U32 val

Returns


dispose

fun box dispose()
: U32 val

Returns


read

fun box read()
: U32 val

Returns


write

fun box write()
: U32 val

Returns


timer

fun box timer()
: U32 val

Returns


signal

fun box signal()
: U32 val

Returns


read_write

fun box read_write()
: U32 val

Returns


oneshot

fun box oneshot()
: U32 val

Returns


read_write_oneshot

fun box read_write_oneshot()
: U32 val

Returns


eq

fun box eq(
  that: AsioEvent val)
: Bool val

Parameters

Returns


ne

fun box ne(
  that: AsioEvent val)
: Bool val

Parameters

Returns