Shutdown message for the ThreadPool_Task. More...
#include <Method_Request_Shutdown.h>


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_ |
Shutdown message for the ThreadPool_Task.
Definition at line 35 of file Method_Request_Shutdown.h.
| TAO_Notify_Method_Request_Shutdown::TAO_Notify_Method_Request_Shutdown | ( | TAO_Notify_ThreadPool_Task * | task | ) |
| 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.
{
return new TAO_Notify_Method_Request_Shutdown (this->task_);
}
| 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.
{
// Shut down the scheduler by deactivating the activation queue's
// underlying message queue - should pop all worker threads off their
// wait and they'll exit.
this->task_->msg_queue ()->deactivate ();
return -1;
}
Definition at line 52 of file Method_Request_Shutdown.h.
1.7.0