Public Types | |
typedef IQueueTimers::UserData | UserData |
User data that can be passed to Timer via the OnTimer() call when the timeout expires. | |
typedef IQueueTimers::Handle | Handle |
Public Member Functions | |
virtual void | AddRef ()=0 |
virtual void | Release ()=0 |
virtual void | OnTimerEx (Handle handle, UserData userData) |
Called after the timer expires. | |
virtual void | OnTimer (UserData userData)=0 |
Protected Member Functions | |
~RefCountedTimer () override | |
We never delete instances of this interface; you must manage the lifetime of the class that implements it. |
typedef IQueueTimers::UserData UserData [inherited] |
User data that can be passed to Timer via the OnTimer() call when the timeout expires.
Reimplemented in CReadTimeoutDatagramSocketConnectionFilter, and CReadTimeoutStreamSocketConnectionFilter.
typedef IQueueTimers::Handle Handle [inherited] |
~RefCountedTimer | ( | ) | [override, protected] |
We never delete instances of this interface; you must manage the lifetime of the class that implements it.
virtual void AddRef | ( | ) | [pure virtual] |
virtual void Release | ( | ) | [pure virtual] |
Called after the timer expires.
virtual void OnTimer | ( | UserData | userData | ) | [pure virtual, inherited] |