TAO 2.0.2
|
A utility class that helps in resuming handlers if TAO uses a TP Reactor from ACE. In contrast with the Resume_Handle class however, the resumption is performed at the expiration of a timer, previously registered with the reactor. TAO_Resume_Handle_Deferred will also notify the reactor (reactor->notify()) More...
#include <Resume_Handle_Deferred.h>
Public Member Functions | |
TAO_Resume_Handle_Deferred (TAO_ORB_Core *orbc, ACE_HANDLE h) | |
Ctor. | |
~TAO_Resume_Handle_Deferred (void) | |
Destructor. | |
virtual int | handle_timeout (const ACE_Time_Value &, const void *=0) |
virtual int | handle_close (ACE_HANDLE, ACE_Reactor_Mask) |
Disposes off this instance. | |
Private Member Functions | |
int | handle_timeout_eh () |
Implements the timeout handling. | |
Private Attributes | |
ACE_HANDLE | h_ |
TAO_ORB_Core * | orbc_ |
A utility class that helps in resuming handlers if TAO uses a TP Reactor from ACE. In contrast with the Resume_Handle class however, the resumption is performed at the expiration of a timer, previously registered with the reactor. TAO_Resume_Handle_Deferred will also notify the reactor (reactor->notify())
Please read the documentation in the bugzilla #575 in the bugzilla database what we mean by handler resumption.
TAO_Resume_Handle_Deferred::TAO_Resume_Handle_Deferred | ( | TAO_ORB_Core * | orbc, |
ACE_HANDLE | h | ||
) |
Ctor.
TAO_Resume_Handle_Deferred::~TAO_Resume_Handle_Deferred | ( | void | ) |
Destructor.
int TAO_Resume_Handle_Deferred::handle_close | ( | ACE_HANDLE | , |
ACE_Reactor_Mask | |||
) | [virtual] |
Disposes off this instance.
Reimplemented from ACE_Event_Handler.
int TAO_Resume_Handle_Deferred::handle_timeout | ( | const ACE_Time_Value & | , |
const void * | = 0 |
||
) | [virtual] |
Handles the timeout event by resuming the handle and calling the reactor->notify()
Reimplemented from ACE_Event_Handler.
int TAO_Resume_Handle_Deferred::handle_timeout_eh | ( | ) | [private] |
Implements the timeout handling.
ACE_HANDLE TAO_Resume_Handle_Deferred::h_ [private] |
TAO_ORB_Core* TAO_Resume_Handle_Deferred::orbc_ [private] |