TAO_Notify_CosEC_ProxyPushSupplier Class Reference

#include <CosEC_ProxyPushSupplier.h>

Inheritance diagram for TAO_Notify_CosEC_ProxyPushSupplier:

Inheritance graph
[legend]
Collaboration diagram for TAO_Notify_CosEC_ProxyPushSupplier:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_Notify_CosEC_ProxyPushSupplier (void)
 Constuctor.

virtual ~TAO_Notify_CosEC_ProxyPushSupplier ()
 Destructor.

virtual const char * get_proxy_type_name (void) const
virtual void connect_push_consumer (CosEventComm::PushConsumer_ptr push_consumer)
virtual void disconnect_push_supplier ()

Private Member Functions

virtual void release (void)
 Release.


Friends

class TAO_Notify_Builder

Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Notify_CosEC_ProxyPushSupplier::TAO_Notify_CosEC_ProxyPushSupplier void   ) 
 

Constuctor.

Definition at line 12 of file CosEC_ProxyPushSupplier.cpp.

00013 {
00014 }

TAO_Notify_CosEC_ProxyPushSupplier::~TAO_Notify_CosEC_ProxyPushSupplier  )  [virtual]
 

Destructor.

Definition at line 16 of file CosEC_ProxyPushSupplier.cpp.

00017 {
00018 }


Member Function Documentation

void TAO_Notify_CosEC_ProxyPushSupplier::connect_push_consumer CosEventComm::PushConsumer_ptr  push_consumer  )  [virtual]
 

Definition at line 29 of file CosEC_ProxyPushSupplier.cpp.

References ACE_NEW_THROW_EX, TAO_Notify_ProxySupplier::connect(), and TAO_Notify_PushConsumer::init().

00030 {
00031   // Convert Consumer to Base Type
00032   TAO_Notify_PushConsumer* consumer;
00033   ACE_NEW_THROW_EX (consumer,
00034                     TAO_Notify_PushConsumer (this),
00035                     CORBA::NO_MEMORY ());
00036 
00037   consumer->init (push_consumer);
00038 
00039   this->connect (consumer);
00040 }

void TAO_Notify_CosEC_ProxyPushSupplier::disconnect_push_supplier  )  [virtual]
 

Definition at line 43 of file CosEC_ProxyPushSupplier.cpp.

References TAO_Notify_ProxySupplier::destroy().

00044 {
00045   TAO_Notify_CosEC_ProxyPushSupplier::Ptr guard( this );
00046   this->destroy ();
00047 }

const char * TAO_Notify_CosEC_ProxyPushSupplier::get_proxy_type_name void   )  const [virtual]
 

Implements TAO_Notify_Proxy.

Definition at line 50 of file CosEC_ProxyPushSupplier.cpp.

00051 {
00052   return "ec_proxy_push_supplier";
00053 }

void TAO_Notify_CosEC_ProxyPushSupplier::release void   )  [private, virtual]
 

Release.

Implements TAO_Notify_Refcountable.

Definition at line 21 of file CosEC_ProxyPushSupplier.cpp.

00022 {
00023 
00024   delete this;
00025   //@@ inform factory
00026 }


Friends And Related Function Documentation

friend class TAO_Notify_Builder [friend]
 

Reimplemented from TAO_Notify_Object.

Definition at line 48 of file CosEC_ProxyPushSupplier.h.


The documentation for this class was generated from the following files:
Generated on Sun Jan 27 15:48:56 2008 for TAO_CosNotification by doxygen 1.3.6