zeroc-ice 3.7.0 → 3.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ICE_LICENSE +1 -1
- data/bin/slice2rb +1 -1
- data/ext/Communicator.cpp +72 -2
- data/ext/Communicator.h +1 -1
- data/ext/Config.h +11 -1
- data/ext/Connection.cpp +22 -2
- data/ext/Connection.h +4 -1
- data/ext/Endpoint.cpp +1 -1
- data/ext/Endpoint.h +1 -1
- data/ext/ImplicitContext.cpp +1 -1
- data/ext/ImplicitContext.h +1 -1
- data/ext/Init.cpp +1 -1
- data/ext/Logger.cpp +1 -1
- data/ext/Logger.h +1 -1
- data/ext/Operation.cpp +1 -1
- data/ext/Operation.h +1 -1
- data/ext/Properties.cpp +1 -1
- data/ext/Properties.h +1 -1
- data/ext/Proxy.cpp +70 -1
- data/ext/Proxy.h +1 -1
- data/ext/Slice.cpp +1 -1
- data/ext/Slice.h +1 -1
- data/ext/Types.cpp +21 -5
- data/ext/Types.h +1 -1
- data/ext/Util.cpp +1 -1
- data/ext/Util.h +1 -1
- data/ext/ValueFactoryManager.cpp +2 -2
- data/ext/ValueFactoryManager.h +2 -2
- data/ext/ice/cpp/include/Ice/Application.h +234 -76
- data/ext/ice/cpp/include/Ice/AsyncResult.h +77 -1
- data/ext/ice/cpp/include/Ice/AsyncResultF.h +1 -1
- data/ext/ice/cpp/include/Ice/BatchRequestInterceptor.h +35 -2
- data/ext/ice/cpp/include/Ice/BatchRequestQueueF.h +1 -1
- data/ext/ice/cpp/include/Ice/Buffer.h +1 -1
- data/ext/ice/cpp/include/Ice/CommunicatorAsync.h +43 -1
- data/ext/ice/cpp/include/Ice/Comparable.h +81 -1
- data/ext/ice/cpp/include/Ice/Config.h +8 -1
- data/ext/ice/cpp/include/Ice/ConnectionAsync.h +97 -1
- data/ext/ice/cpp/include/Ice/ConnectionIF.h +3 -1
- data/ext/ice/cpp/include/Ice/ConsoleUtil.h +1 -1
- data/ext/ice/cpp/include/Ice/DefaultValueFactory.h +1 -1
- data/ext/ice/cpp/include/Ice/DispatchInterceptor.h +17 -2
- data/ext/ice/cpp/include/Ice/Dispatcher.h +22 -2
- data/ext/ice/cpp/include/Ice/DynamicLibrary.h +1 -1
- data/ext/ice/cpp/include/Ice/DynamicLibraryF.h +1 -1
- data/ext/ice/cpp/include/Ice/Exception.h +57 -15
- data/ext/ice/cpp/include/Ice/ExceptionHelpers.h +19 -1
- data/ext/ice/cpp/include/Ice/FactoryTable.h +12 -2
- data/ext/ice/cpp/include/Ice/FactoryTableInit.h +1 -1
- data/ext/ice/cpp/include/Ice/Format.h +13 -14
- data/ext/ice/cpp/include/Ice/Functional.h +6 -1
- data/ext/ice/cpp/include/Ice/GCObject.h +1 -1
- data/ext/ice/cpp/include/Ice/Handle.h +1 -1
- data/ext/ice/cpp/include/Ice/Ice.h +1 -1
- data/ext/ice/cpp/include/Ice/IconvStringConverter.h +38 -3
- data/ext/ice/cpp/include/Ice/Incoming.h +15 -2
- data/ext/ice/cpp/include/Ice/IncomingAsync.h +37 -4
- data/ext/ice/cpp/include/Ice/IncomingAsyncF.h +1 -1
- data/ext/ice/cpp/include/Ice/Initialize.h +764 -98
- data/ext/ice/cpp/include/Ice/InputStream.h +637 -112
- data/ext/ice/cpp/include/Ice/InstanceF.h +1 -1
- data/ext/ice/cpp/include/Ice/InterfaceByValue.h +17 -1
- data/ext/ice/cpp/include/Ice/LocalObject.h +5 -1
- data/ext/ice/cpp/include/Ice/LocalObjectF.h +1 -1
- data/ext/ice/cpp/include/Ice/LoggerUtil.h +37 -6
- data/ext/ice/cpp/include/Ice/MetricsAdminI.h +3 -1
- data/ext/ice/cpp/include/Ice/MetricsFunctional.h +3 -1
- data/ext/ice/cpp/include/Ice/MetricsObserverI.h +3 -1
- data/ext/ice/cpp/include/Ice/NativePropertiesAdmin.h +46 -23
- data/ext/ice/cpp/include/Ice/Object.h +338 -47
- data/ext/ice/cpp/include/Ice/ObjectF.h +5 -1
- data/ext/ice/cpp/include/Ice/ObserverHelper.h +1 -1
- data/ext/ice/cpp/include/Ice/Optional.h +22 -6
- data/ext/ice/cpp/include/Ice/OutgoingAsync.h +15 -1
- data/ext/ice/cpp/include/Ice/OutgoingAsyncF.h +1 -1
- data/ext/ice/cpp/include/Ice/OutputStream.h +436 -92
- data/ext/ice/cpp/include/Ice/Protocol.h +31 -1
- data/ext/ice/cpp/include/Ice/Proxy.h +2244 -190
- data/ext/ice/cpp/include/Ice/ProxyF.h +3 -1
- data/ext/ice/cpp/include/Ice/ProxyFactoryF.h +1 -1
- data/ext/ice/cpp/include/Ice/ProxyHandle.h +10 -1
- data/ext/ice/cpp/include/Ice/ReferenceF.h +1 -1
- data/ext/ice/cpp/include/Ice/RegisterPlugins.h +67 -9
- data/ext/ice/cpp/include/Ice/RequestHandlerF.h +1 -1
- data/ext/ice/cpp/include/Ice/ResponseHandlerF.h +1 -1
- data/ext/ice/cpp/include/Ice/SHA1.h +1 -1
- data/ext/ice/cpp/include/Ice/ServantManagerF.h +1 -1
- data/ext/ice/cpp/include/Ice/Service.h +267 -138
- data/ext/ice/cpp/include/Ice/SliceChecksums.h +5 -1
- data/ext/ice/cpp/include/Ice/SlicedData.h +80 -33
- data/ext/ice/cpp/include/Ice/SlicedDataF.h +4 -1
- data/ext/ice/cpp/include/Ice/StreamHelpers.h +324 -116
- data/ext/ice/cpp/include/Ice/StringConverter.h +32 -1
- data/ext/ice/cpp/include/Ice/ThreadPoolF.h +1 -1
- data/ext/ice/cpp/include/Ice/UUID.h +2 -1
- data/ext/ice/cpp/include/Ice/UniquePtr.h +2 -2
- data/ext/ice/cpp/include/Ice/UniqueRef.h +6 -2
- data/ext/ice/cpp/include/Ice/UserExceptionFactory.h +6 -1
- data/ext/ice/cpp/include/Ice/Value.h +41 -1
- data/ext/ice/cpp/include/Ice/ValueF.h +3 -1
- data/ext/ice/cpp/include/IceSSL/Config.h +1 -1
- data/ext/ice/cpp/include/IceSSL/IceSSL.h +1 -1
- data/ext/ice/cpp/include/IceSSL/OpenSSL.h +75 -53
- data/ext/ice/cpp/include/IceSSL/Plugin.h +323 -218
- data/ext/ice/cpp/include/IceSSL/SChannel.h +34 -27
- data/ext/ice/cpp/include/IceSSL/SecureTransport.h +35 -28
- data/ext/ice/cpp/include/IceSSL/UWP.h +33 -24
- data/ext/ice/cpp/include/IceUtil/Atomic.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Cond.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Config.h +11 -3
- data/ext/ice/cpp/include/IceUtil/ConsoleUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/CountDownLatch.h +1 -1
- data/ext/ice/cpp/include/IceUtil/CtrlCHandler.h +59 -31
- data/ext/ice/cpp/include/IceUtil/DisableWarnings.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Exception.h +1 -1
- data/ext/ice/cpp/include/IceUtil/FileUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Functional.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Handle.h +1 -1
- data/ext/ice/cpp/include/IceUtil/IceUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/InputUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Iterator.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Lock.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Monitor.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Mutex.h +2 -5
- data/ext/ice/cpp/include/IceUtil/MutexProtocol.h +1 -1
- data/ext/ice/cpp/include/IceUtil/MutexPtrLock.h +1 -1
- data/ext/ice/cpp/include/IceUtil/MutexPtrTryLock.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Optional.h +95 -1
- data/ext/ice/cpp/include/IceUtil/Options.h +1 -1
- data/ext/ice/cpp/include/IceUtil/OutputUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/PopDisableWarnings.h +1 -1
- data/ext/ice/cpp/include/IceUtil/PushDisableWarnings.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Random.h +1 -1
- data/ext/ice/cpp/include/IceUtil/RecMutex.h +1 -1
- data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +4 -4
- data/ext/ice/cpp/include/IceUtil/ScannerConfig.h +5 -3
- data/ext/ice/cpp/include/IceUtil/ScopedArray.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Shared.h +1 -1
- data/ext/ice/cpp/include/IceUtil/StopWatch.h +1 -1
- data/ext/ice/cpp/include/IceUtil/StringConverter.h +106 -86
- data/ext/ice/cpp/include/IceUtil/StringUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Thread.h +1 -1
- data/ext/ice/cpp/include/IceUtil/ThreadException.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Time.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Timer.h +5 -1
- data/ext/ice/cpp/include/IceUtil/UUID.h +5 -1
- data/ext/ice/cpp/include/IceUtil/UndefSysMacros.h +1 -1
- data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +80 -20
- data/ext/ice/cpp/include/generated/Ice/Communicator.h +927 -130
- data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +13 -5
- data/ext/ice/cpp/include/generated/Ice/Connection.h +990 -194
- data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +21 -9
- data/ext/ice/cpp/include/generated/Ice/Current.h +180 -17
- data/ext/ice/cpp/include/generated/Ice/Endpoint.h +484 -118
- data/ext/ice/cpp/include/generated/Ice/EndpointF.h +41 -17
- data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +29 -3
- data/ext/ice/cpp/include/generated/Ice/FacetMap.h +11 -5
- data/ext/ice/cpp/include/generated/Ice/Identity.h +56 -7
- data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +150 -28
- data/ext/ice/cpp/include/generated/Ice/ImplicitContextF.h +13 -5
- data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +629 -83
- data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +19 -7
- data/ext/ice/cpp/include/generated/Ice/LocalException.h +5104 -794
- data/ext/ice/cpp/include/generated/Ice/Locator.h +2222 -443
- data/ext/ice/cpp/include/generated/Ice/LocatorF.h +27 -9
- data/ext/ice/cpp/include/generated/Ice/Logger.h +104 -26
- data/ext/ice/cpp/include/generated/Ice/LoggerF.h +13 -5
- data/ext/ice/cpp/include/generated/Ice/Metrics.h +2534 -455
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +1004 -126
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapterF.h +13 -5
- data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +72 -12
- data/ext/ice/cpp/include/generated/Ice/Plugin.h +142 -28
- data/ext/ice/cpp/include/generated/Ice/PluginF.h +17 -7
- data/ext/ice/cpp/include/generated/Ice/Process.h +511 -71
- data/ext/ice/cpp/include/generated/Ice/ProcessF.h +18 -6
- data/ext/ice/cpp/include/generated/Ice/Properties.h +306 -58
- data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +737 -121
- data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +22 -8
- data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +1526 -279
- data/ext/ice/cpp/include/generated/Ice/Router.h +1009 -198
- data/ext/ice/cpp/include/generated/Ice/RouterF.h +18 -6
- data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +174 -18
- data/ext/ice/cpp/include/generated/Ice/ServantLocatorF.h +13 -5
- data/ext/ice/cpp/include/generated/Ice/SliceChecksumDict.h +13 -3
- data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +177 -23
- data/ext/ice/cpp/include/generated/Ice/Version.h +43 -13
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +71 -15
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +13 -5
- data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +39 -9
- data/ext/ice/cpp/src/Ice/ACM.cpp +12 -3
- data/ext/ice/cpp/src/Ice/ACM.h +1 -1
- data/ext/ice/cpp/src/Ice/ACMF.h +1 -1
- data/ext/ice/cpp/src/Ice/Acceptor.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Acceptor.h +1 -1
- data/ext/ice/cpp/src/Ice/AcceptorF.h +1 -1
- data/ext/ice/cpp/src/Ice/ArgVector.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ArgVector.h +1 -1
- data/ext/ice/cpp/src/Ice/AsyncResult.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Base64.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Base64.h +1 -1
- data/ext/ice/cpp/src/Ice/BatchRequestQueue.cpp +1 -1
- data/ext/ice/cpp/src/Ice/BatchRequestQueue.h +1 -1
- data/ext/ice/cpp/src/Ice/Buffer.cpp +1 -1
- data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +3 -3
- data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +1 -1
- data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/Communicator.cpp +6 -4
- data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +34 -13
- data/ext/ice/cpp/src/Ice/CommunicatorI.h +10 -10
- data/ext/ice/cpp/src/Ice/Cond.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ConnectRequestHandler.cpp +11 -6
- data/ext/ice/cpp/src/Ice/ConnectRequestHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/ConnectRequestHandlerF.h +1 -1
- data/ext/ice/cpp/src/Ice/Connection.cpp +27 -11
- data/ext/ice/cpp/src/Ice/ConnectionF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ConnectionFactory.cpp +24 -19
- data/ext/ice/cpp/src/Ice/ConnectionFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/ConnectionFactoryF.h +1 -1
- data/ext/ice/cpp/src/Ice/ConnectionI.cpp +45 -37
- data/ext/ice/cpp/src/Ice/ConnectionI.h +10 -8
- data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/Connector.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Connector.h +1 -1
- data/ext/ice/cpp/src/Ice/ConnectorF.h +1 -1
- data/ext/ice/cpp/src/Ice/CountDownLatch.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Current.cpp +3 -3
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +5 -7
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.h +1 -1
- data/ext/ice/cpp/src/Ice/DefaultsAndOverridesF.h +1 -1
- data/ext/ice/cpp/src/Ice/DispatchInterceptor.cpp +1 -1
- data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Endpoint.cpp +24 -10
- data/ext/ice/cpp/src/Ice/EndpointF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/EndpointFactory.cpp +1 -1
- data/ext/ice/cpp/src/Ice/EndpointFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointFactoryF.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointFactoryManager.cpp +7 -13
- data/ext/ice/cpp/src/Ice/EndpointFactoryManager.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointFactoryManagerF.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointI.cpp +2 -2
- data/ext/ice/cpp/src/Ice/EndpointI.h +5 -5
- data/ext/ice/cpp/src/Ice/EndpointIF.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +3 -3
- data/ext/ice/cpp/src/Ice/EventHandler.cpp +1 -1
- data/ext/ice/cpp/src/Ice/EventHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/EventHandlerF.h +1 -1
- data/ext/ice/cpp/src/Ice/Exception.cpp +1 -1
- data/ext/ice/cpp/src/Ice/FacetMap.cpp +3 -3
- data/ext/ice/cpp/src/Ice/FactoryTable.cpp +1 -1
- data/ext/ice/cpp/src/Ice/FactoryTableInit.cpp +1 -1
- data/ext/ice/cpp/src/Ice/GCObject.cpp +1 -1
- data/ext/ice/cpp/src/Ice/HashUtil.h +1 -1
- data/ext/ice/cpp/src/Ice/HttpParser.cpp +1 -1
- data/ext/ice/cpp/src/Ice/HttpParser.h +1 -1
- data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +24 -29
- data/ext/ice/cpp/src/Ice/IPEndpointI.h +5 -5
- data/ext/ice/cpp/src/Ice/IPEndpointIF.h +1 -1
- data/ext/ice/cpp/src/Ice/IconvStringConverter.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Identity.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +6 -4
- data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ImplicitContextI.cpp +2 -13
- data/ext/ice/cpp/src/Ice/ImplicitContextI.h +1 -1
- data/ext/ice/cpp/src/Ice/Incoming.cpp +1 -1
- data/ext/ice/cpp/src/Ice/IncomingAsync.cpp +1 -1
- data/ext/ice/cpp/src/Ice/IncomingRequest.h +1 -1
- data/ext/ice/cpp/src/Ice/Initialize.cpp +10 -16
- data/ext/ice/cpp/src/Ice/InputStream.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Instance.cpp +13 -34
- data/ext/ice/cpp/src/Ice/Instance.h +1 -1
- data/ext/ice/cpp/src/Ice/Instrumentation.cpp +33 -13
- data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/InstrumentationI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/InstrumentationI.h +1 -1
- data/ext/ice/cpp/src/Ice/LocalException.cpp +279 -279
- data/ext/ice/cpp/src/Ice/LocalObject.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Locator.cpp +287 -174
- data/ext/ice/cpp/src/Ice/LocatorF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/LocatorInfo.cpp +4 -9
- data/ext/ice/cpp/src/Ice/LocatorInfo.h +1 -1
- data/ext/ice/cpp/src/Ice/LocatorInfoF.h +1 -1
- data/ext/ice/cpp/src/Ice/Logger.cpp +6 -4
- data/ext/ice/cpp/src/Ice/LoggerAdminI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/LoggerAdminI.h +1 -1
- data/ext/ice/cpp/src/Ice/LoggerF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/LoggerI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/LoggerI.h +1 -1
- data/ext/ice/cpp/src/Ice/LoggerUtil.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Metrics.cpp +297 -109
- data/ext/ice/cpp/src/Ice/MetricsAdminI.cpp +2 -7
- data/ext/ice/cpp/src/Ice/MetricsObserverI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Network.cpp +188 -225
- data/ext/ice/cpp/src/Ice/Network.h +3 -12
- data/ext/ice/cpp/src/Ice/NetworkF.h +1 -1
- data/ext/ice/cpp/src/Ice/NetworkProxy.cpp +1 -1
- data/ext/ice/cpp/src/Ice/NetworkProxy.h +1 -1
- data/ext/ice/cpp/src/Ice/NetworkProxyF.h +1 -1
- data/ext/ice/cpp/src/Ice/Object.cpp +7 -4
- data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +6 -4
- data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +53 -19
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactoryF.h +1 -1
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +116 -150
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +11 -11
- data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +6 -4
- data/ext/ice/cpp/src/Ice/ObserverHelper.cpp +1 -1
- data/ext/ice/cpp/src/Ice/OpaqueEndpointI.cpp +25 -42
- data/ext/ice/cpp/src/Ice/OpaqueEndpointI.h +2 -2
- data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +1 -1
- data/ext/ice/cpp/src/Ice/OutputStream.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Plugin.cpp +9 -5
- data/ext/ice/cpp/src/Ice/PluginF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/PluginManagerI.cpp +15 -34
- data/ext/ice/cpp/src/Ice/PluginManagerI.h +3 -3
- data/ext/ice/cpp/src/Ice/Process.cpp +69 -40
- data/ext/ice/cpp/src/Ice/ProcessF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Properties.cpp +6 -4
- data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +89 -54
- data/ext/ice/cpp/src/Ice/PropertiesAdminI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/PropertiesAdminI.h +1 -1
- data/ext/ice/cpp/src/Ice/PropertiesF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/PropertiesI.cpp +15 -21
- data/ext/ice/cpp/src/Ice/PropertiesI.h +10 -10
- data/ext/ice/cpp/src/Ice/PropertyNames.cpp +4 -2
- data/ext/ice/cpp/src/Ice/PropertyNames.h +2 -2
- data/ext/ice/cpp/src/Ice/Protocol.cpp +5 -13
- data/ext/ice/cpp/src/Ice/ProtocolInstance.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ProtocolInstance.h +1 -1
- data/ext/ice/cpp/src/Ice/ProtocolInstanceF.h +1 -1
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.h +1 -1
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacadeF.h +1 -1
- data/ext/ice/cpp/src/Ice/Proxy.cpp +46 -1
- data/ext/ice/cpp/src/Ice/ProxyFactory.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ProxyFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/Reference.cpp +56 -6
- data/ext/ice/cpp/src/Ice/Reference.h +13 -2
- data/ext/ice/cpp/src/Ice/ReferenceFactory.cpp +51 -90
- data/ext/ice/cpp/src/Ice/ReferenceFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/ReferenceFactoryF.h +1 -1
- data/ext/ice/cpp/src/Ice/RegisterPluginsInit.cpp +1 -1
- data/ext/ice/cpp/src/Ice/RegisterPluginsInit.h +1 -1
- data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +203 -117
- data/ext/ice/cpp/src/Ice/ReplyStatus.h +1 -1
- data/ext/ice/cpp/src/Ice/RequestHandler.cpp +1 -1
- data/ext/ice/cpp/src/Ice/RequestHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/RequestHandlerFactory.cpp +1 -1
- data/ext/ice/cpp/src/Ice/RequestHandlerFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/ResponseHandler.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ResponseHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/RetryQueue.cpp +1 -1
- data/ext/ice/cpp/src/Ice/RetryQueue.h +1 -1
- data/ext/ice/cpp/src/Ice/RetryQueueF.h +1 -1
- data/ext/ice/cpp/src/Ice/Router.cpp +167 -89
- data/ext/ice/cpp/src/Ice/RouterF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/RouterInfo.cpp +6 -28
- data/ext/ice/cpp/src/Ice/RouterInfo.h +1 -3
- data/ext/ice/cpp/src/Ice/RouterInfoF.h +1 -1
- data/ext/ice/cpp/src/Ice/SHA1.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Selector.cpp +19 -26
- data/ext/ice/cpp/src/Ice/Selector.h +1 -1
- data/ext/ice/cpp/src/Ice/ServantLocator.cpp +6 -4
- data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ServantManager.cpp +15 -31
- data/ext/ice/cpp/src/Ice/ServantManager.h +1 -1
- data/ext/ice/cpp/src/Ice/SharedContext.h +1 -1
- data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +3 -3
- data/ext/ice/cpp/src/Ice/SliceChecksums.cpp +1 -1
- data/ext/ice/cpp/src/Ice/SlicedData.cpp +1 -1
- data/ext/ice/cpp/src/Ice/StreamSocket.cpp +32 -52
- data/ext/ice/cpp/src/Ice/StreamSocket.h +1 -1
- data/ext/ice/cpp/src/Ice/StringConverterPlugin.cpp +10 -1
- data/ext/ice/cpp/src/Ice/StringUtil.h +1 -1
- data/ext/ice/cpp/src/Ice/SysLoggerI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/SysLoggerI.h +1 -1
- data/ext/ice/cpp/src/Ice/TcpAcceptor.cpp +5 -13
- data/ext/ice/cpp/src/Ice/TcpAcceptor.h +1 -1
- data/ext/ice/cpp/src/Ice/TcpConnector.cpp +1 -1
- data/ext/ice/cpp/src/Ice/TcpConnector.h +1 -1
- data/ext/ice/cpp/src/Ice/TcpEndpointI.cpp +8 -11
- data/ext/ice/cpp/src/Ice/TcpEndpointI.h +2 -2
- data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +1 -1
- data/ext/ice/cpp/src/Ice/TcpTransceiver.h +1 -1
- data/ext/ice/cpp/src/Ice/Thread.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ThreadPool.cpp +13 -13
- data/ext/ice/cpp/src/Ice/ThreadPool.h +1 -1
- data/ext/ice/cpp/src/Ice/Timer.cpp +1 -1
- data/ext/ice/cpp/src/Ice/TraceLevels.cpp +1 -1
- data/ext/ice/cpp/src/Ice/TraceLevels.h +1 -1
- data/ext/ice/cpp/src/Ice/TraceLevelsF.h +1 -1
- data/ext/ice/cpp/src/Ice/TraceUtil.cpp +1 -1
- data/ext/ice/cpp/src/Ice/TraceUtil.h +1 -1
- data/ext/ice/cpp/src/Ice/Transceiver.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Transceiver.h +1 -1
- data/ext/ice/cpp/src/Ice/TransceiverF.h +1 -1
- data/ext/ice/cpp/src/Ice/UdpConnector.cpp +1 -1
- data/ext/ice/cpp/src/Ice/UdpConnector.h +1 -1
- data/ext/ice/cpp/src/Ice/UdpEndpointI.cpp +19 -27
- data/ext/ice/cpp/src/Ice/UdpEndpointI.h +2 -2
- data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +17 -54
- data/ext/ice/cpp/src/Ice/UdpTransceiver.h +1 -1
- data/ext/ice/cpp/src/Ice/Value.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ValueFactory.cpp +9 -5
- data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.cpp +3 -6
- data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.h +2 -2
- data/ext/ice/cpp/src/Ice/Version.cpp +3 -3
- data/ext/ice/cpp/src/Ice/VirtualShared.h +1 -1
- data/ext/ice/cpp/src/Ice/WSAcceptor.cpp +1 -1
- data/ext/ice/cpp/src/Ice/WSAcceptor.h +1 -1
- data/ext/ice/cpp/src/Ice/WSConnector.cpp +1 -1
- data/ext/ice/cpp/src/Ice/WSConnector.h +1 -1
- data/ext/ice/cpp/src/Ice/WSEndpoint.cpp +4 -5
- data/ext/ice/cpp/src/Ice/WSEndpoint.h +2 -2
- data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +8 -9
- data/ext/ice/cpp/src/Ice/WSTransceiver.h +1 -1
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +85 -27
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +599 -113
- data/ext/ice/cpp/src/IceDiscovery/LocatorI.cpp +1 -1
- data/ext/ice/cpp/src/IceDiscovery/LocatorI.h +1 -1
- data/ext/ice/cpp/src/IceDiscovery/LookupI.cpp +1 -1
- data/ext/ice/cpp/src/IceDiscovery/LookupI.h +1 -1
- data/ext/ice/cpp/src/IceDiscovery/PluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceDiscovery/PluginI.h +1 -1
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +70 -24
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +635 -69
- data/ext/ice/cpp/src/IceLocatorDiscovery/Plugin.h +1 -1
- data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +71 -9
- data/ext/ice/cpp/src/IceSSL/AcceptorI.cpp +2 -4
- data/ext/ice/cpp/src/IceSSL/AcceptorI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/CertificateI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/CertificateI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +6 -4
- data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +3 -3
- data/ext/ice/cpp/src/IceSSL/ConnectorI.cpp +2 -4
- data/ext/ice/cpp/src/IceSSL/ConnectorI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/EndpointI.cpp +2 -2
- data/ext/ice/cpp/src/IceSSL/EndpointI.h +2 -2
- data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +6 -4
- data/ext/ice/cpp/src/IceSSL/Instance.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/Instance.h +1 -1
- data/ext/ice/cpp/src/IceSSL/InstanceF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLCertificateI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.h +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngineF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLPluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +25 -62
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.h +1 -1
- data/ext/ice/cpp/src/IceSSL/PluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/PluginI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/RFC2253.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/RFC2253.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelCertificateI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelEngineF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelPluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +19 -27
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SSLEngine.cpp +7 -16
- data/ext/ice/cpp/src/IceSSL/SSLEngine.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SSLEngineF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngineF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportPluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +7 -10
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.h +1 -1
- data/ext/ice/cpp/src/IceSSL/TrustManager.cpp +4 -5
- data/ext/ice/cpp/src/IceSSL/TrustManager.h +1 -1
- data/ext/ice/cpp/src/IceSSL/TrustManagerF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPCertificateI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPEngine.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPEngine.h +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPEngineF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPPluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/Util.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/Util.h +1 -1
- data/ext/ice/cpp/src/IceUtil/ConsoleUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/ConvertUTF.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/ConvertUTF.h +1 -1
- data/ext/ice/cpp/src/IceUtil/CtrlCHandler.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +5 -5
- data/ext/ice/cpp/src/IceUtil/InputUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/MutexProtocol.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/Options.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/OutputUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/Random.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/RecMutex.cpp +1 -5
- data/ext/ice/cpp/src/IceUtil/Shared.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/ThreadException.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/Time.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/UUID.cpp +3 -3
- data/ext/ice/cpp/src/IceUtil/Unicode.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/Unicode.h +1 -1
- data/ext/ice/cpp/src/IceUtil/UtilException.cpp +1 -1
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.cpp +160 -150
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.h +9 -8
- data/ext/ice/cpp/src/Slice/Checksum.cpp +1 -1
- data/ext/ice/cpp/src/Slice/Checksum.h +1 -1
- data/ext/ice/cpp/src/Slice/FileTracker.cpp +1 -1
- data/ext/ice/cpp/src/Slice/FileTracker.h +1 -1
- data/ext/ice/cpp/src/Slice/Grammar.cpp +567 -585
- data/ext/ice/cpp/src/Slice/Grammar.h +2 -2
- data/ext/ice/cpp/src/Slice/GrammarUtil.h +1 -1
- data/ext/ice/cpp/src/Slice/JavaUtil.cpp +131 -47
- data/ext/ice/cpp/src/Slice/JavaUtil.h +10 -5
- data/ext/ice/cpp/src/Slice/MD5.cpp +1 -1
- data/ext/ice/cpp/src/Slice/MD5.h +1 -1
- data/ext/ice/cpp/src/Slice/PHPUtil.cpp +1 -1
- data/ext/ice/cpp/src/Slice/PHPUtil.h +1 -1
- data/ext/ice/cpp/src/Slice/Parser.cpp +383 -101
- data/ext/ice/cpp/src/Slice/Parser.h +40 -3
- data/ext/ice/cpp/src/Slice/Preprocessor.cpp +2 -1
- data/ext/ice/cpp/src/Slice/Preprocessor.h +2 -2
- data/ext/ice/cpp/src/Slice/Python.cpp +7 -15
- data/ext/ice/cpp/src/Slice/PythonUtil.cpp +66 -9
- data/ext/ice/cpp/src/Slice/PythonUtil.h +2 -2
- data/ext/ice/cpp/src/Slice/Ruby.cpp +1 -1
- data/ext/ice/cpp/src/Slice/RubyUtil.cpp +2 -2
- data/ext/ice/cpp/src/Slice/RubyUtil.h +1 -1
- data/ext/ice/cpp/src/Slice/Scanner.cpp +214 -135
- data/ext/ice/cpp/src/Slice/SliceUtil.cpp +1 -1
- data/ext/ice/cpp/src/Slice/StringLiteralUtil.cpp +99 -17
- data/ext/ice/cpp/src/Slice/Util.h +5 -4
- data/ice.gemspec +2 -2
- data/lib/Glacier2.rb +1 -1
- data/lib/Glacier2/Metrics.rb +2 -2
- data/lib/Glacier2/PermissionsVerifier.rb +2 -2
- data/lib/Glacier2/PermissionsVerifierF.rb +2 -2
- data/lib/Glacier2/Router.rb +2 -2
- data/lib/Glacier2/RouterF.rb +2 -2
- data/lib/Glacier2/SSLInfo.rb +2 -2
- data/lib/Glacier2/Session.rb +2 -2
- data/lib/Ice.rb +2 -2
- data/lib/Ice/BuiltinSequences.rb +2 -2
- data/lib/Ice/Communicator.rb +2 -2
- data/lib/Ice/CommunicatorF.rb +2 -2
- data/lib/Ice/Connection.rb +2 -2
- data/lib/Ice/ConnectionF.rb +2 -2
- data/lib/Ice/Current.rb +2 -2
- data/lib/Ice/Endpoint.rb +2 -2
- data/lib/Ice/EndpointF.rb +2 -2
- data/lib/Ice/EndpointTypes.rb +2 -2
- data/lib/Ice/FacetMap.rb +2 -2
- data/lib/Ice/Identity.rb +2 -2
- data/lib/Ice/ImplicitContext.rb +2 -2
- data/lib/Ice/ImplicitContextF.rb +2 -2
- data/lib/Ice/Instrumentation.rb +2 -2
- data/lib/Ice/InstrumentationF.rb +2 -2
- data/lib/Ice/LocalException.rb +2 -2
- data/lib/Ice/Locator.rb +2 -2
- data/lib/Ice/LocatorF.rb +2 -2
- data/lib/Ice/Logger.rb +2 -2
- data/lib/Ice/LoggerF.rb +2 -2
- data/lib/Ice/Metrics.rb +2 -2
- data/lib/Ice/ObjectAdapter.rb +2 -2
- data/lib/Ice/ObjectAdapterF.rb +2 -2
- data/lib/Ice/ObjectFactory.rb +2 -2
- data/lib/Ice/Plugin.rb +2 -2
- data/lib/Ice/PluginF.rb +2 -2
- data/lib/Ice/Process.rb +2 -2
- data/lib/Ice/ProcessF.rb +2 -2
- data/lib/Ice/Properties.rb +2 -2
- data/lib/Ice/PropertiesAdmin.rb +2 -2
- data/lib/Ice/PropertiesF.rb +2 -2
- data/lib/Ice/RemoteLogger.rb +2 -2
- data/lib/Ice/Router.rb +2 -2
- data/lib/Ice/RouterF.rb +2 -2
- data/lib/Ice/ServantLocator.rb +2 -2
- data/lib/Ice/ServantLocatorF.rb +2 -2
- data/lib/Ice/SliceChecksumDict.rb +2 -2
- data/lib/Ice/ValueFactory.rb +2 -2
- data/lib/Ice/Version.rb +2 -2
- data/lib/IceBox.rb +1 -1
- data/lib/IceBox/IceBox.rb +2 -2
- data/lib/IceGrid.rb +1 -1
- data/lib/IceGrid/Admin.rb +2 -2
- data/lib/IceGrid/Descriptor.rb +2 -2
- data/lib/IceGrid/Exception.rb +2 -2
- data/lib/IceGrid/FileParser.rb +2 -2
- data/lib/IceGrid/PluginFacade.rb +2 -2
- data/lib/IceGrid/Registry.rb +2 -2
- data/lib/IceGrid/Session.rb +2 -2
- data/lib/IceGrid/UserAccountMapper.rb +2 -2
- data/lib/IcePatch2.rb +1 -1
- data/lib/IcePatch2/FileInfo.rb +2 -2
- data/lib/IcePatch2/FileServer.rb +2 -2
- data/lib/IceStorm.rb +1 -1
- data/lib/IceStorm/IceStorm.rb +2 -2
- data/lib/IceStorm/Metrics.rb +2 -2
- data/slice/Glacier2/Metrics.ice +2 -2
- data/slice/Glacier2/PermissionsVerifier.ice +2 -2
- data/slice/Glacier2/PermissionsVerifierF.ice +2 -2
- data/slice/Glacier2/Router.ice +2 -2
- data/slice/Glacier2/RouterF.ice +2 -2
- data/slice/Glacier2/SSLInfo.ice +2 -2
- data/slice/Glacier2/Session.ice +2 -2
- data/slice/Ice/BuiltinSequences.ice +2 -2
- data/slice/Ice/Communicator.ice +66 -73
- data/slice/Ice/CommunicatorF.ice +2 -2
- data/slice/Ice/Connection.ice +47 -17
- data/slice/Ice/ConnectionF.ice +2 -2
- data/slice/Ice/Current.ice +4 -5
- data/slice/Ice/Endpoint.ice +16 -16
- data/slice/Ice/EndpointF.ice +2 -2
- data/slice/Ice/EndpointTypes.ice +2 -2
- data/slice/Ice/FacetMap.ice +2 -2
- data/slice/Ice/Identity.ice +2 -2
- data/slice/Ice/ImplicitContext.ice +6 -6
- data/slice/Ice/ImplicitContextF.ice +2 -2
- data/slice/Ice/Instrumentation.ice +2 -2
- data/slice/Ice/InstrumentationF.ice +2 -2
- data/slice/Ice/LocalException.ice +2 -2
- data/slice/Ice/Locator.ice +3 -3
- data/slice/Ice/LocatorF.ice +2 -2
- data/slice/Ice/Logger.ice +2 -2
- data/slice/Ice/LoggerF.ice +2 -2
- data/slice/Ice/Metrics.ice +2 -2
- data/slice/Ice/ObjectAdapter.ice +10 -10
- data/slice/Ice/ObjectAdapterF.ice +2 -2
- data/slice/Ice/ObjectFactory.ice +3 -3
- data/slice/Ice/Plugin.ice +4 -4
- data/slice/Ice/PluginF.ice +2 -2
- data/slice/Ice/Process.ice +2 -2
- data/slice/Ice/ProcessF.ice +2 -2
- data/slice/Ice/Properties.ice +11 -11
- data/slice/Ice/PropertiesAdmin.ice +2 -2
- data/slice/Ice/PropertiesF.ice +2 -2
- data/slice/Ice/RemoteLogger.ice +12 -23
- data/slice/Ice/Router.ice +2 -2
- data/slice/Ice/RouterF.ice +2 -2
- data/slice/Ice/ServantLocator.ice +2 -2
- data/slice/Ice/ServantLocatorF.ice +2 -2
- data/slice/Ice/SliceChecksumDict.ice +2 -2
- data/slice/Ice/ValueFactory.ice +14 -16
- data/slice/Ice/Version.ice +2 -2
- data/slice/IceBT/ConnectionInfo.ice +2 -2
- data/slice/IceBT/EndpointInfo.ice +2 -2
- data/slice/IceBT/Types.ice +2 -2
- data/slice/IceBox/IceBox.ice +3 -4
- data/slice/IceDiscovery/IceDiscovery.ice +2 -2
- data/slice/IceGrid/Admin.ice +2 -2
- data/slice/IceGrid/Descriptor.ice +2 -2
- data/slice/IceGrid/Exception.ice +2 -2
- data/slice/IceGrid/FileParser.ice +2 -2
- data/slice/IceGrid/PluginFacade.ice +6 -6
- data/slice/IceGrid/Registry.ice +2 -2
- data/slice/IceGrid/Session.ice +2 -2
- data/slice/IceGrid/UserAccountMapper.ice +2 -2
- data/slice/IceIAP/ConnectionInfo.ice +2 -2
- data/slice/IceIAP/EndpointInfo.ice +2 -2
- data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +2 -2
- data/slice/IcePatch2/FileInfo.ice +2 -2
- data/slice/IcePatch2/FileServer.ice +2 -2
- data/slice/IceSSL/ConnectionInfo.ice +2 -2
- data/slice/IceSSL/ConnectionInfoF.ice +2 -2
- data/slice/IceSSL/EndpointInfo.ice +2 -2
- data/slice/IceStorm/IceStorm.ice +5 -6
- data/slice/IceStorm/Metrics.ice +2 -2
- metadata +3 -13
- data/BZIP2_LICENSE +0 -42
- data/ext/ice/bzip2/blocksort.c +0 -1094
- data/ext/ice/bzip2/bzlib.c +0 -1572
- data/ext/ice/bzip2/bzlib.h +0 -282
- data/ext/ice/bzip2/bzlib_private.h +0 -509
- data/ext/ice/bzip2/compress.c +0 -672
- data/ext/ice/bzip2/crctable.c +0 -104
- data/ext/ice/bzip2/decompress.c +0 -646
- data/ext/ice/bzip2/huffman.c +0 -205
- data/ext/ice/bzip2/randtable.c +0 -84
@@ -1,6 +1,6 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
@@ -72,6 +72,10 @@ public:
|
|
72
72
|
const InstancePtr& getInstance() const { return _instance; }
|
73
73
|
const SharedContextPtr& getContext() const { return _context; }
|
74
74
|
int getInvocationTimeout() const { return _invocationTimeout; }
|
75
|
+
IceUtil::Optional<bool> getCompress() const
|
76
|
+
{
|
77
|
+
return _overrideCompress ? IceUtil::Optional<bool>(_compress) : IceUtil::None;
|
78
|
+
}
|
75
79
|
|
76
80
|
Ice::CommunicatorPtr getCommunicator() const;
|
77
81
|
|
@@ -85,6 +89,7 @@ public:
|
|
85
89
|
virtual Ice::EndpointSelectionType getEndpointSelection() const = 0;
|
86
90
|
virtual int getLocatorCacheTimeout() const = 0;
|
87
91
|
virtual std::string getConnectionId() const = 0;
|
92
|
+
virtual IceUtil::Optional<int> getTimeout() const = 0;
|
88
93
|
|
89
94
|
//
|
90
95
|
// The change* methods (here and in derived classes) create
|
@@ -112,6 +117,7 @@ public:
|
|
112
117
|
|
113
118
|
virtual ReferencePtr changeTimeout(int) const = 0;
|
114
119
|
virtual ReferencePtr changeConnectionId(const std::string&) const = 0;
|
120
|
+
virtual ReferencePtr changeConnection(const Ice::ConnectionIPtr&) const = 0;
|
115
121
|
|
116
122
|
int hash() const; // Conceptually const.
|
117
123
|
|
@@ -185,7 +191,8 @@ class FixedReference : public Reference
|
|
185
191
|
public:
|
186
192
|
|
187
193
|
FixedReference(const InstancePtr&, const Ice::CommunicatorPtr&, const Ice::Identity&, const std::string&, Mode,
|
188
|
-
bool, const Ice::EncodingVersion&, const Ice::ConnectionIPtr
|
194
|
+
bool, const Ice::ProtocolVersion&, const Ice::EncodingVersion&, const Ice::ConnectionIPtr&,
|
195
|
+
int, const Ice::Context&, const IceUtil::Optional<bool>&);
|
189
196
|
|
190
197
|
virtual std::vector<EndpointIPtr> getEndpoints() const;
|
191
198
|
virtual std::string getAdapterId() const;
|
@@ -195,6 +202,7 @@ public:
|
|
195
202
|
virtual Ice::EndpointSelectionType getEndpointSelection() const;
|
196
203
|
virtual int getLocatorCacheTimeout() const;
|
197
204
|
virtual std::string getConnectionId() const;
|
205
|
+
virtual IceUtil::Optional<int> getTimeout() const;
|
198
206
|
|
199
207
|
virtual ReferencePtr changeEndpoints(const std::vector<EndpointIPtr>&) const;
|
200
208
|
virtual ReferencePtr changeAdapterId(const std::string&) const;
|
@@ -208,6 +216,7 @@ public:
|
|
208
216
|
|
209
217
|
virtual ReferencePtr changeTimeout(int) const;
|
210
218
|
virtual ReferencePtr changeConnectionId(const std::string&) const;
|
219
|
+
virtual ReferencePtr changeConnection(const Ice::ConnectionIPtr&) const;
|
211
220
|
|
212
221
|
virtual bool isIndirect() const;
|
213
222
|
virtual bool isWellKnown() const;
|
@@ -249,6 +258,7 @@ public:
|
|
249
258
|
virtual Ice::EndpointSelectionType getEndpointSelection() const;
|
250
259
|
virtual int getLocatorCacheTimeout() const;
|
251
260
|
virtual std::string getConnectionId() const;
|
261
|
+
virtual IceUtil::Optional<int> getTimeout() const;
|
252
262
|
|
253
263
|
virtual ReferencePtr changeEncoding(const Ice::EncodingVersion&) const;
|
254
264
|
virtual ReferencePtr changeCompress(bool) const;
|
@@ -264,6 +274,7 @@ public:
|
|
264
274
|
|
265
275
|
virtual ReferencePtr changeTimeout(int) const;
|
266
276
|
virtual ReferencePtr changeConnectionId(const std::string&) const;
|
277
|
+
virtual ReferencePtr changeConnection(const Ice::ConnectionIPtr&) const;
|
267
278
|
|
268
279
|
virtual bool isIndirect() const;
|
269
280
|
virtual bool isWellKnown() const;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
@@ -91,8 +91,12 @@ IceInternal::ReferenceFactory::create(const Identity& ident, const Ice::Connecti
|
|
91
91
|
"", // Facet
|
92
92
|
connection->endpoint()->datagram() ? Reference::ModeDatagram : Reference::ModeTwoway,
|
93
93
|
connection->endpoint()->secure(),
|
94
|
+
Ice::Protocol_1_0,
|
94
95
|
_instance->defaultsAndOverrides()->defaultEncoding,
|
95
|
-
connection
|
96
|
+
connection,
|
97
|
+
-1,
|
98
|
+
Ice::Context(),
|
99
|
+
IceUtil::Optional<bool>());
|
96
100
|
}
|
97
101
|
|
98
102
|
ReferencePtr
|
@@ -112,9 +116,7 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
|
|
112
116
|
beg = s.find_first_not_of(delim, end);
|
113
117
|
if(beg == string::npos)
|
114
118
|
{
|
115
|
-
ProxyParseException
|
116
|
-
ex.str = "no non-whitespace characters found in `" + s + "'";
|
117
|
-
throw ex;
|
119
|
+
throw ProxyParseException(__FILE__, __LINE__, "no non-whitespace characters found in `" + s + "'");
|
118
120
|
}
|
119
121
|
|
120
122
|
//
|
@@ -125,9 +127,7 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
|
|
125
127
|
end = IceUtilInternal::checkQuote(s, beg);
|
126
128
|
if(end == string::npos)
|
127
129
|
{
|
128
|
-
ProxyParseException
|
129
|
-
ex.str = "mismatched quotes around identity in `" + s + "'";
|
130
|
-
throw ex;
|
130
|
+
throw ProxyParseException(__FILE__, __LINE__, "mismatched quotes around identity in `" + s + "'");
|
131
131
|
}
|
132
132
|
else if(end == 0)
|
133
133
|
{
|
@@ -147,9 +147,7 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
|
|
147
147
|
|
148
148
|
if(beg == end)
|
149
149
|
{
|
150
|
-
ProxyParseException
|
151
|
-
ex.str = "no identity in `" + s + "'";
|
152
|
-
throw ex;
|
150
|
+
throw ProxyParseException(__FILE__, __LINE__, "no identity in `" + s + "'");
|
153
151
|
}
|
154
152
|
|
155
153
|
//
|
@@ -165,9 +163,7 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
|
|
165
163
|
//
|
166
164
|
if(!ident.category.empty())
|
167
165
|
{
|
168
|
-
IllegalIdentityException
|
169
|
-
e.id = ident;
|
170
|
-
throw e;
|
166
|
+
throw IllegalIdentityException(__FILE__, __LINE__, ident);
|
171
167
|
}
|
172
168
|
//
|
173
169
|
// Treat a stringified proxy containing two double
|
@@ -177,9 +173,7 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
|
|
177
173
|
//
|
178
174
|
else if(s.find_first_not_of(delim, end) != string::npos)
|
179
175
|
{
|
180
|
-
ProxyParseException
|
181
|
-
ex.str = "invalid characters after identity in `" + s + "'";
|
182
|
-
throw ex;
|
176
|
+
throw ProxyParseException(__FILE__, __LINE__, "invalid characters after identity in `" + s + "'");
|
183
177
|
}
|
184
178
|
else
|
185
179
|
{
|
@@ -221,9 +215,8 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
|
|
221
215
|
string option = s.substr(beg, end - beg);
|
222
216
|
if(option.length() != 2 || option[0] != '-')
|
223
217
|
{
|
224
|
-
ProxyParseException
|
225
|
-
|
226
|
-
throw ex;
|
218
|
+
throw ProxyParseException(__FILE__, __LINE__, "expected a proxy option but found `" + option + "' in `" +
|
219
|
+
s + "'");
|
227
220
|
}
|
228
221
|
|
229
222
|
//
|
@@ -241,9 +234,8 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
|
|
241
234
|
end = IceUtilInternal::checkQuote(s, beg);
|
242
235
|
if(end == string::npos)
|
243
236
|
{
|
244
|
-
ProxyParseException
|
245
|
-
|
246
|
-
throw ex;
|
237
|
+
throw ProxyParseException(__FILE__, __LINE__, "mismatched quotes around value for " + option +
|
238
|
+
" option in `" + s + "'");
|
247
239
|
}
|
248
240
|
else if(end == 0)
|
249
241
|
{
|
@@ -273,20 +265,16 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
|
|
273
265
|
{
|
274
266
|
if(argument.empty())
|
275
267
|
{
|
276
|
-
ProxyParseException
|
277
|
-
ex.str = "no argument provided for -f option in `" + s + "'";
|
278
|
-
throw ex;
|
268
|
+
throw ProxyParseException(__FILE__, __LINE__, "no argument provided for -f option in `" + s + "'");
|
279
269
|
}
|
280
270
|
|
281
271
|
try
|
282
272
|
{
|
283
273
|
facet = unescapeString(argument, 0, argument.size(), "");
|
284
274
|
}
|
285
|
-
catch(const IceUtil::IllegalArgumentException&
|
275
|
+
catch(const IceUtil::IllegalArgumentException& ex)
|
286
276
|
{
|
287
|
-
ProxyParseException
|
288
|
-
ex.str = "invalid facet in `" + s + "': " + e.reason();
|
289
|
-
throw ex;
|
277
|
+
throw ProxyParseException(__FILE__, __LINE__, "invalid facet in `" + s + "': " + ex.reason());
|
290
278
|
}
|
291
279
|
|
292
280
|
break;
|
@@ -296,9 +284,8 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
|
|
296
284
|
{
|
297
285
|
if(!argument.empty())
|
298
286
|
{
|
299
|
-
ProxyParseException
|
300
|
-
|
301
|
-
throw ex;
|
287
|
+
throw ProxyParseException(__FILE__, __LINE__, "unexpected argument `" + argument +
|
288
|
+
"' provided for -t option in `" + s + "'");
|
302
289
|
}
|
303
290
|
mode = Reference::ModeTwoway;
|
304
291
|
break;
|
@@ -308,9 +295,8 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
|
|
308
295
|
{
|
309
296
|
if(!argument.empty())
|
310
297
|
{
|
311
|
-
ProxyParseException
|
312
|
-
|
313
|
-
throw ex;
|
298
|
+
throw ProxyParseException(__FILE__, __LINE__, "unexpected argument `" + argument +
|
299
|
+
"' provided for -o option in `" + s + "'");
|
314
300
|
}
|
315
301
|
mode = Reference::ModeOneway;
|
316
302
|
break;
|
@@ -320,9 +306,8 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
|
|
320
306
|
{
|
321
307
|
if(!argument.empty())
|
322
308
|
{
|
323
|
-
ProxyParseException
|
324
|
-
|
325
|
-
throw ex;
|
309
|
+
throw ProxyParseException(__FILE__, __LINE__, "unexpected argument `" + argument +
|
310
|
+
"' provided for -O option in `" + s + "'");
|
326
311
|
}
|
327
312
|
mode = Reference::ModeBatchOneway;
|
328
313
|
break;
|
@@ -332,9 +317,8 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
|
|
332
317
|
{
|
333
318
|
if(!argument.empty())
|
334
319
|
{
|
335
|
-
ProxyParseException
|
336
|
-
|
337
|
-
throw ex;
|
320
|
+
throw ProxyParseException(__FILE__, __LINE__, "unexpected argument `" + argument +
|
321
|
+
"' provided for -d option in `" + s + "'");
|
338
322
|
}
|
339
323
|
mode = Reference::ModeDatagram;
|
340
324
|
break;
|
@@ -344,9 +328,8 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
|
|
344
328
|
{
|
345
329
|
if(!argument.empty())
|
346
330
|
{
|
347
|
-
ProxyParseException
|
348
|
-
|
349
|
-
throw ex;
|
331
|
+
throw ProxyParseException(__FILE__, __LINE__, "unexpected argument `" + argument +
|
332
|
+
"' provided for -D option in `" + s + "'");
|
350
333
|
}
|
351
334
|
mode = Reference::ModeBatchDatagram;
|
352
335
|
break;
|
@@ -356,9 +339,8 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
|
|
356
339
|
{
|
357
340
|
if(!argument.empty())
|
358
341
|
{
|
359
|
-
ProxyParseException
|
360
|
-
|
361
|
-
throw ex;
|
342
|
+
throw ProxyParseException(__FILE__, __LINE__, "unexpected argument `" + argument +
|
343
|
+
"' provided for -s option in `" + s + "'");
|
362
344
|
}
|
363
345
|
secure = true;
|
364
346
|
break;
|
@@ -368,20 +350,17 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
|
|
368
350
|
{
|
369
351
|
if(argument.empty())
|
370
352
|
{
|
371
|
-
|
372
|
-
ex.str = "no argument provided for -e option in `" + s + "'";
|
373
|
-
throw ex;
|
353
|
+
throw ProxyParseException(__FILE__, __LINE__, "no argument provided for -e option in `" + s + "'");
|
374
354
|
}
|
375
355
|
|
376
356
|
try
|
377
357
|
{
|
378
358
|
encoding = Ice::stringToEncodingVersion(argument);
|
379
359
|
}
|
380
|
-
catch(const Ice::VersionParseException&
|
360
|
+
catch(const Ice::VersionParseException& ex)
|
381
361
|
{
|
382
|
-
|
383
|
-
|
384
|
-
throw ex;
|
362
|
+
throw ProxyParseException(__FILE__, __LINE__, "invalid encoding version `" + argument + "' in `" +
|
363
|
+
s + "':\n" + ex.str);
|
385
364
|
}
|
386
365
|
break;
|
387
366
|
}
|
@@ -390,29 +369,24 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
|
|
390
369
|
{
|
391
370
|
if(argument.empty())
|
392
371
|
{
|
393
|
-
|
394
|
-
ex.str = "no argument provided for -p option in `" + s + "'";
|
395
|
-
throw ex;
|
372
|
+
throw ProxyParseException(__FILE__, __LINE__, "no argument provided for -p option in `" + s + "'");
|
396
373
|
}
|
397
374
|
|
398
375
|
try
|
399
376
|
{
|
400
377
|
protocol = Ice::stringToProtocolVersion(argument);
|
401
378
|
}
|
402
|
-
catch(const Ice::VersionParseException&
|
379
|
+
catch(const Ice::VersionParseException& ex)
|
403
380
|
{
|
404
|
-
|
405
|
-
|
406
|
-
throw ex;
|
381
|
+
throw ProxyParseException(__FILE__, __LINE__, "invalid protocol version `" + argument + "' in `" +
|
382
|
+
s + "':\n" + ex.str);
|
407
383
|
}
|
408
384
|
break;
|
409
385
|
}
|
410
386
|
|
411
387
|
default:
|
412
388
|
{
|
413
|
-
ProxyParseException
|
414
|
-
ex.str = "unknown option `" + option + "' in `" + s + "'";
|
415
|
-
throw ex;
|
389
|
+
throw ProxyParseException(__FILE__, __LINE__, "unknown option `" + option + "' in `" + s + "'");
|
416
390
|
}
|
417
391
|
}
|
418
392
|
}
|
@@ -491,9 +465,8 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
|
|
491
465
|
if(endpoints.size() == 0)
|
492
466
|
{
|
493
467
|
assert(!unknownEndpoints.empty());
|
494
|
-
EndpointParseException
|
495
|
-
|
496
|
-
throw ex;
|
468
|
+
throw EndpointParseException(__FILE__, __LINE__, "invalid endpoint `" + unknownEndpoints.front() +
|
469
|
+
"' in `" + s + "'");
|
497
470
|
}
|
498
471
|
else if(unknownEndpoints.size() != 0 &&
|
499
472
|
_instance->initializationData().properties->
|
@@ -515,18 +488,14 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
|
|
515
488
|
beg = s.find_first_not_of(delim, beg + 1);
|
516
489
|
if(beg == string::npos)
|
517
490
|
{
|
518
|
-
ProxyParseException
|
519
|
-
ex.str = "missing adapter id in `" + s + "'";
|
520
|
-
throw ex;
|
491
|
+
throw ProxyParseException(__FILE__, __LINE__, "missing adapter id in `" + s + "'");
|
521
492
|
}
|
522
493
|
|
523
494
|
string adapterstr;
|
524
495
|
end = IceUtilInternal::checkQuote(s, beg);
|
525
496
|
if(end == string::npos)
|
526
497
|
{
|
527
|
-
ProxyParseException
|
528
|
-
ex.str = "mismatched quotes around adapter id in `" + s + "'";
|
529
|
-
throw ex;
|
498
|
+
throw ProxyParseException(__FILE__, __LINE__, "mismatched quotes around adapter id in `" + s + "'");
|
530
499
|
}
|
531
500
|
else if(end == 0)
|
532
501
|
{
|
@@ -547,26 +516,21 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
|
|
547
516
|
// Check for trailing whitespace.
|
548
517
|
if(end != string::npos && s.find_first_not_of(delim, end) != string::npos)
|
549
518
|
{
|
550
|
-
ProxyParseException
|
551
|
-
|
552
|
-
throw ex;
|
519
|
+
throw ProxyParseException(__FILE__, __LINE__, "invalid trailing characters after `" +
|
520
|
+
s.substr(0, end + 1) + "' in `" + s + "'");
|
553
521
|
}
|
554
522
|
|
555
523
|
try
|
556
524
|
{
|
557
525
|
adapter = unescapeString(adapterstr, 0, adapterstr.size(), "");
|
558
526
|
}
|
559
|
-
catch(const IceUtil::IllegalArgumentException&
|
527
|
+
catch(const IceUtil::IllegalArgumentException& ex)
|
560
528
|
{
|
561
|
-
ProxyParseException
|
562
|
-
ex.str = "invalid adapter id in `" + s + "': " + e.reason();
|
563
|
-
throw ex;
|
529
|
+
throw ProxyParseException(__FILE__, __LINE__, "invalid adapter id in `" + s + "': " + ex.reason());
|
564
530
|
}
|
565
531
|
if(adapter.size() == 0)
|
566
532
|
{
|
567
|
-
ProxyParseException
|
568
|
-
ex.str = "empty adapter id in `" + s + "'";
|
569
|
-
throw ex;
|
533
|
+
throw ProxyParseException(__FILE__, __LINE__, "empty adapter id in `" + s + "'");
|
570
534
|
}
|
571
535
|
|
572
536
|
return create(ident, facet, mode, secure, protocol, encoding, endpoints, adapter, propertyPrefix);
|
@@ -574,9 +538,7 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
|
|
574
538
|
}
|
575
539
|
default:
|
576
540
|
{
|
577
|
-
ProxyParseException
|
578
|
-
ex.str = "malformed proxy `" + s + "'";
|
579
|
-
throw ex;
|
541
|
+
throw ProxyParseException(__FILE__, __LINE__, "malformed proxy `" + s + "'");
|
580
542
|
}
|
581
543
|
}
|
582
544
|
|
@@ -865,9 +827,8 @@ IceInternal::ReferenceFactory::create(const Identity& ident,
|
|
865
827
|
}
|
866
828
|
else
|
867
829
|
{
|
868
|
-
EndpointSelectionTypeParseException
|
869
|
-
|
870
|
-
throw ex;
|
830
|
+
throw EndpointSelectionTypeParseException(__FILE__, __LINE__, "illegal value `" + type +
|
831
|
+
"'; expected `Random' or `Ordered'");
|
871
832
|
}
|
872
833
|
}
|
873
834
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
@@ -1,13 +1,13 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.7.
|
10
|
+
// Ice version 3.7.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -46,7 +46,7 @@
|
|
46
46
|
# if ICE_INT_VERSION % 100 > 50
|
47
47
|
# error Beta header file detected
|
48
48
|
# endif
|
49
|
-
# if ICE_INT_VERSION % 100 <
|
49
|
+
# if ICE_INT_VERSION % 100 < 1
|
50
50
|
# error Ice patch level mismatch!
|
51
51
|
# endif
|
52
52
|
#endif
|
@@ -108,19 +108,19 @@ Ice::RemoteLoggerAlreadyAttachedException::ice_staticId()
|
|
108
108
|
}
|
109
109
|
|
110
110
|
bool
|
111
|
-
Ice::RemoteLogger::ice_isA(::std::string s, const
|
111
|
+
Ice::RemoteLogger::ice_isA(::std::string s, const Current&) const
|
112
112
|
{
|
113
113
|
return ::std::binary_search(iceC_Ice_RemoteLogger_ids, iceC_Ice_RemoteLogger_ids + 2, s);
|
114
114
|
}
|
115
115
|
|
116
116
|
::std::vector<::std::string>
|
117
|
-
Ice::RemoteLogger::ice_ids(const
|
117
|
+
Ice::RemoteLogger::ice_ids(const Current&) const
|
118
118
|
{
|
119
119
|
return ::std::vector<::std::string>(&iceC_Ice_RemoteLogger_ids[0], &iceC_Ice_RemoteLogger_ids[2]);
|
120
120
|
}
|
121
121
|
|
122
122
|
::std::string
|
123
|
-
Ice::RemoteLogger::ice_id(const
|
123
|
+
Ice::RemoteLogger::ice_id(const Current&) const
|
124
124
|
{
|
125
125
|
return ice_staticId();
|
126
126
|
}
|
@@ -132,40 +132,45 @@ Ice::RemoteLogger::ice_staticId()
|
|
132
132
|
return typeId;
|
133
133
|
}
|
134
134
|
|
135
|
+
/// \cond INTERNAL
|
135
136
|
bool
|
136
|
-
Ice::RemoteLogger::_iceD_init(::IceInternal::Incoming& inS, const
|
137
|
+
Ice::RemoteLogger::_iceD_init(::IceInternal::Incoming& inS, const Current& current)
|
137
138
|
{
|
138
|
-
_iceCheckMode(
|
139
|
+
_iceCheckMode(OperationMode::Normal, current.mode);
|
139
140
|
auto istr = inS.startReadParams();
|
140
141
|
::std::string iceP_prefix;
|
141
|
-
|
142
|
+
LogMessageSeq iceP_logMessages;
|
142
143
|
istr->readAll(iceP_prefix, iceP_logMessages);
|
143
144
|
inS.endReadParams();
|
144
145
|
this->init(::std::move(iceP_prefix), ::std::move(iceP_logMessages), current);
|
145
146
|
inS.writeEmptyParams();
|
146
147
|
return true;
|
147
148
|
}
|
149
|
+
/// \endcond
|
148
150
|
|
151
|
+
/// \cond INTERNAL
|
149
152
|
bool
|
150
|
-
Ice::RemoteLogger::_iceD_log(::IceInternal::Incoming& inS, const
|
153
|
+
Ice::RemoteLogger::_iceD_log(::IceInternal::Incoming& inS, const Current& current)
|
151
154
|
{
|
152
|
-
_iceCheckMode(
|
155
|
+
_iceCheckMode(OperationMode::Normal, current.mode);
|
153
156
|
auto istr = inS.startReadParams();
|
154
|
-
|
157
|
+
LogMessage iceP_message;
|
155
158
|
istr->readAll(iceP_message);
|
156
159
|
inS.endReadParams();
|
157
160
|
this->log(::std::move(iceP_message), current);
|
158
161
|
inS.writeEmptyParams();
|
159
162
|
return true;
|
160
163
|
}
|
164
|
+
/// \endcond
|
161
165
|
|
166
|
+
/// \cond INTERNAL
|
162
167
|
bool
|
163
|
-
Ice::RemoteLogger::_iceDispatch(::IceInternal::Incoming& in, const
|
168
|
+
Ice::RemoteLogger::_iceDispatch(::IceInternal::Incoming& in, const Current& current)
|
164
169
|
{
|
165
170
|
::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_RemoteLogger_ops, iceC_Ice_RemoteLogger_ops + 6, current.operation);
|
166
171
|
if(r.first == r.second)
|
167
172
|
{
|
168
|
-
throw
|
173
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
169
174
|
}
|
170
175
|
|
171
176
|
switch(r.first - iceC_Ice_RemoteLogger_ops)
|
@@ -197,25 +202,26 @@ Ice::RemoteLogger::_iceDispatch(::IceInternal::Incoming& in, const ::Ice::Curren
|
|
197
202
|
default:
|
198
203
|
{
|
199
204
|
assert(false);
|
200
|
-
throw
|
205
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
201
206
|
}
|
202
207
|
}
|
203
208
|
}
|
209
|
+
/// \endcond
|
204
210
|
|
205
211
|
bool
|
206
|
-
Ice::LoggerAdmin::ice_isA(::std::string s, const
|
212
|
+
Ice::LoggerAdmin::ice_isA(::std::string s, const Current&) const
|
207
213
|
{
|
208
214
|
return ::std::binary_search(iceC_Ice_LoggerAdmin_ids, iceC_Ice_LoggerAdmin_ids + 2, s);
|
209
215
|
}
|
210
216
|
|
211
217
|
::std::vector<::std::string>
|
212
|
-
Ice::LoggerAdmin::ice_ids(const
|
218
|
+
Ice::LoggerAdmin::ice_ids(const Current&) const
|
213
219
|
{
|
214
220
|
return ::std::vector<::std::string>(&iceC_Ice_LoggerAdmin_ids[0], &iceC_Ice_LoggerAdmin_ids[2]);
|
215
221
|
}
|
216
222
|
|
217
223
|
::std::string
|
218
|
-
Ice::LoggerAdmin::ice_id(const
|
224
|
+
Ice::LoggerAdmin::ice_id(const Current&) const
|
219
225
|
{
|
220
226
|
return ice_staticId();
|
221
227
|
}
|
@@ -227,14 +233,15 @@ Ice::LoggerAdmin::ice_staticId()
|
|
227
233
|
return typeId;
|
228
234
|
}
|
229
235
|
|
236
|
+
/// \cond INTERNAL
|
230
237
|
bool
|
231
|
-
Ice::LoggerAdmin::_iceD_attachRemoteLogger(::IceInternal::Incoming& inS, const
|
238
|
+
Ice::LoggerAdmin::_iceD_attachRemoteLogger(::IceInternal::Incoming& inS, const Current& current)
|
232
239
|
{
|
233
|
-
_iceCheckMode(
|
240
|
+
_iceCheckMode(OperationMode::Normal, current.mode);
|
234
241
|
auto istr = inS.startReadParams();
|
235
|
-
::std::shared_ptr
|
236
|
-
|
237
|
-
|
242
|
+
::std::shared_ptr<RemoteLoggerPrx> iceP_prx;
|
243
|
+
LogMessageTypeSeq iceP_messageTypes;
|
244
|
+
StringSeq iceP_traceCategories;
|
238
245
|
int iceP_messageMax;
|
239
246
|
istr->readAll(iceP_prx, iceP_messageTypes, iceP_traceCategories, iceP_messageMax);
|
240
247
|
inS.endReadParams();
|
@@ -242,13 +249,15 @@ Ice::LoggerAdmin::_iceD_attachRemoteLogger(::IceInternal::Incoming& inS, const :
|
|
242
249
|
inS.writeEmptyParams();
|
243
250
|
return true;
|
244
251
|
}
|
252
|
+
/// \endcond
|
245
253
|
|
254
|
+
/// \cond INTERNAL
|
246
255
|
bool
|
247
|
-
Ice::LoggerAdmin::_iceD_detachRemoteLogger(::IceInternal::Incoming& inS, const
|
256
|
+
Ice::LoggerAdmin::_iceD_detachRemoteLogger(::IceInternal::Incoming& inS, const Current& current)
|
248
257
|
{
|
249
|
-
_iceCheckMode(
|
258
|
+
_iceCheckMode(OperationMode::Normal, current.mode);
|
250
259
|
auto istr = inS.startReadParams();
|
251
|
-
::std::shared_ptr
|
260
|
+
::std::shared_ptr<RemoteLoggerPrx> iceP_prx;
|
252
261
|
istr->readAll(iceP_prx);
|
253
262
|
inS.endReadParams();
|
254
263
|
bool ret = this->detachRemoteLogger(::std::move(iceP_prx), current);
|
@@ -257,32 +266,36 @@ Ice::LoggerAdmin::_iceD_detachRemoteLogger(::IceInternal::Incoming& inS, const :
|
|
257
266
|
inS.endWriteParams();
|
258
267
|
return true;
|
259
268
|
}
|
269
|
+
/// \endcond
|
260
270
|
|
271
|
+
/// \cond INTERNAL
|
261
272
|
bool
|
262
|
-
Ice::LoggerAdmin::_iceD_getLog(::IceInternal::Incoming& inS, const
|
273
|
+
Ice::LoggerAdmin::_iceD_getLog(::IceInternal::Incoming& inS, const Current& current)
|
263
274
|
{
|
264
|
-
_iceCheckMode(
|
275
|
+
_iceCheckMode(OperationMode::Normal, current.mode);
|
265
276
|
auto istr = inS.startReadParams();
|
266
|
-
|
267
|
-
|
277
|
+
LogMessageTypeSeq iceP_messageTypes;
|
278
|
+
StringSeq iceP_traceCategories;
|
268
279
|
int iceP_messageMax;
|
269
280
|
istr->readAll(iceP_messageTypes, iceP_traceCategories, iceP_messageMax);
|
270
281
|
inS.endReadParams();
|
271
282
|
::std::string iceP_prefix;
|
272
|
-
|
283
|
+
LogMessageSeq ret = this->getLog(::std::move(iceP_messageTypes), ::std::move(iceP_traceCategories), iceP_messageMax, iceP_prefix, current);
|
273
284
|
auto ostr = inS.startWriteParams();
|
274
285
|
ostr->writeAll(iceP_prefix, ret);
|
275
286
|
inS.endWriteParams();
|
276
287
|
return true;
|
277
288
|
}
|
289
|
+
/// \endcond
|
278
290
|
|
291
|
+
/// \cond INTERNAL
|
279
292
|
bool
|
280
|
-
Ice::LoggerAdmin::_iceDispatch(::IceInternal::Incoming& in, const
|
293
|
+
Ice::LoggerAdmin::_iceDispatch(::IceInternal::Incoming& in, const Current& current)
|
281
294
|
{
|
282
295
|
::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_LoggerAdmin_ops, iceC_Ice_LoggerAdmin_ops + 7, current.operation);
|
283
296
|
if(r.first == r.second)
|
284
297
|
{
|
285
|
-
throw
|
298
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
286
299
|
}
|
287
300
|
|
288
301
|
switch(r.first - iceC_Ice_LoggerAdmin_ops)
|
@@ -318,110 +331,125 @@ Ice::LoggerAdmin::_iceDispatch(::IceInternal::Incoming& in, const ::Ice::Current
|
|
318
331
|
default:
|
319
332
|
{
|
320
333
|
assert(false);
|
321
|
-
throw
|
334
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
322
335
|
}
|
323
336
|
}
|
324
337
|
}
|
338
|
+
/// \endcond
|
325
339
|
|
340
|
+
/// \cond INTERNAL
|
326
341
|
void
|
327
|
-
Ice::RemoteLoggerPrx::_iceI_init(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>& outAsync, const ::std::string& iceP_prefix, const
|
342
|
+
Ice::RemoteLoggerPrx::_iceI_init(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>& outAsync, const ::std::string& iceP_prefix, const LogMessageSeq& iceP_logMessages, const Context& context)
|
328
343
|
{
|
329
|
-
outAsync->invoke(iceC_Ice_RemoteLogger_init_name,
|
330
|
-
[&](
|
344
|
+
outAsync->invoke(iceC_Ice_RemoteLogger_init_name, OperationMode::Normal, FormatType::DefaultFormat, context,
|
345
|
+
[&](OutputStream* ostr)
|
331
346
|
{
|
332
347
|
ostr->writeAll(iceP_prefix, iceP_logMessages);
|
333
348
|
},
|
334
349
|
nullptr);
|
335
350
|
}
|
351
|
+
/// \endcond
|
336
352
|
|
353
|
+
/// \cond INTERNAL
|
337
354
|
void
|
338
|
-
Ice::RemoteLoggerPrx::_iceI_log(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>& outAsync, const
|
355
|
+
Ice::RemoteLoggerPrx::_iceI_log(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>& outAsync, const LogMessage& iceP_message, const Context& context)
|
339
356
|
{
|
340
|
-
outAsync->invoke(iceC_Ice_RemoteLogger_log_name,
|
341
|
-
[&](
|
357
|
+
outAsync->invoke(iceC_Ice_RemoteLogger_log_name, OperationMode::Normal, FormatType::DefaultFormat, context,
|
358
|
+
[&](OutputStream* ostr)
|
342
359
|
{
|
343
360
|
ostr->writeAll(iceP_message);
|
344
361
|
},
|
345
362
|
nullptr);
|
346
363
|
}
|
364
|
+
/// \endcond
|
347
365
|
|
366
|
+
/// \cond INTERNAL
|
348
367
|
::std::shared_ptr<::Ice::ObjectPrx>
|
349
368
|
Ice::RemoteLoggerPrx::_newInstance() const
|
350
369
|
{
|
351
370
|
return ::IceInternal::createProxy<RemoteLoggerPrx>();
|
352
371
|
}
|
372
|
+
/// \endcond
|
353
373
|
|
354
374
|
const ::std::string&
|
355
375
|
Ice::RemoteLoggerPrx::ice_staticId()
|
356
376
|
{
|
357
|
-
return
|
377
|
+
return RemoteLogger::ice_staticId();
|
358
378
|
}
|
359
379
|
|
380
|
+
/// \cond INTERNAL
|
360
381
|
void
|
361
|
-
Ice::LoggerAdminPrx::_iceI_attachRemoteLogger(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>& outAsync, const ::std::shared_ptr
|
382
|
+
Ice::LoggerAdminPrx::_iceI_attachRemoteLogger(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>& outAsync, const ::std::shared_ptr<RemoteLoggerPrx>& iceP_prx, const LogMessageTypeSeq& iceP_messageTypes, const StringSeq& iceP_traceCategories, int iceP_messageMax, const Context& context)
|
362
383
|
{
|
363
384
|
_checkTwowayOnly(iceC_Ice_LoggerAdmin_attachRemoteLogger_name);
|
364
|
-
outAsync->invoke(iceC_Ice_LoggerAdmin_attachRemoteLogger_name,
|
365
|
-
[&](
|
385
|
+
outAsync->invoke(iceC_Ice_LoggerAdmin_attachRemoteLogger_name, OperationMode::Normal, FormatType::DefaultFormat, context,
|
386
|
+
[&](OutputStream* ostr)
|
366
387
|
{
|
367
388
|
ostr->writeAll(iceP_prx, iceP_messageTypes, iceP_traceCategories, iceP_messageMax);
|
368
389
|
},
|
369
|
-
[](const
|
390
|
+
[](const UserException& ex)
|
370
391
|
{
|
371
392
|
try
|
372
393
|
{
|
373
394
|
ex.ice_throw();
|
374
395
|
}
|
375
|
-
catch(const
|
396
|
+
catch(const RemoteLoggerAlreadyAttachedException&)
|
376
397
|
{
|
377
398
|
throw;
|
378
399
|
}
|
379
|
-
catch(const
|
400
|
+
catch(const UserException&)
|
380
401
|
{
|
381
402
|
}
|
382
403
|
});
|
383
404
|
}
|
405
|
+
/// \endcond
|
384
406
|
|
407
|
+
/// \cond INTERNAL
|
385
408
|
void
|
386
|
-
Ice::LoggerAdminPrx::_iceI_detachRemoteLogger(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<bool>>& outAsync, const ::std::shared_ptr
|
409
|
+
Ice::LoggerAdminPrx::_iceI_detachRemoteLogger(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<bool>>& outAsync, const ::std::shared_ptr<RemoteLoggerPrx>& iceP_prx, const Context& context)
|
387
410
|
{
|
388
411
|
_checkTwowayOnly(iceC_Ice_LoggerAdmin_detachRemoteLogger_name);
|
389
|
-
outAsync->invoke(iceC_Ice_LoggerAdmin_detachRemoteLogger_name,
|
390
|
-
[&](
|
412
|
+
outAsync->invoke(iceC_Ice_LoggerAdmin_detachRemoteLogger_name, OperationMode::Normal, FormatType::DefaultFormat, context,
|
413
|
+
[&](OutputStream* ostr)
|
391
414
|
{
|
392
415
|
ostr->writeAll(iceP_prx);
|
393
416
|
},
|
394
417
|
nullptr);
|
395
418
|
}
|
419
|
+
/// \endcond
|
396
420
|
|
421
|
+
/// \cond INTERNAL
|
397
422
|
void
|
398
|
-
Ice::LoggerAdminPrx::_iceI_getLog(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT
|
423
|
+
Ice::LoggerAdminPrx::_iceI_getLog(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<LoggerAdmin::GetLogResult>>& outAsync, const LogMessageTypeSeq& iceP_messageTypes, const StringSeq& iceP_traceCategories, int iceP_messageMax, const Context& context)
|
399
424
|
{
|
400
425
|
_checkTwowayOnly(iceC_Ice_LoggerAdmin_getLog_name);
|
401
|
-
outAsync->invoke(iceC_Ice_LoggerAdmin_getLog_name,
|
402
|
-
[&](
|
426
|
+
outAsync->invoke(iceC_Ice_LoggerAdmin_getLog_name, OperationMode::Normal, FormatType::DefaultFormat, context,
|
427
|
+
[&](OutputStream* ostr)
|
403
428
|
{
|
404
429
|
ostr->writeAll(iceP_messageTypes, iceP_traceCategories, iceP_messageMax);
|
405
430
|
},
|
406
431
|
nullptr,
|
407
|
-
[](
|
432
|
+
[](InputStream* istr)
|
408
433
|
{
|
409
|
-
|
434
|
+
LoggerAdmin::GetLogResult v;
|
410
435
|
istr->readAll(v.prefix, v.returnValue);
|
411
436
|
return v;
|
412
437
|
});
|
413
438
|
}
|
439
|
+
/// \endcond
|
414
440
|
|
441
|
+
/// \cond INTERNAL
|
415
442
|
::std::shared_ptr<::Ice::ObjectPrx>
|
416
443
|
Ice::LoggerAdminPrx::_newInstance() const
|
417
444
|
{
|
418
445
|
return ::IceInternal::createProxy<LoggerAdminPrx>();
|
419
446
|
}
|
447
|
+
/// \endcond
|
420
448
|
|
421
449
|
const ::std::string&
|
422
450
|
Ice::LoggerAdminPrx::ice_staticId()
|
423
451
|
{
|
424
|
-
return
|
452
|
+
return LoggerAdmin::ice_staticId();
|
425
453
|
}
|
426
454
|
|
427
455
|
namespace Ice
|
@@ -474,25 +502,29 @@ Ice::RemoteLoggerAlreadyAttachedException::ice_throw() const
|
|
474
502
|
throw *this;
|
475
503
|
}
|
476
504
|
|
505
|
+
/// \cond STREAM
|
477
506
|
void
|
478
|
-
Ice::RemoteLoggerAlreadyAttachedException::_writeImpl(
|
507
|
+
Ice::RemoteLoggerAlreadyAttachedException::_writeImpl(OutputStream* ostr) const
|
479
508
|
{
|
480
509
|
ostr->startSlice("::Ice::RemoteLoggerAlreadyAttachedException", -1, true);
|
481
|
-
|
510
|
+
StreamWriter< RemoteLoggerAlreadyAttachedException, OutputStream>::write(ostr, *this);
|
482
511
|
ostr->endSlice();
|
483
512
|
}
|
484
513
|
|
485
514
|
void
|
486
|
-
Ice::RemoteLoggerAlreadyAttachedException::_readImpl(
|
515
|
+
Ice::RemoteLoggerAlreadyAttachedException::_readImpl(InputStream* istr)
|
487
516
|
{
|
488
517
|
istr->startSlice();
|
489
|
-
|
518
|
+
StreamReader< RemoteLoggerAlreadyAttachedException, InputStream>::read(istr, *this);
|
490
519
|
istr->endSlice();
|
491
520
|
}
|
492
|
-
|
521
|
+
/// \endcond
|
522
|
+
|
523
|
+
/// \cond INTERNAL
|
524
|
+
ICE_API ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(RemoteLogger* p) { return p; }
|
493
525
|
|
494
526
|
void
|
495
|
-
::IceProxy::Ice::_readProxy(::Ice::InputStream* istr, ::IceInternal::ProxyHandle<
|
527
|
+
::IceProxy::Ice::_readProxy(::Ice::InputStream* istr, ::IceInternal::ProxyHandle< RemoteLogger>& v)
|
496
528
|
{
|
497
529
|
::Ice::ObjectPrx proxy;
|
498
530
|
istr->read(proxy);
|
@@ -502,10 +534,11 @@ void
|
|
502
534
|
}
|
503
535
|
else
|
504
536
|
{
|
505
|
-
v = new
|
537
|
+
v = new RemoteLogger;
|
506
538
|
v->_copyFrom(proxy);
|
507
539
|
}
|
508
540
|
}
|
541
|
+
/// \endcond
|
509
542
|
|
510
543
|
::Ice::AsyncResultPtr
|
511
544
|
IceProxy::Ice::RemoteLogger::_iceI_begin_init(const ::std::string& iceP_prefix, const ::Ice::LogMessageSeq& iceP_logMessages, const ::Ice::Context& context, const ::IceInternal::CallbackBasePtr& del, const ::Ice::LocalObjectPtr& cookie, bool sync)
|
@@ -558,21 +591,25 @@ IceProxy::Ice::RemoteLogger::end_log(const ::Ice::AsyncResultPtr& result)
|
|
558
591
|
_end(result, iceC_Ice_RemoteLogger_log_name);
|
559
592
|
}
|
560
593
|
|
594
|
+
/// \cond INTERNAL
|
561
595
|
::IceProxy::Ice::Object*
|
562
596
|
IceProxy::Ice::RemoteLogger::_newInstance() const
|
563
597
|
{
|
564
598
|
return new RemoteLogger;
|
565
599
|
}
|
600
|
+
/// \endcond
|
566
601
|
|
567
602
|
const ::std::string&
|
568
603
|
IceProxy::Ice::RemoteLogger::ice_staticId()
|
569
604
|
{
|
570
605
|
return ::Ice::RemoteLogger::ice_staticId();
|
571
606
|
}
|
572
|
-
|
607
|
+
|
608
|
+
/// \cond INTERNAL
|
609
|
+
ICE_API ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(LoggerAdmin* p) { return p; }
|
573
610
|
|
574
611
|
void
|
575
|
-
::IceProxy::Ice::_readProxy(::Ice::InputStream* istr, ::IceInternal::ProxyHandle<
|
612
|
+
::IceProxy::Ice::_readProxy(::Ice::InputStream* istr, ::IceInternal::ProxyHandle< LoggerAdmin>& v)
|
576
613
|
{
|
577
614
|
::Ice::ObjectPrx proxy;
|
578
615
|
istr->read(proxy);
|
@@ -582,10 +619,11 @@ void
|
|
582
619
|
}
|
583
620
|
else
|
584
621
|
{
|
585
|
-
v = new
|
622
|
+
v = new LoggerAdmin;
|
586
623
|
v->_copyFrom(proxy);
|
587
624
|
}
|
588
625
|
}
|
626
|
+
/// \endcond
|
589
627
|
|
590
628
|
::Ice::AsyncResultPtr
|
591
629
|
IceProxy::Ice::LoggerAdmin::_iceI_begin_attachRemoteLogger(const ::Ice::RemoteLoggerPrx& iceP_prx, const ::Ice::LogMessageTypeSeq& iceP_messageTypes, const ::Ice::StringSeq& iceP_traceCategories, ::Ice::Int iceP_messageMax, const ::Ice::Context& context, const ::IceInternal::CallbackBasePtr& del, const ::Ice::LocalObjectPtr& cookie, bool sync)
|
@@ -719,11 +757,33 @@ IceProxy::Ice::LoggerAdmin::end_getLog(::std::string& iceP_prefix, const ::Ice::
|
|
719
757
|
return ret;
|
720
758
|
}
|
721
759
|
|
760
|
+
void IceProxy::Ice::LoggerAdmin::_iceI_end_getLog(::std::string& iceP_prefix, ::Ice::LogMessageSeq& ret, const ::Ice::AsyncResultPtr& result)
|
761
|
+
{
|
762
|
+
::Ice::AsyncResult::_check(result, this, iceC_Ice_LoggerAdmin_getLog_name);
|
763
|
+
if(!result->_waitForResponse())
|
764
|
+
{
|
765
|
+
try
|
766
|
+
{
|
767
|
+
result->_throwUserException();
|
768
|
+
}
|
769
|
+
catch(const ::Ice::UserException& ex)
|
770
|
+
{
|
771
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
|
772
|
+
}
|
773
|
+
}
|
774
|
+
::Ice::InputStream* istr = result->_startReadParams();
|
775
|
+
istr->read(iceP_prefix);
|
776
|
+
istr->read(ret);
|
777
|
+
result->_endReadParams();
|
778
|
+
}
|
779
|
+
|
780
|
+
/// \cond INTERNAL
|
722
781
|
::IceProxy::Ice::Object*
|
723
782
|
IceProxy::Ice::LoggerAdmin::_newInstance() const
|
724
783
|
{
|
725
784
|
return new LoggerAdmin;
|
726
785
|
}
|
786
|
+
/// \endcond
|
727
787
|
|
728
788
|
const ::std::string&
|
729
789
|
IceProxy::Ice::LoggerAdmin::ice_staticId()
|
@@ -735,8 +795,10 @@ Ice::RemoteLogger::~RemoteLogger()
|
|
735
795
|
{
|
736
796
|
}
|
737
797
|
|
738
|
-
|
798
|
+
/// \cond INTERNAL
|
799
|
+
ICE_API ::Ice::Object* Ice::upCast(RemoteLogger* p) { return p; }
|
739
800
|
|
801
|
+
/// \endcond
|
740
802
|
|
741
803
|
namespace
|
742
804
|
{
|
@@ -749,19 +811,19 @@ const ::std::string iceC_Ice_RemoteLogger_ids[2] =
|
|
749
811
|
}
|
750
812
|
|
751
813
|
bool
|
752
|
-
Ice::RemoteLogger::ice_isA(const ::std::string& s, const
|
814
|
+
Ice::RemoteLogger::ice_isA(const ::std::string& s, const Current&) const
|
753
815
|
{
|
754
816
|
return ::std::binary_search(iceC_Ice_RemoteLogger_ids, iceC_Ice_RemoteLogger_ids + 2, s);
|
755
817
|
}
|
756
818
|
|
757
819
|
::std::vector< ::std::string>
|
758
|
-
Ice::RemoteLogger::ice_ids(const
|
820
|
+
Ice::RemoteLogger::ice_ids(const Current&) const
|
759
821
|
{
|
760
822
|
return ::std::vector< ::std::string>(&iceC_Ice_RemoteLogger_ids[0], &iceC_Ice_RemoteLogger_ids[2]);
|
761
823
|
}
|
762
824
|
|
763
825
|
const ::std::string&
|
764
|
-
Ice::RemoteLogger::ice_id(const
|
826
|
+
Ice::RemoteLogger::ice_id(const Current&) const
|
765
827
|
{
|
766
828
|
return ice_staticId();
|
767
829
|
}
|
@@ -777,13 +839,14 @@ Ice::RemoteLogger::ice_staticId()
|
|
777
839
|
#endif
|
778
840
|
}
|
779
841
|
|
842
|
+
/// \cond INTERNAL
|
780
843
|
bool
|
781
|
-
Ice::RemoteLogger::_iceD_init(::IceInternal::Incoming& inS, const
|
844
|
+
Ice::RemoteLogger::_iceD_init(::IceInternal::Incoming& inS, const Current& current)
|
782
845
|
{
|
783
846
|
_iceCheckMode(::Ice::Normal, current.mode);
|
784
|
-
|
847
|
+
InputStream* istr = inS.startReadParams();
|
785
848
|
::std::string iceP_prefix;
|
786
|
-
|
849
|
+
LogMessageSeq iceP_logMessages;
|
787
850
|
istr->read(iceP_prefix);
|
788
851
|
istr->read(iceP_logMessages);
|
789
852
|
inS.endReadParams();
|
@@ -791,19 +854,22 @@ Ice::RemoteLogger::_iceD_init(::IceInternal::Incoming& inS, const ::Ice::Current
|
|
791
854
|
inS.writeEmptyParams();
|
792
855
|
return true;
|
793
856
|
}
|
857
|
+
/// \endcond
|
794
858
|
|
859
|
+
/// \cond INTERNAL
|
795
860
|
bool
|
796
|
-
Ice::RemoteLogger::_iceD_log(::IceInternal::Incoming& inS, const
|
861
|
+
Ice::RemoteLogger::_iceD_log(::IceInternal::Incoming& inS, const Current& current)
|
797
862
|
{
|
798
863
|
_iceCheckMode(::Ice::Normal, current.mode);
|
799
|
-
|
800
|
-
|
864
|
+
InputStream* istr = inS.startReadParams();
|
865
|
+
LogMessage iceP_message;
|
801
866
|
istr->read(iceP_message);
|
802
867
|
inS.endReadParams();
|
803
868
|
this->log(iceP_message, current);
|
804
869
|
inS.writeEmptyParams();
|
805
870
|
return true;
|
806
871
|
}
|
872
|
+
/// \endcond
|
807
873
|
|
808
874
|
namespace
|
809
875
|
{
|
@@ -819,13 +885,14 @@ const ::std::string iceC_Ice_RemoteLogger_all[] =
|
|
819
885
|
|
820
886
|
}
|
821
887
|
|
888
|
+
/// \cond INTERNAL
|
822
889
|
bool
|
823
|
-
Ice::RemoteLogger::_iceDispatch(::IceInternal::Incoming& in, const
|
890
|
+
Ice::RemoteLogger::_iceDispatch(::IceInternal::Incoming& in, const Current& current)
|
824
891
|
{
|
825
892
|
::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_RemoteLogger_all, iceC_Ice_RemoteLogger_all + 6, current.operation);
|
826
893
|
if(r.first == r.second)
|
827
894
|
{
|
828
|
-
throw
|
895
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
829
896
|
}
|
830
897
|
|
831
898
|
switch(r.first - iceC_Ice_RemoteLogger_all)
|
@@ -857,43 +924,50 @@ Ice::RemoteLogger::_iceDispatch(::IceInternal::Incoming& in, const ::Ice::Curren
|
|
857
924
|
default:
|
858
925
|
{
|
859
926
|
assert(false);
|
860
|
-
throw
|
927
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
861
928
|
}
|
862
929
|
}
|
863
930
|
}
|
931
|
+
/// \endcond
|
864
932
|
|
933
|
+
/// \cond STREAM
|
865
934
|
void
|
866
|
-
Ice::RemoteLogger::_iceWriteImpl(
|
935
|
+
Ice::RemoteLogger::_iceWriteImpl(OutputStream* ostr) const
|
867
936
|
{
|
868
937
|
ostr->startSlice(ice_staticId(), -1, true);
|
869
|
-
|
938
|
+
StreamWriter< RemoteLogger, OutputStream>::write(ostr, *this);
|
870
939
|
ostr->endSlice();
|
871
940
|
}
|
872
941
|
|
873
942
|
void
|
874
|
-
Ice::RemoteLogger::_iceReadImpl(
|
943
|
+
Ice::RemoteLogger::_iceReadImpl(InputStream* istr)
|
875
944
|
{
|
876
945
|
istr->startSlice();
|
877
|
-
|
946
|
+
StreamReader< RemoteLogger, InputStream>::read(istr, *this);
|
878
947
|
istr->endSlice();
|
879
948
|
}
|
949
|
+
/// \endcond
|
880
950
|
|
951
|
+
/// \cond INTERNAL
|
881
952
|
void
|
882
|
-
Ice::_icePatchObjectPtr(RemoteLoggerPtr& handle, const
|
953
|
+
Ice::_icePatchObjectPtr(RemoteLoggerPtr& handle, const ObjectPtr& v)
|
883
954
|
{
|
884
|
-
handle =
|
955
|
+
handle = RemoteLoggerPtr::dynamicCast(v);
|
885
956
|
if(v && !handle)
|
886
957
|
{
|
887
|
-
IceInternal::Ex::throwUOE(
|
958
|
+
IceInternal::Ex::throwUOE(RemoteLogger::ice_staticId(), v);
|
888
959
|
}
|
889
960
|
}
|
961
|
+
/// \endcond
|
890
962
|
|
891
963
|
Ice::LoggerAdmin::~LoggerAdmin()
|
892
964
|
{
|
893
965
|
}
|
894
966
|
|
895
|
-
|
967
|
+
/// \cond INTERNAL
|
968
|
+
ICE_API ::Ice::Object* Ice::upCast(LoggerAdmin* p) { return p; }
|
896
969
|
|
970
|
+
/// \endcond
|
897
971
|
|
898
972
|
namespace
|
899
973
|
{
|
@@ -906,19 +980,19 @@ const ::std::string iceC_Ice_LoggerAdmin_ids[2] =
|
|
906
980
|
}
|
907
981
|
|
908
982
|
bool
|
909
|
-
Ice::LoggerAdmin::ice_isA(const ::std::string& s, const
|
983
|
+
Ice::LoggerAdmin::ice_isA(const ::std::string& s, const Current&) const
|
910
984
|
{
|
911
985
|
return ::std::binary_search(iceC_Ice_LoggerAdmin_ids, iceC_Ice_LoggerAdmin_ids + 2, s);
|
912
986
|
}
|
913
987
|
|
914
988
|
::std::vector< ::std::string>
|
915
|
-
Ice::LoggerAdmin::ice_ids(const
|
989
|
+
Ice::LoggerAdmin::ice_ids(const Current&) const
|
916
990
|
{
|
917
991
|
return ::std::vector< ::std::string>(&iceC_Ice_LoggerAdmin_ids[0], &iceC_Ice_LoggerAdmin_ids[2]);
|
918
992
|
}
|
919
993
|
|
920
994
|
const ::std::string&
|
921
|
-
Ice::LoggerAdmin::ice_id(const
|
995
|
+
Ice::LoggerAdmin::ice_id(const Current&) const
|
922
996
|
{
|
923
997
|
return ice_staticId();
|
924
998
|
}
|
@@ -934,15 +1008,16 @@ Ice::LoggerAdmin::ice_staticId()
|
|
934
1008
|
#endif
|
935
1009
|
}
|
936
1010
|
|
1011
|
+
/// \cond INTERNAL
|
937
1012
|
bool
|
938
|
-
Ice::LoggerAdmin::_iceD_attachRemoteLogger(::IceInternal::Incoming& inS, const
|
1013
|
+
Ice::LoggerAdmin::_iceD_attachRemoteLogger(::IceInternal::Incoming& inS, const Current& current)
|
939
1014
|
{
|
940
1015
|
_iceCheckMode(::Ice::Normal, current.mode);
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
1016
|
+
InputStream* istr = inS.startReadParams();
|
1017
|
+
RemoteLoggerPrx iceP_prx;
|
1018
|
+
LogMessageTypeSeq iceP_messageTypes;
|
1019
|
+
StringSeq iceP_traceCategories;
|
1020
|
+
Int iceP_messageMax;
|
946
1021
|
istr->read(iceP_prx);
|
947
1022
|
istr->read(iceP_messageTypes);
|
948
1023
|
istr->read(iceP_traceCategories);
|
@@ -952,42 +1027,47 @@ Ice::LoggerAdmin::_iceD_attachRemoteLogger(::IceInternal::Incoming& inS, const :
|
|
952
1027
|
inS.writeEmptyParams();
|
953
1028
|
return true;
|
954
1029
|
}
|
1030
|
+
/// \endcond
|
955
1031
|
|
1032
|
+
/// \cond INTERNAL
|
956
1033
|
bool
|
957
|
-
Ice::LoggerAdmin::_iceD_detachRemoteLogger(::IceInternal::Incoming& inS, const
|
1034
|
+
Ice::LoggerAdmin::_iceD_detachRemoteLogger(::IceInternal::Incoming& inS, const Current& current)
|
958
1035
|
{
|
959
1036
|
_iceCheckMode(::Ice::Normal, current.mode);
|
960
|
-
|
961
|
-
|
1037
|
+
InputStream* istr = inS.startReadParams();
|
1038
|
+
RemoteLoggerPrx iceP_prx;
|
962
1039
|
istr->read(iceP_prx);
|
963
1040
|
inS.endReadParams();
|
964
1041
|
bool ret = this->detachRemoteLogger(iceP_prx, current);
|
965
|
-
|
1042
|
+
OutputStream* ostr = inS.startWriteParams();
|
966
1043
|
ostr->write(ret);
|
967
1044
|
inS.endWriteParams();
|
968
1045
|
return true;
|
969
1046
|
}
|
1047
|
+
/// \endcond
|
970
1048
|
|
1049
|
+
/// \cond INTERNAL
|
971
1050
|
bool
|
972
|
-
Ice::LoggerAdmin::_iceD_getLog(::IceInternal::Incoming& inS, const
|
1051
|
+
Ice::LoggerAdmin::_iceD_getLog(::IceInternal::Incoming& inS, const Current& current)
|
973
1052
|
{
|
974
1053
|
_iceCheckMode(::Ice::Normal, current.mode);
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
1054
|
+
InputStream* istr = inS.startReadParams();
|
1055
|
+
LogMessageTypeSeq iceP_messageTypes;
|
1056
|
+
StringSeq iceP_traceCategories;
|
1057
|
+
Int iceP_messageMax;
|
979
1058
|
istr->read(iceP_messageTypes);
|
980
1059
|
istr->read(iceP_traceCategories);
|
981
1060
|
istr->read(iceP_messageMax);
|
982
1061
|
inS.endReadParams();
|
983
1062
|
::std::string iceP_prefix;
|
984
|
-
|
985
|
-
|
1063
|
+
LogMessageSeq ret = this->getLog(iceP_messageTypes, iceP_traceCategories, iceP_messageMax, iceP_prefix, current);
|
1064
|
+
OutputStream* ostr = inS.startWriteParams();
|
986
1065
|
ostr->write(iceP_prefix);
|
987
1066
|
ostr->write(ret);
|
988
1067
|
inS.endWriteParams();
|
989
1068
|
return true;
|
990
1069
|
}
|
1070
|
+
/// \endcond
|
991
1071
|
|
992
1072
|
namespace
|
993
1073
|
{
|
@@ -1004,13 +1084,14 @@ const ::std::string iceC_Ice_LoggerAdmin_all[] =
|
|
1004
1084
|
|
1005
1085
|
}
|
1006
1086
|
|
1087
|
+
/// \cond INTERNAL
|
1007
1088
|
bool
|
1008
|
-
Ice::LoggerAdmin::_iceDispatch(::IceInternal::Incoming& in, const
|
1089
|
+
Ice::LoggerAdmin::_iceDispatch(::IceInternal::Incoming& in, const Current& current)
|
1009
1090
|
{
|
1010
1091
|
::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_LoggerAdmin_all, iceC_Ice_LoggerAdmin_all + 7, current.operation);
|
1011
1092
|
if(r.first == r.second)
|
1012
1093
|
{
|
1013
|
-
throw
|
1094
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1014
1095
|
}
|
1015
1096
|
|
1016
1097
|
switch(r.first - iceC_Ice_LoggerAdmin_all)
|
@@ -1046,36 +1127,41 @@ Ice::LoggerAdmin::_iceDispatch(::IceInternal::Incoming& in, const ::Ice::Current
|
|
1046
1127
|
default:
|
1047
1128
|
{
|
1048
1129
|
assert(false);
|
1049
|
-
throw
|
1130
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1050
1131
|
}
|
1051
1132
|
}
|
1052
1133
|
}
|
1134
|
+
/// \endcond
|
1053
1135
|
|
1136
|
+
/// \cond STREAM
|
1054
1137
|
void
|
1055
|
-
Ice::LoggerAdmin::_iceWriteImpl(
|
1138
|
+
Ice::LoggerAdmin::_iceWriteImpl(OutputStream* ostr) const
|
1056
1139
|
{
|
1057
1140
|
ostr->startSlice(ice_staticId(), -1, true);
|
1058
|
-
|
1141
|
+
StreamWriter< LoggerAdmin, OutputStream>::write(ostr, *this);
|
1059
1142
|
ostr->endSlice();
|
1060
1143
|
}
|
1061
1144
|
|
1062
1145
|
void
|
1063
|
-
Ice::LoggerAdmin::_iceReadImpl(
|
1146
|
+
Ice::LoggerAdmin::_iceReadImpl(InputStream* istr)
|
1064
1147
|
{
|
1065
1148
|
istr->startSlice();
|
1066
|
-
|
1149
|
+
StreamReader< LoggerAdmin, InputStream>::read(istr, *this);
|
1067
1150
|
istr->endSlice();
|
1068
1151
|
}
|
1152
|
+
/// \endcond
|
1069
1153
|
|
1154
|
+
/// \cond INTERNAL
|
1070
1155
|
void
|
1071
|
-
Ice::_icePatchObjectPtr(LoggerAdminPtr& handle, const
|
1156
|
+
Ice::_icePatchObjectPtr(LoggerAdminPtr& handle, const ObjectPtr& v)
|
1072
1157
|
{
|
1073
|
-
handle =
|
1158
|
+
handle = LoggerAdminPtr::dynamicCast(v);
|
1074
1159
|
if(v && !handle)
|
1075
1160
|
{
|
1076
|
-
IceInternal::Ex::throwUOE(
|
1161
|
+
IceInternal::Ex::throwUOE(LoggerAdmin::ice_staticId(), v);
|
1077
1162
|
}
|
1078
1163
|
}
|
1164
|
+
/// \endcond
|
1079
1165
|
|
1080
1166
|
namespace Ice
|
1081
1167
|
{
|