2 #include "tao/ORB_Core.h"
4 #include "tao/Transport_Cache_Manager.h"
5 #include "tao/Thread_Lane_Resources.h"
7 #if !defined(__ACE_INLINE__)
9 #endif /* __ACE_INLINE__ */
12 Callback_i::shutdown (void)
14 ACE_DEBUG ((LM_DEBUG
, "Performing clean shutdown\n"));
15 this->orb_
->shutdown (0);
19 Callback_i::callback_method ( /**/)
21 if (TAO_debug_level
> 0)
22 ACE_DEBUG ((LM_DEBUG
, "Callback method called\n"));
26 // ****************************************************************
29 Simple_Server_i::test_method (CORBA::Boolean do_callback
)
33 if (TAO_debug_level
> 0)
35 ACE_TEXT ("About to make a remote call in the Upcall\n")));
38 times
< this->no_iterations_
;
41 this->callback_
->callback_method ();
43 if (this->orb_
->orb_core ()->lane_resources ().transport_cache ().current_size () > 1)
46 "(%P|%t) The cache has grown, aborting ..\n"));
57 Simple_Server_i::callback_object (Callback_ptr callback
60 // Store the callback object
61 this->callback_
= Callback::_duplicate (callback
);
66 Simple_Server_i::shutdown (void)
68 this->orb_
->shutdown (0);