Method_Request_Updates.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 /**
00004  *  @file Method_Request_Updates.h
00005  *
00006  *  Method_Request_Updates.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_Notify_METHOD_REQUEST_UPDATES_H
00012 #define TAO_Notify_METHOD_REQUEST_UPDATES_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/Notify/Method_Request_Updates_T.h"
00022 #include "orbsvcs/Notify/Method_Request.h"
00023 #include "orbsvcs/Notify/EventTypeSeq.h"
00024 #include "orbsvcs/Notify/Proxy.h"
00025 
00026 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00027 
00028 typedef TAO_Notify_Method_Request_Updates_T<const TAO_Notify_EventTypeSeq
00029                                         , TAO_Notify_Proxy::Ptr
00030                                         , const TAO_Notify_EventTypeSeq&
00031                                         , TAO_Notify_Proxy*
00032                                         > TAO_Notify_Method_Request_Updates_Base;
00033 
00034 /**
00035  * @class TAO_Notify_Method_Request_Updates
00036  *
00037  * @brief Command Object to send updates to proxys.
00038  *
00039  */
00040 class TAO_Notify_Serv_Export TAO_Notify_Method_Request_Updates
00041   : public TAO_Notify_Method_Request_Updates_Base
00042   , public TAO_Notify_Method_Request_Queueable
00043 {
00044 public:
00045   /// Constuctor
00046   TAO_Notify_Method_Request_Updates (const TAO_Notify_EventTypeSeq& added, const TAO_Notify_EventTypeSeq& removed, TAO_Notify_Proxy* proxy);
00047 
00048   /// Destructor
00049   virtual ~TAO_Notify_Method_Request_Updates ();
00050 
00051   /// Execute the Request
00052   virtual int execute (ACE_ENV_SINGLE_ARG_DECL);
00053 };
00054 
00055 /*****************************************************************************/
00056 
00057 typedef TAO_Notify_Method_Request_Updates_T<const TAO_Notify_EventTypeSeq&
00058                                         , TAO_Notify_Proxy*
00059                                         , const TAO_Notify_EventTypeSeq&
00060                                         , TAO_Notify_Proxy*
00061                                         > TAO_Notify_Method_Request_Updates_No_Copy_Base;
00062 
00063 /**
00064  * @class TAO_Notify_Method_Request_Updates_No_Copy
00065  *
00066  * @brief Command Object to send updates to proxys.
00067  *
00068  */
00069 class TAO_Notify_Serv_Export TAO_Notify_Method_Request_Updates_No_Copy
00070   : public TAO_Notify_Method_Request_Updates_No_Copy_Base
00071   , public TAO_Notify_Method_Request
00072 {
00073 public:
00074   /// Constuctor
00075   TAO_Notify_Method_Request_Updates_No_Copy (const TAO_Notify_EventTypeSeq& added, const TAO_Notify_EventTypeSeq& removed, TAO_Notify_Proxy* proxy);
00076 
00077   /// Destructor
00078   virtual ~TAO_Notify_Method_Request_Updates_No_Copy ();
00079 
00080   /// Create a copy of this object.
00081   virtual TAO_Notify_Method_Request_Queueable* copy (ACE_ENV_SINGLE_ARG_DECL);
00082 
00083   /// Execute the Request
00084   virtual int execute (ACE_ENV_SINGLE_ARG_DECL);
00085 };
00086 
00087 TAO_END_VERSIONED_NAMESPACE_DECL
00088 
00089 #include /**/ "ace/post.h"
00090 #endif /* TAO_Notify_METHOD_REQUEST_UPDATES_H */

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