00001 /* -*- C++ -*- */ 00002 /** 00003 * @file SequenceProxyPushSupplier.h 00004 * 00005 * $Id: SequenceProxyPushSupplier.h 81422 2008-04-24 12:33:29Z johnnyw $ 00006 * 00007 * @author Pradeep Gore <pradeep@oomworks.com> 00008 * 00009 * 00010 */ 00011 00012 #ifndef TAO_Notify_SEQUENCEPROXYPUSHSUPPLIER_H 00013 #define TAO_Notify_SEQUENCEPROXYPUSHSUPPLIER_H 00014 00015 #include /**/ "ace/pre.h" 00016 00017 #include "orbsvcs/Notify/notify_serv_export.h" 00018 00019 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00020 # pragma once 00021 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00022 00023 #include "orbsvcs/CosNotifyChannelAdminS.h" 00024 00025 #include "orbsvcs/Notify/ProxySupplier_T.h" 00026 00027 #if defined(_MSC_VER) 00028 #pragma warning(push) 00029 #pragma warning(disable:4250) 00030 #endif /* _MSC_VER */ 00031 00032 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00033 00034 #if defined ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION_EXPORT 00035 template class TAO_Notify_Serv_Export 00036 TAO_Notify_ProxySupplier_T<POA_CosNotifyChannelAdmin::SequenceProxyPushSupplier>; 00037 #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION_EXPORT */ 00038 00039 /** 00040 * @class TAO_Notify_SequenceProxyPushSupplier 00041 * 00042 * @brief Implements the CosNotifyChannelAdmin::SequenceProxyPushSupplier methods. 00043 * 00044 * 00045 */ 00046 class TAO_Notify_Serv_Export TAO_Notify_SequenceProxyPushSupplier 00047 : public virtual TAO_Notify_ProxySupplier_T <POA_CosNotifyChannelAdmin::SequenceProxyPushSupplier> 00048 { 00049 typedef TAO_Notify_ProxySupplier_T <POA_CosNotifyChannelAdmin::SequenceProxyPushSupplier> SuperClass; 00050 friend class TAO_Notify_Builder; 00051 00052 public: 00053 /// Constructor 00054 TAO_Notify_SequenceProxyPushSupplier (void); 00055 00056 /// Destructor 00057 virtual ~TAO_Notify_SequenceProxyPushSupplier (); 00058 00059 00060 virtual const char * get_proxy_type_name (void) const; 00061 00062 virtual void load_attrs (const TAO_Notify::NVPList& attrs); 00063 00064 /// = Servant methods 00065 virtual CosNotifyChannelAdmin::ProxyType MyType (void); 00066 00067 virtual void connect_sequence_push_consumer ( 00068 CosNotifyComm::SequencePushConsumer_ptr push_consumer 00069 ); 00070 00071 virtual void disconnect_sequence_push_supplier ( 00072 ); 00073 00074 /// TAO_Notify_Destroy_Callback methods 00075 virtual void release (void); 00076 }; 00077 00078 TAO_END_VERSIONED_NAMESPACE_DECL 00079 00080 #if defined(_MSC_VER) 00081 #pragma warning(pop) 00082 #endif /* _MSC_VER */ 00083 00084 #include /**/ "ace/post.h" 00085 00086 #endif /* TAO_Notify_SEQUENCEPROXYPUSHSUPPLIER_H */