Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / Bug_2494_Regression / test_i.cpp
blob16041c56416faf77ff7d171fb86b5aaac48b3fdf
1 #include "test_i.h"
2 #include "tao/debug.h"
3 #include "ace/OS_NS_unistd.h"
5 #if !defined(__ACE_INLINE__)
6 #include "test_i.inl"
7 #endif /* __ACE_INLINE__ */
9 char *
10 Simple_Server_i::test_method (const char *x)
12 if (TAO_debug_level > 0)
13 ACE_DEBUG ((LM_DEBUG, "Request in thread %t\n"));
14 ACE_Time_Value tv (2);
15 ACE_OS::sleep (tv);
16 return CORBA::string_dup(x);
19 void
20 Simple_Server_i::shutdown ()
22 this->orb_->shutdown (false);