2 #include "Client_Task.h"
4 Client_Task::Client_Task (CORBA::ORB_ptr orb
,
5 ACE_Thread_Manager
*thr_mgr
)
6 : ACE_Task_Base (thr_mgr
)
7 , orb_ (CORBA::ORB::_duplicate (orb
))
12 Client_Task::svc (void)
14 ACE_DEBUG ((LM_DEBUG
, "(%P|%t) Starting client task\n"));
16 // Wait for 2 minutes...
17 ACE_Time_Value
tv (60,0);
23 catch (const CORBA::Exception
& ex
)
25 ex
._tao_print_exception ("(%P|%t) Client_Task::svc exception!!!\n");
29 ACE_DEBUG ((LM_DEBUG
, "(%P|%t) Client task finished\n"));