1 #include "ace/OS_NS_unistd.h"
4 TestImpl::TestImpl (CORBA::ORB_ptr orb
)
5 : orb_ (CORBA::ORB::_duplicate (orb
))
10 void TestImpl::myMethod ()
12 ACE_DEBUG ((LM_ERROR
, "(%P): TestImpl::myMethod called!.\n"));
16 void TestImpl::shutdown ()
18 // Give the client thread time to return from the collocated
19 // call to this method before shutting down the ORB. We sleep
20 // to avoid BAD_INV_ORDER exceptions on fast dual processor machines.
22 this->orb_
->shutdown ();