Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / Faults / test.idl
blobff7ca574cd1ed37f71dc2f834082acb6240f8658
2 interface Callback
4 oneway void shutdown (in boolean is_clean);
5 // A safe way to shutdown the client, using either clean shutdowns
6 // or "catastrophic failures".
7 };
9 interface Simple_Server
11 long test_method (in boolean do_callback,
12 in boolean is_clean,
13 in Callback cb);
14 // Just call a method on the server, we can pass a callback object
15 // so the server can be tested for client shutdowns.
17 void shutdown_now (in boolean is_clean);
18 // An unsafe way to shutdown the server, we can even ask for a
19 // "catastrophic crash" (implemented using abort())
21 oneway void shutdown ();
22 // A safe way to shutdown the server, it is a oneway function so we
23 // will never get a COMM_FAILURE error