Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / tests / Security / MT_SSLIOP / test_i.cpp
blob4ed9fe098ccaefd31c0eb4663ec10ee2d671bd22
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 (void)
21 this->orb_->shutdown (0);
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;