TAO_CosEvent
2.3.1
|
ConsumerControl. More...
#include <CEC_ConsumerControl.h>
Public Member Functions | |
TAO_CEC_ConsumerControl (void) | |
virtual | ~TAO_CEC_ConsumerControl (void) |
destructor... More... | |
virtual int | activate (void) |
virtual int | shutdown (void) |
virtual void | consumer_not_exist (TAO_CEC_ProxyPushSupplier *proxy) |
virtual void | consumer_not_exist (TAO_CEC_ProxyPullSupplier *proxy) |
virtual void | system_exception (TAO_CEC_ProxyPushSupplier *proxy, CORBA::SystemException &) |
Some system exception was rasied while trying to push an event. More... | |
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. More... | |
ConsumerControl.
Defines the interface for the consumer control strategy. This strategy handles misbehaving or failing consumers. = MEMORY MANAGMENT = LOCKING = TODO
TAO_CEC_ConsumerControl::TAO_CEC_ConsumerControl | ( | void | ) |
Constructor. It does not assume ownership of the <event_channel> parameter.
|
virtual |
destructor...
|
virtual |
Activate any internal threads or timers used to poll the state of the consumers
Reimplemented in TAO_CEC_Reactive_ConsumerControl.
|
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_CEC_Reactive_ConsumerControl.
|
virtual |
Invoked by helper classes when they detect that a consumer no longer exists (i.e. _non_existent() returns true and/or the CORBA::OBJECT_NOT_EXIST exception has been raised).
Reimplemented in TAO_CEC_Reactive_ConsumerControl.
|
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_ConsumerControl.
|
virtual |
Reimplemented in TAO_CEC_Reactive_ConsumerControl.
|
virtual |
Allow others to inform us when a send or receive was successful.
Reimplemented in TAO_CEC_Reactive_ConsumerControl.
|
virtual |
Some system exception was rasied while trying to push an event.
Reimplemented in TAO_CEC_Reactive_ConsumerControl.