2 #include "Client_Task.h"
5 Client_Task::Client_Task (const ACE_TCHAR
*ior
,
7 ACE_Thread_Manager
*thr_mgr
)
8 : ACE_Task_Base (thr_mgr
)
10 , corb_ (CORBA::ORB::_duplicate (corb
))
20 CORBA::Object_var tmp
=
21 this->corb_
->string_to_object (input_
);
23 Test::Hello_var hello
=
24 Test::Hello::_narrow(tmp
.in ());
26 if (CORBA::is_nil (hello
.in ()))
28 ACE_ERROR_RETURN ((LM_DEBUG
,
29 "Nil Test::Hello reference <%s>\n",
34 CORBA::String_var the_string
=
37 ACE_DEBUG ((LM_DEBUG
, "(%P|%t) - string returned <%C>\n",
42 catch (const CORBA::Exception
& ex
)
44 ex
._tao_print_exception ("Exception caught:");