summaryrefslogtreecommitdiff
path: root/TAO/tao/IORManipulation/IORManip_IIOP_Filter.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2009-03-17 10:17:38 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2009-03-17 10:17:38 +0000
commit8995bb9f46383c2e8149099694c65a8de626a16a (patch)
tree85106fba4304c6a62b1ed2b789de4747db2fa488 /TAO/tao/IORManipulation/IORManip_IIOP_Filter.cpp
parent25c65769b52d3b30f4184c532426fc5589efa1f0 (diff)
downloadATCD-8995bb9f46383c2e8149099694c65a8de626a16a.tar.gz
Tue Mar 17 10:09:22 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* orbsvcs/orbsvcs/HTIOP/HTIOP_Transport.cpp: * orbsvcs/orbsvcs/HTIOP/HTIOP_Transport.h: * orbsvcs/orbsvcs/SSLIOP/SSLIOP_Acceptor.h: * orbsvcs/orbsvcs/SSLIOP/SSLIOP_Transport.cpp: * orbsvcs/orbsvcs/SSLIOP/SSLIOP_Transport.h: * tao/BiDir_GIOP/BiDir_Service_Context_Handler.cpp: * tao/BiDir_GIOP/BiDir_Service_Context_Handler.h: * tao/Codeset/Codeset_Manager_i.cpp: * tao/Codeset/Codeset_Manager_i.h: * tao/Codeset_Manager.h: * tao/DiffServPolicy/DiffServ_Protocols_Hooks.cpp: * tao/DiffServPolicy/DiffServ_Protocols_Hooks.h: * tao/DiffServPolicy/DiffServ_Service_Context_Handler.cpp: * tao/DiffServPolicy/DiffServ_Service_Context_Handler.h: * tao/DiffServPolicy/DiffServPolicy_ORBInitializer.cpp: * tao/GIOP_Message_Base.cpp: * tao/IIOP_Transport.cpp: * tao/IIOP_Transport.h: * tao/IORManipulation/IORManip_IIOP_Filter.cpp: * tao/LocateRequest_Invocation.cpp: * tao/Makefile.am: * tao/Network_Priority_Protocols_Hooks.h: * tao/ORB_Core.cpp: * tao/ORB_Core.h: * tao/Protocols_Hooks.h: * tao/Remote_Invocation.cpp: * tao/Remote_Invocation.h: * tao/RTCORBA/RT_Endpoint_Selector_Factory.h: * tao/RTCORBA/RT_ORBInitializer.cpp: * tao/RTCORBA/RT_Protocols_Hooks.cpp: * tao/RTCORBA/RT_Protocols_Hooks.h: * tao/RTCORBA/RT_Service_Context_Handler.cpp: * tao/RTCORBA/RT_Service_Context_Handler.h: * tao/RTCORBA/RT_Thread_Lane_Resources_Manager.h: * tao/Service_Context_Handler.h: * tao/Service_Context_Handler_Registry.cpp: * tao/Service_Context_Handler_Registry.h: * tao/Strategies/SCIOP_Transport.cpp: * tao/Strategies/SCIOP_Transport.h: * tao/Transport.cpp: * tao/Transport.h: * tao/TypeCodeFactory/TypeCodeFactory_i.cpp: Refactored BiDir/Diffserv/RTCORBA/Codeset support. The service contexts are now generated by the specific service context handlers. This way the special RTCORBA/Diffserv hooks are removed from the code, generating the service contexts is now a generic solution. In the near future we will also rework the handling of those service contexts. The generation of the BiDIR service context is now also moved out of the specific transports
Diffstat (limited to 'TAO/tao/IORManipulation/IORManip_IIOP_Filter.cpp')
-rw-r--r--TAO/tao/IORManipulation/IORManip_IIOP_Filter.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/tao/IORManipulation/IORManip_IIOP_Filter.cpp b/TAO/tao/IORManipulation/IORManip_IIOP_Filter.cpp
index e75ceca9d99..211e85c6a6e 100644
--- a/TAO/tao/IORManipulation/IORManip_IIOP_Filter.cpp
+++ b/TAO/tao/IORManipulation/IORManip_IIOP_Filter.cpp
@@ -208,12 +208,13 @@ TAO_IORManip_IIOP_Filter::get_endpoints (TAO_Profile* profile,
// Extract the Byte Order.
CORBA::Boolean byte_order;
- if ((in_cdr >> ACE_InputCDR::to_boolean (byte_order)) == 0)
+ if (!(in_cdr >> ACE_InputCDR::to_boolean (byte_order)))
return 0;
+
in_cdr.reset_byte_order (static_cast<int> (byte_order));
// Extract endpoints sequence.
- if ((in_cdr >> endpoints) == 0)
+ if (!(in_cdr >> endpoints))
return 0;
return 1;