#include <ThreadPool_Task.h>
Inheritance diagram for TAO_Notify_ThreadPool_Task:
Public Member Functions | |
TAO_Notify_ThreadPool_Task (void) | |
Constuctor. | |
virtual | ~TAO_Notify_ThreadPool_Task () |
Destructor. | |
virtual int | init (int argc, ACE_TCHAR **argv) |
Call the base class init. | |
virtual int | close (u_long flags) |
release reference to my self. | |
void | init (const NotifyExt::ThreadPoolParams &tp_params, TAO_Notify_AdminProperties::Ptr &admin_properties ACE_ENV_ARG_DECL) |
Activate the threadpool. | |
virtual void | execute (TAO_Notify_Method_Request &method_request ACE_ENV_ARG_DECL) |
Queue the request. | |
virtual void | shutdown () |
Shutdown task. | |
virtual void | update_qos_properties (const TAO_Notify_QoSProperties &qos_properties) |
Update QoS Properties. | |
virtual TAO_Notify_Timer * | timer (void) |
The object used by clients to register timers. | |
Protected Member Functions | |
virtual int | svc (void) |
Task svc. | |
Private Member Functions | |
virtual void | release (void) |
Release. | |
virtual void | wait_for_shutdown () |
wait for all threads to exit svc() | |
Private Attributes | |
ACE_Auto_Ptr< TAO_Notify_Buffering_Strategy > | buffering_strategy_ |
The buffering strategy to use. | |
bool | shutdown_ |
Shutdown. | |
TAO_Notify_Timer_Queue::Ptr | timer_ |
The Queue based timer. | |
Shutdown_Handler | shutdown_handler_ |
Friends | |
class | TAO_Notify_Method_Request_Shutdown |
class | Shutdown_Handler |
|
Constuctor.
|
|
Destructor.
|
|
release reference to my self.
Reimplemented from ACE_Task_Base. |
|
Queue the request.
Implements TAO_Notify_Worker_Task. |
|
Activate the threadpool.
|
|
Call the base class init.
|
|
Release.
Implements TAO_Notify_Refcountable. |
|
Shutdown task.
Implements TAO_Notify_Worker_Task. |
|
Task svc.
Reimplemented from ACE_Task_Base. |
|
The object used by clients to register timers.
Implements TAO_Notify_Worker_Task. |
|
Update QoS Properties.
Reimplemented from TAO_Notify_Worker_Task. |
|
wait for all threads to exit svc()
|
|
|
|
|
|
The buffering strategy to use.
|
|
Shutdown.
|
|
|
|
The Queue based timer.
|