SequencePushSupplier.h

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 /**
00003  *  @file SequencePushSupplier.h
00004  *
00005  *  SequencePushSupplier.h,v 1.14 2006/03/15 21:29:09 jtc Exp
00006  *
00007  *  @author Pradeep Gore <pradeep@oomworks.com>
00008  *
00009  *
00010  */
00011 
00012 #ifndef TAO_Notify_SEQUENCEPUSHSUPPLIER_H
00013 #define TAO_Notify_SEQUENCEPUSHSUPPLIER_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_SequencePushSupplier
00031  *
00032  * @brief Wrapper for the SequencePushSupplier that connect to the EventChannel.
00033  *
00034  */
00035 class TAO_Notify_Serv_Export TAO_Notify_SequencePushSupplier : public TAO_Notify_Supplier
00036 {
00037 public:
00038   /// Constuctor
00039   TAO_Notify_SequencePushSupplier (TAO_Notify_ProxyConsumer* proxy);
00040 
00041   /// Destructor
00042   virtual ~TAO_Notify_SequencePushSupplier ();
00043 
00044   /// Init
00045   void init (CosNotifyComm::SequencePushSupplier_ptr push_supplier ACE_ENV_ARG_DECL);
00046 
00047   /// TAO_Notify_Destroy_Callback methods
00048   virtual void release (void);
00049 
00050   /// Retrieve the ior of this peer
00051   virtual ACE_CString get_ior (void) const;
00052 
00053 protected:
00054   /// The Supplier
00055   CosNotifyComm::SequencePushSupplier_var push_supplier_;
00056 };
00057 
00058 TAO_END_VERSIONED_NAMESPACE_DECL
00059 
00060 #include /**/ "ace/post.h"
00061 #endif /* TAO_Notify_SEQUENCEPUSHSUPPLIER_H */

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