Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / DII_AMI_Forward / test_i.cpp
bloba02abdb44d676a807276dbadb690ec94919924dc
1 // -*- C++ -*-
3 #include "test_i.h"
4 #include "tao/debug.h"
5 #include "ace/OS_NS_unistd.h"
7 Forward_Test_i::Forward_Test_i (CORBA::ORB_ptr orb)
8 : orb_ (CORBA::ORB::_duplicate (orb))
12 char * Forward_Test_i::do_forward (const char *text)
14 ACE_DEBUG ((LM_DEBUG,"Server echoing test string\n"));
15 return CORBA::string_dup (text);
18 void
19 Forward_Test_i::shutdown ()
21 ACE_OS::sleep(2);
22 this->orb_->shutdown (false);