diff options
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Request_Interceptor_Flow/test.idl')
-rw-r--r-- | TAO/tests/Portable_Interceptors/Request_Interceptor_Flow/test.idl | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/TAO/tests/Portable_Interceptors/Request_Interceptor_Flow/test.idl b/TAO/tests/Portable_Interceptors/Request_Interceptor_Flow/test.idl new file mode 100644 index 00000000000..036fe0dd66e --- /dev/null +++ b/TAO/tests/Portable_Interceptors/Request_Interceptor_Flow/test.idl @@ -0,0 +1,38 @@ +// -*- IDL -*- + +//============================================================================= +/** + * @file test.idl + * + * $Id$ + * + * IDL file to test request interceptor flow. + * + * @author Ossama Othman <ossama@uci.edu> + */ +//============================================================================= + +#include "tao/ULongSeq.pidl" + +interface Test +{ + typedef short TestScenario; + + /// Dummy exception used during the test. + exception X {}; + + /// Unknown scenario number was passed to the test operation. + exception UnknownScenario { + TestScenario scenario; + }; + + /// The client-side test operation. + void client_test (in TestScenario scenario) raises (X, UnknownScenario); + + /// The server-side test operation. + void server_test (in TestScenario scenario, out CORBA::ULongSeq myseq) raises (X, UnknownScenario); + + /// Shutdown the server. + oneway void shutdown (); + +}; |