2 #include "Server_Task.h"
5 Server_Task::Server_Task (CORBA::ORB_ptr orb
,
7 ACE_Thread_Manager
*thr_mgr
)
8 : ACE_Task_Base (thr_mgr
)
9 , orb_ (CORBA::ORB::_duplicate (orb
))
15 Server_Task::svc (void)
17 ACE_DEBUG ((LM_DEBUG
, "(%P|%t) Starting server task\n"));
20 while (!this->sender_
->is_done ())
22 // run the test for at most 120 seconds...
23 ACE_Time_Value
tv (240, 0);
28 catch (const CORBA::Exception
&)
32 ACE_DEBUG ((LM_DEBUG
, "(%P|%t) Server task finished\n"));