summaryrefslogtreecommitdiff
path: root/ACE/TAO/tests/Faults/test.idl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/tests/Faults/test.idl')
-rw-r--r--ACE/TAO/tests/Faults/test.idl27
1 files changed, 27 insertions, 0 deletions
diff --git a/ACE/TAO/tests/Faults/test.idl b/ACE/TAO/tests/Faults/test.idl
new file mode 100644
index 00000000000..9ee2052e8b8
--- /dev/null
+++ b/ACE/TAO/tests/Faults/test.idl
@@ -0,0 +1,27 @@
+//
+// $Id$
+//
+
+interface Callback
+{
+ oneway void shutdown (in boolean is_clean);
+ // A safe way to shutdown the client, using either clean shutdowns
+ // or "catastrophic failures".
+};
+
+interface Simple_Server
+{
+ long test_method (in boolean do_callback,
+ in boolean is_clean,
+ in Callback cb);
+ // Just call a method on the server, we can pass a callback object
+ // so the server can be tested for client shutdowns.
+
+ void shutdown_now (in boolean is_clean);
+ // An unsafe way to shutdown the server, we can even ask for a
+ // "catastrophic crash" (implemented using abort())
+
+ oneway void shutdown ();
+ // A safe way to shutdown the server, it is a oneway function so we
+ // will never get a COMM_FAILURE error
+};