Method_Request_Shutdown.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 /**
00004  *  @file Method_Request_Shutdown.h
00005  *
00006  *  Method_Request_Shutdown.h,v 1.11 2006/03/14 06:14:34 jtc Exp
00007  *
00008  *  @author Pradeep Gore <pradeep@oomworks.com>
00009  *
00010  *
00011  */
00012 
00013 #ifndef TAO_Notify_METHOD_REQUEST_SHUTDOWN_H
00014 #define TAO_Notify_METHOD_REQUEST_SHUTDOWN_H
00015 #include /**/ "ace/pre.h"
00016 
00017 #include "orbsvcs/Notify/notify_serv_export.h"
00018 
00019 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00020 # pragma once
00021 #endif /* ACE_LACKS_PRAGMA_ONCE */
00022 
00023 #include "orbsvcs/Notify/Method_Request.h"
00024 
00025 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00026 
00027 class TAO_Notify_ThreadPool_Task;
00028 
00029 /**
00030  * @class TAO_Notify_Method_Request_Shutdown
00031  *
00032  * @brief Shutdown message for the ThreadPool_Task
00033  *
00034  */
00035 class TAO_Notify_Serv_Export TAO_Notify_Method_Request_Shutdown : public TAO_Notify_Method_Request_Queueable
00036 {
00037 public:
00038   /// Constuctor
00039   TAO_Notify_Method_Request_Shutdown (TAO_Notify_ThreadPool_Task* task);
00040 
00041   /// Destructor
00042   virtual ~TAO_Notify_Method_Request_Shutdown ();
00043 
00044   /// Create a copy of this object.
00045   TAO_Notify_Method_Request_Queueable* copy (void);
00046 
00047   /// Execute the Request
00048   virtual int execute (ACE_ENV_SINGLE_ARG_DECL);
00049 
00050 private:
00051   // Task to shutdown
00052   TAO_Notify_ThreadPool_Task* task_;
00053 };
00054 
00055 TAO_END_VERSIONED_NAMESPACE_DECL
00056 
00057 #include /**/ "ace/post.h"
00058 #endif /* TAO_Notify_METHOD_REQUEST_SHUTDOWN_H */

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