2 #include "ace/OS_NS_unistd.h"
4 Simple_Server_i::Simple_Server_i (CORBA::ORB_ptr orb
)
5 : orb_ (CORBA::ORB::_duplicate (orb
))
10 Simple_Server_i::echo (CORBA::Long x
,
13 ACE_Time_Value
tv (msecs
/ 1000, (msecs
% 1000) * 1000);
15 // ACE_DEBUG ((LM_DEBUG, "server (%P) Sleeping for %d msecs\n",
23 Simple_Server_i::shutdown ()
26 "server (%P) Received shutdown request from client\n"));
27 this->orb_
->shutdown (false);