1 #include "Echo_Caller.h"
2 #include "Server_Task.h"
4 Echo_Caller::Echo_Caller(CORBA::ORB_ptr orb
)
5 : orb_ (CORBA::ORB::_duplicate(orb
))
10 Echo_Caller::start_task(Test::Echo_ptr client
)
12 Server_Task
task (client
);
14 if (task
.activate (THR_NEW_LWP
| THR_JOINABLE
,
19 "Error activating client task\n"));
22 ACE_Thread_Manager::instance ()->wait ();
26 Echo_Caller::shutdown()
28 ACE_DEBUG ((LM_DEBUG
, "Server received shutdown message\n"));