int status_update(void) {
     ACE_DEBUG((LM_DEBUG,
                "Obtaining a status_update in %t"
                " thread of control\n"));
     ACE_OS::sleep(2);
     return next_result_id();
 }
Example #2
0
 int status_update (void)
 {
   ACE_TRACE (ACE_TEXT ("HA_ControllerAgent::status_update"));
   ACE_DEBUG ((LM_DEBUG,
               ACE_TEXT ("Obtaining a status_update in %t ")
               ACE_TEXT ("thread of control\n")));
   // Simulate time to send message and get status.
   ACE_OS::sleep (2);
   return next_result_id ();
 }