Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / Muxed_GIOP_Versions / test_i.cpp
blobe83f527b9cf4e9ba22020f9da019f0a0984d7b3a
1 #include "test_i.h"
2 #include "tao/debug.h"
4 #if !defined(__ACE_INLINE__)
5 #include "test_i.inl"
6 #endif /* __ACE_INLINE__ */
8 #include "ace/OS_NS_unistd.h"
10 CORBA::Long
11 Simple_Server_i::test_method (CORBA::Long x)
13 if (TAO_debug_level > 0)
14 ACE_DEBUG ((LM_DEBUG, "Request in thread %t\n"));
15 ACE_Time_Value tv (0, (x % 1000));
16 ACE_OS::sleep (tv);
17 return x;
20 void
21 Simple_Server_i::shutdown ()
23 // We dont shutdown the ORB. We allow the server to go away as it
24 // wants.
25 // this->orb_->shutdown (false);