TAO_CosEvent  2.2.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
TAO_CEC_Pulling_Strategy Class Referenceabstract

Define the interface for the pulling strategies. More...

#include <CEC_Pulling_Strategy.h>

Inheritance diagram for TAO_CEC_Pulling_Strategy:
Inheritance graph
Collaboration diagram for TAO_CEC_Pulling_Strategy:
Collaboration graph

Public Member Functions

virtual ~TAO_CEC_Pulling_Strategy (void)
 destructor... More...
 
virtual void activate (void)=0
 
virtual void shutdown (void)=0
 

Detailed Description

Define the interface for the pulling strategies.

The EC may be configured with different pulling strategies, for instance, it can use a pool of threads to dispatch the events, or a set of queues with threads at different priorities for each queue or can simply push the event to the consumer in FIFO order.

Constructor & Destructor Documentation

TAO_CEC_Pulling_Strategy::~TAO_CEC_Pulling_Strategy ( void  )
virtual

destructor...

Member Function Documentation

virtual void TAO_CEC_Pulling_Strategy::activate ( void  )
pure virtual

Initialize all the data structures, activate any internal threads, etc.

Implemented in TAO_CEC_Reactive_Pulling_Strategy.

virtual void TAO_CEC_Pulling_Strategy::shutdown ( void  )
pure virtual

Deactivate any internal threads and cleanup internal data structures, it should only return once the threads have finished their jobs.

Implemented in TAO_CEC_Reactive_Pulling_Strategy.


The documentation for this class was generated from the following files: