TimeoutManagerBase.TimeoutManagerInternal

Enables IExpiryRegistration to access TimeoutManager internals.

Members

Functions

drop
void drop(IExpiryRegistration registration)

If the expiry is present in the list of expired registrations being currently iterated over by checkTimeouts, then it will be removed (its timeout method will not be called). (This means that drop can be called from timeout callbacks, unlike unregister.)

now
ulong now()
register
Expiry* register(IExpiryRegistration registration, ulong timeout_us)

Registers registration and sets the timeout for its client.

unregister
void unregister(Expiry expiry)

Unregisters IExpiryRegistration instance corresponding to expiry.

Inherited Members

From ITimeoutManagerInternal

register
Expiry* register(IExpiryRegistration registration, ulong timeout_us)

Registers registration and sets the timeout.

unregister
void unregister(Expiry expiry)

Unregisters IExpiryRegistration instance corresponding to expiry.

drop
void drop(IExpiryRegistration registration)

Unregisters the specified expiry. If the expiry is present in the list of expired registrations being currently iterated over by checkTimeouts, then it will be removed (its timeout method will not be called). (This means that drop can be called from timeout callbacks, unlike unregister.)

now
ulong now()

Meta