TAO_EC_TPC_ProxyPushConsumer Class Reference

#include <EC_TPC_ProxyConsumer.h>

Inheritance diagram for TAO_EC_TPC_ProxyPushConsumer:

Inheritance graph
[legend]
Collaboration diagram for TAO_EC_TPC_ProxyPushConsumer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_EC_TPC_ProxyPushConsumer (TAO_EC_Event_Channel_Base *ec)
virtual ~TAO_EC_TPC_ProxyPushConsumer (void)
virtual void disconnect_push_consumer (void)
 Disconnect this from.


Private Types

typedef TAO_EC_Default_ProxyPushConsumer BASECLASS

Private Member Functions

TAO_EC_TPC_Dispatchingtpc_dispatching ()

Member Typedef Documentation

typedef TAO_EC_Default_ProxyPushConsumer TAO_EC_TPC_ProxyPushConsumer::BASECLASS [private]
 

Definition at line 41 of file EC_TPC_ProxyConsumer.h.


Constructor & Destructor Documentation

TAO_EC_TPC_ProxyPushConsumer::TAO_EC_TPC_ProxyPushConsumer TAO_EC_Event_Channel_Base ec  ) 
 

Definition at line 14 of file EC_TPC_ProxyConsumer.cpp.

00015 : TAO_EC_Default_ProxyPushConsumer (ec)
00016 {
00017 }

TAO_EC_TPC_ProxyPushConsumer::~TAO_EC_TPC_ProxyPushConsumer void   )  [virtual]
 

Definition at line 28 of file EC_TPC_ProxyConsumer.cpp.

References ACE_DEBUG, LM_DEBUG, and TAO_EC_TPC_debug_level.

00029 {
00030   // @@@ Do I need to call the logic to remove the consumer from the
00031   // dispatch map in here?  I'm not sure...  But, if I do, then I need
00032   // to fact that "remove" code out of just the
00033   // disconnect_push_consumer.
00034   if (TAO_EC_TPC_debug_level > 0)
00035     ACE_DEBUG ((LM_DEBUG, "RTEC (%P|%t): inside ~TAO_EC_TPC_ProxyPushConsumer (%x)\n", this));
00036 }


Member Function Documentation

void TAO_EC_TPC_ProxyPushConsumer::disconnect_push_consumer void   )  [virtual]
 

Disconnect this from.

Reimplemented from TAO_EC_Default_ProxyPushConsumer.

Definition at line 39 of file EC_TPC_ProxyConsumer.cpp.

References TAO_EC_TPC_Dispatching::remove_consumer(), and tpc_dispatching().

00040 {
00041   RtecEventComm::PushConsumer_var emulated_exceptions_suck =
00042     this->_this ();
00043 
00044   this->tpc_dispatching ()->remove_consumer (emulated_exceptions_suck.in ());
00045 
00046   BASECLASS::disconnect_push_consumer ();
00047 }

TAO_EC_TPC_Dispatching * TAO_EC_TPC_ProxyPushConsumer::tpc_dispatching  )  [private]
 

Definition at line 20 of file EC_TPC_ProxyConsumer.cpp.

References TAO_EC_Event_Channel_Base::dispatching().

Referenced by disconnect_push_consumer().

00021 {
00022   TAO_EC_Dispatching* dispatcher = this->event_channel_->dispatching ();
00023   TAO_EC_TPC_Dispatching* tpcdispatcher =
00024     dynamic_cast<TAO_EC_TPC_Dispatching*>(dispatcher);
00025   return tpcdispatcher;
00026 }


The documentation for this class was generated from the following files:
Generated on Sun Jan 27 13:43:24 2008 for TAO_RTEvent by doxygen 1.3.6