TimeoutSelectedKeysHandler.opCall

Handles the clients in selected_set that did not time out, then reports a timeout to the timed out clients and unregisters them.

Note that any timed out clients will *not* be handled, even if they have an event fired. Instead they are finalized with status = timeout and unregistered.

class TimeoutSelectedKeysHandler
override
void
opCall
(,
scope bool delegate
(
Exception
)
unhandled_exception_hook
)

Parameters

selected_set epoll_event_t[]

the result list of epoll_wait()

unhandled_exception_hook bool delegate
(
Exception
)

if not null, will be called each time event call results in unhandled exception. May both rethrow and consume exception instance after processing it.

Meta