#include <Reactive_Task.h>
Inheritance diagram for TAO_Notify_Reactive_Task:


Public Member Functions | |
| TAO_Notify_Reactive_Task (void) | |
| Constructor. | |
| virtual | ~TAO_Notify_Reactive_Task (void) |
| Destructor. | |
| void | init (void) |
| Init the reactive task. | |
| virtual void | shutdown (void) |
| Shutdown task. | |
| virtual void | execute (TAO_Notify_Method_Request &method_request) |
| Exec the request. | |
| virtual TAO_Notify_Timer * | timer (void) |
| The object used by clients to register timers. This method returns a Reactor based Timer. | |
| virtual TAO_Notify_Buffering_Strategy * | buffering_strategy (void) |
| Returns NULL. | |
Private Member Functions | |
| virtual void | release (void) |
| Release. | |
Private Attributes | |
| TAO_Notify_Timer_Reactor::Ptr | timer_ |
| The timer. | |
Definition at line 35 of file Reactive_Task.h.
| TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Notify_Reactive_Task::TAO_Notify_Reactive_Task | ( | void | ) |
| TAO_Notify_Reactive_Task::~TAO_Notify_Reactive_Task | ( | void | ) | [virtual] |
| TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE TAO_Notify_Buffering_Strategy * TAO_Notify_Reactive_Task::buffering_strategy | ( | void | ) | [virtual] |
| void TAO_Notify_Reactive_Task::execute | ( | TAO_Notify_Method_Request & | method_request | ) | [virtual] |
Exec the request.
Implements TAO_Notify_Worker_Task.
Definition at line 48 of file Reactive_Task.cpp.
References TAO_Notify_Method_Request::execute().
00049 { 00050 method_request.execute (); 00051 }
| void TAO_Notify_Reactive_Task::init | ( | void | ) |
Init the reactive task.
Definition at line 25 of file Reactive_Task.cpp.
References ACE_ASSERT, ACE_NEW_THROW_EX, TAO_Notify_Refcountable_Guard_T< T >::reset(), timer(), and timer_.
Referenced by TAO_Notify_Builder::apply_reactive_concurrency().
00026 { 00027 ACE_ASSERT (this->timer_.get() == 0); 00028 00029 TAO_Notify_Timer_Reactor* timer = 0; 00030 ACE_NEW_THROW_EX (timer, 00031 TAO_Notify_Timer_Reactor (), 00032 CORBA::NO_MEMORY ()); 00033 this->timer_.reset (timer); 00034 }
| void TAO_Notify_Reactive_Task::release | ( | void | ) | [private, virtual] |
| void TAO_Notify_Reactive_Task::shutdown | ( | void | ) | [virtual] |
| TAO_Notify_Timer * TAO_Notify_Reactive_Task::timer | ( | void | ) | [virtual] |
The object used by clients to register timers. This method returns a Reactor based Timer.
Implements TAO_Notify_Worker_Task.
Definition at line 54 of file Reactive_Task.cpp.
References TAO_Notify_Refcountable_Guard_T< T >::get(), and timer_.
Referenced by init().
1.4.7