TAO_CosNotification
2.3.0
|
Implements a Thread Pool Worker Task. More...
#include <ThreadPool_Task.h>
Public Member Functions | |
TAO_Notify_ThreadPool_Task (void) | |
Constructor. More... | |
virtual | ~TAO_Notify_ThreadPool_Task () |
Destructor. More... | |
virtual int | init (int argc, ACE_TCHAR **argv) |
Call the base class init. More... | |
virtual int | close (u_long flags) |
release reference to my self. More... | |
void | init (const NotifyExt::ThreadPoolParams &tp_params, const TAO_Notify_AdminProperties::Ptr &admin_properties) |
Activate the threadpool. More... | |
virtual void | execute (TAO_Notify_Method_Request &method_request) |
Queue the request. More... | |
virtual void | shutdown () |
Shutdown task. More... | |
virtual void | update_qos_properties (const TAO_Notify_QoSProperties &qos_properties) |
Update QoS Properties. More... | |
virtual TAO_Notify_Timer * | timer (void) |
The object used by clients to register timers. More... | |
TAO_Notify_Buffering_Strategy * | buffering_strategy (void) |
Provide access to the underlying buffering strategy. More... | |
![]() | |
TAO_Notify_Worker_Task (void) | |
Constructor. More... | |
![]() | |
TAO_Notify_Refcountable (void) | |
Constructor. More... | |
virtual | ~TAO_Notify_Refcountable () |
CORBA::ULong | _incr_refcnt (void) |
CORBA::ULong | _decr_refcnt (void) |
![]() | |
ACE_Task (ACE_Thread_Manager *thr_mgr=0, ACE_Message_Queue< ACE_SYNCH_USE, TIME_POLICY > *mq=0) | |
virtual | ~ACE_Task (void) |
ACE_Message_Queue < ACE_SYNCH_USE, TIME_POLICY > * | msg_queue (void) |
void | msg_queue (ACE_Message_Queue< ACE_SYNCH_USE, TIME_POLICY > *) |
ACE_Time_Value_T< TIME_POLICY > | gettimeofday (void) const |
void | set_time_policy (TIME_POLICY const &time_policy) |
int | putq (ACE_Message_Block *, ACE_Time_Value *timeout=0) |
int | getq (ACE_Message_Block *&mb, ACE_Time_Value *timeout=0) |
int | ungetq (ACE_Message_Block *, ACE_Time_Value *timeout=0) |
int | reply (ACE_Message_Block *mb, ACE_Time_Value *tv=0) |
int | put_next (ACE_Message_Block *msg, ACE_Time_Value *timeout=0) |
const ACE_TCHAR * | name (void) const |
ACE_Task< ACE_SYNCH_USE, TIME_POLICY > * | next (void) |
void | next (ACE_Task< ACE_SYNCH_USE, TIME_POLICY > *) |
ACE_Task< ACE_SYNCH_USE, TIME_POLICY > * | sibling (void) |
ACE_Module< ACE_SYNCH_USE, TIME_POLICY > * | module (void) const |
int | flush (u_long flag=ACE_Task_Flags::ACE_FLUSHALL) |
void | water_marks (ACE_IO_Cntl_Msg::ACE_IO_Cntl_Cmds, size_t) |
void | dump (void) const |
Protected Member Functions | |
virtual int | svc (void) |
Task svc. More... | |
![]() | |
virtual | ~TAO_Notify_Worker_Task () |
Destructor. More... | |
Private Member Functions | |
virtual void | release (void) |
Release. More... | |
Private Attributes | |
ACE_Auto_Ptr < TAO_Notify_Buffering_Strategy > | buffering_strategy_ |
The buffering strategy to use. More... | |
bool | shutdown_ |
Shutdown. More... | |
TAO_Notify_Timer_Queue::Ptr | timer_ |
The Queue based timer. More... | |
Friends | |
class | TAO_Notify_Method_Request_Shutdown |
Additional Inherited Members | |
![]() | |
typedef TAO_Notify_Refcountable_Guard_T < TAO_Notify_Worker_Task > | Ptr |
![]() | |
typedef TAO_Notify_Refcountable_Guard_T < TAO_Notify_Refcountable > | Ptr |
![]() | |
ACE_Message_Queue < ACE_SYNCH_USE, TIME_POLICY > * | msg_queue_ |
bool | delete_msg_queue_ |
ACE_Module< ACE_SYNCH_USE, TIME_POLICY > * | mod_ |
ACE_Task< ACE_SYNCH_USE, TIME_POLICY > * | next_ |
ACE_ALLOC_HOOK_DECLARE | |
Implements a Thread Pool Worker Task.
TAO_Notify_ThreadPool_Task::TAO_Notify_ThreadPool_Task | ( | void | ) |
Constructor.
|
virtual |
Destructor.
TAO_Notify_Buffering_Strategy * TAO_Notify_ThreadPool_Task::buffering_strategy | ( | void | ) |
Provide access to the underlying buffering strategy.
|
virtual |
release reference to my self.
|
virtual |
Queue the request.
Implements TAO_Notify_Worker_Task.
|
virtual |
Call the base class init.
void TAO_Notify_ThreadPool_Task::init | ( | const NotifyExt::ThreadPoolParams & | tp_params, |
const TAO_Notify_AdminProperties::Ptr & | admin_properties | ||
) |
Activate the threadpool.
|
privatevirtual |
Release.
Implements TAO_Notify_Refcountable.
|
virtual |
Shutdown task.
Implements TAO_Notify_Worker_Task.
|
protectedvirtual |
Task svc.
|
virtual |
The object used by clients to register timers.
Implements TAO_Notify_Worker_Task.
|
virtual |
Update QoS Properties.
Reimplemented from TAO_Notify_Worker_Task.
|
friend |
|
private |
The buffering strategy to use.
|
private |
Shutdown.
|
private |
The Queue based timer.