IExpiryRegistration

General timeout manager expiry registration object interface

Members

Functions

id
cstring id()

Identifier string for debugging.

register
bool register(ulong timeout_us)

Sets the timeout for the client and registers it with the timeout manager. On timeout the client will automatically be unregistered. The client must not currently be registered.

timed_out
bool timed_out()
timeout
ITimeoutClient timeout()

Invoked by the timeout manager when the client times out. Invokes the timeout() method of the current client.

unregister
bool unregister()

Unregisters the current client. If a client is currently not registered, nothing is done. It depends from the implementation whether the client remains associated to this registration or not.

Meta