diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Security/BiDirectional/test.idl')
-rw-r--r-- | TAO/orbsvcs/tests/Security/BiDirectional/test.idl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/Security/BiDirectional/test.idl b/TAO/orbsvcs/tests/Security/BiDirectional/test.idl new file mode 100644 index 00000000000..4839f8a67b1 --- /dev/null +++ b/TAO/orbsvcs/tests/Security/BiDirectional/test.idl @@ -0,0 +1,26 @@ +// +// $Id$ +// + +interface Callback +{ + /// A safe way to shutdown the client, using either clean shutdowns + /// or "catastrophic failures". + oneway void shutdown (); + + /// A simple remote call + void callback_method (); +}; + +interface Simple_Server +{ + /// Just call a method on the server, + long test_method (in boolean do_callback); + + /// send the callback object to the server + void callback_object (in Callback cb); + + /// A safe way to shutdown the server, it is a oneway function so we + /// will never get a COMM_FAILURE error + oneway void shutdown (); +}; |