Subscription_Change_Worker.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 /**
00004  *  @file Subscription_Change_Worker.h
00005  *
00006  *  Subscription_Change_Worker.h,v 1.12 2006/03/14 06:14:34 jtc Exp
00007  *
00008  *  @author Pradeep Gore <pradeep@oomworks.com>
00009  */
00010 
00011 #ifndef TAO_SUBSCRIPTION_CHANGE_WORKER_H
00012 #define TAO_SUBSCRIPTION_CHANGE_WORKER_H
00013 #include /**/ "ace/pre.h"
00014 
00015 #include "orbsvcs/Notify/notify_serv_export.h"
00016 
00017 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00018 # pragma once
00019 #endif /* ACE_LACKS_PRAGMA_ONCE */
00020 
00021 #include "orbsvcs/CosNotificationC.h"
00022 #include "orbsvcs/ESF/ESF_Worker.h"
00023 
00024 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00025 
00026 class TAO_Notify_Proxy;
00027 
00028 /**
00029  * @class TAO_Subscription_Change_Worker
00030  *
00031  * @brief
00032  *
00033  */
00034 class TAO_Notify_Serv_Export TAO_Notify_Subscription_Change_Worker : public TAO_ESF_Worker<TAO_Notify_Proxy>
00035 {
00036 public:
00037   /// Constuctor
00038   TAO_Notify_Subscription_Change_Worker (const CosNotification::EventTypeSeq & added, const CosNotification::EventTypeSeq & removed);
00039 
00040   /// Destructor
00041   virtual ~TAO_Notify_Subscription_Change_Worker ();
00042 
00043   ///= TAO_ESF_Worker method
00044   void work (TAO_Notify_Proxy* proxy ACE_ENV_ARG_DECL);
00045 
00046 protected:
00047   const CosNotification::EventTypeSeq & added_;
00048   const CosNotification::EventTypeSeq & removed_;
00049 };
00050 
00051 TAO_END_VERSIONED_NAMESPACE_DECL
00052 
00053 #include /**/ "ace/post.h"
00054 #endif /* TAO_SUBSCRIPTION_CHANGE_WORKER_H */

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