Error reporting method, called when an Exception is caught from super.handle().
Sets the Error Reporter. May be set to null to disable error reporting.
Finalize method, called after this instance has been unregistered from the Dispatcher.
Sets the Finalizer. May be set to null to disable finalizing.
Timeout method, called after this a timeout has occurred in the SelectDispatcher.
Sets the TimeoutReporter. May be set to null to disable timeout reporting.
Convenience alias to avoid public imports
Enum of event types
Enum of the status when finalize() is called.
I/O device instance
Events to register the conduit for.
Connection time out in microseconds. Effective only when used with an EpollSelectDispatcher which has timeouts enabled. A value of 0 has no effect.
Sets the timeout manager expiry registration.
I/O event handler
Timeout method, called after a timeout occurs in the SelectDispatcher eventLoop. Intended to be overridden by a subclass if required.
Finalize method, called after this instance has been unregistered from the Dispatcher. Intended to be overridden by a subclass if required.
Error reporting method, called when an Exception is caught from handle(). Calls the error_() method, which should be overridden by a subclass if required.
Obtains the current error code of the underlying I/O device.
Register method, called after this client is registered with the SelectDispatcher. Intended to be overridden by a subclass if required.
Unregister method, called after this client is unregistered from the SelectDispatcher. Intended to be overridden by a subclass if required.
Returns true if this.conduit is currently registered for this.events with this as attachment. Returns false if this.conduit is not registered with epoll or, when multiple instances of this class share the same conduit, if it is registered with another instance.
ISelectClientInfo method.
Called by registered(); may be overridden by a subclass.
Called by unregistered(); may be overridden by a subclass.
Returns an identifier string of this instance. Defaults to the name of the class, but may be overridden if more detailed information is required.
Returns a string describing this client, for use in debug messages.
Produces a string containing information about this instance: Dynamic type, file descriptor and events.
IAdvancedSelectClient abstract class
Provides a set of interfaces which can be implemented by classes which desire notification of various events in the select client, and a set of corresponding methods which allow the user to pass an instance of these interfaces to an instance of this class: * IFinalizer interface, set by the finalizer() method, called when a select client is unregistered. * IErrorReporter interface, set by the error_reporter() method, called when an error occurs while handling a select client. * ITimeoutReporter interface, set by the timeout_reporter() method, called when a timeout occurs while handling a select client. * IConnectionInfo interface, set by the connection_info() method, called in debug(ISelectClient) mode when the selector wishes to get a string containing information about the connection a select client is using.