ProxyPushConsumer.
More...
#include <CEC_ProxyPushConsumer.h>
|
typedef CosEventChannelAdmin::ProxyPushConsumer_ptr | _ptr_type |
|
typedef CosEventChannelAdmin::ProxyPushConsumer_var | _var_type |
|
ProxyPushConsumer.
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 MANAGEMENT The object commits suicide when disconnect_push_consumer() is called.
◆ _ptr_type
◆ _var_type
◆ TAO_CEC_ProxyPushConsumer()
◆ ~TAO_CEC_ProxyPushConsumer()
TAO_CEC_ProxyPushConsumer::~TAO_CEC_ProxyPushConsumer |
( |
| ) |
|
|
virtual |
◆ _add_ref()
void TAO_CEC_ProxyPushConsumer::_add_ref |
( |
| ) |
|
|
virtual |
◆ _decr_refcnt()
◆ _default_POA()
◆ _incr_refcnt()
Increment and decrement the reference count.
◆ _remove_ref()
void TAO_CEC_ProxyPushConsumer::_remove_ref |
( |
| ) |
|
|
virtual |
◆ activate()
void TAO_CEC_ProxyPushConsumer::activate |
( |
CosEventChannelAdmin::ProxyPushConsumer_ptr & | activated_proxy | ) |
|
|
virtual |
◆ apply_policy()
CosEventComm::PushSupplier_ptr TAO_CEC_ProxyPushConsumer::apply_policy |
( |
CosEventComm::PushSupplier_ptr | s | ) |
|
|
protected |
Assigns the parameter to both supplier_ and nopolicy_supplier_, and applies policies (when appropriate) to supplier_.
◆ cleanup_i()
void TAO_CEC_ProxyPushConsumer::cleanup_i |
( |
| ) |
|
|
protected |
◆ connect_push_supplier()
void TAO_CEC_ProxyPushConsumer::connect_push_supplier |
( |
CosEventComm::PushSupplier_ptr | push_supplier | ) |
|
|
virtual |
◆ deactivate()
void TAO_CEC_ProxyPushConsumer::deactivate |
( |
| ) |
|
|
virtual |
◆ disconnect_push_consumer()
void TAO_CEC_ProxyPushConsumer::disconnect_push_consumer |
( |
| ) |
|
|
virtual |
◆ is_connected()
Return false if no supplier is connected...
◆ is_connected_i()
◆ push()
void TAO_CEC_ProxyPushConsumer::push |
( |
const CORBA::Any & | event | ) |
|
|
virtual |
◆ shutdown()
void TAO_CEC_ProxyPushConsumer::shutdown |
( |
| ) |
|
|
virtual |
The event channel is shutting down.
◆ supplier() [1/2]
CosEventComm::PushSupplier_ptr TAO_CEC_ProxyPushConsumer::supplier |
( |
| ) |
const |
Return the consumer object reference. It returns nil() if it has not connected yet.
◆ supplier() [2/2]
void TAO_CEC_ProxyPushConsumer::supplier |
( |
CosEventComm::PushSupplier_ptr | supplier | ) |
|
|
protected |
Set the supplier, used by some implementations to change the policies used when invoking operations on the supplier.
◆ supplier_i()
void TAO_CEC_ProxyPushConsumer::supplier_i |
( |
CosEventComm::PushSupplier_ptr | supplier | ) |
|
|
protected |
◆ supplier_non_existent()
Invoke the _non_existent() pseudo-operation on the supplier. If it is disconnected then it returns true and sets the @ disconnected flag.
◆ TAO_CEC_ProxyPushConsumer_Guard
◆ connected_
bool TAO_CEC_ProxyPushConsumer::connected_ |
|
private |
If the flag is true then we are connected, notice that the supplier can be nil.
◆ default_POA_
◆ event_channel_
The supplier admin, used for activation and memory management.
◆ lock_
ACE_Lock* TAO_CEC_ProxyPushConsumer::lock_ |
|
private |
◆ nopolicy_supplier_
CosEventComm::PushSupplier_var TAO_CEC_ProxyPushConsumer::nopolicy_supplier_ |
|
private |
The supplier without any policies applied.
◆ refcount_
◆ supplier_
CosEventComm::PushSupplier_var TAO_CEC_ProxyPushConsumer::supplier_ |
|
private |
The supplier – use apply_policy() instead of assigning directly to supplier_. This will keep supplier_ and nopolicy_supplier_ in sync.
◆ timeout_
The documentation for this class was generated from the following files: