diff options
author | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-06-08 23:56:28 +0000 |
---|---|---|
committer | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-06-08 23:56:28 +0000 |
commit | 412d96dbbdc4313cff5c30c9e142faa8aaa07876 (patch) | |
tree | 56eb62fd3aad569fb9ef6008be16529cf3aa91a6 /TAO/performance-tests/Sequence_Latency/Single_Threaded/Roundtrip.cpp | |
parent | f03d9cca26c58d2b13f43614506fe078844cac59 (diff) | |
download | ATCD-412d96dbbdc4313cff5c30c9e142faa8aaa07876.tar.gz |
ChangeLogTag:Sun Jun 8 18:50:29 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/performance-tests/Sequence_Latency/Single_Threaded/Roundtrip.cpp')
-rw-r--r-- | TAO/performance-tests/Sequence_Latency/Single_Threaded/Roundtrip.cpp | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/TAO/performance-tests/Sequence_Latency/Single_Threaded/Roundtrip.cpp b/TAO/performance-tests/Sequence_Latency/Single_Threaded/Roundtrip.cpp new file mode 100644 index 00000000000..83dde3b6f0e --- /dev/null +++ b/TAO/performance-tests/Sequence_Latency/Single_Threaded/Roundtrip.cpp @@ -0,0 +1,73 @@ +// +// $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_octet_method (const Test::octet_load &, + Test::Timestamp send_time + ACE_ENV_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + return send_time; +} + +Test::Timestamp +Roundtrip::test_long_method (const Test::long_load &, + Test::Timestamp send_time + ACE_ENV_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + return send_time; +} + +Test::Timestamp +Roundtrip::test_char_method (const Test::char_load &, + Test::Timestamp send_time + ACE_ENV_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + return send_time; +} + +Test::Timestamp +Roundtrip::test_longlong_method (const Test::longlong_load &, + Test::Timestamp send_time + ACE_ENV_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + return send_time; +} + +Test::Timestamp +Roundtrip::test_double_method (const Test::double_load &, + Test::Timestamp send_time + ACE_ENV_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + return send_time; +} + + +Test::Timestamp +Roundtrip::test_short_method (const Test::short_load &, + 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); +} |