TAO_CosTime
2.0.8
|
Timer Helper for the clerk. More...
#include <Timer_Helper.h>
Public Member Functions | |
Timer_Helper (void) | |
Constructor. | |
~Timer_Helper (void) | |
Destructor. | |
Timer_Helper (TAO_Time_Service_Clerk *clerk) | |
Constructor that sets the clerk. | |
int | handle_timeout (const ACE_Time_Value &time, const void *arg) |
Protected Types | |
typedef ACE_Array_Base < CosTime::TimeService_var > | IORS |
The set of server IORs. | |
Protected Attributes | |
TAO_Time_Service_Clerk * | clerk_ |
Clerk's instance that this class helps to update time. |
Timer Helper for the clerk.
The handle timeout method of this class is called periodically by the reactor. This method updates the clerk's notion of globally synchronized time by contacting the various Time Servers.
typedef ACE_Array_Base<CosTime::TimeService_var> Timer_Helper::IORS [protected] |
The set of server IORs.
Timer_Helper::Timer_Helper | ( | void | ) |
Constructor.
Timer_Helper::~Timer_Helper | ( | void | ) |
Destructor.
Timer_Helper::Timer_Helper | ( | TAO_Time_Service_Clerk * | clerk | ) |
Constructor that sets the clerk.
int Timer_Helper::handle_timeout | ( | const ACE_Time_Value & | time, |
const void * | arg | ||
) | [virtual] |
This method is called periodically by the Reactor to update the clerk's time.
Reimplemented from ACE_Event_Handler.
TAO_Time_Service_Clerk* Timer_Helper::clerk_ [protected] |
Clerk's instance that this class helps to update time.