#include <EC_Timeout_Generator.h>

Public Member Functions | |
| virtual | ~TAO_EC_Timeout_Generator (void) |
| destructor | |
| virtual void | activate (void)=0 |
| Activate any internal threads. | |
| virtual void | shutdown (void)=0 |
| virtual int | schedule_timer (TAO_EC_Timeout_Filter *filter, const ACE_Time_Value &delta, const ACE_Time_Value &interval)=0 |
| Add a timer at the given priority, returns the timer ID. | |
| virtual int | cancel_timer (const TAO_EC_QOS_Info &info, int id)=0 |
| Cancel a timer at the given priority. | |
The Event Channel can use several strategies to dispatch timers, for instance, it can use the ORB reactor or a pool of reactors running at different priorities or a pool of Thread_Timer_Queue_Adapters running at different priorities also. This class is the abstract base class to abstract this strategies.
| TAO_EC_Timeout_Generator::~TAO_EC_Timeout_Generator | ( | void | ) | [virtual] |
destructor
| virtual void TAO_EC_Timeout_Generator::activate | ( | void | ) | [pure virtual] |
| virtual int TAO_EC_Timeout_Generator::cancel_timer | ( | const TAO_EC_QOS_Info & | info, | |
| int | id | |||
| ) | [pure virtual] |
| virtual int TAO_EC_Timeout_Generator::schedule_timer | ( | TAO_EC_Timeout_Filter * | filter, | |
| const ACE_Time_Value & | delta, | |||
| const ACE_Time_Value & | interval | |||
| ) | [pure virtual] |
Add a timer at the given priority, returns the timer ID.
Implemented in TAO_EC_Reactive_Timeout_Generator.
| virtual void TAO_EC_Timeout_Generator::shutdown | ( | void | ) | [pure virtual] |
Deactivate any internal threads, clients can destroy the object after calling this method.
Implemented in TAO_EC_Reactive_Timeout_Generator.
1.5.8