ProxyConsumer_T.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 /**
00004  *  @file ProxyConsumer_T.h
00005  *
00006  *  $Id: ProxyConsumer_T.h 77001 2007-02-12 07:54:49Z johnnyw $
00007  *
00008  *  @author Pradeep Gore <pradeep@oomworks.com>
00009  */
00010 
00011 #ifndef TAO_Notify_PROXYCONSUMER_T_H
00012 #define TAO_Notify_PROXYCONSUMER_T_H
00013 
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/Notify/Proxy_T.h"
00023 #include "orbsvcs/Notify/ProxyConsumer.h"
00024 
00025 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00026 
00027 /**
00028  * @class TAO_Notify_ProxyConsumer_T
00029  *
00030  * @brief
00031  *
00032  */
00033 template <class SERVANT_TYPE>
00034 class TAO_Notify_Serv_Export TAO_Notify_ProxyConsumer_T
00035   : public virtual TAO_Notify_Proxy_T <SERVANT_TYPE>,
00036     public virtual TAO_Notify_ProxyConsumer
00037 {
00038 public:
00039   /// Constuctor
00040   TAO_Notify_ProxyConsumer_T (void);
00041 
00042   /// Destructor
00043   ~TAO_Notify_ProxyConsumer_T ();
00044 
00045   /// Notification of subscriptions set at the admin.
00046   virtual void admin_types_changed (const CosNotification::EventTypeSeq & added,
00047                                     const CosNotification::EventTypeSeq & removed);
00048 
00049   virtual CosNotifyChannelAdmin::SupplierAdmin_ptr MyAdmin (void);
00050 
00051   virtual CosNotification::EventTypeSeq * obtain_subscription_types (
00052     CosNotifyChannelAdmin::ObtainInfoMode mode
00053   );
00054 
00055   virtual void offer_change (
00056     const CosNotification::EventTypeSeq & added,
00057     const CosNotification::EventTypeSeq & removed
00058   );
00059 
00060 };
00061 
00062 TAO_END_VERSIONED_NAMESPACE_DECL
00063 
00064 #if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
00065 #include "orbsvcs/Notify/ProxyConsumer_T.cpp"
00066 #endif /* ACE_TEMPLATES_REQUIRE_SOURCE */
00067 
00068 #if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
00069 #pragma implementation ("ProxyConsumer_T.cpp")
00070 #endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */
00071 
00072 #include /**/ "ace/post.h"
00073 #endif /* TAO_Notify_PROXYCONSUMER_T_H */

Generated on Sun Jan 27 15:39:58 2008 for TAO_CosNotification by doxygen 1.3.6