diff options
author | bala <balanatarajan@users.noreply.github.com> | 2003-09-30 16:47:56 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2003-09-30 16:47:56 +0000 |
commit | eb012b1afe71dab3c0228bc6d4092ddf1edcdb2e (patch) | |
tree | 5168c2ce1b5be8ca32a50b7982312b2f24445cb2 | |
parent | bb682e1073d1ff6acce8b66a40b9a1bd7e1f3bc6 (diff) | |
download | ATCD-eb012b1afe71dab3c0228bc6d4092ddf1edcdb2e.tar.gz |
ChangeLogTag:Tue Sep 30 11:45:49 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
-rw-r--r-- | TAO/ChangeLog | 8 | ||||
-rw-r--r-- | TAO/orbsvcs/tests/FaultTolerance/Replay_Reply/Server_Request_Interceptor.cpp | 12 |
2 files changed, 10 insertions, 10 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index eb7879fe476..f1e40cacc9d 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,11 @@ +Tue Sep 30 11:45:49 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu> + + * orbsvcs/tests/FaultTolerance/Replay_Reply/Server_Request_Interceptor.cpp: + + The send_reply () method now uses generic ways to marshall the + value inside an Any into the CDR stream. This now uses the + undocumented marshal_value () in Any_Impl class. + Mon Sep 29 18:55:08 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu> * orbsvcs/tests/FaultTolerance/Replay_Reply: diff --git a/TAO/orbsvcs/tests/FaultTolerance/Replay_Reply/Server_Request_Interceptor.cpp b/TAO/orbsvcs/tests/FaultTolerance/Replay_Reply/Server_Request_Interceptor.cpp index e9e70026077..ded188e8d9c 100644 --- a/TAO/orbsvcs/tests/FaultTolerance/Replay_Reply/Server_Request_Interceptor.cpp +++ b/TAO/orbsvcs/tests/FaultTolerance/Replay_Reply/Server_Request_Interceptor.cpp @@ -113,13 +113,8 @@ Server_Request_Interceptor::send_reply ( ri->result (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK; - CORBA::Short retval = 0; - - result >>= retval; - TAO_OutputCDR cdr; - - cdr << retval; + result->impl ()->marshal_value (cdr); Dynamic::ParameterList_var pl = ri->arguments (ACE_ENV_SINGLE_ARG_PARAMETER); @@ -133,10 +128,7 @@ Server_Request_Interceptor::send_reply ( // No chance for PARAM_OUT if ((*pl)[index].mode == CORBA::PARAM_INOUT) { - const char *str; - (*pl)[index].argument >>= str; - - cdr.write_string (str); + (*pl)[index].argument.impl ()->marshal_value (cdr); } } |