summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Latency/Thread_Per_Connection/Test.idl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/performance-tests/Latency/Thread_Per_Connection/Test.idl')
-rw-r--r--TAO/performance-tests/Latency/Thread_Per_Connection/Test.idl26
1 files changed, 26 insertions, 0 deletions
diff --git a/TAO/performance-tests/Latency/Thread_Per_Connection/Test.idl b/TAO/performance-tests/Latency/Thread_Per_Connection/Test.idl
new file mode 100644
index 00000000000..c41a5194042
--- /dev/null
+++ b/TAO/performance-tests/Latency/Thread_Per_Connection/Test.idl
@@ -0,0 +1,26 @@
+//
+// $Id$
+//
+
+/// A simple module to avoid namespace pollution
+module Test
+{
+ /// Use a timestamp to measure the roundtrip delay
+ typedef unsigned long long Timestamp;
+
+ /// Measure roundtrip delay
+ interface Roundtrip
+ {
+ /// A simple method to measure roundtrip delays
+ /**
+ * The operation simply returns its argument, this is used in AMI
+ * and deferred synchronous tests to measure the roundtrip delay
+ * without the need for a different reply handler for each
+ * request.
+ */
+ Timestamp test_method (in Timestamp send_time);
+
+ /// Shutdown the ORB
+ oneway void shutdown ();
+ };
+};