Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / MT_NoUpcall_Client_Leader / SharedIntf_i.cpp
blob1b8418969808362555ff11af3ae101d60cbff48d
1 #include "SharedIntf_i.h"
2 #include "ace/Log_Priority.h"
3 #include "ace/OS_NS_unistd.h"
5 Test_Idl_SharedIntf_i::Test_Idl_SharedIntf_i(CORBA::ORB_ptr orb)
6 : orb_ (orb)
10 Test_Idl_SharedIntf_i::~Test_Idl_SharedIntf_i() {}
12 void Test_Idl_SharedIntf_i::ping ()
14 ACE_DEBUG((LM_DEBUG,"(%P|%t) Test_Idl_SharedIntf::ping - sleeping for 5 seconds\n"));
15 ACE_OS::sleep(5);
16 ACE_DEBUG((LM_DEBUG,"(%P|%t) Test_Idl_SharedIntf::ping - waking up\n"));
19 void Test_Idl_SharedIntf_i::farewell ()
21 ACE_DEBUG((LM_INFO,"(%P|%t) farewell begins\n"));
22 this->orb_->shutdown ();
23 ACE_DEBUG((LM_INFO,"(%P|%t) farewell completes\n"));