summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/ForwardRequest/Client_Request_Interceptor.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-01-24 15:39:09 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-01-24 15:39:09 +0000
commitc801f87e59c00f72bdeb5ce7bd0d276674665bac (patch)
tree70bff03d1cf156ecf05ee4c5c338d8ce423e64ee /TAO/tests/Portable_Interceptors/ForwardRequest/Client_Request_Interceptor.cpp
parent98c0b37d4714ff774fc3ada8c9ee893c719af714 (diff)
downloadATCD-c801f87e59c00f72bdeb5ce7bd0d276674665bac.tar.gz
Wed Jan 24 14:00:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tests/Portable_Interceptors/ForwardRequest/Client_Request_Interceptor.cpp')
-rw-r--r--TAO/tests/Portable_Interceptors/ForwardRequest/Client_Request_Interceptor.cpp17
1 files changed, 5 insertions, 12 deletions
diff --git a/TAO/tests/Portable_Interceptors/ForwardRequest/Client_Request_Interceptor.cpp b/TAO/tests/Portable_Interceptors/ForwardRequest/Client_Request_Interceptor.cpp
index 949746c9d36..b2ab0ceba8c 100644
--- a/TAO/tests/Portable_Interceptors/ForwardRequest/Client_Request_Interceptor.cpp
+++ b/TAO/tests/Portable_Interceptors/ForwardRequest/Client_Request_Interceptor.cpp
@@ -28,7 +28,7 @@ Client_Request_Interceptor::name (
}
void
-Client_Request_Interceptor::destroy (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
+Client_Request_Interceptor::destroy (void)
ACE_THROW_SPEC ((CORBA::SystemException))
{
}
@@ -43,8 +43,7 @@ Client_Request_Interceptor::send_request (
++this->request_count_;
CORBA::Boolean response_expected =
- ri->response_expected (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_CHECK;
+ ri->response_expected ();
if (!response_expected) // A one-way request.
return;
@@ -61,18 +60,15 @@ Client_Request_Interceptor::send_request (
0,
this->orb_id_.in ()
ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
}
CORBA::Object_var forward =
this->orb_->string_to_object (this->forward_str_.in ()
ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
CORBA::String_var forward_str =
this->orb_->object_to_string (forward.in ()
ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
ACE_DEBUG ((LM_DEBUG,
"CLIENT (%P|%t) Request %d will be forwarded "
@@ -119,16 +115,14 @@ Client_Request_Interceptor::receive_other (
{
CORBA::Boolean response_expected =
- ri->response_expected (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_CHECK;
+ ri->response_expected ();
// Oneway
if (!response_expected)
return;
PortableInterceptor::ReplyStatus reply_status =
- ri->reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_CHECK;
+ ri->reply_status ();
if (reply_status == PortableInterceptor::TRANSPORT_RETRY)
return;
@@ -140,8 +134,7 @@ Client_Request_Interceptor::receive_other (
// This will throw an exception if a location forward has not
// occured. If an exception is thrown then something is wrong with
// the PortableInterceptor::ForwardRequest support.
- CORBA::Object_var forward = ri->forward_reference (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_CHECK;
+ CORBA::Object_var forward = ri->forward_reference ();
if (CORBA::is_nil (forward.in ()))
ACE_THROW (CORBA::INTERNAL ());