summaryrefslogtreecommitdiff
path: root/TAO/tests/AMH_Exceptions/Test.idl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/AMH_Exceptions/Test.idl')
-rw-r--r--TAO/tests/AMH_Exceptions/Test.idl30
1 files changed, 30 insertions, 0 deletions
diff --git a/TAO/tests/AMH_Exceptions/Test.idl b/TAO/tests/AMH_Exceptions/Test.idl
new file mode 100644
index 00000000000..6a9ae77044b
--- /dev/null
+++ b/TAO/tests/AMH_Exceptions/Test.idl
@@ -0,0 +1,30 @@
+//
+// $Id$
+//
+
+/// A simple module to avoid namespace pollution
+module Test
+{
+
+ exception InvalidTimestamp {};
+ exception ServerOverload {};
+
+ /// Use a timestamp to measure the roundtrip delay
+ typedef unsigned long long Timestamp;
+
+ valuetype Red_Herring
+ {
+ Timestamp test_method (in Timestamp send_time)
+ raises (InvalidTimestamp, ServerOverload);
+ };
+
+ /// Measure roundtrip Delay
+ interface Roundtrip
+ {
+ Timestamp test_method (in Timestamp send_time)
+ raises (InvalidTimestamp, ServerOverload);
+
+ oneway void shutdown ();
+ };
+
+};