summaryrefslogtreecommitdiff
path: root/trunk/TAO/performance-tests/Latency/Deferred/Roundtrip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/performance-tests/Latency/Deferred/Roundtrip.cpp')
-rw-r--r--trunk/TAO/performance-tests/Latency/Deferred/Roundtrip.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/trunk/TAO/performance-tests/Latency/Deferred/Roundtrip.cpp b/trunk/TAO/performance-tests/Latency/Deferred/Roundtrip.cpp
new file mode 100644
index 00000000000..72f83576b44
--- /dev/null
+++ b/trunk/TAO/performance-tests/Latency/Deferred/Roundtrip.cpp
@@ -0,0 +1,26 @@
+//
+// $Id$
+//
+#include "Roundtrip.h"
+
+ACE_RCSID(Single_Threaded_Latency, Roundtrip, "$Id$")
+
+Roundtrip::Roundtrip (CORBA::ORB_ptr orb)
+ : orb_ (CORBA::ORB::_duplicate (orb))
+{
+}
+
+Test::Timestamp
+Roundtrip::test_method (Test::Timestamp send_time
+ ACE_ENV_ARG_DECL_NOT_USED)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return send_time;
+}
+
+void
+Roundtrip::shutdown (ACE_ENV_SINGLE_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ this->orb_->shutdown (0 ACE_ENV_ARG_PARAMETER);
+}