From 8995bb9f46383c2e8149099694c65a8de626a16a Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Tue, 17 Mar 2009 10:17:38 +0000 Subject: Tue Mar 17 10:09:22 UTC 2009 Johnny Willemsen * 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 --- TAO/tao/IORManipulation/IORManip_IIOP_Filter.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'TAO/tao/IORManipulation/IORManip_IIOP_Filter.cpp') 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 (byte_order)); // Extract endpoints sequence. - if ((in_cdr >> endpoints) == 0) + if (!(in_cdr >> endpoints)) return 0; return 1; -- cgit v1.2.1