Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

TAO_CEC_TypedProxyPushConsumer Class Reference

#include <CEC_TypedProxyPushConsumer.h>

Collaboration diagram for TAO_CEC_TypedProxyPushConsumer:

Collaboration graph
[legend]
List of all members.

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)
virtual ~TAO_CEC_TypedProxyPushConsumer (void)
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 (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
virtual void _remove_ref (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)

Public Attributes

virtual void virtual activate(CosTypedEventChannelAdmin::TypedProxyPushConsumer_ptr
&activated_proxy ACE_ENV_ARG_DECL)
ACE_THROW_SPEC((CORBA void
deactivate(ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC((CORBA CORBA::Boolea 
supplier_non_existent )(CORBA::Boolean_out disconnected ACE_ENV_ARG_DECL)
 Deactivate from the POA.
virtual void virtual connect_push_supplier(CosEventComm::PushSupplier_ptr
push_supplier ACE_ENV_ARG_DECL_NOT_USED)
ACE_THROW_SPEC((CORBA void
virtual push(const CORBA::Any
&event ACE_ENV_ARG_DECL_NOT_USED)
ACE_THROW_SPEC((CORBA void
virtual invoke(const TAO_CEC_TypedEvent
&typed_event ACE_ENV_ARG_DECL)
ACE_THROW_SPEC((CORBA void
virtual disconnect_push_consumer(ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
ACE_THROW_SPEC((CORBA CORBA::Object_ptr
virtual get_typed_consumer(ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
ACE_THROW_SPEC((CORBA PortableServer::POA_pt 
_default_POA )(ACE_ENV_SINGLE_ARG_DECL)

Protected Member Functions

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_TypedEventChanneltyped_event_channel_
 The typed supplier admin, used for activation and memory managment.
ACE_Locklock_
 The locking strategy.
CORBA::ULong refcount_
 The reference count.
CosEventComm::PushSupplier_var typed_supplier_
 The typed supplier....
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

Member Typedef Documentation

typedef CosTypedEventChannelAdmin::TypedProxyPushConsumer_ptr TAO_CEC_TypedProxyPushConsumer::_ptr_type
 

typedef CosTypedEventChannelAdmin::TypedProxyPushConsumer_var TAO_CEC_TypedProxyPushConsumer::_var_type
 


Constructor & Destructor Documentation

TAO_CEC_TypedProxyPushConsumer::TAO_CEC_TypedProxyPushConsumer TAO_CEC_TypedEventChannel typed_event_channel  ) 
 

TAO_CEC_TypedProxyPushConsumer::~TAO_CEC_TypedProxyPushConsumer void   )  [virtual]
 


Member Function Documentation

virtual void TAO_CEC_TypedProxyPushConsumer::_add_ref ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  [virtual]
 

CORBA::ULong TAO_CEC_TypedProxyPushConsumer::_decr_refcnt void   ) 
 

CORBA::ULong TAO_CEC_TypedProxyPushConsumer::_incr_refcnt void   ) 
 

Increment and decrement the reference count.

virtual void TAO_CEC_TypedProxyPushConsumer::_remove_ref ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS   )  [virtual]
 

void TAO_CEC_TypedProxyPushConsumer::cleanup_i void   )  [protected]
 

Release the supplier.

ACE_INLINE CORBA::Boolean TAO_CEC_TypedProxyPushConsumer::is_connected_i void   )  const [protected]
 

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

void TAO_CEC_TypedProxyPushConsumer::shutdown ACE_ENV_SINGLE_ARG_DECL_NOT_USED   )  [virtual]
 

The event channel is shutting down.


Friends And Related Function Documentation

friend class TAO_CEC_TypedProxyPushConsumer_Guard [friend]
 


Member Data Documentation

PortableServer::POA_ptr TAO_CEC_TypedProxyPushConsumer::_default_POA
 

int TAO_CEC_TypedProxyPushConsumer::connected_ [private]
 

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

PortableServer::POA_var TAO_CEC_TypedProxyPushConsumer::default_POA_ [private]
 

Store the default POA.

TAO_CEC_DynamicImplementationServer* TAO_CEC_TypedProxyPushConsumer::dsi_impl_ [private]
 

The DSI impl.

ACE_Lock* TAO_CEC_TypedProxyPushConsumer::lock_ [private]
 

The locking strategy.

PortableServer::ObjectId_var TAO_CEC_TypedProxyPushConsumer::oid_ [private]
 

The DSI Portable Server OID.

CORBA::ULong TAO_CEC_TypedProxyPushConsumer::refcount_ [private]
 

The reference count.

CORBA::Boolean TAO_CEC_TypedProxyPushConsumer::supplier_non_existent
 

Deactivate from the POA.

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

TAO_CEC_TypedEventChannel* TAO_CEC_TypedProxyPushConsumer::typed_event_channel_ [private]
 

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

CosEventComm::PushSupplier_var TAO_CEC_TypedProxyPushConsumer::typed_supplier_ [private]
 

The typed supplier....


The documentation for this class was generated from the following files:
Generated on Fri Dec 31 16:04:10 2004 for TAO_CosEvent by  doxygen 1.3.9.1