TAO_CEC_SupplierControl Class Reference

SupplierControl. More...

#include <CEC_SupplierControl.h>

Inheritance diagram for TAO_CEC_SupplierControl:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 TAO_CEC_SupplierControl (void)
virtual ~TAO_CEC_SupplierControl (void)
 destructor...

virtual int activate (void)
virtual int shutdown (void)
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 MANAGMENT = LOCKING = TODO

Definition at line 58 of file CEC_SupplierControl.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_CEC_SupplierControl::TAO_CEC_SupplierControl void   ) 
 

Constructor. It does not assume ownership of the parameter.

Definition at line 9 of file CEC_SupplierControl.cpp.

00010 {
00011 }

TAO_CEC_SupplierControl::~TAO_CEC_SupplierControl void   )  [virtual]
 

destructor...

Definition at line 13 of file CEC_SupplierControl.cpp.

00014 {
00015 }


Member Function Documentation

int TAO_CEC_SupplierControl::activate void   )  [virtual]
 

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

Reimplemented in TAO_CEC_Reactive_SupplierControl.

Definition at line 18 of file CEC_SupplierControl.cpp.

Referenced by TAO_CEC_TypedEventChannel::activate().

00019 {
00020   return 0;
00021 }

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.

Definition at line 57 of file CEC_SupplierControl.cpp.

Referenced by TAO_CEC_Ping_Pull_Supplier::work(), and TAO_CEC_Ping_Push_Supplier::work().

00058 {
00059   return true;
00060 }

int TAO_CEC_SupplierControl::shutdown void   )  [virtual]
 

Reimplemented in TAO_CEC_Reactive_SupplierControl.

Definition at line 24 of file CEC_SupplierControl.cpp.

Referenced by TAO_CEC_TypedEventChannel::shutdown().

00025 {
00026   return 0;
00027 }

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.

Definition at line 63 of file CEC_SupplierControl.cpp.

Referenced by TAO_CEC_ProxyPullConsumer::try_pull_from_supplier().

00064 {
00065 }

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.

Definition at line 44 of file CEC_SupplierControl.cpp.

00046 {
00047 }

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.

Definition at line 30 of file CEC_SupplierControl.cpp.

Referenced by TAO_CEC_ProxyPullConsumer::try_pull_from_supplier(), TAO_CEC_Ping_Pull_Supplier::work(), and TAO_CEC_Ping_Push_Supplier::work().

00032 {
00033 }

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.

Definition at line 50 of file CEC_SupplierControl.cpp.

Referenced by TAO_CEC_ProxyPullConsumer::try_pull_from_supplier().

00053 {
00054 }


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 13:19:52 2006 for TAO_CosEvent by doxygen 1.3.6