Constructor. Creates the internal SignalFD instance but does not mask the standard handling of the specified signals. When this client is registered with epoll, the signals are masked.
Alias for signalfd_siginfo.
Required by ISelectable interface.
Handles events which occurred for the signal event fd.
Checks whether the specified signal is registered to be handled by this client.
Adds the specified signal to the set of signals handled by this client.
Register method, called after this client is registered with the SelectDispatcher.
Unregister method, called after this client is unregistered from the SelectDispatcher.
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.
Signal select event class.