TimeoutManagerBase.register

Registers registration and sets the timeout for its client.

class TimeoutManagerBase
protected
register
out (expiry) { assert (expiry); }

Parameters

registration IExpiryRegistration

IExpiryRegistration instance to register

timeout_us ulong

timeout in microseconds from now

Return Value

Type: Expiry*

expiry token: required for unregister(); the "key" member is the wall clock time of expiration as UNIX time in microseconds.

Meta