#include <CEC_ProxyPullConsumer.h>
Collaboration diagram for TAO_CEC_ProxyPullConsumer:
Public Types | |
typedef CosEventChannelAdmin::ProxyPullConsumer_ptr | _ptr_type |
typedef CosEventChannelAdmin::ProxyPullConsumer_var | _var_type |
Public Member Functions | |
TAO_CEC_ProxyPullConsumer (TAO_CEC_EventChannel *event_channel) | |
constructor... | |
virtual | ~TAO_CEC_ProxyPullConsumer (void) |
destructor... | |
CosEventComm::PullSupplier_ptr | supplier (void) const |
CORBA::Any * | try_pull_from_supplier (CORBA::Boolean_out has_event) |
Pulls from the supplier, verifies that it is connected. | |
CORBA::Any * | pull_from_supplier () |
CORBA::Boolean | supplier_non_existent (CORBA::Boolean_out disconnected) |
virtual void | shutdown (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) |
The event channel is shutting down. | |
CORBA::ULong | _incr_refcnt (void) |
Increment and decrement the reference count. | |
CORBA::ULong | _decr_refcnt (void) |
virtual void | _add_ref () |
virtual void | _remove_ref () |
Public Attributes | |
virtual void virtual activate(CosEventChannelAdmin::ProxyPullConsumer_ptr &activated_proxy) ACE_THROW_SPEC((CORBA void deactivate() ACE_THROW_SPEC((CORBA CORBA::Boolea | is_connected )(void) const |
Return 0 if no supplier is connected... | |
virtual void virtual connect_pull_supplier(CosEventComm::PullSupplier_ptr pull_supplier ACE_ENV_ARG_DECL_NOT_USED) ACE_THROW_SPEC((CORBA void virtual disconnect_pull_consumer(ACE_ENV_SINGLE_ARG_DECL_NOT_USED) ACE_THROW_SPEC((CORBA PortableServer::POA_pt | _default_POA )() |
Protected Member Functions | |
void | supplier (CosEventComm::PullSupplier_ptr supplier) |
void | supplier_i (CosEventComm::PullSupplier_ptr supplier) |
CORBA::Boolean | is_connected_i (void) const |
The private version (without locking) of is_connected(). | |
void | cleanup_i (void) |
Release the supplier. | |
Private Attributes | |
TAO_CEC_EventChannel * | event_channel_ |
The supplier admin, used for activation and memory managment. | |
ACE_Lock * | lock_ |
The locking strategy. | |
CORBA::ULong | refcount_ |
The reference count. | |
CosEventComm::PullSupplier_var | supplier_ |
The supplier.... | |
PortableServer::POA_var | default_POA_ |
Store the default POA. |
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.
|
|
|
|
|
constructor...
|
|
destructor...
|
|
|
|
|
|
Increment and decrement the reference count.
|
|
|
|
Release the supplier.
|
|
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. |
|
Pulls from the supplier, verifies that it is connected.
|
|
|
|
Store the default POA.
|
|
The supplier admin, used for activation and memory managment.
|
|
Return 0 if no supplier is connected...
|
|
The locking strategy.
|
|
The reference count.
|
|
The supplier....
|