Enum of event types
Convenience alias to avoid public imports
Enum of the status when finalize() is called.
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.
Events to register the conduit for.
Sets the timeout manager expiry registration.
I/O device instance
Finalize method, called after this instance has been unregistered from the Dispatcher. Intended to be overridden by a subclass if required.
Produces a string containing information about this instance: Dynamic type, file descriptor and events.
I/O event handler
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 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.
Register method, called after this client is registered with the SelectDispatcher. Intended to be overridden by a subclass if required.
Called by registered(); may be overridden by a subclass.
Timeout method, called after a timeout occurs in the SelectDispatcher eventLoop. Intended to be overridden by a subclass if required.
ISelectClientInfo method.
Returns a string describing this client, for use in debug messages.
Unregister method, called after this client is unregistered from the SelectDispatcher. Intended to be overridden by a subclass if required.
Called by unregistered(); may be overridden by a subclass.
Connection time out in microseconds. Effective only when used with an EpollSelectDispatcher which has timeouts enabled. A value of 0 has no effect.
Invoked when the client times out.
Identifier string for debugging.
Models a handle-oriented device.
Returns true if the client's file handle is registered with epoll for the events specified with the client reference as attachment. Returns false if the client's file handle is not registered with epoll or, when multiple instances of the implementing class share the same file handle, if it is registered with another instance.
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.
ISelectClient abstract class