Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / orbsvcs / tests / Security / MT_SSLIOP / test_i.cpp
blob19cc923660959345fb610f92a2838aa83929a380
1 #include "test_i.h"
2 #include "tao/debug.h"
3 #include "ace/OS_NS_unistd.h"
4 #if !defined(__ACE_INLINE__)
5 #include "test_i.inl"
6 #endif /* __ACE_INLINE__ */
8 CORBA::Long
9 Simple_Server_i::test_method (CORBA::Long x)
11 if (TAO_debug_level > 0)
12 ACE_DEBUG ((LM_DEBUG, "Simple_Server: Request in thread %t\n"));
13 ACE_Time_Value tv (0, 15000);
14 ACE_OS::sleep (tv);
15 return x;
18 void
19 Simple_Server_i::shutdown ()
21 this->orb_->shutdown (false);
24 //---------------------------------------------------------------------------
26 CORBA::Long
27 Another_One_i::test_method (CORBA::Long x)
29 if (TAO_debug_level > 0)
30 ACE_DEBUG ((LM_DEBUG, "Another_One: Request in thread %t\n"));
31 ACE_Time_Value tv (0, 15000);
32 ACE_OS::sleep (tv);
33 return x;