2 #include "ace/OS_NS_unistd.h"
4 Simple_Server_i::Simple_Server_i (CORBA::ORB_ptr orb
)
5 : orb_ (CORBA::ORB::_duplicate (orb
))
11 Simple_Server_i::echo (CORBA::Long x
,
14 ACE_Time_Value
tv (msecs
/ 1000, (msecs
% 1000) * 1000);
16 // ACE_DEBUG ((LM_DEBUG, "server (%P) Sleeping for %d msecs\n",
24 Simple_Server_i::shutdown (void)
27 "server (%P) Received shutdown request from client\n"));
28 this->orb_
->shutdown (0);