2 #include "tao/ORB_Core.h"
3 #include "tao/ORB_Table.h"
4 #include "tao/ORB_Core_Auto_Ptr.h"
6 Hello::Hello (CORBA::ORB_ptr orb
)
7 : orb_ (CORBA::ORB::_duplicate (orb
))
15 "(%P|%t) ERROR: Upcall in process ..\n"));
16 return CORBA::string_dup ("Hello there!");
22 // Give the client thread time to return from the collocated
23 // call to this method before shutting down the ORB. We sleep
24 // to avoid BAD_INV_ORDER exceptions on fast dual processor machines.
26 this->orb_
->shutdown (false);