SequenceProxyPushSupplier.h

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 /**
00003  *  @file SequenceProxyPushSupplier.h
00004  *
00005  *  SequenceProxyPushSupplier.h,v 1.19 2006/03/15 21:29:09 jtc Exp
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   /// Constuctor
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 (ACE_ENV_SINGLE_ARG_DECL)
00066     ACE_THROW_SPEC ((
00067                      CORBA::SystemException
00068                      ));
00069 
00070   virtual void connect_sequence_push_consumer (
00071     CosNotifyComm::SequencePushConsumer_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_sequence_push_supplier (
00081     ACE_ENV_SINGLE_ARG_DECL
00082   )
00083   ACE_THROW_SPEC ((
00084     CORBA::SystemException
00085   ));
00086 
00087   /// TAO_Notify_Destroy_Callback methods
00088   virtual void release (void);
00089 };
00090 
00091 TAO_END_VERSIONED_NAMESPACE_DECL
00092 
00093 #if defined(_MSC_VER)
00094 #pragma warning(pop)
00095 #endif /* _MSC_VER */
00096 
00097 #include /**/ "ace/post.h"
00098 
00099 #endif /* TAO_Notify_SEQUENCEPROXYPUSHSUPPLIER_H */

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