StructuredPushSupplier.h

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 /**
00003  *  @file StructuredPushSupplier.h
00004  *
00005  *  StructuredPushSupplier.h,v 1.15 2006/03/15 21:29:10 jtc Exp
00006  *
00007  *  @author Pradeep Gore <pradeep@oomworks.com>
00008  *
00009  *
00010  */
00011 
00012 #ifndef TAO_Notify_STRUCTUREDPUSHSUPPLIER_H
00013 #define TAO_Notify_STRUCTUREDPUSHSUPPLIER_H
00014 #include /**/ "ace/pre.h"
00015 
00016 #include "orbsvcs/Notify/notify_serv_export.h"
00017 
00018 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00019 # pragma once
00020 #endif /* ACE_LACKS_PRAGMA_ONCE */
00021 
00022 #include "orbsvcs/CosNotifyCommC.h"
00023 #include "orbsvcs/Notify/Supplier.h"
00024 
00025 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00026 
00027 class TAO_Notify_ProxyConsumer;
00028 
00029 /**
00030  * @class TAO_Notify_StructuredPushSupplier
00031  *
00032  * @brief Wrapper for the StructuredPushSupplier that connect to the EventChannel.
00033  *
00034  */
00035 class TAO_Notify_Serv_Export TAO_Notify_StructuredPushSupplier : public TAO_Notify_Supplier
00036 {
00037 public:
00038   /// Constuctor
00039   TAO_Notify_StructuredPushSupplier (TAO_Notify_ProxyConsumer* proxy);
00040 
00041   /// Destructor
00042   virtual ~TAO_Notify_StructuredPushSupplier ();
00043 
00044   /// Init
00045   void init (CosNotifyComm::StructuredPushSupplier_ptr push_supplier ACE_ENV_ARG_DECL);
00046 
00047   /// Retrieve the ior of this peer
00048   virtual ACE_CString get_ior (void) const;
00049 
00050 protected:
00051   /// The Supplier
00052   CosNotifyComm::StructuredPushSupplier_var push_supplier_;
00053 
00054 private:
00055   /// Release
00056   virtual void release (void);
00057 };
00058 
00059 TAO_END_VERSIONED_NAMESPACE_DECL
00060 
00061 #include /**/ "ace/post.h"
00062 #endif /* TAO_Notify_STRUCTUREDPUSHSUPPLIER_H */

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