#include <ECG_ConsumerEC_Control.h>
Inheritance diagram for TAO_ECG_ConsumerEC_Control:
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 &) |
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.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_ECG_ConsumerEC_Control::TAO_ECG_ConsumerEC_Control | ( | void | ) |
TAO_ECG_ConsumerEC_Control::~TAO_ECG_ConsumerEC_Control | ( | void | ) | [virtual] |
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().
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.
Referenced by TAO_EC_Gateway_IIOP::push_to_consumer().
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.
Referenced by TAO_EC_Gateway_IIOP::shutdown().
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 35 of file ECG_ConsumerEC_Control.cpp.
Referenced by TAO_EC_Gateway_IIOP::push_to_consumer().