Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / Bug_1270_Regression / Echo_Caller.cpp
blob8756d4d29e88160d600212b393dfc7a902ff9365
1 /**
2 * @file Echo_Caller.cpp
4 * @author Carlos O'Ryan <coryan@atdesk.com>
5 */
6 #include "Echo_Caller.h"
7 #include "Server_Timer.h"
8 #include "tao/ORB_Core.h"
10 Echo_Caller::Echo_Caller(CORBA::ORB_ptr orb)
11 : orb_(CORBA::ORB::_duplicate(orb))
15 void
16 Echo_Caller::start_task(Test::Echo_ptr client)
18 Server_Timer * task =
19 new Server_Timer(client, orb_->orb_core()->reactor());
20 task->activate();
21 task->remove_reference ();
23 task =
24 new Server_Timer(client, orb_->orb_core()->reactor());
25 task->activate();
26 task->remove_reference ();
29 void
30 Echo_Caller::shutdown()
32 ACE_DEBUG ((LM_DEBUG, "Server received shutdown message\n"));
33 orb_->shutdown(0);