diff options
Diffstat (limited to 'TAO/performance-tests/DII_Latency/Roundtrip.cpp')
-rw-r--r-- | TAO/performance-tests/DII_Latency/Roundtrip.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/TAO/performance-tests/DII_Latency/Roundtrip.cpp b/TAO/performance-tests/DII_Latency/Roundtrip.cpp new file mode 100644 index 00000000000..df15cd65d8a --- /dev/null +++ b/TAO/performance-tests/DII_Latency/Roundtrip.cpp @@ -0,0 +1,26 @@ +// +// $Id$ +// +#include "Roundtrip.h" + +ACE_RCSID(DII_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); +} |