TAO_ECG_ConsumerEC_Control Class Reference

EventChannelControl. More...

#include <ECG_ConsumerEC_Control.h>

Inheritance diagram for TAO_ECG_ConsumerEC_Control:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 TAO_ECG_ConsumerEC_Control (void)
 Constructor.

virtual ~TAO_ECG_ConsumerEC_Control (void)
 Destructor.

virtual int activate (void)
virtual int shutdown (void)
virtual void event_channel_not_exist (TAO_EC_Gateway_IIOP *gateway)
virtual void system_exception (TAO_EC_Gateway_IIOP *gateway, CORBA::SystemException &)

Detailed Description

EventChannelControl.

Defines the interface for the consumer event channel control strategy. This strategy handles misbehaving or failing event channels that are consumer of a gateway.

Definition at line 46 of file ECG_ConsumerEC_Control.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_ECG_ConsumerEC_Control::TAO_ECG_ConsumerEC_Control void   ) 
 

Constructor.

Definition at line 9 of file ECG_ConsumerEC_Control.cpp.

00010 {
00011 }

TAO_ECG_ConsumerEC_Control::~TAO_ECG_ConsumerEC_Control void   )  [virtual]
 

Destructor.

Definition at line 13 of file ECG_ConsumerEC_Control.cpp.

00014 {
00015 }


Member Function Documentation

int TAO_ECG_ConsumerEC_Control::activate void   )  [virtual]
 

Activate any internal threads or timers used to poll the state of the event channel.

Reimplemented in TAO_ECG_Reactive_ConsumerEC_Control, and TAO_ECG_Reconnect_ConsumerEC_Control.

Definition at line 18 of file ECG_ConsumerEC_Control.cpp.

Referenced by TAO_EC_Gateway_IIOP::init_i().

00019 {
00020   return 0;
00021 }

void TAO_ECG_ConsumerEC_Control::event_channel_not_exist TAO_EC_Gateway_IIOP gateway  )  [virtual]
 

When pushing an event to the event channel a CORBA::OBJECT_NOT_EXIST exception was raised. The only interpretation is that the object has been destroyed. The strategy has to (at the very least), reclaim all the resources attached to that object.

Reimplemented in TAO_ECG_Reactive_ConsumerEC_Control, and TAO_ECG_Reconnect_ConsumerEC_Control.

Definition at line 30 of file ECG_ConsumerEC_Control.cpp.

00032 {
00033 }

int TAO_ECG_ConsumerEC_Control::shutdown void   )  [virtual]
 

Shutdown any internal threads or timers used to poll the state of the event channel.

Reimplemented in TAO_ECG_Reactive_ConsumerEC_Control, and TAO_ECG_Reconnect_ConsumerEC_Control.

Definition at line 24 of file ECG_ConsumerEC_Control.cpp.

00025 {
00026   return 0;
00027 }

void TAO_ECG_ConsumerEC_Control::system_exception TAO_EC_Gateway_IIOP gateway,
CORBA::SystemException
[virtual]
 

Some system exception was raised while trying to contact the event channel

Reimplemented in TAO_ECG_Reactive_ConsumerEC_Control, and TAO_ECG_Reconnect_ConsumerEC_Control.

Definition at line 36 of file ECG_ConsumerEC_Control.cpp.

00039 {
00040 }


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 13:16:06 2006 for TAO_RTEvent by doxygen 1.3.6