IFiberSelectProtocol.this

Constructor

Note: If distinguishing between warnings and errors is not desired or required, pass the same object for warning_e and error_e.

  1. this(ISelectable conduit, Event events, SelectFiber fiber)
  2. this(ISelectable conduit, Event events, SelectFiber fiber, IOWarning warning_e, IOError error_e)
    class IFiberSelectProtocol
    protected
    this
  3. this(typeof(this) other, Event events)

Parameters

conduit ISelectable

I/O device

events Event

the epoll events to register the device for

fiber SelectFiber

fiber to use to suspend and resume operation

warning_e IOWarning

Exception instance to throw for warnings

error_e IOError

Exception instance to throw on errors and to query device specific error codes if possible

Meta