Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Bug_2683_Regression / test_i.cpp
blob11c4d65deeb2b035baeea38e55cf16cc14e70c08
1 #include "test_i.h"
2 #include "ace/OS_NS_unistd.h"
4 test_i::test_i (ORB_Killer *k)
5 : killer_ (k)
9 void
10 test_i::ping ()
14 void
15 test_i::shutdown ()
17 ACE_DEBUG ((LM_DEBUG,"(%P|%t) requesting shutdown\n"));
18 this->killer_->activate ();
22 ORB_Killer::ORB_Killer (CORBA::ORB_ptr orb)
23 : orb_ (CORBA::ORB::_duplicate (orb))
27 int
28 ORB_Killer::svc ()
30 ACE_OS::sleep (1);
31 ACE_DEBUG ((LM_DEBUG,"(%P|%t) doing shutdown\n"));
32 orb_->shutdown(1);
33 ACE_DEBUG ((LM_DEBUG,"(%P|%t) shutdown complete\n"));
34 return 0;