ProxyPushConsumer.h

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 /**
00003  *  @file ProxyPushConsumer.h
00004  *
00005  *  $Id: ProxyPushConsumer.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_PROXYPUSHCONSUMER_H
00013 #define TAO_Notify_PROXYPUSHCONSUMER_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/Notify/ProxyConsumer_T.h"
00025 
00026 #if defined(_MSC_VER)
00027 #pragma warning(push)
00028 #pragma warning(disable:4250)
00029 #endif /* _MSC_VER */
00030 
00031 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00032 
00033 /**
00034  * @class TAO_Notify_ProxyPushConsumer
00035  *
00036  * @brief
00037  *
00038  */
00039 class TAO_Notify_Serv_Export TAO_Notify_ProxyPushConsumer
00040   : public virtual TAO_Notify_ProxyConsumer_T <
00041                        POA_CosNotifyChannelAdmin::ProxyPushConsumer
00042                      >
00043 {
00044  typedef TAO_Notify_ProxyConsumer_T <POA_CosNotifyChannelAdmin::ProxyPushConsumer> SuperClass;
00045  friend class TAO_Notify_Builder;
00046 public:
00047   /// Constructor
00048   TAO_Notify_ProxyPushConsumer (void);
00049 
00050   /// Destructor
00051   virtual ~TAO_Notify_ProxyPushConsumer ();
00052 
00053 
00054 //  virtual void save_persistent (TAO_Notify::Topology_Saver& saver);
00055   virtual const char * get_proxy_type_name (void) const;
00056 
00057   virtual void load_attrs (const TAO_Notify::NVPList& attrs);
00058 
00059 protected:
00060   ///= CosNotifyChannelAdmin::ProxyPushConsumer methods
00061 
00062   virtual CosNotifyChannelAdmin::ProxyType MyType (void);
00063 
00064   virtual void push (const CORBA::Any & data);
00065 
00066   virtual void connect_any_push_supplier (CosEventComm::PushSupplier_ptr push_supplier);
00067 
00068   virtual void disconnect_push_consumer (void);
00069 
00070 private:
00071   /// Release
00072   virtual void release (void);
00073 };
00074 
00075 TAO_END_VERSIONED_NAMESPACE_DECL
00076 
00077 #if defined(_MSC_VER)
00078 #pragma warning(pop)
00079 #endif /* _MSC_VER */
00080 
00081 #include /**/ "ace/post.h"
00082 #endif /* TAO_Notify_PROXYPUSHCONSUMER_H */

Generated on Tue Feb 2 17:45:29 2010 for TAO_CosNotification by  doxygen 1.4.7