diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/Worker_Task.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Notify/Worker_Task.h | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Worker_Task.h b/TAO/orbsvcs/orbsvcs/Notify/Worker_Task.h deleted file mode 100644 index 2eef3710451..00000000000 --- a/TAO/orbsvcs/orbsvcs/Notify/Worker_Task.h +++ /dev/null @@ -1,70 +0,0 @@ -/* -*- C++ -*- */ -/** - * @file Worker_Task.h - * - * $Id$ - * - * @author Pradeep Gore <pradeep@oomworks.com> - * - * - */ - -#ifndef TAO_NS_WORKER_TASK_H -#define TAO_NS_WORKER_TASK_H -#include "ace/pre.h" - -#include "notify_export.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "Method_Request.h" -#include "Refcountable.h" - -class TAO_NS_AdminProperties; -class TAO_NS_QoSProperties; -class TAO_NS_Timer; -class TAO_NS_Buffering_Strategy; - -/** - * @class TAO_NS_Worker_Task - * - * @brief Base Worker Task. - * - * Memory Management : The Worker Task should be allocated on the heap and - * the <shutdown> method should be called to release memory. - * - */ -class TAO_Notify_Export TAO_NS_Worker_Task : public TAO_NS_Refcountable -{ -public: - /// Constuctor - TAO_NS_Worker_Task (void); - - /// Update QoS Properties. - virtual void update_qos_properties (const TAO_NS_QoSProperties& qos_properties); - - ///= Public method to be implemented by subclasses. - /// Exec the request. - virtual void exec (TAO_NS_Method_Request& method_request) = 0; - - /// Shutdown task - virtual void shutdown (void) = 0; - - /// The object used by clients to register timers. - virtual TAO_NS_Timer* timer (void) = 0; - - virtual TAO_NS_Buffering_Strategy* buffering_strategy (void) = 0; - -protected: - /// Destructor - virtual ~TAO_NS_Worker_Task (); -}; - -#if defined (__ACE_INLINE__) -#include "Worker_Task.inl" -#endif /* __ACE_INLINE__ */ - -#include "ace/post.h" -#endif /* TAO_NS_WORKER_TASK_H */ |