summaryrefslogtreecommitdiff
path: root/ACE/TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Callback/Test.idl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Callback/Test.idl')
-rw-r--r--ACE/TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Callback/Test.idl39
1 files changed, 39 insertions, 0 deletions
diff --git a/ACE/TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Callback/Test.idl b/ACE/TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Callback/Test.idl
new file mode 100644
index 00000000000..2b27d49688c
--- /dev/null
+++ b/ACE/TAO/orbsvcs/performance-tests/RTEvent/RTCORBA_Callback/Test.idl
@@ -0,0 +1,39 @@
+//
+// $Id$
+//
+
+/// A simple module to avoid namespace pollution
+module Test
+{
+ /// Use a timestamp to measure the roundtrip delay
+ typedef unsigned long long Timestamp;
+
+ interface Session;
+ interface Callback;
+
+ /// Create sessions to measure roundtrip delays
+ interface Session_Factory
+ {
+ /// Return a new session
+ Session create_new_session (in Callback the_callback);
+
+ /// Shutdown the server
+ void shutdown ();
+ };
+
+ /// Each experiment is ran using completely separate
+ interface Session
+ {
+ /// Run one iteration of the experiment
+ void sample (in Timestamp the_timestamp);
+
+ /// Destroy the session
+ void shutdown ();
+ };
+
+ interface Callback
+ {
+ /// Measure one iteration
+ void sample (in Timestamp the_timestamp);
+ };
+};