TAO_CosEvent 4.0.2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
TAO_CEC_SupplierControl Class Reference

SupplierControl. More...

#include <CEC_SupplierControl.h>

Inheritance diagram for TAO_CEC_SupplierControl:
Inheritance graph
[legend]

Public Member Functions

 TAO_CEC_SupplierControl ()
 Constructor.
 
virtual ~TAO_CEC_SupplierControl ()
 destructor...
 
virtual int activate ()
 
virtual int shutdown ()
 
virtual void supplier_not_exist (TAO_CEC_ProxyPushConsumer *proxy)
 
virtual void supplier_not_exist (TAO_CEC_ProxyPullConsumer *proxy)
 
virtual void system_exception (TAO_CEC_ProxyPullConsumer *proxy, CORBA::SystemException &)
 Some system exception was rasied while trying to push an event.
 
virtual bool need_to_disconnect (PortableServer::ServantBase *proxy)
 
virtual void successful_transmission (PortableServer::ServantBase *proxy)
 Allow others to inform us when a send or receive was successful.
 

Detailed Description

SupplierControl.

Defines the interface for the supplier control strategy. This strategy handles misbehaving or failing suppliers. = MEMORY MANAGEMENT = LOCKING = TODO

Constructor & Destructor Documentation

◆ TAO_CEC_SupplierControl()

TAO_CEC_SupplierControl::TAO_CEC_SupplierControl ( )

Constructor.

◆ ~TAO_CEC_SupplierControl()

TAO_CEC_SupplierControl::~TAO_CEC_SupplierControl ( )
virtual

destructor...

Member Function Documentation

◆ activate()

int TAO_CEC_SupplierControl::activate ( )
virtual

Activate any internal threads or timers used to poll the state of the suppliers

Reimplemented in TAO_CEC_Reactive_SupplierControl.

◆ need_to_disconnect()

bool TAO_CEC_SupplierControl::need_to_disconnect ( PortableServer::ServantBase * proxy)
virtual

Do we need to disconnect this supplier? The parameter type for proxy is PortableServer::ServantBase* due to the fact that this method will be used for TAO_CEC_ProxyPushSupplier's and TAO_CEC_ProxyPullSupplier's.

Reimplemented in TAO_CEC_Reactive_SupplierControl.

◆ shutdown()

int TAO_CEC_SupplierControl::shutdown ( )
virtual

◆ successful_transmission()

void TAO_CEC_SupplierControl::successful_transmission ( PortableServer::ServantBase * proxy)
virtual

Allow others to inform us when a send or receive was successful.

Reimplemented in TAO_CEC_Reactive_SupplierControl.

◆ supplier_not_exist() [1/2]

void TAO_CEC_SupplierControl::supplier_not_exist ( TAO_CEC_ProxyPullConsumer * proxy)
virtual

Invoked by helper classes when they detect that a supplier does not exists (i.e. _non_existent() returns true and/or the CORBA::OBJECT_NOT_EXIST exception has been raised).

Reimplemented in TAO_CEC_Reactive_SupplierControl.

◆ supplier_not_exist() [2/2]

void TAO_CEC_SupplierControl::supplier_not_exist ( TAO_CEC_ProxyPushConsumer * proxy)
virtual

Invoked by helper classes when they detect that a supplier does not exists (i.e. _non_existent() returns true and/or the CORBA::OBJECT_NOT_EXIST exception has been raised).

Reimplemented in TAO_CEC_Reactive_SupplierControl.

◆ system_exception()

void TAO_CEC_SupplierControl::system_exception ( TAO_CEC_ProxyPullConsumer * proxy,
CORBA::SystemException &  )
virtual

Some system exception was rasied while trying to push an event.

Reimplemented in TAO_CEC_Reactive_SupplierControl.


The documentation for this class was generated from the following files: