summaryrefslogtreecommitdiff
path: root/ACE/TAO/performance-tests/Latency/AMI/Roundtrip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/performance-tests/Latency/AMI/Roundtrip.cpp')
-rw-r--r--ACE/TAO/performance-tests/Latency/AMI/Roundtrip.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/ACE/TAO/performance-tests/Latency/AMI/Roundtrip.cpp b/ACE/TAO/performance-tests/Latency/AMI/Roundtrip.cpp
new file mode 100644
index 00000000000..070942c4482
--- /dev/null
+++ b/ACE/TAO/performance-tests/Latency/AMI/Roundtrip.cpp
@@ -0,0 +1,23 @@
+//
+// $Id$
+//
+#include "Roundtrip.h"
+
+ACE_RCSID(AMI_Latency, Roundtrip, "$Id$")
+
+Roundtrip::Roundtrip (CORBA::ORB_ptr orb)
+ : orb_ (CORBA::ORB::_duplicate (orb))
+{
+}
+
+Test::Timestamp
+Roundtrip::test_method (Test::Timestamp send_time)
+{
+ return send_time;
+}
+
+void
+Roundtrip::shutdown (void)
+{
+ this->orb_->shutdown (0);
+}