Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

TAO_NS_ThreadPool_Task Class Reference

Implements a Thread Pool Worker Task. More...

#include <ThreadPool_Task.h>

Inheritance diagram for TAO_NS_ThreadPool_Task:

Inheritance graph
[legend]
Collaboration diagram for TAO_NS_ThreadPool_Task:

Collaboration graph
[legend]
List of all members.

Public Methods

 TAO_NS_ThreadPool_Task (void)
 Constuctor. More...

 ~TAO_NS_ThreadPool_Task ()
 Destructor. More...

virtual int init (int argc, char **argv)
 Call the base class init. More...

virtual void init (TAO_NS_AdminProperties &)
 Call the base class init. More...

virtual int close (u_long flags)
void init (const NotifyExt::ThreadPoolParams &tp_params, TAO_NS_AdminProperties_var &admin_properties ACE_ENV_ARG_DECL)
 Activate the threadpool. More...

virtual void exec (TAO_NS_Method_Request &method_request)
 Queue the request. More...

virtual void shutdown (void)
 Shutdown task. More...

virtual void update_qos_properties (const TAO_NS_QoSProperties &qos_properties)
 Update QoS Properties. More...

virtual TAO_NS_Timertimer (void)
 The object used by clients to register timers. More...

TAO_NS_Buffering_Strategybuffering_strategy (void)
 Access the Buffering Strategy. More...


Protected Methods

virtual int svc (void)
 task svc. More...


Private Attributes

TAO_NS_Buffering_Strategybuffering_strategy_
 The buffering strategy to use. More...

int shutdown_
 Shutdown. More...

TAO_NS_Timer_Queue timer_
 The Queue based timer. More...


Friends

class TAO_NS_Method_Request_Shutdown

Detailed Description

Implements a Thread Pool Worker Task.


Constructor & Destructor Documentation

TAO_NS_ThreadPool_Task::TAO_NS_ThreadPool_Task void   
 

Constuctor.

TAO_NS_ThreadPool_Task::~TAO_NS_ThreadPool_Task  
 

Destructor.


Member Function Documentation

TAO_NS_Buffering_Strategy* TAO_NS_ThreadPool_Task::buffering_strategy void    [virtual]
 

Access the Buffering Strategy.

Reimplemented from TAO_NS_Worker_Task.

int TAO_NS_ThreadPool_Task::close u_long    flags [virtual]
 

Reimplemented from ACE_Task_Base.

void TAO_NS_ThreadPool_Task::exec TAO_NS_Method_Request   method_request [virtual]
 

Queue the request.

Reimplemented from TAO_NS_Worker_Task.

void TAO_NS_ThreadPool_Task::init const NotifyExt::ThreadPoolParams &    tp_params,
TAO_NS_AdminProperties_var &admin_properties    ACE_ENV_ARG_DECL
 

Activate the threadpool.

void TAO_NS_ThreadPool_Task::init TAO_NS_AdminProperties   p [virtual]
 

Call the base class init.

Reimplemented from TAO_NS_Worker_Task.

int TAO_NS_ThreadPool_Task::init int    argc,
char **    argv
[virtual]
 

Call the base class init.

void TAO_NS_ThreadPool_Task::shutdown void    [virtual]
 

Shutdown task.

Reimplemented from TAO_NS_Worker_Task.

int TAO_NS_ThreadPool_Task::svc void    [protected, virtual]
 

task svc.

Reimplemented from ACE_Task_Base.

TAO_NS_Timer * TAO_NS_ThreadPool_Task::timer void    [virtual]
 

The object used by clients to register timers.

Reimplemented from TAO_NS_Worker_Task.

virtual void TAO_NS_ThreadPool_Task::update_qos_properties const TAO_NS_QoSProperties   qos_properties [virtual]
 

Update QoS Properties.

Reimplemented from TAO_NS_Worker_Task.


Friends And Related Function Documentation

friend class TAO_NS_Method_Request_Shutdown [friend]
 


Member Data Documentation

TAO_NS_Buffering_Strategy* TAO_NS_ThreadPool_Task::buffering_strategy_ [private]
 

The buffering strategy to use.

int TAO_NS_ThreadPool_Task::shutdown_ [private]
 

Shutdown.

TAO_NS_Timer_Queue TAO_NS_ThreadPool_Task::timer_ [private]
 

The Queue based timer.


The documentation for this class was generated from the following files:
Generated on Wed Jan 15 23:44:29 2003 for TAO_CosNotification by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001