#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) | |
Constuctor. | |
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.
|
Constuctor.
Definition at line 10 of file Method_Request_Shutdown.cpp. Referenced by copy().
00011 : task_ (task) 00012 { 00013 } |
|
Destructor.
Definition at line 15 of file Method_Request_Shutdown.cpp.
00016 { 00017 } |
|
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 } |
|
Execute the Request.
Implements TAO_Notify_Method_Request. Definition at line 26 of file Method_Request_Shutdown.cpp. References ACE_Message_Queue< ACE_SYNCH_USE >::deactivate(), and ACE_Task< ACE_NULL_SYNCH >::msg_queue().
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 } |
|
Definition at line 52 of file Method_Request_Shutdown.h. |