StructuredProxyPushSupplier.h

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 /**
00003  *  @file StructuredProxyPushSupplier.h
00004  *
00005  *  StructuredProxyPushSupplier.h,v 1.18 2006/03/15 21:29:10 jtc Exp
00006  *
00007  *  @author Pradeep Gore <pradeep@oomworks.com>
00008  *
00009  *
00010  */
00011 
00012 #ifndef TAO_Notify_STRUCTUREDPROXYPUSHSUPPLIER_H
00013 #define TAO_Notify_STRUCTUREDPROXYPUSHSUPPLIER_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 #include "orbsvcs/Event_ForwarderS.h"
00025 
00026 #include "orbsvcs/Notify/ProxySupplier_T.h"
00027 
00028 #if defined(_MSC_VER)
00029 #pragma warning(push)
00030 #pragma warning(disable:4250)
00031 #endif /* _MSC_VER */
00032 
00033 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00034 
00035 #if defined ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION_EXPORT
00036 template class TAO_Notify_Serv_Export
00037 TAO_Notify_ProxySupplier_T<POA_Event_Forwarder::StructuredProxyPushSupplier>;
00038 #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION_EXPORT */
00039 
00040 /**
00041  * @class TAO_Notify_StructuredProxyPushSupplier
00042  *
00043  * @brief Implements the CosNotifyChannelAdmin::StructuredProxyPushSupplier methods.
00044  *
00045  *
00046  */
00047 class TAO_Notify_Serv_Export TAO_Notify_StructuredProxyPushSupplier
00048   : public virtual TAO_Notify_ProxySupplier_T <POA_Event_Forwarder::StructuredProxyPushSupplier>
00049 {
00050   typedef TAO_Notify_ProxySupplier_T <POA_Event_Forwarder::StructuredProxyPushSupplier> SuperClass;
00051   friend class TAO_Notify_Builder;
00052 
00053 public:
00054   /// Constuctor
00055   TAO_Notify_StructuredProxyPushSupplier (void);
00056 
00057   /// Destructor
00058   virtual ~TAO_Notify_StructuredProxyPushSupplier ();
00059 
00060 
00061   virtual void load_attrs (const TAO_Notify::NVPList& attrs);
00062 
00063   /// = Servant methods
00064   // = interface methods
00065   virtual CosNotifyChannelAdmin::ProxyType MyType (ACE_ENV_SINGLE_ARG_DECL)
00066     ACE_THROW_SPEC ((
00067                      CORBA::SystemException
00068                      ));
00069 
00070   virtual void connect_structured_push_consumer (
00071     CosNotifyComm::StructuredPushConsumer_ptr push_consumer
00072     ACE_ENV_ARG_DECL
00073   )
00074   ACE_THROW_SPEC ((
00075     CORBA::SystemException,
00076     CosEventChannelAdmin::AlreadyConnected,
00077     CosEventChannelAdmin::TypeError
00078   ));
00079 
00080   virtual void disconnect_structured_push_supplier (
00081     ACE_ENV_SINGLE_ARG_DECL
00082   )
00083   ACE_THROW_SPEC ((
00084     CORBA::SystemException
00085   ));
00086 
00087   virtual const char * get_proxy_type_name (void) const;
00088 
00089 private:
00090 
00091   /// Release
00092   virtual void release (void);
00093 };
00094 
00095 TAO_END_VERSIONED_NAMESPACE_DECL
00096 
00097 #if defined(_MSC_VER)
00098 #pragma warning(pop)
00099 #endif /* _MSC_VER */
00100 
00101 #include /**/ "ace/post.h"
00102 
00103 #endif /* TAO_Notify_STRUCTUREDPROXYPUSHSUPPLIER_H */

Generated on Thu Nov 9 13:24:17 2006 for TAO_CosNotification by doxygen 1.3.6