#include <EC_ConsumerControl.h>
Inheritance diagram for TAO_EC_ConsumerControl:
Public Member Functions | |
TAO_EC_ConsumerControl (void) | |
Constructor. | |
virtual | ~TAO_EC_ConsumerControl (void) |
Destructor. | |
virtual int | activate (void) |
virtual int | shutdown (void) |
virtual void | consumer_not_exist (TAO_EC_ProxyPushSupplier *proxy) |
virtual void | system_exception (TAO_EC_ProxyPushSupplier *proxy, CORBA::SystemException &) |
Defines the interface for the consumer control strategy. This strategy handles misbehaving or failing consumers.
Definition at line 49 of file EC_ConsumerControl.h.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_EC_ConsumerControl::TAO_EC_ConsumerControl | ( | void | ) |
TAO_EC_ConsumerControl::~TAO_EC_ConsumerControl | ( | void | ) | [virtual] |
int TAO_EC_ConsumerControl::activate | ( | void | ) | [virtual] |
Activate any internal threads or timers used to poll the state of the consumers
Reimplemented in TAO_EC_Reactive_ConsumerControl.
Definition at line 18 of file EC_ConsumerControl.cpp.
Referenced by TAO_EC_Event_Channel_Base::activate().
void TAO_EC_ConsumerControl::consumer_not_exist | ( | TAO_EC_ProxyPushSupplier * | proxy | ) | [virtual] |
When pushing an event to the consumer 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_EC_Reactive_ConsumerControl.
Definition at line 30 of file EC_ConsumerControl.cpp.
Referenced by TAO_EC_ProxyPushSupplier::reactive_push_to_consumer(), and TAO_EC_Ping_Consumer::work().
int TAO_EC_ConsumerControl::shutdown | ( | void | ) | [virtual] |
Reimplemented in TAO_EC_Reactive_ConsumerControl.
Definition at line 24 of file EC_ConsumerControl.cpp.
Referenced by TAO_EC_Event_Channel_Base::shutdown().
void TAO_EC_ConsumerControl::system_exception | ( | TAO_EC_ProxyPushSupplier * | proxy, | |
CORBA::SystemException & | ||||
) | [virtual] |
Some system exception was raised while trying to contact the consumer
Reimplemented in TAO_EC_Reactive_ConsumerControl.
Definition at line 35 of file EC_ConsumerControl.cpp.
Referenced by TAO_EC_ProxyPushSupplier::reactive_push_to_consumer().