TAO_EC_ConsumerControl Class Reference

ConsumerControl. More...

#include <EC_ConsumerControl.h>

Inheritance diagram for TAO_EC_ConsumerControl:

Inheritance graph
[legend]
List of all members.

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 &)

Detailed Description

ConsumerControl.

Defines the interface for the consumer control strategy. This strategy handles misbehaving or failing consumers.

Definition at line 49 of file EC_ConsumerControl.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_EC_ConsumerControl::TAO_EC_ConsumerControl ( void   ) 

Constructor.

Definition at line 9 of file EC_ConsumerControl.cpp.

00010 {
00011 }

TAO_EC_ConsumerControl::~TAO_EC_ConsumerControl ( void   )  [virtual]

Destructor.

Definition at line 13 of file EC_ConsumerControl.cpp.

00014 {
00015 }


Member Function Documentation

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().

00019 {
00020   return 0;
00021 }

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().

00031 {
00032 }

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().

00025 {
00026   return 0;
00027 }

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().

00037 {
00038 }


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