diff options
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Collocated/Dynamic/test.idl')
-rw-r--r-- | TAO/tests/Portable_Interceptors/Collocated/Dynamic/test.idl | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/TAO/tests/Portable_Interceptors/Collocated/Dynamic/test.idl b/TAO/tests/Portable_Interceptors/Collocated/Dynamic/test.idl new file mode 100644 index 00000000000..8671f9b0a97 --- /dev/null +++ b/TAO/tests/Portable_Interceptors/Collocated/Dynamic/test.idl @@ -0,0 +1,42 @@ +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// TAO/tests/Portable_Interceptors +// +// = FILENAME +// test.idl +// +// = DESCRIPTION +// Simple IDL file to test portable interceptor support. +// +// = AUTHORS +// Nanbor Wang <nanbor@cs.wustl.edu> +// +// ============================================================================ + +module Test_Interceptors +{ + exception Silly + {}; + + interface Visual + { + /// Normal operation. + void normal (in long arg); + + /// Normal operation with a return val. + long calculate (in long one, in long two); + + /// throws a user exception. + void user () + raises (Silly); + + /// throws a system exception. + void system (); + + /// shutdown the ORB + oneway void shutdown (); + }; +}; |