IFiberSelectClient

IFiberSelectClient abstract class

Constructors

this
this(SelectFiber fiber)

Constructor

Members

Aliases

SelectFiber
alias SelectFiber = .SelectFiber

Type alias for subclass constructors

Functions

error_
void error_(Exception e, Event event)

Error reporting method, called when either an Exception is caught from handle() or an error event is reported; kills the fiber.

finalize
void finalize(FinalizeStatus status)

Finalize method, called after this instance has been unregistered from the Dispatcher; kills the fiber and calls the super-class' finalize() method (which calls a finalizer delegate, if one has been set).

timeout
void timeout()

Timeout method, called after this a timeout has occurred in the SelectDispatcher; kills the fiber.

Variables

fiber
SelectFiber fiber;

Fiber instance

io_error
bool io_error;

Flag set to true when the error_() method is called due to an I/O error event. The flag is always reset in the finalize() method.

Inherited Members

From IAdvancedSelectClient

IFinalizer
interface IFinalizer
IErrorReporter
interface IErrorReporter
ITimeoutReporter
interface ITimeoutReporter
finalizer
void finalizer(IFinalizer finalizer_)

Sets the Finalizer. May be set to null to disable finalizing.

timeout_reporter
void timeout_reporter(ITimeoutReporter timeout_reporter_)

Sets the TimeoutReporter. May be set to null to disable timeout reporting.

error_reporter
void error_reporter(IErrorReporter error_reporter_)

Sets the Error Reporter. May be set to null to disable error reporting.

finalize
void finalize(FinalizeStatus status)

Finalize method, called after this instance has been unregistered from the Dispatcher.

error_
void error_(Exception exception, Event event)

Error reporting method, called when an Exception is caught from super.handle().

timeout
void timeout()

Timeout method, called after this a timeout has occurred in the SelectDispatcher.

Meta