Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Crashed_Callback / Test.idl
blobb1a22e6d4cbf85bc51d10f5aada48127b3422944
2 module Test
4 /**
5 * Callback interface used to test the behavior of the ORB under
6 * crashes.
7 */
8 interface Crashed_Callback
10 /// Make sure the callback object is still in good shape
11 /**
12 * The server needs to verify that at least some requests worked
13 * before trying to test the behavior of the ORB after a crash.
15 boolean are_you_there ();
17 /// Force an abort() on the process implementing the callback
18 /// interface
19 oneway void crash_now_please ();
21 /// Receive the first callback
22 oneway void test_oneway ();
25 /**
26 * Clients connect to this interface passing in a Crashed_Callback
27 * object.
28 * The service will then invoke all the methods on the
29 * Crashed_Callback, and verify that only exceptions are raised
30 * after invoking @c crash_now_please()
33 interface Service
35 /// Invoke the callback object from the server
36 oneway void run_test (in Crashed_Callback the_callback);