TAO_CosEvent 4.0.2
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
TAO_CEC_TypedProxyPushConsumer Class Reference

#include <CEC_TypedProxyPushConsumer.h>

Inheritance diagram for TAO_CEC_TypedProxyPushConsumer:
Inheritance graph
[legend]
Collaboration diagram for TAO_CEC_TypedProxyPushConsumer:
Collaboration graph
[legend]

Public Types

typedef CosTypedEventChannelAdmin::TypedProxyPushConsumer_ptr _ptr_type
 
typedef CosTypedEventChannelAdmin::TypedProxyPushConsumer_var _var_type
 

Public Member Functions

 TAO_CEC_TypedProxyPushConsumer (TAO_CEC_TypedEventChannel *typed_event_channel, const ACE_Time_Value &timeout)
 Constructor.
 
virtual ~TAO_CEC_TypedProxyPushConsumer ()
 Destructor.
 
virtual void activate (CosTypedEventChannelAdmin::TypedProxyPushConsumer_ptr &activated_proxy)
 Activate in the POA.
 
virtual void deactivate ()
 Deactivate from the POA.
 
CORBA::Boolean supplier_non_existent (CORBA::Boolean_out disconnected)
 
virtual void shutdown ()
 The event channel is shutting down.
 
CORBA::ULong _incr_refcnt ()
 Increment and decrement the reference count.
 
CORBA::ULong _decr_refcnt ()
 
virtual void connect_push_supplier (CosEventComm::PushSupplier_ptr push_supplier)
 
virtual void push (const CORBA::Any &event)
 
virtual void invoke (const TAO_CEC_TypedEvent &typed_event)
 
virtual void disconnect_push_consumer ()
 
virtual CORBA::Object_ptr get_typed_consumer ()
 
virtual PortableServer::POA_ptr _default_POA ()
 
virtual void _add_ref ()
 
virtual void _remove_ref ()
 

Protected Member Functions

CORBA::Boolean is_connected_i () const
 The private version (without locking) of is_connected().
 
void cleanup_i ()
 Release the supplier.
 
CosEventComm::PushSupplier_ptr apply_policy (CosEventComm::PushSupplier_ptr pre)
 

Private Attributes

TAO_CEC_TypedEventChanneltyped_event_channel_
 The typed supplier admin, used for activation and memory management.
 
ACE_Time_Value timeout_
 
ACE_Locklock_
 The locking strategy.
 
CORBA::ULong refcount_
 The reference count.
 
CosEventComm::PushSupplier_var typed_supplier_
 
CosEventComm::PushSupplier_var nopolicy_typed_supplier_
 The typed supplier without any policies applied.
 
TAO_CEC_DynamicImplementationServerdsi_impl_
 The DSI impl.
 
PortableServer::ObjectId_var oid_
 The DSI Portable Server OID.
 
int connected_
 
PortableServer::POA_var default_POA_
 Store the default POA.
 

Friends

class TAO_CEC_TypedProxyPushConsumer_Guard
 The guard needs access to the following protected methods.
 

Member Typedef Documentation

◆ _ptr_type

typedef CosTypedEventChannelAdmin::TypedProxyPushConsumer_ptr TAO_CEC_TypedProxyPushConsumer::_ptr_type

◆ _var_type

typedef CosTypedEventChannelAdmin::TypedProxyPushConsumer_var TAO_CEC_TypedProxyPushConsumer::_var_type

Constructor & Destructor Documentation

◆ TAO_CEC_TypedProxyPushConsumer()

TAO_CEC_TypedProxyPushConsumer::TAO_CEC_TypedProxyPushConsumer ( TAO_CEC_TypedEventChannel * typed_event_channel,
const ACE_Time_Value & timeout )

Constructor.

◆ ~TAO_CEC_TypedProxyPushConsumer()

TAO_CEC_TypedProxyPushConsumer::~TAO_CEC_TypedProxyPushConsumer ( )
virtual

Destructor.

Member Function Documentation

◆ _add_ref()

void TAO_CEC_TypedProxyPushConsumer::_add_ref ( )
virtual

◆ _decr_refcnt()

CORBA::ULong TAO_CEC_TypedProxyPushConsumer::_decr_refcnt ( )

◆ _default_POA()

PortableServer::POA_ptr TAO_CEC_TypedProxyPushConsumer::_default_POA ( )
virtual

◆ _incr_refcnt()

CORBA::ULong TAO_CEC_TypedProxyPushConsumer::_incr_refcnt ( )

Increment and decrement the reference count.

◆ _remove_ref()

void TAO_CEC_TypedProxyPushConsumer::_remove_ref ( )
virtual

◆ activate()

void TAO_CEC_TypedProxyPushConsumer::activate ( CosTypedEventChannelAdmin::TypedProxyPushConsumer_ptr & activated_proxy)
virtual

Activate in the POA.

◆ apply_policy()

CosEventComm::PushSupplier_ptr TAO_CEC_TypedProxyPushConsumer::apply_policy ( CosEventComm::PushSupplier_ptr pre)
protected

Assigns the parameter to both supplier_ and nopolicy_supplier_, and applies policies (when appropriate) to supplier_.

◆ cleanup_i()

void TAO_CEC_TypedProxyPushConsumer::cleanup_i ( )
protected

Release the supplier.

◆ connect_push_supplier()

void TAO_CEC_TypedProxyPushConsumer::connect_push_supplier ( CosEventComm::PushSupplier_ptr push_supplier)
virtual

◆ deactivate()

void TAO_CEC_TypedProxyPushConsumer::deactivate ( )
virtual

Deactivate from the POA.

◆ disconnect_push_consumer()

void TAO_CEC_TypedProxyPushConsumer::disconnect_push_consumer ( )
virtual

◆ get_typed_consumer()

CORBA::Object_ptr TAO_CEC_TypedProxyPushConsumer::get_typed_consumer ( )
virtual

◆ invoke()

void TAO_CEC_TypedProxyPushConsumer::invoke ( const TAO_CEC_TypedEvent & typed_event)
virtual

◆ is_connected_i()

CORBA::Boolean TAO_CEC_TypedProxyPushConsumer::is_connected_i ( ) const
protected

The private version (without locking) of is_connected().

◆ push()

void TAO_CEC_TypedProxyPushConsumer::push ( const CORBA::Any & event)
virtual

◆ shutdown()

void TAO_CEC_TypedProxyPushConsumer::shutdown ( )
virtual

The event channel is shutting down.

◆ supplier_non_existent()

CORBA::Boolean TAO_CEC_TypedProxyPushConsumer::supplier_non_existent ( CORBA::Boolean_out disconnected)

Invoke the _non_existent() pseudo-operation on the supplier. If it is disconnected then it returns true and sets the disconnected flag.

Friends And Related Symbol Documentation

◆ TAO_CEC_TypedProxyPushConsumer_Guard

The guard needs access to the following protected methods.

Member Data Documentation

◆ connected_

int TAO_CEC_TypedProxyPushConsumer::connected_
private

If the flag is not zero then we are connected, notice that the supplier can be nil.

◆ default_POA_

PortableServer::POA_var TAO_CEC_TypedProxyPushConsumer::default_POA_
private

Store the default POA.

◆ dsi_impl_

TAO_CEC_DynamicImplementationServer* TAO_CEC_TypedProxyPushConsumer::dsi_impl_
private

The DSI impl.

◆ lock_

ACE_Lock* TAO_CEC_TypedProxyPushConsumer::lock_
private

The locking strategy.

◆ nopolicy_typed_supplier_

CosEventComm::PushSupplier_var TAO_CEC_TypedProxyPushConsumer::nopolicy_typed_supplier_
private

The typed supplier without any policies applied.

◆ oid_

PortableServer::ObjectId_var TAO_CEC_TypedProxyPushConsumer::oid_
private

The DSI Portable Server OID.

◆ refcount_

CORBA::ULong TAO_CEC_TypedProxyPushConsumer::refcount_
private

The reference count.

◆ timeout_

ACE_Time_Value TAO_CEC_TypedProxyPushConsumer::timeout_
private

◆ typed_event_channel_

TAO_CEC_TypedEventChannel* TAO_CEC_TypedProxyPushConsumer::typed_event_channel_
private

The typed supplier admin, used for activation and memory management.

◆ typed_supplier_

CosEventComm::PushSupplier_var TAO_CEC_TypedProxyPushConsumer::typed_supplier_
private

The typed supplier – use apply_policy() instead of assigning directly to typed_supplier_. This will keep typed_supplier_ and nopolicy_typed_supplier_ in sync.


The documentation for this class was generated from the following files: