2 #include "ace/OS_NS_unistd.h"
4 Visual_i::Visual_i (CORBA::ORB_ptr orb
)
5 : orb_ (CORBA::ORB::_duplicate (orb
))
11 Visual_i::normal (CORBA::Long
)
13 // ACE_DEBUG ((LM_DEBUG, "Visual::normal called with %d\n", arg));
17 Visual_i::calculate (CORBA::Long one
,
20 // ACE_DEBUG ((LM_DEBUG, "Visual::calculate\n"));
27 // ACE_DEBUG ((LM_DEBUG, "Visual::user, throwning Silly\n"));
28 throw Test_Interceptors::Silly ();
34 // ACE_DEBUG ((LM_DEBUG, "Visual::user, throwing INV_OBJREF\n"));
35 throw CORBA::INV_OBJREF ();
43 // Give the client thread time to return from the collocated
44 // call to this method before shutting down the ORB. We sleep
45 // to avoid BAD_INV_ORDER exceptions on fast dual processor machines.
47 this->orb_
->shutdown ();