Constructor
Same as unregister but also removes expirty from list of currently expired registrations. That means it can be called from timeout callbacks, contrary to unregister.
Identifier string for debugging.
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 already be registered.
Invokes the timeout() method of the client.
Unregisters the current client. If a client is currently not registered, nothing is done.
Enables access of TimeoutManager internals.
Timeout client: Object that times out after register() has been called when the time interval passed to register() has expired.
Reference to an expiry time item in the registry; this is the key returned from register() and passed to unregister(). The expiry item is null if and only if the client is registered with the timeout manager.
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.
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.
Invoked by the timeout manager when the client times out. Invokes the timeout() method of the current client.
Identifier string for debugging.
Struct storing a reference to an expiry time registry and an item in the registry. An instance of this struct should be owned by each client which is to be registered with the expiry time registry.