diff options
author | bala <balanatarajan@users.noreply.github.com> | 2004-03-30 03:37:57 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2004-03-30 03:37:57 +0000 |
commit | f840a73afa43c7823e80a6c86a28d3058e28f0d1 (patch) | |
tree | 836fd78ca2d063c4487435f31a95bb6606550d90 | |
parent | 60f40dbc9537eb07d499be928bb81357c7d6b606 (diff) | |
download | ATCD-f840a73afa43c7823e80a6c86a28d3058e28f0d1.tar.gz |
ChangeLogTag:Mon Mar 29 21:34:30 2004 Balachandran Natarajan <bala@cs.wustl.edu>
-rw-r--r-- | TAO/ChangeLog | 9 | ||||
-rw-r--r-- | TAO/tao/DynamicInterface/DII_Invocation_Adapter.cpp | 10 |
2 files changed, 19 insertions, 0 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 24bdef16688..507fed9ea11 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,12 @@ +Mon Mar 29 21:34:30 2004 Balachandran Natarajan <bala@cs.wustl.edu> + + * tao/DynamicInterface/DII_Invocation_Adapter.cpp: + + Fixed byte ordering problems that prevented DSI gateways on a + different byte order to communicate with clients and servers + running on different byte orders. Thanks To Mouna Seri + <seri@crhc.uiuc.edu> for reporting the problem. + Mon Mar 29 11:46:49 2004 Chad Elliott <elliott_c@ociweb.com> * TAO_IDL/tao_idl.mpc: diff --git a/TAO/tao/DynamicInterface/DII_Invocation_Adapter.cpp b/TAO/tao/DynamicInterface/DII_Invocation_Adapter.cpp index 7c1e1588e90..0214eb33778 100644 --- a/TAO/tao/DynamicInterface/DII_Invocation_Adapter.cpp +++ b/TAO/tao/DynamicInterface/DII_Invocation_Adapter.cpp @@ -5,6 +5,11 @@ #include "tao/Exception.h" #include "tao/ORB_Constants.h" +#include "tao/Profile_Transport_Resolver.h" +#include "tao/Transport.h" +#include "tao/Transport.h" +#include "tao/Pluggable_Messaging.h" +#include "Request.h" #include "ace/os_include/os_errno.h" @@ -57,6 +62,8 @@ namespace TAO TAO_INVOKE_FAILURE); } + r.transport ()->messaging_object ()->out_stream ().reset_byte_order (request_->_tao_byte_order ()); + TAO::DII_Invocation synch (this->target_, r, op, @@ -144,6 +151,7 @@ namespace TAO TAO_INVOKE_FAILURE); } + r.transport ()->messaging_object ()->out_stream ().reset_byte_order (request_->_tao_byte_order ()); TAO::DII_Deferred_Invocation synch ( this->target_, r, @@ -151,6 +159,8 @@ namespace TAO this->rd_, this->request_); + r.transport ()->messaging_object ()->out_stream ().reset_byte_order (request_->_tao_byte_order ()); + Invocation_Status status = synch.remote_invocation (max_wait_time ACE_ENV_ARG_PARAMETER); |