diff options
Diffstat (limited to 'TAO/performance-tests/Latency/AMI')
-rw-r--r-- | TAO/performance-tests/Latency/AMI/Roundtrip_Handler.cpp | 12 | ||||
-rw-r--r-- | TAO/performance-tests/Latency/AMI/Roundtrip_Handler.h | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/TAO/performance-tests/Latency/AMI/Roundtrip_Handler.cpp b/TAO/performance-tests/Latency/AMI/Roundtrip_Handler.cpp index 62d29914e6c..e2107878934 100644 --- a/TAO/performance-tests/Latency/AMI/Roundtrip_Handler.cpp +++ b/TAO/performance-tests/Latency/AMI/Roundtrip_Handler.cpp @@ -28,21 +28,21 @@ Roundtrip_Handler::test_method (Test::Timestamp send_time ACE_ENV_ARG_DECL_NOT_USED) ACE_THROW_SPEC ((CORBA::SystemException)) { - this->pending_callbacks_--; + --this->pending_callbacks_; ACE_hrtime_t now = ACE_OS::gethrtime (); this->latency_stats_.sample (now - send_time); } void -Roundtrip_Handler::test_method_excep (Test::AMI_RoundtripExceptionHolder *holder +Roundtrip_Handler::test_method_excep (::Messaging::ExceptionHolder *holder ACE_ENV_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { ACE_TRY { - this->pending_callbacks_--; - holder->raise_test_method (ACE_ENV_SINGLE_ARG_PARAMETER); + --this->pending_callbacks_; + holder->raise_exception (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY @@ -59,13 +59,13 @@ Roundtrip_Handler::shutdown (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) } void -Roundtrip_Handler::shutdown_excep (Test::AMI_RoundtripExceptionHolder *holder +Roundtrip_Handler::shutdown_excep (::Messaging::ExceptionHolder *holder ACE_ENV_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { ACE_TRY { - holder->raise_shutdown (ACE_ENV_SINGLE_ARG_PARAMETER); + holder->raise_exception (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY diff --git a/TAO/performance-tests/Latency/AMI/Roundtrip_Handler.h b/TAO/performance-tests/Latency/AMI/Roundtrip_Handler.h index 4c944306dbb..213377e6629 100644 --- a/TAO/performance-tests/Latency/AMI/Roundtrip_Handler.h +++ b/TAO/performance-tests/Latency/AMI/Roundtrip_Handler.h @@ -32,13 +32,13 @@ public: virtual void test_method (Test::Timestamp send_time ACE_ENV_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)); - virtual void test_method_excep (Test::AMI_RoundtripExceptionHolder *holder + virtual void test_method_excep (::Messaging::ExceptionHolder *holder ACE_ENV_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)); virtual void shutdown (ACE_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)); - virtual void shutdown_excep (Test::AMI_RoundtripExceptionHolder *holder + virtual void shutdown_excep (::Messaging::ExceptionHolder *holder ACE_ENV_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)); |