summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Latency/AMI/Roundtrip_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/performance-tests/Latency/AMI/Roundtrip_Handler.cpp')
-rw-r--r--TAO/performance-tests/Latency/AMI/Roundtrip_Handler.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/performance-tests/Latency/AMI/Roundtrip_Handler.cpp b/TAO/performance-tests/Latency/AMI/Roundtrip_Handler.cpp
index e2107878934..62d29914e6c 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 (::Messaging::ExceptionHolder *holder
+Roundtrip_Handler::test_method_excep (Test::AMI_RoundtripExceptionHolder *holder
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_TRY
{
- --this->pending_callbacks_;
- holder->raise_exception (ACE_ENV_SINGLE_ARG_PARAMETER);
+ this->pending_callbacks_--;
+ holder->raise_test_method (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 (::Messaging::ExceptionHolder *holder
+Roundtrip_Handler::shutdown_excep (Test::AMI_RoundtripExceptionHolder *holder
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_TRY
{
- holder->raise_exception (ACE_ENV_SINGLE_ARG_PARAMETER);
+ holder->raise_shutdown (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
}
ACE_CATCHANY