#include <framework.h>
Inheritance diagram for AAA_StateMachineWithTimer< ARG >:
Public Member Functions | |
void | ScheduleTimer (AAA_Event ev, ACE_UINT32 sec, ACE_UINT32 usec=0, int type=0) |
void | CancelTimer (int type=0) |
This function is used for canceling a timer event. | |
void | CancelAllTimer () |
Cancel all scheduled timers for this state machine. | |
Protected Member Functions | |
AAA_StateMachineWithTimer (ARG &arg, AAA_StateTable< ARG > &table, ACE_Reactor &r, char *name=0) | |
virtual | ~AAA_StateMachineWithTimer () |
Overloaded by derived class's destractors. | |
virtual void | Timeout (AAA_Event ev)=0 |
|
Constructor. ACE_Reactor maintains the timer queue and is bound to a specific thread. |
|
This function is used for scheduling a timer event. Once scheduled, the same timer event will occur at every specified interval. To stop the timer event, use CancelTimer(). |
|
This function is called from handle_timeout() when a timer event occurs. |