ProxyPullConsumer.
More...
#include <CEC_ProxyPullConsumer.h>
List of all members.
Public Types |
typedef
CosEventChannelAdmin::ProxyPullConsumer_ptr | _ptr_type |
typedef
CosEventChannelAdmin::ProxyPullConsumer_var | _var_type |
Detailed Description
ProxyPullConsumer.
Implement the CosEventChannelAdmin::ProxyPullConsumer interface, remember that this class is used to communicate with a PullSupplier, so, in effect, this is the ambassador for a supplier inside the event channel. = MEMORY MANAGMENT The object commits suicide when disconnect_pull_consumer() is called.
Member Typedef Documentation
Constructor & Destructor Documentation
TAO_CEC_ProxyPullConsumer::~TAO_CEC_ProxyPullConsumer |
( |
void |
| ) |
|
|
virtual |
Member Function Documentation
void TAO_CEC_ProxyPullConsumer::_add_ref |
( |
void |
| ) |
|
|
virtual |
CORBA::ULong TAO_CEC_ProxyPullConsumer::_decr_refcnt |
( |
void |
| ) |
|
CORBA::ULong TAO_CEC_ProxyPullConsumer::_incr_refcnt |
( |
void |
| ) |
|
Increment and decrement the reference count.
void TAO_CEC_ProxyPullConsumer::_remove_ref |
( |
void |
| ) |
|
|
virtual |
void TAO_CEC_ProxyPullConsumer::activate |
( |
CosEventChannelAdmin::ProxyPullConsumer_ptr & |
activated_proxy | ) |
|
|
virtual |
CosEventComm::PullSupplier_ptr TAO_CEC_ProxyPullConsumer::apply_policy |
( |
CosEventComm::PullSupplier_ptr |
s | ) |
|
|
protected |
Assigns the parameter to both supplier_ and nopolicy_supplier_, and applies policies (when appropriate) to supplier_.
void TAO_CEC_ProxyPullConsumer::cleanup_i |
( |
void |
| ) |
|
|
protected |
void TAO_CEC_ProxyPullConsumer::connect_pull_supplier |
( |
CosEventComm::PullSupplier_ptr |
pull_supplier | ) |
|
|
virtual |
void TAO_CEC_ProxyPullConsumer::deactivate |
( |
void |
| ) |
|
|
virtual |
void TAO_CEC_ProxyPullConsumer::disconnect_pull_consumer |
( |
void |
| ) |
|
|
virtual |
Return 0 if no supplier is connected...
CORBA::Boolean TAO_CEC_ProxyPullConsumer::is_connected_i |
( |
void |
| ) |
const |
|
protected |
CORBA::Any * TAO_CEC_ProxyPullConsumer::pull_from_supplier |
( |
void |
| ) |
|
void TAO_CEC_ProxyPullConsumer::shutdown |
( |
void |
| ) |
|
|
virtual |
The event channel is shutting down.
CosEventComm::PullSupplier_ptr TAO_CEC_ProxyPullConsumer::supplier |
( |
void |
| ) |
const |
Return the consumer object reference. It returns nil() if it has not connected yet.
void TAO_CEC_ProxyPullConsumer::supplier |
( |
CosEventComm::PullSupplier_ptr |
supplier | ) |
|
|
protected |
Set the supplier, used by some implementations to change the policies used when invoking operations on the supplier.
void TAO_CEC_ProxyPullConsumer::supplier_i |
( |
CosEventComm::PullSupplier_ptr |
supplier | ) |
|
|
protected |
Invoke the _non_existent() pseudo-operation on the supplier. If it is disconnected then it returns true and sets the <disconnected> flag.
CORBA::Any * TAO_CEC_ProxyPullConsumer::try_pull_from_supplier |
( |
CORBA::Boolean_out |
has_event | ) |
|
Pulls from the supplier, verifies that it is connected.
Member Data Documentation
The supplier admin, used for activation and memory managment.
ACE_Lock* TAO_CEC_ProxyPullConsumer::lock_ |
|
private |
CosEventComm::PullSupplier_var TAO_CEC_ProxyPullConsumer::nopolicy_supplier_ |
|
private |
The supplier without any policies applied.
CosEventComm::PullSupplier_var TAO_CEC_ProxyPullConsumer::supplier_ |
|
private |
The supplier – use apply_policy() instead of assigning directly to supplier_. This will keep supplier_ and nopolicy_supplier_ in sync.
The documentation for this class was generated from the following files: