TAO_CEC_ProxyPullSupplier Class Reference
ProxyPullSupplier.
More...
#include <CEC_ProxyPullSupplier.h>
List of all members.
Detailed Description
ProxyPullSupplier.
Implement the CosEventChannelAdmin::ProxyPullSupplier interface, remember that this class is used to communicate with a PullConsumer, so, in effect, this is the ambassador for a consumer inside the event channel. = MEMORY MANAGMENT It does not assume ownership of the TAO_CEC_Dispatching object. It makes a copy of the ConsumerQOS and the consumer object reference. = LOCKING Locking is strategized, the event channel acts as a factory for the locking strategies.
Member Typedef Documentation
Constructor & Destructor Documentation
| TAO_CEC_ProxyPullSupplier::~TAO_CEC_ProxyPullSupplier |
( |
void |
|
) |
[virtual] |
Member Function Documentation
| void TAO_CEC_ProxyPullSupplier::_add_ref |
( |
void |
|
) |
[virtual] |
| CORBA::ULong TAO_CEC_ProxyPullSupplier::_decr_refcnt |
( |
void |
|
) |
|
| CORBA::ULong TAO_CEC_ProxyPullSupplier::_incr_refcnt |
( |
void |
|
) |
|
Increment and decrement the reference count.
| void TAO_CEC_ProxyPullSupplier::_remove_ref |
( |
void |
|
) |
[virtual] |
| void TAO_CEC_ProxyPullSupplier::activate |
( |
CosEventChannelAdmin::ProxyPullSupplier_ptr & |
activated_proxy |
) |
[virtual] |
| CosEventComm::PullConsumer_ptr TAO_CEC_ProxyPullSupplier::apply_policy |
( |
CosEventComm::PullConsumer_ptr |
c |
) |
[protected] |
Assigns the parameter to both consumer_ and nopolicy_consumer_, and applies policies (when appropriate) to consumer_.
| void TAO_CEC_ProxyPullSupplier::cleanup_i |
( |
void |
|
) |
[protected] |
Release the child and the consumer.
| void TAO_CEC_ProxyPullSupplier::connect_pull_consumer |
( |
CosEventComm::PullConsumer_ptr |
pull_consumer |
) |
[virtual] |
| void TAO_CEC_ProxyPullSupplier::consumer |
( |
CosEventComm::PullConsumer_ptr |
consumer |
) |
[inline, protected] |
Set the consumer, used by some implementations to change the policies used when invoking operations on the consumer.
| CosEventComm::PullConsumer_ptr TAO_CEC_ProxyPullSupplier::consumer |
( |
void |
|
) |
const [inline] |
Return the consumer object reference. It returns nil() if it has not connected yet. NOTE: This method does not return a new reference!!! Doing so will increase the locking overhead on the critical path.
| void TAO_CEC_ProxyPullSupplier::consumer_i |
( |
CosEventComm::PullConsumer_ptr |
consumer |
) |
[inline, protected] |
Invoke the _non_existent() pseudo-operation on the consumer. If it is disconnected then it returns true and sets the <disconnected> flag.
| void TAO_CEC_ProxyPullSupplier::deactivate |
( |
void |
|
) |
[virtual] |
| void TAO_CEC_ProxyPullSupplier::disconnect_pull_supplier |
( |
void |
|
) |
[virtual] |
| CORBA::Boolean TAO_CEC_ProxyPullSupplier::is_connected |
( |
void |
|
) |
const [inline] |
Return 0 if no consumer is connected...
| CORBA::Boolean TAO_CEC_ProxyPullSupplier::is_connected_i |
( |
void |
|
) |
const [inline, protected] |
| CORBA::Any * TAO_CEC_ProxyPullSupplier::pull |
( |
void |
|
) |
[virtual] |
| void TAO_CEC_ProxyPullSupplier::push |
( |
const CORBA::Any & |
event |
) |
|
Push an event into the queue.
| void TAO_CEC_ProxyPullSupplier::shutdown |
( |
void |
|
) |
[virtual] |
The event channel is shutting down.
| CORBA::Any * TAO_CEC_ProxyPullSupplier::try_pull |
( |
CORBA::Boolean_out |
has_event |
) |
[virtual] |
Member Data Documentation
If the flag is not zero then we are connected, notice that the consumer can be nil.
The consumer -- use apply_policy() instead of assigning directly to consumer_. This will keep consumer_ and nopolicy_consumer_ in sync.
The Event Channel that owns this object.
The consumer without any policies applied.
Use a message queue to pass the.
The documentation for this class was generated from the following files: