summaryrefslogtreecommitdiff
path: root/modules/CIAO/performance-tests/Benchmark/LatencyTest.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/CIAO/performance-tests/Benchmark/LatencyTest.h')
-rw-r--r--modules/CIAO/performance-tests/Benchmark/LatencyTest.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/modules/CIAO/performance-tests/Benchmark/LatencyTest.h b/modules/CIAO/performance-tests/Benchmark/LatencyTest.h
new file mode 100644
index 00000000000..7bd3de194bf
--- /dev/null
+++ b/modules/CIAO/performance-tests/Benchmark/LatencyTest.h
@@ -0,0 +1,33 @@
+//
+// $Id$
+//
+
+#ifndef LATENCYTEST_H
+#define LATENCYTEST_H
+#include /**/ "ace/pre.h"
+
+#include "BenchmarkS.h"
+
+/// Implement the Test::LatencyTest interface
+class LatencyTest
+: public virtual POA_Benchmark::LatencyTest
+{
+ public:
+ /// Constructor
+ LatencyTest (CORBA::ORB_ptr orb);
+
+ // = The skeleton methods
+ virtual CORBA::Long makeCall (CORBA::Long send_time)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual void shutdown ()
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ /// Use an ORB reference to conver strings to objects and shutdown
+ /// the application.
+ CORBA::ORB_var orb_;
+};
+
+#include /**/ "ace/post.h"
+#endif /* LATENCYTEST_H */