#include <CEC_Reactive_Pulling_Strategy.h>
Inheritance diagram for TAO_CEC_Reactive_Pulling_Strategy:
Public Methods | |
TAO_CEC_Reactive_Pulling_Strategy (const ACE_Time_Value &rate, TAO_CEC_EventChannel *event_channel, CORBA::ORB_ptr orb) | |
The scheduler is used to find the range of priorities and similar info. More... | |
void | handle_timeout (const ACE_Time_Value &tv, const void *arg) |
Receive the timeout from the adapter. More... | |
virtual void | activate (void) |
Initialize all the data structures, activate any internal threads, etc. More... | |
virtual void | shutdown (void) |
Deactivate any internal threads and cleanup internal data structures, it should only return once the threads have finished their jobs. More... | |
Private Attributes | |
TAO_CEC_Pulling_Strategy_Adapter | adapter_ |
The Adapter for the reactor events. More... | |
ACE_Time_Value | rate_ |
The polling rate. More... | |
TAO_CEC_EventChannel * | event_channel_ |
The event channel. More... | |
CORBA::ORB_var | orb_ |
The ORB. More... | |
CORBA::PolicyCurrent_var | policy_current_ |
To control the timeout policy in the thread. More... | |
CORBA::PolicyList | policy_list_ |
Precomputed policy list to the set timeout. More... | |
ACE_Reactor * | reactor_ |
The ORB reactor. More... | |
int | timer_id_ |
The timer id. More... |
The events are dispatched in FIFO ordering, using the invoking thread to push the event to the consumer.
|
The scheduler is used to find the range of priorities and similar info.
|
|
Initialize all the data structures, activate any internal threads, etc.
Reimplemented from TAO_CEC_Pulling_Strategy. |
|
Receive the timeout from the adapter.
|
|
Deactivate any internal threads and cleanup internal data structures, it should only return once the threads have finished their jobs.
Reimplemented from TAO_CEC_Pulling_Strategy. |
|
The Adapter for the reactor events.
|
|
The event channel.
|
|
The ORB.
|
|
To control the timeout policy in the thread.
|
|
Precomputed policy list to the set timeout.
|
|
The polling rate.
|
|
The ORB reactor.
|
|
The timer id.
|