00001 // -*- C++ -*- 00002 /** 00003 * @file EC_TPC_ProxySupplier.h 00004 * 00005 * $Id: EC_TPC_ProxySupplier.h 77001 2007-02-12 07:54:49Z johnnyw $ 00006 * 00007 * @author Chris Cleeland <cleeland at ociweb.com> 00008 * 00009 */ 00010 00011 #ifndef TAO_EC_TPC_PROXYSUPPLIER_H 00012 #define TAO_EC_TPC_PROXYSUPPLIER_H 00013 #include /**/ "ace/pre.h" 00014 00015 #include "orbsvcs/Event/EC_Default_ProxySupplier.h" 00016 00017 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00018 # pragma once 00019 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00020 00021 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00022 00023 class TAO_EC_Dispatching; 00024 class TAO_EC_TPC_Dispatching; 00025 00026 class TAO_RTEvent_Serv_Export TAO_EC_TPC_ProxyPushSupplier : 00027 public TAO_EC_Default_ProxyPushSupplier 00028 { 00029 public: 00030 /// Constructor 00031 TAO_EC_TPC_ProxyPushSupplier (TAO_EC_Event_Channel_Base* event_channel, int validate_connection); 00032 00033 /// Dtor 00034 virtual ~TAO_EC_TPC_ProxyPushSupplier (void); 00035 00036 /*! These are overriden from the base class in order to maintain the 00037 map in the dispatcher class. */ 00038 00039 // = The RtecEventChannelAdmin::ProxyPushSupplier methods... 00040 virtual void connect_push_consumer ( 00041 RtecEventComm::PushConsumer_ptr push_consumer, 00042 const RtecEventChannelAdmin::ConsumerQOS &qos); 00043 00044 virtual void disconnect_push_supplier (void); 00045 00046 private: 00047 typedef TAO_EC_Default_ProxyPushSupplier BASECLASS; 00048 TAO_EC_TPC_Dispatching* tpc_dispatching (); 00049 }; 00050 00051 TAO_END_VERSIONED_NAMESPACE_DECL 00052 00053 #if defined (__ACE_INLINE__) 00054 #include "orbsvcs/Event/EC_TPC_ProxySupplier.inl" 00055 #endif /* __ACE_INLINE__ */ 00056 00057 #include /**/ "ace/post.h" 00058 00059 #endif