#include <Method_Request_Shutdown.h>
Inheritance diagram for TAO_Notify_Method_Request_Shutdown:
Public Member Functions | |
TAO_Notify_Method_Request_Shutdown (TAO_Notify_ThreadPool_Task *task) | |
Constructor. | |
virtual | ~TAO_Notify_Method_Request_Shutdown () |
Destructor. | |
TAO_Notify_Method_Request_Queueable * | copy (void) |
Create a copy of this object. | |
virtual int | execute (void) |
Execute the Request. | |
Private Attributes | |
TAO_Notify_ThreadPool_Task * | task_ |
Definition at line 35 of file Method_Request_Shutdown.h.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Notify_Method_Request_Shutdown::TAO_Notify_Method_Request_Shutdown | ( | TAO_Notify_ThreadPool_Task * | task | ) |
Constructor.
Definition at line 10 of file Method_Request_Shutdown.cpp.
Referenced by copy().
00011 : task_ (task) 00012 { 00013 }
TAO_Notify_Method_Request_Shutdown::~TAO_Notify_Method_Request_Shutdown | ( | ) | [virtual] |
TAO_Notify_Method_Request_Queueable * TAO_Notify_Method_Request_Shutdown::copy | ( | void | ) | [virtual] |
Create a copy of this object.
Reimplemented from TAO_Notify_Method_Request_Queueable.
Definition at line 20 of file Method_Request_Shutdown.cpp.
References TAO_Notify_Method_Request_Shutdown().
00021 { 00022 return new TAO_Notify_Method_Request_Shutdown (this->task_); 00023 }
int TAO_Notify_Method_Request_Shutdown::execute | ( | void | ) | [virtual] |
Execute the Request.
Implements TAO_Notify_Method_Request.
Definition at line 26 of file Method_Request_Shutdown.cpp.
References ACE_Message_Queue<>::deactivate(), ACE_Task<>::msg_queue(), and task_.
00027 { 00028 // Shut down the scheduler by deactivating the activation queue's 00029 // underlying message queue - should pop all worker threads off their 00030 // wait and they'll exit. 00031 this->task_->msg_queue ()->deactivate (); 00032 return -1; 00033 }