#include <CEC_ProxyPushConsumer.h>
Collaboration diagram for TAO_CEC_ProxyPushConsumer:
Public Types | |
typedef CosEventChannelAdmin::ProxyPushConsumer_ptr | _ptr_type |
typedef CosEventChannelAdmin::ProxyPushConsumer_var | _var_type |
Public Methods | |
TAO_CEC_ProxyPushConsumer (TAO_CEC_EventChannel *event_channel) | |
constructor... More... | |
virtual | ~TAO_CEC_ProxyPushConsumer (void) |
destructor... More... | |
virtual CosEventChannelAdmin::ProxyPushConsumer_ptr | activate (ACE_ENV_SINGLE_ARG_DECL) throw (CORBA::SystemException) |
Activate in the POA. More... | |
virtual void | deactivate (ACE_ENV_SINGLE_ARG_DECL) throw (CORBA::SystemException) |
Deactivate from the POA. More... | |
CORBA::Boolean | is_connected (void) const |
Return 0 if no supplier is connected... More... | |
CosEventComm::PushSupplier_ptr | supplier (void) const |
Return the consumer object reference. It returns nil() if it has not connected yet. More... | |
CORBA::Boolean | supplier_non_existent (CORBA::Boolean_out disconnected ACE_ENV_ARG_DECL) |
Invoke the _non_existent() pseudo-operation on the supplier. More... | |
virtual void | shutdown (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) |
The event channel is shutting down. More... | |
CORBA::ULong | _incr_refcnt (void) |
Increment and decrement the reference count. More... | |
CORBA::ULong | _decr_refcnt (void) |
virtual void | connect_push_supplier (CosEventComm::PushSupplier_ptr push_supplier ACE_ENV_ARG_DECL_NOT_USED) throw (CORBA::SystemException, CosEventChannelAdmin::AlreadyConnected) |
virtual void | push (const CORBA::Any &event ACE_ENV_ARG_DECL_NOT_USED) throw (CORBA::SystemException) |
virtual void | disconnect_push_consumer (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) throw (CORBA::SystemException) |
virtual PortableServer::POA_ptr | _default_POA (ACE_ENV_SINGLE_ARG_DECL) |
virtual void | _add_ref (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) |
virtual void | _remove_ref (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) |
Protected Methods | |
void | supplier (CosEventComm::PushSupplier_ptr supplier) |
Set the supplier, used by some implementations to change the policies used when invoking operations on the supplier. More... | |
void | supplier_i (CosEventComm::PushSupplier_ptr supplier) |
CORBA::Boolean | is_connected_i (void) const |
The private version (without locking) of is_connected(). More... | |
void | cleanup_i (void) |
Release the supplier. More... | |
Private Attributes | |
TAO_CEC_EventChannel * | event_channel_ |
The supplier admin, used for activation and memory managment. More... | |
ACE_Lock * | lock_ |
The locking strategy. More... | |
CORBA::ULong | refcount_ |
The reference count. More... | |
CosEventComm::PushSupplier_var | supplier_ |
The supplier.... More... | |
int | connected_ |
If the flag is not zero then we are connected, notice that the supplier can be nil. More... | |
PortableServer::POA_var | default_POA_ |
Store the default POA. More... | |
Friends | |
class | TAO_CEC_ProxyPushConsumer_Guard |
Implement the CosEventChannelAdmin::ProxyPushConsumer interface, remember that this class is used to communicate with a PushSupplier, so, in effect, this is the ambassador for a supplier inside the event channel. = MEMORY MANAGMENT The object commits suicide when disconnect_push_consumer() is called.
|
|
|
|
|
constructor...
|
|
destructor...
|
|
|
|
|
|
|
|
Increment and decrement the reference count.
|
|
|
|
Activate in the POA.
|
|
Release the supplier.
|
|
|
|
Deactivate from the POA.
|
|
|
|
Return 0 if no supplier is connected...
|
|
The private version (without locking) of is_connected().
|
|
|
|
The event channel is shutting down.
|
|
Set the supplier, used by some implementations to change the policies used when invoking operations on the supplier.
|
|
Return the consumer object reference. It returns nil() if it has not connected yet.
|
|
|
|
Invoke the _non_existent() pseudo-operation on the supplier. If it is disconnected then it returns true and sets the <disconnected> flag. |
|
|
|
If the flag is not zero then we are connected, notice that the supplier can be nil.
|
|
Store the default POA.
|
|
The supplier admin, used for activation and memory managment.
|
|
The locking strategy.
|
|
The reference count.
|
|
The supplier....
|