TAO_CEC_Dispatching Class Reference

Define the interface for the dispatching strategies. More...

#include <CEC_Dispatching.h>

Inheritance diagram for TAO_CEC_Dispatching:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~TAO_CEC_Dispatching (void)
 destructor...
virtual void activate (void)=0
virtual void shutdown (void)=0
virtual void push (TAO_CEC_ProxyPushSupplier *proxy, const CORBA::Any &event)=0
 The consumer represented by <proxy> should receive <event>.
virtual void push_nocopy (TAO_CEC_ProxyPushSupplier *proxy, CORBA::Any &event)=0

Detailed Description

Define the interface for the dispatching strategies.

The EC may be configured with different dispatching 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.

Definition at line 45 of file CEC_Dispatching.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_CEC_Dispatching::~TAO_CEC_Dispatching ( void   )  [virtual]

destructor...

Definition at line 10 of file CEC_Dispatching.cpp.

00011 {
00012 }


Member Function Documentation

virtual void TAO_CEC_Dispatching::activate ( void   )  [pure virtual]

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

Implemented in TAO_CEC_Reactive_Dispatching, and TAO_CEC_MT_Dispatching.

Referenced by TAO_CEC_TypedEventChannel::activate(), and TAO_CEC_EventChannel::activate().

virtual void TAO_CEC_Dispatching::push ( TAO_CEC_ProxyPushSupplier proxy,
const CORBA::Any &  event 
) [pure virtual]

The consumer represented by <proxy> should receive <event>.

Implemented in TAO_CEC_Reactive_Dispatching, and TAO_CEC_MT_Dispatching.

Referenced by TAO_CEC_ProxyPushSupplier::push().

virtual void TAO_CEC_Dispatching::push_nocopy ( TAO_CEC_ProxyPushSupplier proxy,
CORBA::Any &  event 
) [pure virtual]

Implemented in TAO_CEC_Reactive_Dispatching, and TAO_CEC_MT_Dispatching.

Referenced by TAO_CEC_ProxyPushSupplier::push_nocopy().

virtual void TAO_CEC_Dispatching::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_Dispatching, and TAO_CEC_MT_Dispatching.

Referenced by TAO_CEC_TypedEventChannel::shutdown(), and TAO_CEC_EventChannel::shutdown().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:44:58 2010 for TAO_CosEvent by  doxygen 1.4.7