Merge pull request #2306 from mitza-oci/warnings
[ACE_TAO.git] / TAO / orbsvcs / tests / ImplRepo / Bug_4152_Regression / Test_i.cpp
blobd6c91c8e1a26f1674eb38e0c3bd0c2cbd7f7edc5
1 /* -*- C++ -*- */
3 #include "Test_i.h"
4 #include "ace/OS_NS_unistd.h"
5 #include "ace/OS_NS_stdio.h"
7 Test_i::Test_i (CORBA::ORB_ptr orb) : orb_ (CORBA::ORB::_duplicate(orb))
11 CORBA::Short
12 Test_i::get_server_num ()
14 return 1;
17 void
18 Test_i::terminate ()
20 ACE_DEBUG ((LM_DEBUG, "(%P|%t) Server received terminate and going to exit\n"));
21 exit (0);
24 void
25 Test_i::shutdown ()
27 ACE_DEBUG ((LM_DEBUG, "(%P|%t) Server received shutdown and going to exit\n"));
28 orb_->shutdown ();