The C++ framework for developing highly scalable, high performance servers on Windows platforms.

IQueueTimers::Timer Class Reference

Inheritance diagram for IQueueTimers::Timer:

List of all members.


Detailed Description

An interface to a timer that can be set with IQueueTimers.

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

 Timer ()
 Timer (const Timer &rhs)
Timeroperator= (const Timer &rhs)
virtual void OnTimerEx (Handle handle, UserData userData)
 Called after the timer expires.
virtual void OnTimer (UserData userData)=0

Protected Member Functions

virtual ~Timer ()
 We never delete instances of this interface; you must manage the lifetime of the class that implements it.

Member Typedef Documentation

User data that can be passed to Timer via the OnTimer() call when the timeout expires.

Reimplemented in CReadTimeoutDatagramSocketConnectionFilter, and CReadTimeoutStreamSocketConnectionFilter.


Constructor & Destructor Documentation

Timer (  ) 

Timer ( const Timer rhs  ) 

virtual ~Timer (  )  [protected, virtual]

We never delete instances of this interface; you must manage the lifetime of the class that implements it.


Member Function Documentation

Timer& operator= ( const Timer rhs  ) 

virtual void OnTimerEx ( Handle  handle,
UserData  userData 
) [inline, virtual]

Called after the timer expires.

virtual void OnTimer ( UserData  userData  )  [pure virtual]


Generated on Sun Sep 12 19:08:37 2021 for The Server Framework - v7.4 by doxygen 1.5.3