zeroc-ice 3.6.5 → 3.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ICE_LICENSE +17 -17
- data/LICENSE +12 -12
- data/bin/slice2rb +1 -6
- data/ext/Communicator.cpp +223 -61
- data/ext/Communicator.h +1 -6
- data/ext/Config.h +23 -7
- data/ext/Connection.cpp +108 -76
- data/ext/Connection.h +4 -6
- data/ext/Endpoint.cpp +16 -54
- data/ext/Endpoint.h +1 -6
- data/ext/ImplicitContext.cpp +1 -10
- data/ext/ImplicitContext.h +1 -6
- data/ext/Init.cpp +4 -6
- data/ext/Logger.cpp +1 -6
- data/ext/Logger.h +1 -6
- data/ext/Operation.cpp +38 -54
- data/ext/Operation.h +1 -6
- data/ext/Properties.cpp +3 -8
- data/ext/Properties.h +1 -6
- data/ext/Proxy.cpp +111 -70
- data/ext/Proxy.h +1 -6
- data/ext/Slice.cpp +5 -20
- data/ext/Slice.h +1 -6
- data/ext/Types.cpp +313 -224
- data/ext/Types.h +118 -71
- data/ext/Util.cpp +69 -36
- data/ext/Util.h +117 -42
- data/ext/ValueFactoryManager.cpp +440 -0
- data/ext/ValueFactoryManager.h +95 -0
- data/ext/extconf.rb +52 -48
- data/ext/ice/cpp/include/Ice/Application.h +275 -105
- data/ext/ice/cpp/include/Ice/AsyncResult.h +124 -337
- data/ext/ice/cpp/include/Ice/AsyncResultF.h +4 -7
- data/ext/ice/cpp/include/Ice/BatchRequestInterceptor.h +39 -16
- data/ext/ice/cpp/include/Ice/BatchRequestQueueF.h +1 -6
- data/ext/ice/cpp/include/Ice/Buffer.h +10 -15
- data/ext/ice/cpp/include/Ice/CommunicatorAsync.h +56 -17
- data/ext/ice/cpp/include/Ice/Comparable.h +205 -0
- data/ext/ice/cpp/include/Ice/Config.h +16 -39
- data/ext/ice/cpp/include/Ice/ConnectionAsync.h +203 -16
- data/ext/ice/cpp/include/Ice/ConnectionIF.h +7 -6
- data/ext/ice/cpp/include/Ice/ConsoleUtil.h +23 -0
- data/ext/ice/cpp/include/Ice/DefaultValueFactory.h +57 -0
- data/ext/ice/cpp/include/Ice/DispatchInterceptor.h +20 -12
- data/ext/ice/cpp/include/Ice/Dispatcher.h +35 -19
- data/ext/ice/cpp/include/Ice/DynamicLibrary.h +7 -10
- data/ext/ice/cpp/include/Ice/DynamicLibraryF.h +1 -6
- data/ext/ice/cpp/include/Ice/Exception.h +110 -63
- data/ext/ice/cpp/include/Ice/ExceptionHelpers.h +74 -0
- data/ext/ice/cpp/include/Ice/FactoryTable.h +22 -18
- data/ext/ice/cpp/include/Ice/FactoryTableInit.h +28 -31
- data/ext/ice/cpp/include/Ice/Format.h +17 -18
- data/ext/ice/cpp/include/Ice/Functional.h +38 -38
- data/ext/ice/cpp/include/Ice/GCObject.h +9 -10
- data/ext/ice/cpp/include/Ice/Handle.h +6 -16
- data/ext/ice/cpp/include/Ice/Ice.h +9 -10
- data/ext/ice/cpp/include/Ice/IconvStringConverter.h +377 -0
- data/ext/ice/cpp/include/Ice/Incoming.h +132 -38
- data/ext/ice/cpp/include/Ice/IncomingAsync.h +109 -31
- data/ext/ice/cpp/include/Ice/IncomingAsyncF.h +7 -6
- data/ext/ice/cpp/include/Ice/Initialize.h +872 -60
- data/ext/ice/cpp/include/Ice/InputStream.h +1514 -0
- data/ext/ice/cpp/include/Ice/InstanceF.h +1 -7
- data/ext/ice/cpp/include/Ice/InterfaceByValue.h +57 -0
- data/ext/ice/cpp/include/Ice/LocalObject.h +13 -14
- data/ext/ice/cpp/include/Ice/LocalObjectF.h +1 -6
- data/ext/ice/cpp/include/Ice/LoggerUtil.h +56 -24
- data/ext/ice/cpp/include/Ice/MetricsAdminI.h +124 -71
- data/ext/ice/cpp/include/Ice/MetricsFunctional.h +25 -10
- data/ext/ice/cpp/include/Ice/MetricsObserverI.h +116 -32
- data/ext/ice/cpp/include/Ice/NativePropertiesAdmin.h +61 -30
- data/ext/ice/cpp/include/Ice/Object.h +413 -78
- data/ext/ice/cpp/include/Ice/ObjectF.h +12 -8
- data/ext/ice/cpp/include/Ice/ObserverHelper.h +18 -13
- data/ext/ice/cpp/include/Ice/Optional.h +1114 -0
- data/ext/ice/cpp/include/Ice/OutgoingAsync.h +684 -89
- data/ext/ice/cpp/include/Ice/OutgoingAsyncF.h +12 -11
- data/ext/ice/cpp/include/Ice/OutputStream.h +1092 -0
- data/ext/ice/cpp/include/Ice/Protocol.h +49 -17
- data/ext/ice/cpp/include/Ice/Proxy.h +3438 -745
- data/ext/ice/cpp/include/Ice/ProxyF.h +13 -38
- data/ext/ice/cpp/include/Ice/ProxyFactoryF.h +1 -6
- data/ext/ice/cpp/include/Ice/ProxyHandle.h +43 -55
- data/ext/ice/cpp/include/Ice/ReferenceF.h +1 -6
- data/ext/ice/cpp/include/Ice/RegisterPlugins.h +84 -12
- data/ext/ice/cpp/include/Ice/RequestHandlerF.h +10 -9
- data/ext/ice/cpp/include/Ice/ResponseHandlerF.h +6 -6
- data/ext/ice/cpp/include/Ice/SHA1.h +42 -0
- data/ext/ice/cpp/include/Ice/ServantManagerF.h +1 -6
- data/ext/ice/cpp/include/Ice/Service.h +273 -154
- data/ext/ice/cpp/include/Ice/SliceChecksums.h +5 -6
- data/ext/ice/cpp/include/Ice/SlicedData.h +121 -53
- data/ext/ice/cpp/include/Ice/SlicedDataF.h +17 -11
- data/ext/ice/cpp/include/Ice/StreamHelpers.h +453 -140
- data/ext/ice/cpp/include/Ice/StringConverter.h +78 -0
- data/ext/ice/cpp/include/Ice/ThreadPoolF.h +1 -6
- data/ext/ice/cpp/include/Ice/UUID.h +19 -0
- data/ext/ice/cpp/include/{IceUtil → Ice}/UniquePtr.h +22 -28
- data/ext/ice/cpp/include/Ice/UniqueRef.h +97 -0
- data/ext/ice/cpp/include/Ice/UserExceptionFactory.h +45 -13
- data/ext/ice/cpp/include/Ice/Value.h +139 -0
- data/ext/ice/cpp/include/Ice/ValueF.h +21 -0
- data/ext/ice/cpp/include/IceSSL/Config.h +8 -28
- data/ext/ice/cpp/include/IceSSL/IceSSL.h +17 -11
- data/ext/ice/cpp/include/IceSSL/OpenSSL.h +147 -0
- data/ext/ice/cpp/include/IceSSL/Plugin.h +461 -448
- data/ext/ice/cpp/include/IceSSL/SChannel.h +72 -0
- data/ext/ice/cpp/include/IceSSL/SecureTransport.h +72 -0
- data/ext/ice/cpp/include/IceSSL/UWP.h +62 -0
- data/ext/ice/cpp/include/IceUtil/Atomic.h +7 -14
- data/ext/ice/cpp/include/IceUtil/Cond.h +17 -23
- data/ext/ice/cpp/include/IceUtil/Config.h +166 -46
- data/ext/ice/cpp/include/IceUtil/ConsoleUtil.h +92 -0
- data/ext/ice/cpp/include/IceUtil/CountDownLatch.h +5 -10
- data/ext/ice/cpp/include/IceUtil/CtrlCHandler.h +63 -41
- data/ext/ice/cpp/include/IceUtil/DisableWarnings.h +5 -13
- data/ext/ice/cpp/include/IceUtil/Exception.h +284 -75
- data/ext/ice/cpp/include/IceUtil/FileUtil.h +143 -0
- data/ext/ice/cpp/include/IceUtil/Functional.h +4 -6
- data/ext/ice/cpp/include/IceUtil/Handle.h +11 -16
- data/ext/ice/cpp/include/IceUtil/IceUtil.h +4 -15
- data/ext/ice/cpp/include/IceUtil/InputUtil.h +3 -8
- data/ext/ice/cpp/include/IceUtil/Iterator.h +2 -7
- data/ext/ice/cpp/include/IceUtil/Lock.h +8 -15
- data/ext/ice/cpp/include/IceUtil/Monitor.h +1 -7
- data/ext/ice/cpp/include/IceUtil/Mutex.h +19 -23
- data/ext/ice/cpp/include/IceUtil/MutexProtocol.h +2 -7
- data/ext/ice/cpp/include/IceUtil/MutexPtrLock.h +4 -9
- data/ext/ice/cpp/include/IceUtil/MutexPtrTryLock.h +4 -9
- data/ext/ice/cpp/include/IceUtil/Optional.h +134 -23
- data/ext/ice/cpp/include/IceUtil/Options.h +17 -23
- data/ext/ice/cpp/include/IceUtil/OutputUtil.h +61 -37
- data/ext/ice/cpp/include/IceUtil/PopDisableWarnings.h +6 -11
- data/ext/ice/cpp/include/IceUtil/PushDisableWarnings.h +18 -15
- data/ext/ice/cpp/include/IceUtil/Random.h +39 -8
- data/ext/ice/cpp/include/IceUtil/RecMutex.h +7 -13
- data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +53 -0
- data/ext/ice/cpp/include/IceUtil/ScannerConfig.h +10 -15
- data/ext/ice/cpp/include/IceUtil/ScopedArray.h +8 -7
- data/ext/ice/cpp/include/IceUtil/Shared.h +5 -12
- data/ext/ice/cpp/{src → include}/IceUtil/StopWatch.h +2 -7
- data/ext/ice/cpp/include/IceUtil/StringConverter.h +146 -126
- data/ext/ice/cpp/include/IceUtil/StringUtil.h +32 -26
- data/ext/ice/cpp/include/IceUtil/Thread.h +10 -17
- data/ext/ice/cpp/include/IceUtil/ThreadException.h +33 -47
- data/ext/ice/cpp/include/IceUtil/Time.h +3 -8
- data/ext/ice/cpp/include/IceUtil/Timer.h +18 -18
- data/ext/ice/cpp/include/IceUtil/UUID.h +6 -7
- data/ext/ice/cpp/include/IceUtil/UndefSysMacros.h +1 -6
- data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +170 -0
- data/ext/ice/cpp/include/generated/Ice/Communicator.h +1156 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/CommunicatorF.h +51 -16
- data/ext/ice/cpp/include/generated/Ice/Connection.h +1660 -0
- data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +119 -0
- data/ext/ice/cpp/include/generated/Ice/Current.h +322 -0
- data/ext/ice/cpp/include/generated/Ice/Endpoint.h +943 -0
- data/ext/ice/cpp/include/generated/Ice/EndpointF.h +166 -0
- data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +118 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/FacetMap.h +31 -15
- data/ext/ice/cpp/include/generated/Ice/Identity.h +264 -0
- data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +278 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/ImplicitContextF.h +51 -16
- data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +1143 -0
- data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +128 -0
- data/ext/ice/cpp/include/generated/Ice/LocalException.h +7041 -0
- data/ext/ice/cpp/include/generated/Ice/Locator.h +3850 -0
- data/ext/ice/cpp/include/generated/Ice/LocatorF.h +147 -0
- data/ext/ice/cpp/include/generated/Ice/Logger.h +231 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/LoggerF.h +51 -16
- data/ext/ice/cpp/include/generated/Ice/Metrics.h +4717 -0
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +1175 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/ObjectAdapterF.h +51 -16
- data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +197 -0
- data/ext/ice/cpp/include/generated/Ice/Plugin.h +306 -0
- data/ext/ice/cpp/include/generated/Ice/PluginF.h +110 -0
- data/ext/ice/cpp/include/generated/Ice/Process.h +971 -0
- data/ext/ice/cpp/include/generated/Ice/ProcessF.h +125 -0
- data/ext/ice/cpp/include/generated/Ice/Properties.h +446 -0
- data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +1360 -0
- data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +134 -0
- data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +2689 -0
- data/ext/ice/cpp/include/generated/Ice/Router.h +1838 -0
- data/ext/ice/cpp/include/generated/Ice/RouterF.h +125 -0
- data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +299 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/ServantLocatorF.h +51 -16
- data/ext/ice/cpp/include/{Ice → generated/Ice}/SliceChecksumDict.h +34 -14
- data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +318 -0
- data/ext/ice/cpp/include/generated/Ice/Version.h +357 -0
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +223 -0
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +101 -0
- data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +181 -0
- data/ext/ice/cpp/src/Ice/ACM.cpp +38 -27
- data/ext/ice/cpp/src/Ice/ACM.h +9 -7
- data/ext/ice/cpp/src/Ice/ACMF.h +30 -0
- data/ext/ice/cpp/src/Ice/Acceptor.cpp +6 -6
- data/ext/ice/cpp/src/Ice/Acceptor.h +4 -8
- data/ext/ice/cpp/src/Ice/AcceptorF.h +1 -6
- data/ext/ice/cpp/src/Ice/ArgVector.cpp +59 -0
- data/ext/ice/cpp/src/Ice/ArgVector.h +36 -0
- data/ext/ice/cpp/src/Ice/AsyncResult.cpp +15 -544
- data/ext/ice/cpp/src/Ice/Base64.cpp +22 -28
- data/ext/ice/cpp/src/Ice/Base64.h +1 -6
- data/ext/ice/cpp/src/Ice/BatchRequestQueue.cpp +41 -18
- data/ext/ice/cpp/src/Ice/BatchRequestQueue.h +15 -15
- data/ext/ice/cpp/src/Ice/Buffer.cpp +75 -18
- data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +21 -12
- data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +86 -197
- data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.h +17 -23
- data/ext/ice/cpp/src/Ice/Communicator.cpp +43 -15
- data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +28 -11
- data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +318 -117
- data/ext/ice/cpp/src/Ice/CommunicatorI.h +95 -40
- data/ext/ice/cpp/src/{IceUtil → Ice}/Cond.cpp +3 -8
- data/ext/ice/cpp/src/Ice/ConnectRequestHandler.cpp +55 -122
- data/ext/ice/cpp/src/Ice/ConnectRequestHandler.h +15 -31
- data/ext/ice/cpp/src/Ice/ConnectRequestHandlerF.h +6 -7
- data/ext/ice/cpp/src/Ice/Connection.cpp +111 -20
- data/ext/ice/cpp/src/Ice/ConnectionF.cpp +28 -11
- data/ext/ice/cpp/src/Ice/ConnectionFactory.cpp +300 -107
- data/ext/ice/cpp/src/Ice/ConnectionFactory.h +44 -28
- data/ext/ice/cpp/src/Ice/ConnectionFactoryF.h +30 -0
- data/ext/ice/cpp/src/Ice/ConnectionI.cpp +785 -713
- data/ext/ice/cpp/src/Ice/ConnectionI.h +105 -80
- data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.cpp +2 -20
- data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.h +5 -9
- data/ext/ice/cpp/src/Ice/Connector.cpp +6 -6
- data/ext/ice/cpp/src/Ice/Connector.h +4 -8
- data/ext/ice/cpp/src/Ice/ConnectorF.h +1 -6
- data/ext/ice/cpp/src/{IceUtil → Ice}/CountDownLatch.cpp +4 -9
- data/ext/ice/cpp/src/Ice/Current.cpp +30 -12
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +10 -16
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.h +1 -6
- data/ext/ice/cpp/src/Ice/DefaultsAndOverridesF.h +1 -6
- data/ext/ice/cpp/src/Ice/DispatchInterceptor.cpp +13 -25
- data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +34 -28
- data/ext/ice/cpp/src/Ice/Endpoint.cpp +107 -19
- data/ext/ice/cpp/src/Ice/EndpointF.cpp +28 -11
- data/ext/ice/cpp/src/Ice/EndpointFactory.cpp +152 -6
- data/ext/ice/cpp/src/Ice/EndpointFactory.h +72 -11
- data/ext/ice/cpp/src/Ice/EndpointFactoryF.h +1 -6
- data/ext/ice/cpp/src/Ice/EndpointFactoryManager.cpp +41 -36
- data/ext/ice/cpp/src/Ice/EndpointFactoryManager.h +10 -9
- data/ext/ice/cpp/src/Ice/EndpointFactoryManagerF.h +1 -6
- data/ext/ice/cpp/src/Ice/EndpointI.cpp +18 -7
- data/ext/ice/cpp/src/Ice/EndpointI.h +39 -18
- data/ext/ice/cpp/src/Ice/EndpointIF.h +18 -10
- data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +19 -12
- data/ext/ice/cpp/src/Ice/EventHandler.cpp +6 -9
- data/ext/ice/cpp/src/Ice/EventHandler.h +13 -13
- data/ext/ice/cpp/src/Ice/EventHandlerF.h +5 -7
- data/ext/ice/cpp/src/Ice/Exception.cpp +102 -98
- data/ext/ice/cpp/src/Ice/FacetMap.cpp +21 -12
- data/ext/ice/cpp/src/Ice/FactoryTable.cpp +37 -33
- data/ext/ice/cpp/src/Ice/FactoryTableInit.cpp +2 -9
- data/ext/ice/cpp/src/Ice/GCObject.cpp +29 -31
- data/ext/ice/cpp/src/Ice/HashUtil.h +3 -9
- data/ext/ice/cpp/src/Ice/HttpParser.cpp +1 -7
- data/ext/ice/cpp/src/Ice/HttpParser.h +1 -6
- data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +128 -111
- data/ext/ice/cpp/src/Ice/IPEndpointI.h +23 -19
- data/ext/ice/cpp/src/Ice/IPEndpointIF.h +6 -7
- data/ext/ice/cpp/src/Ice/IconvStringConverter.cpp +51 -0
- data/ext/ice/cpp/src/Ice/Identity.cpp +25 -16
- data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +41 -13
- data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +28 -11
- data/ext/ice/cpp/src/Ice/ImplicitContextI.cpp +11 -28
- data/ext/ice/cpp/src/Ice/ImplicitContextI.h +7 -10
- data/ext/ice/cpp/src/Ice/Incoming.cpp +284 -255
- data/ext/ice/cpp/src/Ice/IncomingAsync.cpp +104 -214
- data/ext/ice/cpp/src/Ice/IncomingRequest.h +5 -9
- data/ext/ice/cpp/src/Ice/Initialize.cpp +309 -193
- data/ext/ice/cpp/src/Ice/InputStream.cpp +2726 -0
- data/ext/ice/cpp/src/Ice/Instance.cpp +243 -262
- data/ext/ice/cpp/src/Ice/Instance.h +30 -23
- data/ext/ice/cpp/src/Ice/Instrumentation.cpp +137 -23
- data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +28 -11
- data/ext/ice/cpp/src/Ice/InstrumentationI.cpp +118 -105
- data/ext/ice/cpp/src/Ice/InstrumentationI.h +30 -36
- data/ext/ice/cpp/src/Ice/LocalException.cpp +1191 -422
- data/ext/ice/cpp/src/Ice/LocalObject.cpp +1 -7
- data/ext/ice/cpp/src/Ice/Locator.cpp +1282 -1222
- data/ext/ice/cpp/src/Ice/LocatorF.cpp +30 -12
- data/ext/ice/cpp/src/Ice/LocatorInfo.cpp +150 -186
- data/ext/ice/cpp/src/Ice/LocatorInfo.h +31 -36
- data/ext/ice/cpp/src/Ice/LocatorInfoF.h +1 -6
- data/ext/ice/cpp/src/Ice/Logger.cpp +39 -12
- data/ext/ice/cpp/src/Ice/LoggerAdminI.cpp +182 -88
- data/ext/ice/cpp/src/Ice/LoggerAdminI.h +4 -9
- data/ext/ice/cpp/src/Ice/LoggerF.cpp +28 -11
- data/ext/ice/cpp/src/Ice/LoggerI.cpp +26 -55
- data/ext/ice/cpp/src/Ice/LoggerI.h +7 -18
- data/ext/ice/cpp/src/Ice/LoggerUtil.cpp +10 -17
- data/ext/ice/cpp/src/Ice/Metrics.cpp +1280 -1107
- data/ext/ice/cpp/src/Ice/MetricsAdminI.cpp +58 -33
- data/ext/ice/cpp/src/Ice/MetricsObserverI.cpp +1 -7
- data/ext/ice/cpp/src/Ice/Network.cpp +753 -408
- data/ext/ice/cpp/src/Ice/Network.h +99 -36
- data/ext/ice/cpp/src/Ice/NetworkF.h +2 -7
- data/ext/ice/cpp/src/Ice/NetworkProxy.cpp +20 -19
- data/ext/ice/cpp/src/Ice/NetworkProxy.h +5 -7
- data/ext/ice/cpp/src/Ice/NetworkProxyF.h +1 -6
- data/ext/ice/cpp/src/Ice/OSLogLoggerI.cpp +57 -0
- data/ext/ice/cpp/src/Ice/OSLogLoggerI.h +40 -0
- data/ext/ice/cpp/src/Ice/Object.cpp +227 -232
- data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +45 -13
- data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +28 -11
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +83 -33
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.h +13 -12
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactoryF.h +25 -0
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +298 -191
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +44 -39
- data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +41 -13
- data/ext/ice/cpp/src/Ice/ObserverHelper.cpp +9 -37
- data/ext/ice/cpp/src/Ice/OpaqueEndpointI.cpp +67 -67
- data/ext/ice/cpp/src/Ice/OpaqueEndpointI.h +15 -11
- data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +801 -366
- data/ext/ice/cpp/src/Ice/OutputStream.cpp +1367 -0
- data/ext/ice/cpp/src/Ice/Plugin.cpp +52 -14
- data/ext/ice/cpp/src/Ice/PluginF.cpp +28 -11
- data/ext/ice/cpp/src/Ice/PluginManagerI.cpp +27 -51
- data/ext/ice/cpp/src/Ice/PluginManagerI.h +7 -13
- data/ext/ice/cpp/src/Ice/Process.cpp +294 -128
- data/ext/ice/cpp/src/Ice/ProcessF.cpp +30 -12
- data/ext/ice/cpp/src/Ice/Properties.cpp +42 -15
- data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +382 -340
- data/ext/ice/cpp/src/Ice/PropertiesAdminI.cpp +83 -24
- data/ext/ice/cpp/src/Ice/PropertiesAdminI.h +29 -10
- data/ext/ice/cpp/src/Ice/PropertiesF.cpp +30 -12
- data/ext/ice/cpp/src/Ice/PropertiesI.cpp +46 -57
- data/ext/ice/cpp/src/Ice/PropertiesI.h +18 -26
- data/ext/ice/cpp/src/Ice/PropertyNames.cpp +112 -19
- data/ext/ice/cpp/src/Ice/PropertyNames.h +4 -7
- data/ext/ice/cpp/src/Ice/Protocol.cpp +6 -19
- data/ext/ice/cpp/src/Ice/ProtocolInstance.cpp +37 -7
- data/ext/ice/cpp/src/Ice/ProtocolInstance.h +9 -25
- data/ext/ice/cpp/src/Ice/ProtocolInstanceF.h +1 -6
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +6 -6
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.h +3 -6
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacadeF.h +1 -6
- data/ext/ice/cpp/src/Ice/Proxy.cpp +729 -957
- data/ext/ice/cpp/src/Ice/ProxyFactory.cpp +33 -38
- data/ext/ice/cpp/src/Ice/ProxyFactory.h +16 -16
- data/ext/ice/cpp/src/Ice/Reference.cpp +190 -106
- data/ext/ice/cpp/src/Ice/Reference.h +39 -28
- data/ext/ice/cpp/src/Ice/ReferenceFactory.cpp +69 -118
- data/ext/ice/cpp/src/Ice/ReferenceFactory.h +12 -17
- data/ext/ice/cpp/src/Ice/ReferenceFactoryF.h +1 -6
- data/ext/ice/cpp/src/Ice/RegisterPluginsInit.cpp +19 -9
- data/ext/ice/cpp/src/Ice/RegisterPluginsInit.h +1 -6
- data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +766 -565
- data/ext/ice/cpp/src/Ice/ReplyStatus.h +1 -6
- data/ext/ice/cpp/src/Ice/RequestHandler.cpp +5 -8
- data/ext/ice/cpp/src/Ice/RequestHandler.h +10 -18
- data/ext/ice/cpp/src/Ice/RequestHandlerFactory.cpp +10 -11
- data/ext/ice/cpp/src/Ice/RequestHandlerFactory.h +2 -7
- data/ext/ice/cpp/src/Ice/ResponseHandler.cpp +3 -11
- data/ext/ice/cpp/src/Ice/ResponseHandler.h +16 -12
- data/ext/ice/cpp/src/Ice/RetryQueue.cpp +12 -20
- data/ext/ice/cpp/src/Ice/RetryQueue.h +7 -11
- data/ext/ice/cpp/src/Ice/RetryQueueF.h +1 -6
- data/ext/ice/cpp/src/Ice/Router.cpp +614 -492
- data/ext/ice/cpp/src/Ice/RouterF.cpp +30 -12
- data/ext/ice/cpp/src/Ice/RouterInfo.cpp +93 -99
- data/ext/ice/cpp/src/Ice/RouterInfo.h +42 -38
- data/ext/ice/cpp/src/Ice/RouterInfoF.h +1 -6
- data/ext/ice/cpp/src/{IceUtil → Ice}/SHA1.cpp +23 -28
- data/ext/ice/cpp/src/Ice/Selector.cpp +948 -855
- data/ext/ice/cpp/src/Ice/Selector.h +100 -152
- data/ext/ice/cpp/src/Ice/ServantLocator.cpp +41 -13
- data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +28 -11
- data/ext/ice/cpp/src/Ice/ServantManager.cpp +24 -45
- data/ext/ice/cpp/src/Ice/ServantManager.h +1 -6
- data/ext/ice/cpp/src/Ice/SharedContext.h +2 -7
- data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +21 -12
- data/ext/ice/cpp/src/Ice/SliceChecksums.cpp +2 -7
- data/ext/ice/cpp/src/Ice/SlicedData.cpp +72 -25
- data/ext/ice/cpp/src/Ice/StreamSocket.cpp +208 -76
- data/ext/ice/cpp/src/Ice/StreamSocket.h +13 -9
- data/ext/ice/cpp/src/Ice/StringConverterPlugin.cpp +57 -22
- data/ext/ice/cpp/src/Ice/StringUtil.h +30 -0
- data/ext/ice/cpp/src/Ice/SysLoggerI.cpp +6 -7
- data/ext/ice/cpp/src/Ice/SysLoggerI.h +2 -8
- data/ext/ice/cpp/src/Ice/SystemdJournalI.cpp +66 -0
- data/ext/ice/cpp/src/Ice/SystemdJournalI.h +39 -0
- data/ext/ice/cpp/src/Ice/TcpAcceptor.cpp +169 -49
- data/ext/ice/cpp/src/Ice/TcpAcceptor.h +12 -10
- data/ext/ice/cpp/src/Ice/TcpConnector.cpp +6 -12
- data/ext/ice/cpp/src/Ice/TcpConnector.h +1 -7
- data/ext/ice/cpp/src/Ice/TcpEndpointI.cpp +51 -46
- data/ext/ice/cpp/src/Ice/TcpEndpointI.h +12 -14
- data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +17 -32
- data/ext/ice/cpp/src/Ice/TcpTransceiver.h +7 -15
- data/ext/ice/cpp/src/{IceUtil → Ice}/Thread.cpp +41 -54
- data/ext/ice/cpp/src/Ice/ThreadPool.cpp +242 -274
- data/ext/ice/cpp/src/Ice/ThreadPool.h +46 -48
- data/ext/ice/cpp/src/{IceUtil → Ice}/Timer.cpp +38 -26
- data/ext/ice/cpp/src/Ice/TraceLevels.cpp +2 -7
- data/ext/ice/cpp/src/Ice/TraceLevels.h +1 -6
- data/ext/ice/cpp/src/Ice/TraceLevelsF.h +2 -7
- data/ext/ice/cpp/src/Ice/TraceUtil.cpp +53 -36
- data/ext/ice/cpp/src/Ice/TraceUtil.h +13 -11
- data/ext/ice/cpp/src/Ice/Transceiver.cpp +1 -7
- data/ext/ice/cpp/src/Ice/Transceiver.h +8 -12
- data/ext/ice/cpp/src/Ice/TransceiverF.h +3 -8
- data/ext/ice/cpp/src/Ice/UdpConnector.cpp +5 -13
- data/ext/ice/cpp/src/Ice/UdpConnector.h +1 -7
- data/ext/ice/cpp/src/Ice/UdpEndpointI.cpp +118 -60
- data/ext/ice/cpp/src/Ice/UdpEndpointI.h +13 -10
- data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +177 -236
- data/ext/ice/cpp/src/Ice/UdpTransceiver.h +15 -22
- data/ext/ice/cpp/src/Ice/Value.cpp +76 -0
- data/ext/ice/cpp/src/Ice/ValueFactory.cpp +83 -0
- data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.cpp +61 -0
- data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.h +37 -0
- data/ext/ice/cpp/src/Ice/Version.cpp +25 -20
- data/ext/ice/cpp/src/Ice/VirtualShared.h +38 -0
- data/ext/ice/cpp/src/Ice/WSAcceptor.cpp +3 -14
- data/ext/ice/cpp/src/Ice/WSAcceptor.h +3 -12
- data/ext/ice/cpp/src/Ice/WSConnector.cpp +5 -16
- data/ext/ice/cpp/src/Ice/WSConnector.h +3 -11
- data/ext/ice/cpp/src/Ice/WSEndpoint.cpp +188 -89
- data/ext/ice/cpp/src/Ice/WSEndpoint.h +22 -37
- data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +65 -66
- data/ext/ice/cpp/src/Ice/WSTransceiver.h +7 -27
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +596 -281
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +1383 -543
- data/ext/ice/cpp/src/IceDiscovery/LocatorI.cpp +89 -32
- data/ext/ice/cpp/src/IceDiscovery/LocatorI.h +59 -28
- data/ext/ice/cpp/src/IceDiscovery/LookupI.cpp +315 -66
- data/ext/ice/cpp/src/IceDiscovery/LookupI.h +83 -41
- data/ext/ice/cpp/src/IceDiscovery/PluginI.cpp +57 -64
- data/ext/ice/cpp/src/IceDiscovery/PluginI.h +3 -8
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +450 -172
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +863 -406
- data/ext/ice/cpp/src/IceLocatorDiscovery/Plugin.h +47 -0
- data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +636 -144
- data/ext/ice/cpp/src/IceSSL/AcceptorI.cpp +20 -173
- data/ext/ice/cpp/src/IceSSL/AcceptorI.h +8 -22
- data/ext/ice/cpp/src/IceSSL/CertificateI.cpp +279 -0
- data/ext/ice/cpp/src/IceSSL/CertificateI.h +64 -0
- data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +42 -17
- data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +61 -0
- data/ext/ice/cpp/src/IceSSL/ConnectorI.cpp +15 -64
- data/ext/ice/cpp/src/IceSSL/ConnectorI.h +6 -18
- data/ext/ice/cpp/src/IceSSL/EndpointI.cpp +207 -204
- data/ext/ice/cpp/src/IceSSL/EndpointI.h +43 -40
- data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +42 -16
- data/ext/ice/cpp/src/IceSSL/Instance.cpp +1 -11
- data/ext/ice/cpp/src/IceSSL/Instance.h +7 -12
- data/ext/ice/cpp/src/IceSSL/InstanceF.h +11 -12
- data/ext/ice/cpp/src/IceSSL/OpenSSLCertificateI.cpp +583 -0
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +134 -115
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.h +59 -0
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngineF.h +27 -0
- data/ext/ice/cpp/src/IceSSL/OpenSSLPluginI.cpp +127 -0
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +477 -182
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +32 -26
- data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +286 -0
- data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.h +58 -0
- data/ext/ice/cpp/src/IceSSL/PluginI.cpp +71 -46
- data/ext/ice/cpp/src/IceSSL/PluginI.h +13 -23
- data/ext/ice/cpp/src/IceSSL/RFC2253.cpp +9 -60
- data/ext/ice/cpp/src/IceSSL/RFC2253.h +7 -12
- data/ext/ice/cpp/src/IceSSL/SChannelCertificateI.cpp +580 -0
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.cpp +523 -74
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.h +123 -0
- data/ext/ice/cpp/src/IceSSL/SChannelEngineF.h +31 -0
- data/ext/ice/cpp/src/IceSSL/SChannelPluginI.cpp +73 -0
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +187 -221
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.h +24 -26
- data/ext/ice/cpp/src/IceSSL/SSLEngine.cpp +97 -94
- data/ext/ice/cpp/src/IceSSL/SSLEngine.h +26 -192
- data/ext/ice/cpp/src/IceSSL/SSLEngineF.h +4 -24
- data/ext/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +868 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +69 -201
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.h +59 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngineF.h +29 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportPluginI.cpp +75 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +174 -161
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +29 -33
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +864 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.h +45 -0
- data/ext/ice/cpp/src/IceSSL/TrustManager.cpp +12 -22
- data/ext/ice/cpp/src/IceSSL/TrustManager.h +4 -9
- data/ext/ice/cpp/src/IceSSL/TrustManagerF.h +3 -8
- data/ext/ice/cpp/src/IceSSL/UWPCertificateI.cpp +266 -0
- data/ext/ice/cpp/src/IceSSL/UWPEngine.cpp +338 -0
- data/ext/ice/cpp/src/IceSSL/UWPEngine.h +41 -0
- data/ext/ice/cpp/src/IceSSL/UWPEngineF.h +26 -0
- data/ext/ice/cpp/src/IceSSL/UWPPluginI.cpp +89 -0
- data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.cpp +383 -0
- data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.h +71 -0
- data/ext/ice/cpp/src/IceSSL/Util.cpp +71 -1260
- data/ext/ice/cpp/src/IceSSL/Util.h +48 -142
- data/ext/ice/cpp/src/IceUtil/ConsoleUtil.cpp +157 -0
- data/ext/ice/cpp/src/IceUtil/ConvertUTF.cpp +22 -27
- data/ext/ice/cpp/src/IceUtil/ConvertUTF.h +34 -31
- data/ext/ice/cpp/src/IceUtil/CtrlCHandler.cpp +22 -36
- data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +30 -126
- data/ext/ice/cpp/src/IceUtil/InputUtil.cpp +1 -6
- data/ext/ice/cpp/src/IceUtil/MutexProtocol.cpp +1 -6
- data/ext/ice/cpp/src/IceUtil/Options.cpp +20 -33
- data/ext/ice/cpp/src/IceUtil/OutputUtil.cpp +47 -21
- data/ext/ice/cpp/src/IceUtil/Random.cpp +15 -20
- data/ext/ice/cpp/src/IceUtil/RecMutex.cpp +4 -19
- data/ext/ice/cpp/src/IceUtil/Shared.cpp +8 -8
- data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +501 -269
- data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +582 -244
- data/ext/ice/cpp/src/IceUtil/ThreadException.cpp +37 -79
- data/ext/ice/cpp/src/IceUtil/Time.cpp +6 -11
- data/ext/ice/cpp/src/IceUtil/UUID.cpp +17 -22
- data/ext/ice/cpp/src/IceUtil/Unicode.cpp +97 -101
- data/ext/ice/cpp/src/IceUtil/Unicode.h +21 -40
- data/ext/ice/cpp/src/IceUtil/UtilException.cpp +839 -0
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.cpp +894 -234
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.h +72 -0
- data/ext/ice/cpp/src/Slice/Checksum.cpp +2 -7
- data/ext/ice/cpp/src/Slice/Checksum.h +21 -0
- data/ext/ice/cpp/src/Slice/FileTracker.cpp +25 -83
- data/ext/ice/cpp/{include → src}/Slice/FileTracker.h +9 -14
- data/ext/ice/cpp/src/Slice/Grammar.cpp +1981 -1944
- data/ext/ice/cpp/src/Slice/Grammar.h +39 -19
- data/ext/ice/cpp/src/Slice/GrammarUtil.h +14 -20
- data/ext/ice/cpp/src/Slice/JavaUtil.cpp +2752 -1948
- data/ext/ice/cpp/src/Slice/JavaUtil.h +398 -0
- data/ext/ice/cpp/src/Slice/MD5.cpp +1 -6
- data/ext/ice/cpp/src/Slice/MD5.h +1 -6
- data/ext/ice/cpp/src/Slice/MD5I.cpp +8 -1
- data/ext/ice/cpp/src/Slice/MD5I.h +1 -1
- data/ext/ice/cpp/src/Slice/PHPUtil.cpp +17 -20
- data/ext/ice/cpp/src/Slice/PHPUtil.h +36 -0
- data/ext/ice/cpp/src/Slice/Parser.cpp +1190 -426
- data/ext/ice/cpp/{include → src}/Slice/Parser.h +143 -91
- data/ext/ice/cpp/src/Slice/Preprocessor.cpp +67 -36
- data/ext/ice/cpp/{include → src}/Slice/Preprocessor.h +8 -18
- data/ext/ice/cpp/src/Slice/Python.cpp +218 -111
- data/ext/ice/cpp/src/Slice/PythonUtil.cpp +787 -699
- data/ext/ice/cpp/src/Slice/PythonUtil.h +70 -0
- data/ext/ice/cpp/src/Slice/Ruby.cpp +42 -43
- data/ext/ice/cpp/src/Slice/RubyUtil.cpp +175 -445
- data/ext/ice/cpp/{include → src}/Slice/RubyUtil.h +6 -11
- data/ext/ice/cpp/src/Slice/Scanner.cpp +390 -399
- data/ext/ice/cpp/src/Slice/{Util.cpp → SliceUtil.cpp} +36 -69
- data/ext/ice/cpp/src/Slice/StringLiteralUtil.cpp +456 -0
- data/ext/ice/cpp/src/Slice/Util.h +50 -0
- data/ice.gemspec +2 -9
- data/lib/Glacier2.rb +1 -6
- data/lib/Glacier2/Metrics.rb +6 -50
- data/lib/Glacier2/PermissionsVerifier.rb +23 -99
- data/lib/Glacier2/PermissionsVerifierF.rb +2 -7
- data/lib/Glacier2/Router.rb +31 -78
- data/lib/Glacier2/RouterF.rb +2 -7
- data/lib/Glacier2/SSLInfo.rb +3 -11
- data/lib/Glacier2/Session.rb +87 -311
- data/lib/Ice.rb +84 -58
- data/lib/Ice/BuiltinSequences.rb +3 -8
- data/lib/Ice/Communicator.rb +54 -61
- data/lib/Ice/CommunicatorF.rb +2 -7
- data/lib/Ice/Connection.rb +152 -166
- data/lib/Ice/ConnectionF.rb +2 -7
- data/lib/Ice/Current.rb +3 -15
- data/lib/Ice/Endpoint.rb +56 -137
- data/lib/Ice/EndpointF.rb +2 -7
- data/lib/Ice/EndpointTypes.rb +2 -11
- data/lib/Ice/FacetMap.rb +3 -8
- data/lib/Ice/Identity.rb +4 -12
- data/lib/Ice/ImplicitContext.rb +4 -38
- data/lib/Ice/ImplicitContextF.rb +2 -7
- data/lib/Ice/Instrumentation.rb +22 -279
- data/lib/Ice/InstrumentationF.rb +2 -7
- data/lib/Ice/LocalException.rb +94 -145
- data/lib/Ice/Locator.rb +50 -169
- data/lib/Ice/LocatorF.rb +2 -7
- data/lib/Ice/Logger.rb +4 -38
- data/lib/Ice/LoggerF.rb +2 -7
- data/lib/Ice/Metrics.rb +60 -420
- data/lib/Ice/ObjectAdapter.rb +29 -0
- data/lib/Ice/ObjectAdapterF.rb +2 -7
- data/lib/Ice/ObjectFactory.rb +4 -34
- data/lib/Ice/Plugin.rb +6 -64
- data/lib/Ice/PluginF.rb +2 -7
- data/lib/Ice/Process.rb +15 -56
- data/lib/Ice/ProcessF.rb +2 -7
- data/lib/Ice/Properties.rb +4 -45
- data/lib/Ice/PropertiesAdmin.rb +18 -60
- data/lib/Ice/PropertiesF.rb +2 -7
- data/lib/Ice/RemoteLogger.rb +33 -119
- data/lib/Ice/Router.rb +28 -105
- data/lib/Ice/RouterF.rb +2 -7
- data/lib/Ice/ServantLocator.rb +26 -0
- data/lib/Ice/ServantLocatorF.rb +24 -0
- data/lib/Ice/SliceChecksumDict.rb +2 -7
- data/lib/Ice/ValueFactory.rb +28 -0
- data/lib/Ice/Version.rb +4 -15
- data/lib/IceBox.rb +1 -6
- data/lib/IceBox/IceBox.rb +43 -152
- data/lib/IceGrid.rb +1 -9
- data/lib/IceGrid/Admin.rb +550 -431
- data/lib/IceGrid/Descriptor.rb +61 -533
- data/lib/IceGrid/Exception.rb +23 -49
- data/lib/IceGrid/FileParser.rb +13 -54
- data/lib/IceGrid/PluginFacade.rb +35 -0
- data/lib/IceGrid/Registry.rb +150 -62
- data/lib/IceGrid/Session.rb +24 -68
- data/lib/IceGrid/UserAccountMapper.rb +13 -54
- data/lib/IcePatch2.rb +1 -6
- data/lib/IcePatch2/FileInfo.rb +4 -15
- data/lib/IcePatch2/FileServer.rb +32 -80
- data/lib/IceStorm.rb +1 -6
- data/lib/IceStorm/IceStorm.rb +78 -210
- data/lib/IceStorm/Metrics.rb +10 -93
- data/slice/Glacier2/Metrics.ice +20 -10
- data/slice/Glacier2/PermissionsVerifier.ice +19 -12
- data/slice/Glacier2/PermissionsVerifierF.ice +16 -9
- data/slice/Glacier2/Router.ice +19 -13
- data/slice/Glacier2/RouterF.ice +16 -9
- data/slice/Glacier2/SSLInfo.ice +17 -10
- data/slice/Glacier2/Session.ice +24 -18
- data/slice/Ice/BuiltinSequences.ice +18 -9
- data/slice/Ice/Communicator.ice +180 -64
- data/slice/Ice/CommunicatorF.ice +18 -9
- data/slice/Ice/Connection.ice +208 -75
- data/slice/Ice/ConnectionF.ice +18 -9
- data/slice/Ice/Current.ice +37 -28
- data/slice/Ice/Endpoint.ice +73 -21
- data/slice/Ice/EndpointF.ice +19 -10
- data/slice/Ice/EndpointTypes.ice +21 -13
- data/slice/Ice/FacetMap.ice +19 -10
- data/slice/Ice/Identity.ice +24 -10
- data/slice/Ice/ImplicitContext.ice +41 -33
- data/slice/Ice/ImplicitContextF.ice +17 -9
- data/slice/Ice/Instrumentation.ice +37 -30
- data/slice/Ice/InstrumentationF.ice +19 -10
- data/slice/Ice/LocalException.ice +118 -112
- data/slice/Ice/Locator.ice +28 -21
- data/slice/Ice/LocatorF.ice +18 -9
- data/slice/Ice/Logger.ice +26 -18
- data/slice/Ice/LoggerF.ice +18 -9
- data/slice/Ice/Metrics.ice +42 -30
- data/slice/Ice/ObjectAdapter.ice +88 -53
- data/slice/Ice/ObjectAdapterF.ice +18 -9
- data/slice/Ice/ObjectFactory.ice +28 -17
- data/slice/Ice/Plugin.ice +25 -13
- data/slice/Ice/PluginF.ice +22 -9
- data/slice/Ice/Process.ice +20 -11
- data/slice/Ice/ProcessF.ice +18 -9
- data/slice/Ice/Properties.ice +42 -28
- data/slice/Ice/PropertiesAdmin.ice +20 -10
- data/slice/Ice/PropertiesF.ice +18 -9
- data/slice/Ice/RemoteLogger.ice +23 -19
- data/slice/Ice/Router.ice +28 -13
- data/slice/Ice/RouterF.ice +18 -9
- data/slice/Ice/ServantLocator.ice +40 -29
- data/slice/Ice/ServantLocatorF.ice +18 -9
- data/slice/Ice/SliceChecksumDict.ice +18 -9
- data/slice/Ice/ValueFactory.ice +132 -0
- data/slice/Ice/Version.ice +20 -10
- data/slice/IceBT/ConnectionInfo.ice +58 -0
- data/slice/IceBT/EndpointInfo.ice +56 -0
- data/slice/IceBT/Types.ice +44 -0
- data/slice/IceBox/IceBox.ice +45 -27
- data/slice/IceDiscovery/IceDiscovery.ice +75 -10
- data/slice/IceGrid/Admin.ice +410 -44
- data/slice/IceGrid/Descriptor.ice +47 -34
- data/slice/IceGrid/Exception.ice +43 -32
- data/slice/IceGrid/FileParser.ice +21 -12
- data/slice/IceGrid/PluginFacade.ice +26 -18
- data/slice/IceGrid/Registry.ice +150 -21
- data/slice/IceGrid/Session.ice +25 -17
- data/slice/IceGrid/UserAccountMapper.ice +23 -14
- data/slice/IceIAP/ConnectionInfo.ice +73 -0
- data/slice/IceIAP/EndpointInfo.ice +67 -0
- data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +19 -12
- data/slice/IcePatch2/FileInfo.ice +19 -13
- data/slice/IcePatch2/FileServer.ice +27 -18
- data/slice/IceSSL/ConnectionInfo.ice +27 -23
- data/slice/IceSSL/ConnectionInfoF.ice +30 -0
- data/slice/IceSSL/EndpointInfo.ice +21 -36
- data/slice/IceStorm/IceStorm.ice +33 -24
- data/slice/IceStorm/Metrics.ice +19 -11
- metadata +148 -120
- data/ext/ObjectFactory.cpp +0 -140
- data/ext/ObjectFactory.h +0 -50
- data/ext/ice/cpp/include/Ice/ACMF.h +0 -30
- data/ext/ice/cpp/include/Ice/BasicStream.h +0 -1335
- data/ext/ice/cpp/include/Ice/BuiltinSequences.h +0 -82
- data/ext/ice/cpp/include/Ice/Communicator.h +0 -200
- data/ext/ice/cpp/include/Ice/Connection.h +0 -497
- data/ext/ice/cpp/include/Ice/ConnectionF.h +0 -74
- data/ext/ice/cpp/include/Ice/ConnectionFactoryF.h +0 -30
- data/ext/ice/cpp/include/Ice/Current.h +0 -102
- data/ext/ice/cpp/include/Ice/DefaultObjectFactory.h +0 -48
- data/ext/ice/cpp/include/Ice/DeprecatedStringConverter.h +0 -62
- data/ext/ice/cpp/include/Ice/Endpoint.h +0 -341
- data/ext/ice/cpp/include/Ice/EndpointF.h +0 -93
- data/ext/ice/cpp/include/Ice/EndpointTypes.h +0 -82
- data/ext/ice/cpp/include/Ice/Identity.h +0 -168
- data/ext/ice/cpp/include/Ice/ImplicitContext.h +0 -102
- data/ext/ice/cpp/include/Ice/Instrumentation.h +0 -365
- data/ext/ice/cpp/include/Ice/InstrumentationF.h +0 -75
- data/ext/ice/cpp/include/Ice/LocalException.h +0 -1030
- data/ext/ice/cpp/include/Ice/Locator.h +0 -2193
- data/ext/ice/cpp/include/Ice/LocatorF.h +0 -93
- data/ext/ice/cpp/include/Ice/Logger.h +0 -100
- data/ext/ice/cpp/include/Ice/Metrics.h +0 -2974
- data/ext/ice/cpp/include/Ice/ObjectAdapter.h +0 -168
- data/ext/ice/cpp/include/Ice/ObjectAdapterFactoryF.h +0 -26
- data/ext/ice/cpp/include/Ice/ObjectFactory.h +0 -92
- data/ext/ice/cpp/include/Ice/ObjectFactoryF.h +0 -66
- data/ext/ice/cpp/include/Ice/ObjectFactoryManagerF.h +0 -26
- data/ext/ice/cpp/include/Ice/Outgoing.h +0 -225
- data/ext/ice/cpp/include/Ice/Plugin.h +0 -125
- data/ext/ice/cpp/include/Ice/PluginF.h +0 -70
- data/ext/ice/cpp/include/Ice/Process.h +0 -574
- data/ext/ice/cpp/include/Ice/ProcessF.h +0 -83
- data/ext/ice/cpp/include/Ice/Properties.h +0 -136
- data/ext/ice/cpp/include/Ice/PropertiesAdmin.h +0 -830
- data/ext/ice/cpp/include/Ice/PropertiesF.h +0 -87
- data/ext/ice/cpp/include/Ice/RemoteLogger.h +0 -1500
- data/ext/ice/cpp/include/Ice/Router.h +0 -1159
- data/ext/ice/cpp/include/Ice/RouterF.h +0 -83
- data/ext/ice/cpp/include/Ice/ServantLocator.h +0 -96
- data/ext/ice/cpp/include/Ice/Stream.h +0 -447
- data/ext/ice/cpp/include/Ice/StreamF.h +0 -30
- data/ext/ice/cpp/include/Ice/Version.h +0 -262
- data/ext/ice/cpp/include/IceSSL/ConnectionInfo.h +0 -158
- data/ext/ice/cpp/include/IceSSL/EndpointInfo.h +0 -142
- data/ext/ice/cpp/include/IceUtil/AbstractMutex.h +0 -119
- data/ext/ice/cpp/include/IceUtil/Cache.h +0 -362
- data/ext/ice/cpp/include/IceUtil/IconvStringConverter.h +0 -302
- data/ext/ice/cpp/include/IceUtil/SHA1.h +0 -47
- data/ext/ice/cpp/include/Slice/CPlusPlusUtil.h +0 -65
- data/ext/ice/cpp/include/Slice/Checksum.h +0 -26
- data/ext/ice/cpp/include/Slice/CsUtil.h +0 -92
- data/ext/ice/cpp/include/Slice/DotNetNames.h +0 -34
- data/ext/ice/cpp/include/Slice/JavaUtil.h +0 -279
- data/ext/ice/cpp/include/Slice/ObjCUtil.h +0 -127
- data/ext/ice/cpp/include/Slice/PHPUtil.h +0 -50
- data/ext/ice/cpp/include/Slice/PythonUtil.h +0 -64
- data/ext/ice/cpp/include/Slice/Util.h +0 -56
- data/ext/ice/cpp/src/Ice/BasicStream.cpp +0 -3428
- data/ext/ice/cpp/src/Ice/DeprecatedStringConverter.cpp +0 -62
- data/ext/ice/cpp/src/Ice/ObjectFactoryF.cpp +0 -44
- data/ext/ice/cpp/src/Ice/ObjectFactoryManager.cpp +0 -139
- data/ext/ice/cpp/src/Ice/ObjectFactoryManager.h +0 -43
- data/ext/ice/cpp/src/Ice/Outgoing.cpp +0 -694
- data/ext/ice/cpp/src/Ice/Stream.cpp +0 -53
- data/ext/ice/cpp/src/Ice/StreamI.cpp +0 -832
- data/ext/ice/cpp/src/Ice/StreamI.h +0 -198
- data/ext/ice/cpp/src/IceSSL/Certificate.cpp +0 -1336
- data/ext/ice/cpp/src/IceUtil/ArgVector.cpp +0 -64
- data/ext/ice/cpp/src/IceUtil/ArgVector.h +0 -41
- data/ext/ice/cpp/src/IceUtil/Exception.cpp +0 -792
- data/ext/ice/cpp/src/IceUtil/FileUtil.h +0 -185
- data/ext/ice/cpp/src/Slice/CsUtil.cpp +0 -2660
- data/ext/ice/cpp/src/Slice/DotNetNames.cpp +0 -146
- data/ext/ice/cpp/src/Slice/ObjCUtil.cpp +0 -1310
- data/lib/Ice/ObjectFactoryF.rb +0 -29
- data/lib/IceGrid/Locator.rb +0 -106
- data/lib/IceGrid/Observer.rb +0 -572
- data/lib/IceGrid/Query.rb +0 -169
- data/slice/Freeze/BackgroundSaveEvictor.ice +0 -111
- data/slice/Freeze/CatalogData.ice +0 -49
- data/slice/Freeze/Connection.ice +0 -121
- data/slice/Freeze/ConnectionF.ice +0 -20
- data/slice/Freeze/DB.ice +0 -37
- data/slice/Freeze/Evictor.ice +0 -346
- data/slice/Freeze/EvictorF.ice +0 -22
- data/slice/Freeze/EvictorStorage.ice +0 -72
- data/slice/Freeze/Exception.ice +0 -100
- data/slice/Freeze/Transaction.ice +0 -58
- data/slice/Freeze/TransactionalEvictor.ice +0 -50
- data/slice/Ice/ObjectFactoryF.ice +0 -21
- data/slice/IceGrid/Locator.ice +0 -57
- data/slice/IceGrid/Observer.ice +0 -395
- data/slice/IceGrid/Query.ice +0 -131
@@ -1,11 +1,6 @@
|
|
1
|
-
// **********************************************************************
|
2
1
|
//
|
3
|
-
// Copyright (c)
|
2
|
+
// Copyright (c) ZeroC, Inc. All rights reserved.
|
4
3
|
//
|
5
|
-
// This copy of Ice is licensed to you under the terms described in the
|
6
|
-
// ICE_LICENSE file included in this distribution.
|
7
|
-
//
|
8
|
-
// **********************************************************************
|
9
4
|
|
10
5
|
#ifndef ICE_REFERENCE_FACTORY_H
|
11
6
|
#define ICE_REFERENCE_FACTORY_H
|
@@ -31,14 +26,14 @@ public:
|
|
31
26
|
//
|
32
27
|
// Create a direct reference.
|
33
28
|
//
|
34
|
-
ReferencePtr create(const ::Ice::Identity&, const ::std::string&, const ReferencePtr&,
|
29
|
+
ReferencePtr create(const ::Ice::Identity&, const ::std::string&, const ReferencePtr&,
|
35
30
|
const ::std::vector<EndpointIPtr>&);
|
36
|
-
|
31
|
+
|
37
32
|
//
|
38
33
|
// Create an indirect reference.
|
39
34
|
//
|
40
35
|
ReferencePtr create(const ::Ice::Identity&, const ::std::string&, const ReferencePtr&, const std::string&);
|
41
|
-
|
36
|
+
|
42
37
|
//
|
43
38
|
// Create a fixed reference.
|
44
39
|
//
|
@@ -52,13 +47,13 @@ public:
|
|
52
47
|
//
|
53
48
|
// Create a reference by unmarshaling it from a stream.
|
54
49
|
//
|
55
|
-
ReferencePtr create(const ::Ice::Identity&,
|
50
|
+
ReferencePtr create(const ::Ice::Identity&, Ice::InputStream*);
|
56
51
|
|
57
|
-
ReferenceFactoryPtr setDefaultRouter(const ::Ice::
|
58
|
-
::Ice::
|
52
|
+
ReferenceFactoryPtr setDefaultRouter(const ::Ice::RouterPrxPtr&);
|
53
|
+
::Ice::RouterPrxPtr getDefaultRouter() const;
|
59
54
|
|
60
|
-
ReferenceFactoryPtr setDefaultLocator(const ::Ice::
|
61
|
-
::Ice::
|
55
|
+
ReferenceFactoryPtr setDefaultLocator(const ::Ice::LocatorPrxPtr&);
|
56
|
+
::Ice::LocatorPrxPtr getDefaultLocator() const;
|
62
57
|
|
63
58
|
private:
|
64
59
|
|
@@ -66,14 +61,14 @@ private:
|
|
66
61
|
friend class Instance;
|
67
62
|
|
68
63
|
void checkForUnknownProperties(const std::string&);
|
69
|
-
RoutableReferencePtr create(const ::Ice::Identity&, const ::std::string&, Reference::Mode, bool,
|
64
|
+
RoutableReferencePtr create(const ::Ice::Identity&, const ::std::string&, Reference::Mode, bool,
|
70
65
|
const Ice::ProtocolVersion&, const Ice::EncodingVersion&,
|
71
66
|
const std::vector<EndpointIPtr>&, const std::string&, const std::string&);
|
72
67
|
|
73
68
|
const InstancePtr _instance;
|
74
69
|
const ::Ice::CommunicatorPtr _communicator;
|
75
|
-
::Ice::
|
76
|
-
::Ice::
|
70
|
+
::Ice::RouterPrxPtr _defaultRouter;
|
71
|
+
::Ice::LocatorPrxPtr _defaultLocator;
|
77
72
|
};
|
78
73
|
|
79
74
|
}
|
@@ -1,11 +1,6 @@
|
|
1
|
-
// **********************************************************************
|
2
1
|
//
|
3
|
-
// Copyright (c)
|
2
|
+
// Copyright (c) ZeroC, Inc. All rights reserved.
|
4
3
|
//
|
5
|
-
// This copy of Ice is licensed to you under the terms described in the
|
6
|
-
// ICE_LICENSE file included in this distribution.
|
7
|
-
//
|
8
|
-
// **********************************************************************
|
9
4
|
|
10
5
|
#ifndef ICE_REFERENCE_FACTORY_F_H
|
11
6
|
#define ICE_REFERENCE_FACTORY_F_H
|
@@ -1,11 +1,6 @@
|
|
1
|
-
// **********************************************************************
|
2
1
|
//
|
3
|
-
// Copyright (c)
|
2
|
+
// Copyright (c) ZeroC, Inc. All rights reserved.
|
4
3
|
//
|
5
|
-
// This copy of Ice is licensed to you under the terms described in the
|
6
|
-
// ICE_LICENSE file included in this distribution.
|
7
|
-
//
|
8
|
-
// **********************************************************************
|
9
4
|
|
10
5
|
#include <Ice/RegisterPluginsInit.h>
|
11
6
|
#include <Ice/CommunicatorF.h>
|
@@ -14,15 +9,30 @@
|
|
14
9
|
extern "C"
|
15
10
|
{
|
16
11
|
|
12
|
+
Ice::Plugin* createStringConverter(const Ice::CommunicatorPtr&, const std::string&, const Ice::StringSeq&);
|
17
13
|
Ice::Plugin* createIceUDP(const Ice::CommunicatorPtr&, const std::string&, const Ice::StringSeq&);
|
18
14
|
Ice::Plugin* createIceTCP(const Ice::CommunicatorPtr&, const std::string&, const Ice::StringSeq&);
|
19
|
-
Ice::Plugin*
|
15
|
+
Ice::Plugin* createIceWS(const Ice::CommunicatorPtr&, const std::string&, const Ice::StringSeq&);
|
20
16
|
|
21
|
-
}
|
17
|
+
}
|
22
18
|
|
23
19
|
IceInternal::RegisterPluginsInit::RegisterPluginsInit()
|
24
20
|
{
|
25
|
-
Ice::registerPluginFactory("IceUDP", createIceUDP, true);
|
26
21
|
Ice::registerPluginFactory("IceTCP", createIceTCP, true);
|
22
|
+
|
23
|
+
//
|
24
|
+
// Only include the UDP and WS transport plugins with non-static builds or Gem/PyPI/Swift
|
25
|
+
// builds.
|
26
|
+
//
|
27
|
+
#if !defined(ICE_STATIC_LIBS) || defined(ICE_GEM) || defined(ICE_PYPI) || defined(ICE_SWIFT)
|
28
|
+
Ice::registerPluginFactory("IceUDP", createIceUDP, true);
|
29
|
+
Ice::registerPluginFactory("IceWS", createIceWS, true);
|
30
|
+
#endif
|
31
|
+
|
32
|
+
//
|
33
|
+
// Also include IceStringConverter in Gem/PyPI builds.
|
34
|
+
//
|
35
|
+
#if defined(ICE_GEM) || defined(ICE_PYPI)
|
27
36
|
Ice::registerPluginFactory("IceStringConverter", createStringConverter, false);
|
37
|
+
#endif
|
28
38
|
}
|
@@ -1,11 +1,6 @@
|
|
1
|
-
// **********************************************************************
|
2
1
|
//
|
3
|
-
// Copyright (c)
|
2
|
+
// Copyright (c) ZeroC, Inc. All rights reserved.
|
4
3
|
//
|
5
|
-
// This copy of Ice is licensed to you under the terms described in the
|
6
|
-
// ICE_LICENSE file included in this distribution.
|
7
|
-
//
|
8
|
-
// **********************************************************************
|
9
4
|
|
10
5
|
#ifndef ICE_REGISTER_PLUGINS_INIT_H
|
11
6
|
#define ICE_REGISTER_PLUGINS_INIT_H
|
@@ -1,13 +1,8 @@
|
|
1
|
-
// **********************************************************************
|
2
1
|
//
|
3
|
-
// Copyright (c)
|
2
|
+
// Copyright (c) ZeroC, Inc. All rights reserved.
|
4
3
|
//
|
5
|
-
// This copy of Ice is licensed to you under the terms described in the
|
6
|
-
// ICE_LICENSE file included in this distribution.
|
7
4
|
//
|
8
|
-
//
|
9
|
-
//
|
10
|
-
// Ice version 3.6.5
|
5
|
+
// Ice version 3.7.4
|
11
6
|
//
|
12
7
|
// <auto-generated>
|
13
8
|
//
|
@@ -24,614 +19,785 @@
|
|
24
19
|
#include <Ice/RemoteLogger.h>
|
25
20
|
#include <IceUtil/PushDisableWarnings.h>
|
26
21
|
#include <Ice/LocalException.h>
|
27
|
-
#include <Ice/
|
28
|
-
#include <Ice/Outgoing.h>
|
22
|
+
#include <Ice/ValueFactory.h>
|
29
23
|
#include <Ice/OutgoingAsync.h>
|
30
|
-
#include <Ice/
|
31
|
-
#include <
|
24
|
+
#include <Ice/InputStream.h>
|
25
|
+
#include <Ice/OutputStream.h>
|
26
|
+
#include <Ice/LocalException.h>
|
32
27
|
#include <IceUtil/PopDisableWarnings.h>
|
33
28
|
|
29
|
+
#if defined(_MSC_VER)
|
30
|
+
# pragma warning(disable:4458) // declaration of ... hides class member
|
31
|
+
#elif defined(__clang__)
|
32
|
+
# pragma clang diagnostic ignored "-Wshadow"
|
33
|
+
#elif defined(__GNUC__)
|
34
|
+
# pragma GCC diagnostic ignored "-Wshadow"
|
35
|
+
#endif
|
36
|
+
|
34
37
|
#ifndef ICE_IGNORE_VERSION
|
35
|
-
# if ICE_INT_VERSION / 100 !=
|
38
|
+
# if ICE_INT_VERSION / 100 != 307
|
36
39
|
# error Ice version mismatch!
|
37
40
|
# endif
|
38
|
-
# if ICE_INT_VERSION % 100
|
41
|
+
# if ICE_INT_VERSION % 100 >= 50
|
39
42
|
# error Beta header file detected
|
40
43
|
# endif
|
41
|
-
# if ICE_INT_VERSION % 100 <
|
44
|
+
# if ICE_INT_VERSION % 100 < 4
|
42
45
|
# error Ice patch level mismatch!
|
43
46
|
# endif
|
44
47
|
#endif
|
45
48
|
|
49
|
+
#ifdef ICE_CPP11_MAPPING // C++11 mapping
|
50
|
+
|
46
51
|
namespace
|
47
52
|
{
|
48
53
|
|
49
|
-
const ::std::string
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
+
const ::std::string iceC_Ice_RemoteLogger_ids[2] =
|
55
|
+
{
|
56
|
+
"::Ice::Object",
|
57
|
+
"::Ice::RemoteLogger"
|
58
|
+
};
|
59
|
+
const ::std::string iceC_Ice_RemoteLogger_ops[] =
|
60
|
+
{
|
61
|
+
"ice_id",
|
62
|
+
"ice_ids",
|
63
|
+
"ice_isA",
|
64
|
+
"ice_ping",
|
65
|
+
"init",
|
66
|
+
"log"
|
67
|
+
};
|
68
|
+
const ::std::string iceC_Ice_RemoteLogger_init_name = "init";
|
69
|
+
const ::std::string iceC_Ice_RemoteLogger_log_name = "log";
|
54
70
|
|
55
|
-
const ::
|
71
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit<::Ice::RemoteLoggerAlreadyAttachedException> iceC_Ice_RemoteLoggerAlreadyAttachedException_init("::Ice::RemoteLoggerAlreadyAttachedException");
|
56
72
|
|
57
|
-
const ::std::string
|
73
|
+
const ::std::string iceC_Ice_LoggerAdmin_ids[2] =
|
74
|
+
{
|
75
|
+
"::Ice::LoggerAdmin",
|
76
|
+
"::Ice::Object"
|
77
|
+
};
|
78
|
+
const ::std::string iceC_Ice_LoggerAdmin_ops[] =
|
79
|
+
{
|
80
|
+
"attachRemoteLogger",
|
81
|
+
"detachRemoteLogger",
|
82
|
+
"getLog",
|
83
|
+
"ice_id",
|
84
|
+
"ice_ids",
|
85
|
+
"ice_isA",
|
86
|
+
"ice_ping"
|
87
|
+
};
|
88
|
+
const ::std::string iceC_Ice_LoggerAdmin_attachRemoteLogger_name = "attachRemoteLogger";
|
89
|
+
const ::std::string iceC_Ice_LoggerAdmin_detachRemoteLogger_name = "detachRemoteLogger";
|
90
|
+
const ::std::string iceC_Ice_LoggerAdmin_getLog_name = "getLog";
|
58
91
|
|
59
92
|
}
|
60
93
|
|
61
|
-
|
94
|
+
Ice::RemoteLoggerAlreadyAttachedException::~RemoteLoggerAlreadyAttachedException()
|
62
95
|
{
|
63
|
-
|
64
|
-
const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::RemoteLoggerAlreadyAttachedException> __Ice__RemoteLoggerAlreadyAttachedException_init("::Ice::RemoteLoggerAlreadyAttachedException");
|
65
|
-
|
66
96
|
}
|
67
97
|
|
68
|
-
|
98
|
+
const ::std::string&
|
99
|
+
Ice::RemoteLoggerAlreadyAttachedException::ice_staticId()
|
69
100
|
{
|
101
|
+
static const ::std::string typeId = "::Ice::RemoteLoggerAlreadyAttachedException";
|
102
|
+
return typeId;
|
70
103
|
}
|
71
104
|
|
72
|
-
|
73
|
-
Ice::
|
105
|
+
bool
|
106
|
+
Ice::RemoteLogger::ice_isA(::std::string s, const Current&) const
|
74
107
|
{
|
75
|
-
return
|
108
|
+
return ::std::binary_search(iceC_Ice_RemoteLogger_ids, iceC_Ice_RemoteLogger_ids + 2, s);
|
76
109
|
}
|
77
110
|
|
78
|
-
|
79
|
-
Ice::
|
111
|
+
::std::vector<::std::string>
|
112
|
+
Ice::RemoteLogger::ice_ids(const Current&) const
|
80
113
|
{
|
81
|
-
return
|
114
|
+
return ::std::vector<::std::string>(&iceC_Ice_RemoteLogger_ids[0], &iceC_Ice_RemoteLogger_ids[2]);
|
82
115
|
}
|
83
116
|
|
84
|
-
|
85
|
-
Ice::
|
117
|
+
::std::string
|
118
|
+
Ice::RemoteLogger::ice_id(const Current&) const
|
86
119
|
{
|
87
|
-
|
120
|
+
return ice_staticId();
|
88
121
|
}
|
89
122
|
|
90
|
-
|
91
|
-
Ice::
|
123
|
+
const ::std::string&
|
124
|
+
Ice::RemoteLogger::ice_staticId()
|
92
125
|
{
|
93
|
-
|
94
|
-
|
126
|
+
static const ::std::string typeId = "::Ice::RemoteLogger";
|
127
|
+
return typeId;
|
95
128
|
}
|
96
129
|
|
97
|
-
|
98
|
-
|
130
|
+
/// \cond INTERNAL
|
131
|
+
bool
|
132
|
+
Ice::RemoteLogger::_iceD_init(::IceInternal::Incoming& inS, const Current& current)
|
99
133
|
{
|
100
|
-
|
101
|
-
|
134
|
+
_iceCheckMode(::Ice::OperationMode::Normal, current.mode);
|
135
|
+
auto istr = inS.startReadParams();
|
136
|
+
::std::string iceP_prefix;
|
137
|
+
LogMessageSeq iceP_logMessages;
|
138
|
+
istr->readAll(iceP_prefix, iceP_logMessages);
|
139
|
+
inS.endReadParams();
|
140
|
+
this->init(::std::move(iceP_prefix), ::std::move(iceP_logMessages), current);
|
141
|
+
inS.writeEmptyParams();
|
142
|
+
return true;
|
102
143
|
}
|
144
|
+
/// \endcond
|
103
145
|
|
104
|
-
|
146
|
+
/// \cond INTERNAL
|
147
|
+
bool
|
148
|
+
Ice::RemoteLogger::_iceD_log(::IceInternal::Incoming& inS, const Current& current)
|
105
149
|
{
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
150
|
+
_iceCheckMode(::Ice::OperationMode::Normal, current.mode);
|
151
|
+
auto istr = inS.startReadParams();
|
152
|
+
LogMessage iceP_message;
|
153
|
+
istr->readAll(iceP_message);
|
154
|
+
inS.endReadParams();
|
155
|
+
this->log(::std::move(iceP_message), current);
|
156
|
+
inS.writeEmptyParams();
|
157
|
+
return true;
|
110
158
|
}
|
111
|
-
|
112
|
-
class ICE_API IceProxy::Ice::RemoteLogger;
|
113
|
-
#endif
|
114
|
-
ICE_API ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(::IceProxy::Ice::RemoteLogger* p) { return p; }
|
159
|
+
/// \endcond
|
115
160
|
|
116
|
-
|
117
|
-
|
161
|
+
/// \cond INTERNAL
|
162
|
+
bool
|
163
|
+
Ice::RemoteLogger::_iceDispatch(::IceInternal::Incoming& in, const Current& current)
|
118
164
|
{
|
119
|
-
::
|
120
|
-
|
121
|
-
if(!proxy)
|
165
|
+
::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_RemoteLogger_ops, iceC_Ice_RemoteLogger_ops + 6, current.operation);
|
166
|
+
if(r.first == r.second)
|
122
167
|
{
|
123
|
-
|
168
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
124
169
|
}
|
125
|
-
|
170
|
+
|
171
|
+
switch(r.first - iceC_Ice_RemoteLogger_ops)
|
126
172
|
{
|
127
|
-
|
128
|
-
|
173
|
+
case 0:
|
174
|
+
{
|
175
|
+
return _iceD_ice_id(in, current);
|
176
|
+
}
|
177
|
+
case 1:
|
178
|
+
{
|
179
|
+
return _iceD_ice_ids(in, current);
|
180
|
+
}
|
181
|
+
case 2:
|
182
|
+
{
|
183
|
+
return _iceD_ice_isA(in, current);
|
184
|
+
}
|
185
|
+
case 3:
|
186
|
+
{
|
187
|
+
return _iceD_ice_ping(in, current);
|
188
|
+
}
|
189
|
+
case 4:
|
190
|
+
{
|
191
|
+
return _iceD_init(in, current);
|
192
|
+
}
|
193
|
+
case 5:
|
194
|
+
{
|
195
|
+
return _iceD_log(in, current);
|
196
|
+
}
|
197
|
+
default:
|
198
|
+
{
|
199
|
+
assert(false);
|
200
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
201
|
+
}
|
129
202
|
}
|
130
203
|
}
|
204
|
+
/// \endcond
|
131
205
|
|
132
|
-
|
133
|
-
|
206
|
+
bool
|
207
|
+
Ice::LoggerAdmin::ice_isA(::std::string s, const Current&) const
|
134
208
|
{
|
135
|
-
::
|
136
|
-
try
|
137
|
-
{
|
138
|
-
::IceInternal::BasicStream* __os = __og.startWriteParams(::Ice::DefaultFormat);
|
139
|
-
__os->write(__p_prefix);
|
140
|
-
__os->write(__p_logMessages);
|
141
|
-
__og.endWriteParams();
|
142
|
-
}
|
143
|
-
catch(const ::Ice::LocalException& __ex)
|
144
|
-
{
|
145
|
-
__og.abort(__ex);
|
146
|
-
}
|
147
|
-
__invoke(__og);
|
209
|
+
return ::std::binary_search(iceC_Ice_LoggerAdmin_ids, iceC_Ice_LoggerAdmin_ids + 2, s);
|
148
210
|
}
|
149
211
|
|
150
|
-
::
|
151
|
-
|
212
|
+
::std::vector<::std::string>
|
213
|
+
Ice::LoggerAdmin::ice_ids(const Current&) const
|
152
214
|
{
|
153
|
-
::
|
154
|
-
|
215
|
+
return ::std::vector<::std::string>(&iceC_Ice_LoggerAdmin_ids[0], &iceC_Ice_LoggerAdmin_ids[2]);
|
216
|
+
}
|
217
|
+
|
218
|
+
::std::string
|
219
|
+
Ice::LoggerAdmin::ice_id(const Current&) const
|
220
|
+
{
|
221
|
+
return ice_staticId();
|
222
|
+
}
|
223
|
+
|
224
|
+
const ::std::string&
|
225
|
+
Ice::LoggerAdmin::ice_staticId()
|
226
|
+
{
|
227
|
+
static const ::std::string typeId = "::Ice::LoggerAdmin";
|
228
|
+
return typeId;
|
229
|
+
}
|
230
|
+
|
231
|
+
/// \cond INTERNAL
|
232
|
+
bool
|
233
|
+
Ice::LoggerAdmin::_iceD_attachRemoteLogger(::IceInternal::Incoming& inS, const Current& current)
|
234
|
+
{
|
235
|
+
_iceCheckMode(::Ice::OperationMode::Normal, current.mode);
|
236
|
+
auto istr = inS.startReadParams();
|
237
|
+
::std::shared_ptr<RemoteLoggerPrx> iceP_prx;
|
238
|
+
LogMessageTypeSeq iceP_messageTypes;
|
239
|
+
StringSeq iceP_traceCategories;
|
240
|
+
int iceP_messageMax;
|
241
|
+
istr->readAll(iceP_prx, iceP_messageTypes, iceP_traceCategories, iceP_messageMax);
|
242
|
+
inS.endReadParams();
|
243
|
+
this->attachRemoteLogger(::std::move(iceP_prx), ::std::move(iceP_messageTypes), ::std::move(iceP_traceCategories), iceP_messageMax, current);
|
244
|
+
inS.writeEmptyParams();
|
245
|
+
return true;
|
246
|
+
}
|
247
|
+
/// \endcond
|
248
|
+
|
249
|
+
/// \cond INTERNAL
|
250
|
+
bool
|
251
|
+
Ice::LoggerAdmin::_iceD_detachRemoteLogger(::IceInternal::Incoming& inS, const Current& current)
|
252
|
+
{
|
253
|
+
_iceCheckMode(::Ice::OperationMode::Normal, current.mode);
|
254
|
+
auto istr = inS.startReadParams();
|
255
|
+
::std::shared_ptr<RemoteLoggerPrx> iceP_prx;
|
256
|
+
istr->readAll(iceP_prx);
|
257
|
+
inS.endReadParams();
|
258
|
+
bool ret = this->detachRemoteLogger(::std::move(iceP_prx), current);
|
259
|
+
auto ostr = inS.startWriteParams();
|
260
|
+
ostr->writeAll(ret);
|
261
|
+
inS.endWriteParams();
|
262
|
+
return true;
|
263
|
+
}
|
264
|
+
/// \endcond
|
265
|
+
|
266
|
+
/// \cond INTERNAL
|
267
|
+
bool
|
268
|
+
Ice::LoggerAdmin::_iceD_getLog(::IceInternal::Incoming& inS, const Current& current)
|
269
|
+
{
|
270
|
+
_iceCheckMode(::Ice::OperationMode::Normal, current.mode);
|
271
|
+
auto istr = inS.startReadParams();
|
272
|
+
LogMessageTypeSeq iceP_messageTypes;
|
273
|
+
StringSeq iceP_traceCategories;
|
274
|
+
int iceP_messageMax;
|
275
|
+
istr->readAll(iceP_messageTypes, iceP_traceCategories, iceP_messageMax);
|
276
|
+
inS.endReadParams();
|
277
|
+
::std::string iceP_prefix;
|
278
|
+
LogMessageSeq ret = this->getLog(::std::move(iceP_messageTypes), ::std::move(iceP_traceCategories), iceP_messageMax, iceP_prefix, current);
|
279
|
+
auto ostr = inS.startWriteParams();
|
280
|
+
ostr->writeAll(iceP_prefix, ret);
|
281
|
+
inS.endWriteParams();
|
282
|
+
return true;
|
283
|
+
}
|
284
|
+
/// \endcond
|
285
|
+
|
286
|
+
/// \cond INTERNAL
|
287
|
+
bool
|
288
|
+
Ice::LoggerAdmin::_iceDispatch(::IceInternal::Incoming& in, const Current& current)
|
289
|
+
{
|
290
|
+
::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_LoggerAdmin_ops, iceC_Ice_LoggerAdmin_ops + 7, current.operation);
|
291
|
+
if(r.first == r.second)
|
155
292
|
{
|
156
|
-
|
157
|
-
::IceInternal::BasicStream* __os = __result->startWriteParams(::Ice::DefaultFormat);
|
158
|
-
__os->write(__p_prefix);
|
159
|
-
__os->write(__p_logMessages);
|
160
|
-
__result->endWriteParams();
|
161
|
-
__result->invoke();
|
293
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
162
294
|
}
|
163
|
-
|
295
|
+
|
296
|
+
switch(r.first - iceC_Ice_LoggerAdmin_ops)
|
164
297
|
{
|
165
|
-
|
298
|
+
case 0:
|
299
|
+
{
|
300
|
+
return _iceD_attachRemoteLogger(in, current);
|
301
|
+
}
|
302
|
+
case 1:
|
303
|
+
{
|
304
|
+
return _iceD_detachRemoteLogger(in, current);
|
305
|
+
}
|
306
|
+
case 2:
|
307
|
+
{
|
308
|
+
return _iceD_getLog(in, current);
|
309
|
+
}
|
310
|
+
case 3:
|
311
|
+
{
|
312
|
+
return _iceD_ice_id(in, current);
|
313
|
+
}
|
314
|
+
case 4:
|
315
|
+
{
|
316
|
+
return _iceD_ice_ids(in, current);
|
317
|
+
}
|
318
|
+
case 5:
|
319
|
+
{
|
320
|
+
return _iceD_ice_isA(in, current);
|
321
|
+
}
|
322
|
+
case 6:
|
323
|
+
{
|
324
|
+
return _iceD_ice_ping(in, current);
|
325
|
+
}
|
326
|
+
default:
|
327
|
+
{
|
328
|
+
assert(false);
|
329
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
330
|
+
}
|
166
331
|
}
|
167
|
-
return __result;
|
168
332
|
}
|
333
|
+
/// \endcond
|
169
334
|
|
335
|
+
/// \cond INTERNAL
|
170
336
|
void
|
171
|
-
|
337
|
+
Ice::RemoteLoggerPrx::_iceI_init(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>& outAsync, const ::std::string& iceP_prefix, const LogMessageSeq& iceP_logMessages, const Context& context)
|
172
338
|
{
|
173
|
-
|
339
|
+
outAsync->invoke(iceC_Ice_RemoteLogger_init_name, ::Ice::OperationMode::Normal, ::Ice::FormatType::DefaultFormat, context,
|
340
|
+
[&](OutputStream* ostr)
|
341
|
+
{
|
342
|
+
ostr->writeAll(iceP_prefix, iceP_logMessages);
|
343
|
+
},
|
344
|
+
nullptr);
|
174
345
|
}
|
346
|
+
/// \endcond
|
175
347
|
|
348
|
+
/// \cond INTERNAL
|
176
349
|
void
|
177
|
-
|
350
|
+
Ice::RemoteLoggerPrx::_iceI_log(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>& outAsync, const LogMessage& iceP_message, const Context& context)
|
178
351
|
{
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
}
|
186
|
-
catch(const ::Ice::LocalException& __ex)
|
187
|
-
{
|
188
|
-
__og.abort(__ex);
|
189
|
-
}
|
190
|
-
__invoke(__og);
|
352
|
+
outAsync->invoke(iceC_Ice_RemoteLogger_log_name, ::Ice::OperationMode::Normal, ::Ice::FormatType::DefaultFormat, context,
|
353
|
+
[&](OutputStream* ostr)
|
354
|
+
{
|
355
|
+
ostr->writeAll(iceP_message);
|
356
|
+
},
|
357
|
+
nullptr);
|
191
358
|
}
|
359
|
+
/// \endcond
|
192
360
|
|
193
|
-
|
194
|
-
|
361
|
+
/// \cond INTERNAL
|
362
|
+
::std::shared_ptr<::Ice::ObjectPrx>
|
363
|
+
Ice::RemoteLoggerPrx::_newInstance() const
|
195
364
|
{
|
196
|
-
|
197
|
-
try
|
198
|
-
{
|
199
|
-
__result->prepare(__Ice__RemoteLogger__log_name, ::Ice::Normal, __ctx);
|
200
|
-
::IceInternal::BasicStream* __os = __result->startWriteParams(::Ice::DefaultFormat);
|
201
|
-
__os->write(__p_message);
|
202
|
-
__result->endWriteParams();
|
203
|
-
__result->invoke();
|
204
|
-
}
|
205
|
-
catch(const ::Ice::Exception& __ex)
|
206
|
-
{
|
207
|
-
__result->abort(__ex);
|
208
|
-
}
|
209
|
-
return __result;
|
365
|
+
return ::IceInternal::createProxy<RemoteLoggerPrx>();
|
210
366
|
}
|
367
|
+
/// \endcond
|
211
368
|
|
369
|
+
const ::std::string&
|
370
|
+
Ice::RemoteLoggerPrx::ice_staticId()
|
371
|
+
{
|
372
|
+
return RemoteLogger::ice_staticId();
|
373
|
+
}
|
374
|
+
|
375
|
+
/// \cond INTERNAL
|
212
376
|
void
|
213
|
-
|
377
|
+
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)
|
214
378
|
{
|
215
|
-
|
379
|
+
_checkTwowayOnly(iceC_Ice_LoggerAdmin_attachRemoteLogger_name);
|
380
|
+
outAsync->invoke(iceC_Ice_LoggerAdmin_attachRemoteLogger_name, ::Ice::OperationMode::Normal, ::Ice::FormatType::DefaultFormat, context,
|
381
|
+
[&](OutputStream* ostr)
|
382
|
+
{
|
383
|
+
ostr->writeAll(iceP_prx, iceP_messageTypes, iceP_traceCategories, iceP_messageMax);
|
384
|
+
},
|
385
|
+
[](const UserException& ex)
|
386
|
+
{
|
387
|
+
try
|
388
|
+
{
|
389
|
+
ex.ice_throw();
|
390
|
+
}
|
391
|
+
catch(const RemoteLoggerAlreadyAttachedException&)
|
392
|
+
{
|
393
|
+
throw;
|
394
|
+
}
|
395
|
+
catch(const UserException&)
|
396
|
+
{
|
397
|
+
}
|
398
|
+
});
|
216
399
|
}
|
400
|
+
/// \endcond
|
401
|
+
|
402
|
+
/// \cond INTERNAL
|
403
|
+
void
|
404
|
+
Ice::LoggerAdminPrx::_iceI_detachRemoteLogger(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<bool>>& outAsync, const ::std::shared_ptr<RemoteLoggerPrx>& iceP_prx, const Context& context)
|
405
|
+
{
|
406
|
+
_checkTwowayOnly(iceC_Ice_LoggerAdmin_detachRemoteLogger_name);
|
407
|
+
outAsync->invoke(iceC_Ice_LoggerAdmin_detachRemoteLogger_name, ::Ice::OperationMode::Normal, ::Ice::FormatType::DefaultFormat, context,
|
408
|
+
[&](OutputStream* ostr)
|
409
|
+
{
|
410
|
+
ostr->writeAll(iceP_prx);
|
411
|
+
},
|
412
|
+
nullptr);
|
413
|
+
}
|
414
|
+
/// \endcond
|
415
|
+
|
416
|
+
/// \cond INTERNAL
|
417
|
+
void
|
418
|
+
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)
|
419
|
+
{
|
420
|
+
_checkTwowayOnly(iceC_Ice_LoggerAdmin_getLog_name);
|
421
|
+
outAsync->invoke(iceC_Ice_LoggerAdmin_getLog_name, ::Ice::OperationMode::Normal, ::Ice::FormatType::DefaultFormat, context,
|
422
|
+
[&](OutputStream* ostr)
|
423
|
+
{
|
424
|
+
ostr->writeAll(iceP_messageTypes, iceP_traceCategories, iceP_messageMax);
|
425
|
+
},
|
426
|
+
nullptr,
|
427
|
+
[](InputStream* istr)
|
428
|
+
{
|
429
|
+
LoggerAdmin::GetLogResult v;
|
430
|
+
istr->readAll(v.prefix, v.returnValue);
|
431
|
+
return v;
|
432
|
+
});
|
433
|
+
}
|
434
|
+
/// \endcond
|
435
|
+
|
436
|
+
/// \cond INTERNAL
|
437
|
+
::std::shared_ptr<::Ice::ObjectPrx>
|
438
|
+
Ice::LoggerAdminPrx::_newInstance() const
|
439
|
+
{
|
440
|
+
return ::IceInternal::createProxy<LoggerAdminPrx>();
|
441
|
+
}
|
442
|
+
/// \endcond
|
217
443
|
|
218
444
|
const ::std::string&
|
219
|
-
|
445
|
+
Ice::LoggerAdminPrx::ice_staticId()
|
220
446
|
{
|
221
|
-
return ::
|
447
|
+
return LoggerAdmin::ice_staticId();
|
222
448
|
}
|
223
449
|
|
224
|
-
|
225
|
-
IceProxy::Ice::RemoteLogger::__newInstance() const
|
450
|
+
namespace Ice
|
226
451
|
{
|
227
|
-
return new RemoteLogger;
|
228
452
|
}
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
453
|
+
|
454
|
+
#else // C++98 mapping
|
455
|
+
|
456
|
+
namespace
|
457
|
+
{
|
458
|
+
|
459
|
+
const ::std::string iceC_Ice_RemoteLogger_init_name = "init";
|
460
|
+
|
461
|
+
const ::std::string iceC_Ice_RemoteLogger_log_name = "log";
|
462
|
+
|
463
|
+
const ::std::string iceC_Ice_LoggerAdmin_attachRemoteLogger_name = "attachRemoteLogger";
|
464
|
+
|
465
|
+
const ::std::string iceC_Ice_LoggerAdmin_detachRemoteLogger_name = "detachRemoteLogger";
|
466
|
+
|
467
|
+
const ::std::string iceC_Ice_LoggerAdmin_getLog_name = "getLog";
|
468
|
+
|
469
|
+
}
|
470
|
+
|
471
|
+
namespace
|
472
|
+
{
|
473
|
+
|
474
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::RemoteLoggerAlreadyAttachedException> iceC_Ice_RemoteLoggerAlreadyAttachedException_init("::Ice::RemoteLoggerAlreadyAttachedException");
|
475
|
+
|
476
|
+
}
|
477
|
+
|
478
|
+
Ice::RemoteLoggerAlreadyAttachedException::~RemoteLoggerAlreadyAttachedException() throw()
|
479
|
+
{
|
480
|
+
}
|
481
|
+
|
482
|
+
::std::string
|
483
|
+
Ice::RemoteLoggerAlreadyAttachedException::ice_id() const
|
484
|
+
{
|
485
|
+
return "::Ice::RemoteLoggerAlreadyAttachedException";
|
486
|
+
}
|
487
|
+
|
488
|
+
Ice::RemoteLoggerAlreadyAttachedException*
|
489
|
+
Ice::RemoteLoggerAlreadyAttachedException::ice_clone() const
|
490
|
+
{
|
491
|
+
return new RemoteLoggerAlreadyAttachedException(*this);
|
492
|
+
}
|
233
493
|
|
234
494
|
void
|
235
|
-
::
|
495
|
+
Ice::RemoteLoggerAlreadyAttachedException::ice_throw() const
|
496
|
+
{
|
497
|
+
throw *this;
|
498
|
+
}
|
499
|
+
|
500
|
+
/// \cond STREAM
|
501
|
+
void
|
502
|
+
Ice::RemoteLoggerAlreadyAttachedException::_writeImpl(OutputStream* ostr) const
|
503
|
+
{
|
504
|
+
ostr->startSlice("::Ice::RemoteLoggerAlreadyAttachedException", -1, true);
|
505
|
+
StreamWriter< RemoteLoggerAlreadyAttachedException, OutputStream>::write(ostr, *this);
|
506
|
+
ostr->endSlice();
|
507
|
+
}
|
508
|
+
|
509
|
+
void
|
510
|
+
Ice::RemoteLoggerAlreadyAttachedException::_readImpl(InputStream* istr)
|
511
|
+
{
|
512
|
+
istr->startSlice();
|
513
|
+
StreamReader< RemoteLoggerAlreadyAttachedException, InputStream>::read(istr, *this);
|
514
|
+
istr->endSlice();
|
515
|
+
}
|
516
|
+
/// \endcond
|
517
|
+
|
518
|
+
/// \cond INTERNAL
|
519
|
+
ICE_API ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(RemoteLogger* p) { return p; }
|
520
|
+
|
521
|
+
void
|
522
|
+
::IceProxy::Ice::_readProxy(::Ice::InputStream* istr, ::IceInternal::ProxyHandle< RemoteLogger>& v)
|
236
523
|
{
|
237
524
|
::Ice::ObjectPrx proxy;
|
238
|
-
|
525
|
+
istr->read(proxy);
|
239
526
|
if(!proxy)
|
240
527
|
{
|
241
528
|
v = 0;
|
242
529
|
}
|
243
530
|
else
|
244
531
|
{
|
245
|
-
v = new
|
246
|
-
v->
|
532
|
+
v = new RemoteLogger;
|
533
|
+
v->_copyFrom(proxy);
|
247
534
|
}
|
248
535
|
}
|
536
|
+
/// \endcond
|
249
537
|
|
250
|
-
|
251
|
-
IceProxy::Ice::
|
538
|
+
::Ice::AsyncResultPtr
|
539
|
+
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)
|
252
540
|
{
|
253
|
-
|
254
|
-
::IceInternal::Outgoing __og(this, __Ice__LoggerAdmin__attachRemoteLogger_name, ::Ice::Normal, __ctx);
|
541
|
+
::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_RemoteLogger_init_name, del, cookie, sync);
|
255
542
|
try
|
256
543
|
{
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
}
|
264
|
-
catch(const ::Ice::LocalException& __ex)
|
265
|
-
{
|
266
|
-
__og.abort(__ex);
|
544
|
+
result->prepare(iceC_Ice_RemoteLogger_init_name, ::Ice::Normal, context);
|
545
|
+
::Ice::OutputStream* ostr = result->startWriteParams(::Ice::DefaultFormat);
|
546
|
+
ostr->write(iceP_prefix);
|
547
|
+
ostr->write(iceP_logMessages);
|
548
|
+
result->endWriteParams();
|
549
|
+
result->invoke(iceC_Ice_RemoteLogger_init_name);
|
267
550
|
}
|
268
|
-
|
551
|
+
catch(const ::Ice::Exception& ex)
|
269
552
|
{
|
270
|
-
|
271
|
-
{
|
272
|
-
__og.throwUserException();
|
273
|
-
}
|
274
|
-
catch(const ::Ice::RemoteLoggerAlreadyAttachedException&)
|
275
|
-
{
|
276
|
-
throw;
|
277
|
-
}
|
278
|
-
catch(const ::Ice::UserException& __ex)
|
279
|
-
{
|
280
|
-
::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
|
281
|
-
throw __uue;
|
282
|
-
}
|
553
|
+
result->abort(ex);
|
283
554
|
}
|
555
|
+
return result;
|
556
|
+
}
|
557
|
+
|
558
|
+
void
|
559
|
+
IceProxy::Ice::RemoteLogger::end_init(const ::Ice::AsyncResultPtr& result)
|
560
|
+
{
|
561
|
+
_end(result, iceC_Ice_RemoteLogger_init_name);
|
284
562
|
}
|
285
563
|
|
286
564
|
::Ice::AsyncResultPtr
|
287
|
-
IceProxy::Ice::
|
565
|
+
IceProxy::Ice::RemoteLogger::_iceI_begin_log(const ::Ice::LogMessage& iceP_message, const ::Ice::Context& context, const ::IceInternal::CallbackBasePtr& del, const ::Ice::LocalObjectPtr& cookie, bool sync)
|
288
566
|
{
|
289
|
-
|
290
|
-
::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __Ice__LoggerAdmin__attachRemoteLogger_name, __del, __cookie);
|
567
|
+
::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_RemoteLogger_log_name, del, cookie, sync);
|
291
568
|
try
|
292
569
|
{
|
293
|
-
|
294
|
-
::
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
__os->write(__p_messageMax);
|
299
|
-
__result->endWriteParams();
|
300
|
-
__result->invoke();
|
570
|
+
result->prepare(iceC_Ice_RemoteLogger_log_name, ::Ice::Normal, context);
|
571
|
+
::Ice::OutputStream* ostr = result->startWriteParams(::Ice::DefaultFormat);
|
572
|
+
ostr->write(iceP_message);
|
573
|
+
result->endWriteParams();
|
574
|
+
result->invoke(iceC_Ice_RemoteLogger_log_name);
|
301
575
|
}
|
302
|
-
catch(const ::Ice::Exception&
|
576
|
+
catch(const ::Ice::Exception& ex)
|
303
577
|
{
|
304
|
-
|
578
|
+
result->abort(ex);
|
305
579
|
}
|
306
|
-
return
|
580
|
+
return result;
|
307
581
|
}
|
308
582
|
|
309
|
-
|
310
|
-
|
311
|
-
::Ice::AsyncResultPtr
|
312
|
-
IceProxy::Ice::LoggerAdmin::__begin_attachRemoteLogger(const ::Ice::RemoteLoggerPrx& __p_prx, const ::Ice::LogMessageTypeSeq& __p_messageTypes, const ::Ice::StringSeq& __p_traceCategories, ::Ice::Int __p_messageMax, const ::Ice::Context* __ctx, const ::IceInternal::Function<void ()>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
|
583
|
+
void
|
584
|
+
IceProxy::Ice::RemoteLogger::end_log(const ::Ice::AsyncResultPtr& result)
|
313
585
|
{
|
314
|
-
|
315
|
-
|
316
|
-
public:
|
317
|
-
|
318
|
-
Cpp11CB(const ::std::function<void ()>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
|
319
|
-
::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
|
320
|
-
_response(responseFunc)
|
321
|
-
{
|
322
|
-
CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
|
323
|
-
}
|
586
|
+
_end(result, iceC_Ice_RemoteLogger_log_name);
|
587
|
+
}
|
324
588
|
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
__proxy->end_attachRemoteLogger(__result);
|
331
|
-
}
|
332
|
-
catch(const ::Ice::Exception& ex)
|
333
|
-
{
|
334
|
-
Cpp11FnCallbackNC::exception(__result, ex);
|
335
|
-
return;
|
336
|
-
}
|
337
|
-
if(_response != nullptr)
|
338
|
-
{
|
339
|
-
_response();
|
340
|
-
}
|
341
|
-
}
|
342
|
-
|
343
|
-
private:
|
344
|
-
|
345
|
-
::std::function<void ()> _response;
|
346
|
-
};
|
347
|
-
return begin_attachRemoteLogger(__p_prx, __p_messageTypes, __p_traceCategories, __p_messageMax, __ctx, new Cpp11CB(__response, __exception, __sent));
|
589
|
+
/// \cond INTERNAL
|
590
|
+
::IceProxy::Ice::Object*
|
591
|
+
IceProxy::Ice::RemoteLogger::_newInstance() const
|
592
|
+
{
|
593
|
+
return new RemoteLogger;
|
348
594
|
}
|
349
|
-
|
595
|
+
/// \endcond
|
350
596
|
|
351
|
-
|
352
|
-
IceProxy::Ice::
|
597
|
+
const ::std::string&
|
598
|
+
IceProxy::Ice::RemoteLogger::ice_staticId()
|
353
599
|
{
|
354
|
-
::Ice::
|
355
|
-
if(!__result->__wait())
|
356
|
-
{
|
357
|
-
try
|
358
|
-
{
|
359
|
-
__result->__throwUserException();
|
360
|
-
}
|
361
|
-
catch(const ::Ice::RemoteLoggerAlreadyAttachedException&)
|
362
|
-
{
|
363
|
-
throw;
|
364
|
-
}
|
365
|
-
catch(const ::Ice::UserException& __ex)
|
366
|
-
{
|
367
|
-
throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
|
368
|
-
}
|
369
|
-
}
|
370
|
-
__result->__readEmptyParams();
|
600
|
+
return ::Ice::RemoteLogger::ice_staticId();
|
371
601
|
}
|
372
602
|
|
373
|
-
|
374
|
-
IceProxy::Ice::
|
603
|
+
/// \cond INTERNAL
|
604
|
+
ICE_API ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(LoggerAdmin* p) { return p; }
|
605
|
+
|
606
|
+
void
|
607
|
+
::IceProxy::Ice::_readProxy(::Ice::InputStream* istr, ::IceInternal::ProxyHandle< LoggerAdmin>& v)
|
375
608
|
{
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
{
|
380
|
-
::IceInternal::BasicStream* __os = __og.startWriteParams(::Ice::DefaultFormat);
|
381
|
-
__os->write(__p_prx);
|
382
|
-
__og.endWriteParams();
|
383
|
-
}
|
384
|
-
catch(const ::Ice::LocalException& __ex)
|
609
|
+
::Ice::ObjectPrx proxy;
|
610
|
+
istr->read(proxy);
|
611
|
+
if(!proxy)
|
385
612
|
{
|
386
|
-
|
613
|
+
v = 0;
|
387
614
|
}
|
388
|
-
|
615
|
+
else
|
389
616
|
{
|
390
|
-
|
391
|
-
|
392
|
-
__og.throwUserException();
|
393
|
-
}
|
394
|
-
catch(const ::Ice::UserException& __ex)
|
395
|
-
{
|
396
|
-
::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
|
397
|
-
throw __uue;
|
398
|
-
}
|
617
|
+
v = new LoggerAdmin;
|
618
|
+
v->_copyFrom(proxy);
|
399
619
|
}
|
400
|
-
bool __ret;
|
401
|
-
::IceInternal::BasicStream* __is = __og.startReadParams();
|
402
|
-
__is->read(__ret);
|
403
|
-
__og.endReadParams();
|
404
|
-
return __ret;
|
405
620
|
}
|
621
|
+
/// \endcond
|
406
622
|
|
407
623
|
::Ice::AsyncResultPtr
|
408
|
-
IceProxy::Ice::LoggerAdmin::
|
624
|
+
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)
|
409
625
|
{
|
410
|
-
|
411
|
-
::IceInternal::OutgoingAsyncPtr
|
626
|
+
_checkTwowayOnly(iceC_Ice_LoggerAdmin_attachRemoteLogger_name, sync);
|
627
|
+
::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_LoggerAdmin_attachRemoteLogger_name, del, cookie, sync);
|
412
628
|
try
|
413
629
|
{
|
414
|
-
|
415
|
-
::
|
416
|
-
|
417
|
-
|
418
|
-
|
630
|
+
result->prepare(iceC_Ice_LoggerAdmin_attachRemoteLogger_name, ::Ice::Normal, context);
|
631
|
+
::Ice::OutputStream* ostr = result->startWriteParams(::Ice::DefaultFormat);
|
632
|
+
ostr->write(iceP_prx);
|
633
|
+
ostr->write(iceP_messageTypes);
|
634
|
+
ostr->write(iceP_traceCategories);
|
635
|
+
ostr->write(iceP_messageMax);
|
636
|
+
result->endWriteParams();
|
637
|
+
result->invoke(iceC_Ice_LoggerAdmin_attachRemoteLogger_name);
|
419
638
|
}
|
420
|
-
catch(const ::Ice::Exception&
|
639
|
+
catch(const ::Ice::Exception& ex)
|
421
640
|
{
|
422
|
-
|
641
|
+
result->abort(ex);
|
423
642
|
}
|
424
|
-
return
|
643
|
+
return result;
|
425
644
|
}
|
426
645
|
|
427
|
-
|
428
|
-
|
429
|
-
::Ice::AsyncResultPtr
|
430
|
-
IceProxy::Ice::LoggerAdmin::__begin_detachRemoteLogger(const ::Ice::RemoteLoggerPrx& __p_prx, const ::Ice::Context* __ctx, const ::IceInternal::Function<void (bool)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
|
646
|
+
void
|
647
|
+
IceProxy::Ice::LoggerAdmin::end_attachRemoteLogger(const ::Ice::AsyncResultPtr& result)
|
431
648
|
{
|
432
|
-
|
649
|
+
::Ice::AsyncResult::_check(result, this, iceC_Ice_LoggerAdmin_attachRemoteLogger_name);
|
650
|
+
if(!result->_waitForResponse())
|
433
651
|
{
|
434
|
-
|
435
|
-
|
436
|
-
Cpp11CB(const ::std::function<void (bool)>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
|
437
|
-
::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
|
438
|
-
_response(responseFunc)
|
439
|
-
{
|
440
|
-
CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
|
441
|
-
}
|
442
|
-
|
443
|
-
virtual void completed(const ::Ice::AsyncResultPtr& __result) const
|
652
|
+
try
|
444
653
|
{
|
445
|
-
|
446
|
-
bool __ret;
|
447
|
-
try
|
448
|
-
{
|
449
|
-
__ret = __proxy->end_detachRemoteLogger(__result);
|
450
|
-
}
|
451
|
-
catch(const ::Ice::Exception& ex)
|
452
|
-
{
|
453
|
-
Cpp11FnCallbackNC::exception(__result, ex);
|
454
|
-
return;
|
455
|
-
}
|
456
|
-
if(_response != nullptr)
|
457
|
-
{
|
458
|
-
_response(__ret);
|
459
|
-
}
|
654
|
+
result->_throwUserException();
|
460
655
|
}
|
461
|
-
|
462
|
-
private:
|
463
|
-
|
464
|
-
::std::function<void (bool)> _response;
|
465
|
-
};
|
466
|
-
return begin_detachRemoteLogger(__p_prx, __ctx, new Cpp11CB(__response, __exception, __sent));
|
467
|
-
}
|
468
|
-
#endif
|
469
|
-
|
470
|
-
bool
|
471
|
-
IceProxy::Ice::LoggerAdmin::end_detachRemoteLogger(const ::Ice::AsyncResultPtr& __result)
|
472
|
-
{
|
473
|
-
::Ice::AsyncResult::__check(__result, this, __Ice__LoggerAdmin__detachRemoteLogger_name);
|
474
|
-
bool __ret;
|
475
|
-
if(!__result->__wait())
|
476
|
-
{
|
477
|
-
try
|
656
|
+
catch(const ::Ice::RemoteLoggerAlreadyAttachedException&)
|
478
657
|
{
|
479
|
-
|
658
|
+
throw;
|
480
659
|
}
|
481
|
-
catch(const ::Ice::UserException&
|
660
|
+
catch(const ::Ice::UserException& ex)
|
482
661
|
{
|
483
|
-
throw ::Ice::UnknownUserException(__FILE__, __LINE__,
|
662
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
|
484
663
|
}
|
485
664
|
}
|
486
|
-
|
487
|
-
__is->read(__ret);
|
488
|
-
__result->__endReadParams();
|
489
|
-
return __ret;
|
665
|
+
result->_readEmptyParams();
|
490
666
|
}
|
491
667
|
|
492
|
-
::Ice::
|
493
|
-
IceProxy::Ice::LoggerAdmin::
|
668
|
+
::Ice::AsyncResultPtr
|
669
|
+
IceProxy::Ice::LoggerAdmin::_iceI_begin_detachRemoteLogger(const ::Ice::RemoteLoggerPrx& iceP_prx, const ::Ice::Context& context, const ::IceInternal::CallbackBasePtr& del, const ::Ice::LocalObjectPtr& cookie, bool sync)
|
494
670
|
{
|
495
|
-
|
496
|
-
::IceInternal::
|
671
|
+
_checkTwowayOnly(iceC_Ice_LoggerAdmin_detachRemoteLogger_name, sync);
|
672
|
+
::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_LoggerAdmin_detachRemoteLogger_name, del, cookie, sync);
|
497
673
|
try
|
498
674
|
{
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
675
|
+
result->prepare(iceC_Ice_LoggerAdmin_detachRemoteLogger_name, ::Ice::Normal, context);
|
676
|
+
::Ice::OutputStream* ostr = result->startWriteParams(::Ice::DefaultFormat);
|
677
|
+
ostr->write(iceP_prx);
|
678
|
+
result->endWriteParams();
|
679
|
+
result->invoke(iceC_Ice_LoggerAdmin_detachRemoteLogger_name);
|
504
680
|
}
|
505
|
-
catch(const ::Ice::
|
681
|
+
catch(const ::Ice::Exception& ex)
|
506
682
|
{
|
507
|
-
|
683
|
+
result->abort(ex);
|
508
684
|
}
|
509
|
-
|
685
|
+
return result;
|
686
|
+
}
|
687
|
+
|
688
|
+
bool
|
689
|
+
IceProxy::Ice::LoggerAdmin::end_detachRemoteLogger(const ::Ice::AsyncResultPtr& result)
|
690
|
+
{
|
691
|
+
::Ice::AsyncResult::_check(result, this, iceC_Ice_LoggerAdmin_detachRemoteLogger_name);
|
692
|
+
bool ret;
|
693
|
+
if(!result->_waitForResponse())
|
510
694
|
{
|
511
695
|
try
|
512
696
|
{
|
513
|
-
|
697
|
+
result->_throwUserException();
|
514
698
|
}
|
515
|
-
catch(const ::Ice::UserException&
|
699
|
+
catch(const ::Ice::UserException& ex)
|
516
700
|
{
|
517
|
-
::Ice::UnknownUserException
|
518
|
-
throw __uue;
|
701
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
|
519
702
|
}
|
520
703
|
}
|
521
|
-
::Ice::
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
__og.endReadParams();
|
526
|
-
return __ret;
|
704
|
+
::Ice::InputStream* istr = result->_startReadParams();
|
705
|
+
istr->read(ret);
|
706
|
+
result->_endReadParams();
|
707
|
+
return ret;
|
527
708
|
}
|
528
709
|
|
529
710
|
::Ice::AsyncResultPtr
|
530
|
-
IceProxy::Ice::LoggerAdmin::
|
711
|
+
IceProxy::Ice::LoggerAdmin::_iceI_begin_getLog(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)
|
531
712
|
{
|
532
|
-
|
533
|
-
::IceInternal::OutgoingAsyncPtr
|
713
|
+
_checkTwowayOnly(iceC_Ice_LoggerAdmin_getLog_name, sync);
|
714
|
+
::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_LoggerAdmin_getLog_name, del, cookie, sync);
|
534
715
|
try
|
535
716
|
{
|
536
|
-
|
537
|
-
::
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
717
|
+
result->prepare(iceC_Ice_LoggerAdmin_getLog_name, ::Ice::Normal, context);
|
718
|
+
::Ice::OutputStream* ostr = result->startWriteParams(::Ice::DefaultFormat);
|
719
|
+
ostr->write(iceP_messageTypes);
|
720
|
+
ostr->write(iceP_traceCategories);
|
721
|
+
ostr->write(iceP_messageMax);
|
722
|
+
result->endWriteParams();
|
723
|
+
result->invoke(iceC_Ice_LoggerAdmin_getLog_name);
|
543
724
|
}
|
544
|
-
catch(const ::Ice::Exception&
|
725
|
+
catch(const ::Ice::Exception& ex)
|
545
726
|
{
|
546
|
-
|
727
|
+
result->abort(ex);
|
547
728
|
}
|
548
|
-
return
|
729
|
+
return result;
|
549
730
|
}
|
550
731
|
|
551
|
-
|
552
|
-
|
553
|
-
::Ice::AsyncResultPtr
|
554
|
-
IceProxy::Ice::LoggerAdmin::__begin_getLog(const ::Ice::LogMessageTypeSeq& __p_messageTypes, const ::Ice::StringSeq& __p_traceCategories, ::Ice::Int __p_messageMax, const ::Ice::Context* __ctx, const ::IceInternal::Function<void (const ::Ice::LogMessageSeq&, const ::std::string&)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
|
732
|
+
::Ice::LogMessageSeq
|
733
|
+
IceProxy::Ice::LoggerAdmin::end_getLog(::std::string& iceP_prefix, const ::Ice::AsyncResultPtr& result)
|
555
734
|
{
|
556
|
-
|
735
|
+
::Ice::AsyncResult::_check(result, this, iceC_Ice_LoggerAdmin_getLog_name);
|
736
|
+
::Ice::LogMessageSeq ret;
|
737
|
+
if(!result->_waitForResponse())
|
557
738
|
{
|
558
|
-
|
559
|
-
|
560
|
-
Cpp11CB(const ::std::function<void (const ::Ice::LogMessageSeq&, const ::std::string&)>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
|
561
|
-
::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
|
562
|
-
_response(responseFunc)
|
739
|
+
try
|
563
740
|
{
|
564
|
-
|
741
|
+
result->_throwUserException();
|
565
742
|
}
|
566
|
-
|
567
|
-
virtual void completed(const ::Ice::AsyncResultPtr& __result) const
|
743
|
+
catch(const ::Ice::UserException& ex)
|
568
744
|
{
|
569
|
-
::Ice::
|
570
|
-
::std::string __p_prefix;
|
571
|
-
::Ice::LogMessageSeq __ret;
|
572
|
-
try
|
573
|
-
{
|
574
|
-
__ret = __proxy->end_getLog(__p_prefix, __result);
|
575
|
-
}
|
576
|
-
catch(const ::Ice::Exception& ex)
|
577
|
-
{
|
578
|
-
Cpp11FnCallbackNC::exception(__result, ex);
|
579
|
-
return;
|
580
|
-
}
|
581
|
-
if(_response != nullptr)
|
582
|
-
{
|
583
|
-
_response(__ret, __p_prefix);
|
584
|
-
}
|
745
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
|
585
746
|
}
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
return
|
747
|
+
}
|
748
|
+
::Ice::InputStream* istr = result->_startReadParams();
|
749
|
+
istr->read(iceP_prefix);
|
750
|
+
istr->read(ret);
|
751
|
+
result->_endReadParams();
|
752
|
+
return ret;
|
592
753
|
}
|
593
|
-
#endif
|
594
754
|
|
595
|
-
::Ice::LogMessageSeq
|
596
|
-
IceProxy::Ice::LoggerAdmin::end_getLog(::std::string& __p_prefix, const ::Ice::AsyncResultPtr& __result)
|
755
|
+
void IceProxy::Ice::LoggerAdmin::_iceI_end_getLog(::std::string& iceP_prefix, ::Ice::LogMessageSeq& ret, const ::Ice::AsyncResultPtr& result)
|
597
756
|
{
|
598
|
-
::Ice::AsyncResult::
|
599
|
-
|
600
|
-
if(!__result->__wait())
|
757
|
+
::Ice::AsyncResult::_check(result, this, iceC_Ice_LoggerAdmin_getLog_name);
|
758
|
+
if(!result->_waitForResponse())
|
601
759
|
{
|
602
760
|
try
|
603
761
|
{
|
604
|
-
|
762
|
+
result->_throwUserException();
|
605
763
|
}
|
606
|
-
catch(const ::Ice::UserException&
|
764
|
+
catch(const ::Ice::UserException& ex)
|
607
765
|
{
|
608
|
-
throw ::Ice::UnknownUserException(__FILE__, __LINE__,
|
766
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
|
609
767
|
}
|
610
768
|
}
|
611
|
-
::
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
return __ret;
|
769
|
+
::Ice::InputStream* istr = result->_startReadParams();
|
770
|
+
istr->read(iceP_prefix);
|
771
|
+
istr->read(ret);
|
772
|
+
result->_endReadParams();
|
616
773
|
}
|
617
774
|
|
775
|
+
/// \cond INTERNAL
|
776
|
+
::IceProxy::Ice::Object*
|
777
|
+
IceProxy::Ice::LoggerAdmin::_newInstance() const
|
778
|
+
{
|
779
|
+
return new LoggerAdmin;
|
780
|
+
}
|
781
|
+
/// \endcond
|
782
|
+
|
618
783
|
const ::std::string&
|
619
784
|
IceProxy::Ice::LoggerAdmin::ice_staticId()
|
620
785
|
{
|
621
786
|
return ::Ice::LoggerAdmin::ice_staticId();
|
622
787
|
}
|
623
788
|
|
624
|
-
|
625
|
-
IceProxy::Ice::LoggerAdmin::__newInstance() const
|
789
|
+
Ice::RemoteLogger::~RemoteLogger()
|
626
790
|
{
|
627
|
-
return new LoggerAdmin;
|
628
791
|
}
|
629
792
|
|
630
|
-
|
793
|
+
/// \cond INTERNAL
|
794
|
+
ICE_API ::Ice::Object* Ice::upCast(RemoteLogger* p) { return p; }
|
795
|
+
|
796
|
+
/// \endcond
|
631
797
|
|
632
798
|
namespace
|
633
799
|
{
|
634
|
-
const ::std::string
|
800
|
+
const ::std::string iceC_Ice_RemoteLogger_ids[2] =
|
635
801
|
{
|
636
802
|
"::Ice::Object",
|
637
803
|
"::Ice::RemoteLogger"
|
@@ -640,21 +806,21 @@ const ::std::string __Ice__RemoteLogger_ids[2] =
|
|
640
806
|
}
|
641
807
|
|
642
808
|
bool
|
643
|
-
Ice::RemoteLogger::ice_isA(const ::std::string&
|
809
|
+
Ice::RemoteLogger::ice_isA(const ::std::string& s, const Current&) const
|
644
810
|
{
|
645
|
-
return ::std::binary_search(
|
811
|
+
return ::std::binary_search(iceC_Ice_RemoteLogger_ids, iceC_Ice_RemoteLogger_ids + 2, s);
|
646
812
|
}
|
647
813
|
|
648
814
|
::std::vector< ::std::string>
|
649
|
-
Ice::RemoteLogger::ice_ids(const
|
815
|
+
Ice::RemoteLogger::ice_ids(const Current&) const
|
650
816
|
{
|
651
|
-
return ::std::vector< ::std::string>(&
|
817
|
+
return ::std::vector< ::std::string>(&iceC_Ice_RemoteLogger_ids[0], &iceC_Ice_RemoteLogger_ids[2]);
|
652
818
|
}
|
653
819
|
|
654
820
|
const ::std::string&
|
655
|
-
Ice::RemoteLogger::ice_id(const
|
821
|
+
Ice::RemoteLogger::ice_id(const Current&) const
|
656
822
|
{
|
657
|
-
return
|
823
|
+
return ice_staticId();
|
658
824
|
}
|
659
825
|
|
660
826
|
const ::std::string&
|
@@ -664,41 +830,45 @@ Ice::RemoteLogger::ice_staticId()
|
|
664
830
|
static const ::std::string typeId = "::Ice::RemoteLogger";
|
665
831
|
return typeId;
|
666
832
|
#else
|
667
|
-
return
|
833
|
+
return iceC_Ice_RemoteLogger_ids[1];
|
668
834
|
#endif
|
669
835
|
}
|
670
836
|
|
671
|
-
|
672
|
-
|
837
|
+
/// \cond INTERNAL
|
838
|
+
bool
|
839
|
+
Ice::RemoteLogger::_iceD_init(::IceInternal::Incoming& inS, const Current& current)
|
673
840
|
{
|
674
|
-
|
675
|
-
|
676
|
-
::std::string
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
init(
|
682
|
-
|
683
|
-
return
|
841
|
+
_iceCheckMode(::Ice::Normal, current.mode);
|
842
|
+
InputStream* istr = inS.startReadParams();
|
843
|
+
::std::string iceP_prefix;
|
844
|
+
LogMessageSeq iceP_logMessages;
|
845
|
+
istr->read(iceP_prefix);
|
846
|
+
istr->read(iceP_logMessages);
|
847
|
+
inS.endReadParams();
|
848
|
+
this->init(iceP_prefix, iceP_logMessages, current);
|
849
|
+
inS.writeEmptyParams();
|
850
|
+
return true;
|
684
851
|
}
|
852
|
+
/// \endcond
|
685
853
|
|
686
|
-
|
687
|
-
|
854
|
+
/// \cond INTERNAL
|
855
|
+
bool
|
856
|
+
Ice::RemoteLogger::_iceD_log(::IceInternal::Incoming& inS, const Current& current)
|
688
857
|
{
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
log(
|
695
|
-
|
696
|
-
return
|
858
|
+
_iceCheckMode(::Ice::Normal, current.mode);
|
859
|
+
InputStream* istr = inS.startReadParams();
|
860
|
+
LogMessage iceP_message;
|
861
|
+
istr->read(iceP_message);
|
862
|
+
inS.endReadParams();
|
863
|
+
this->log(iceP_message, current);
|
864
|
+
inS.writeEmptyParams();
|
865
|
+
return true;
|
697
866
|
}
|
867
|
+
/// \endcond
|
698
868
|
|
699
869
|
namespace
|
700
870
|
{
|
701
|
-
const ::std::string
|
871
|
+
const ::std::string iceC_Ice_RemoteLogger_all[] =
|
702
872
|
{
|
703
873
|
"ice_id",
|
704
874
|
"ice_ids",
|
@@ -710,76 +880,93 @@ const ::std::string __Ice__RemoteLogger_all[] =
|
|
710
880
|
|
711
881
|
}
|
712
882
|
|
713
|
-
|
714
|
-
|
883
|
+
/// \cond INTERNAL
|
884
|
+
bool
|
885
|
+
Ice::RemoteLogger::_iceDispatch(::IceInternal::Incoming& in, const Current& current)
|
715
886
|
{
|
716
|
-
::std::pair<
|
887
|
+
::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_RemoteLogger_all, iceC_Ice_RemoteLogger_all + 6, current.operation);
|
717
888
|
if(r.first == r.second)
|
718
889
|
{
|
719
|
-
throw
|
890
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
720
891
|
}
|
721
892
|
|
722
|
-
switch(r.first -
|
893
|
+
switch(r.first - iceC_Ice_RemoteLogger_all)
|
723
894
|
{
|
724
895
|
case 0:
|
725
896
|
{
|
726
|
-
return
|
897
|
+
return _iceD_ice_id(in, current);
|
727
898
|
}
|
728
899
|
case 1:
|
729
900
|
{
|
730
|
-
return
|
901
|
+
return _iceD_ice_ids(in, current);
|
731
902
|
}
|
732
903
|
case 2:
|
733
904
|
{
|
734
|
-
return
|
905
|
+
return _iceD_ice_isA(in, current);
|
735
906
|
}
|
736
907
|
case 3:
|
737
908
|
{
|
738
|
-
return
|
909
|
+
return _iceD_ice_ping(in, current);
|
739
910
|
}
|
740
911
|
case 4:
|
741
912
|
{
|
742
|
-
return
|
913
|
+
return _iceD_init(in, current);
|
743
914
|
}
|
744
915
|
case 5:
|
745
916
|
{
|
746
|
-
return
|
917
|
+
return _iceD_log(in, current);
|
918
|
+
}
|
919
|
+
default:
|
920
|
+
{
|
921
|
+
assert(false);
|
922
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
747
923
|
}
|
748
924
|
}
|
749
|
-
|
750
|
-
assert(false);
|
751
|
-
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
752
925
|
}
|
926
|
+
/// \endcond
|
753
927
|
|
928
|
+
/// \cond STREAM
|
754
929
|
void
|
755
|
-
Ice::RemoteLogger::
|
930
|
+
Ice::RemoteLogger::_iceWriteImpl(OutputStream* ostr) const
|
756
931
|
{
|
757
|
-
|
758
|
-
|
932
|
+
ostr->startSlice(ice_staticId(), -1, true);
|
933
|
+
StreamWriter< RemoteLogger, OutputStream>::write(ostr, *this);
|
934
|
+
ostr->endSlice();
|
759
935
|
}
|
760
936
|
|
761
937
|
void
|
762
|
-
Ice::RemoteLogger::
|
938
|
+
Ice::RemoteLogger::_iceReadImpl(InputStream* istr)
|
763
939
|
{
|
764
|
-
|
765
|
-
|
940
|
+
istr->startSlice();
|
941
|
+
StreamReader< RemoteLogger, InputStream>::read(istr, *this);
|
942
|
+
istr->endSlice();
|
766
943
|
}
|
944
|
+
/// \endcond
|
767
945
|
|
768
|
-
|
769
|
-
|
946
|
+
/// \cond INTERNAL
|
947
|
+
void
|
948
|
+
Ice::_icePatchObjectPtr(RemoteLoggerPtr& handle, const ObjectPtr& v)
|
770
949
|
{
|
771
|
-
handle =
|
950
|
+
handle = RemoteLoggerPtr::dynamicCast(v);
|
772
951
|
if(v && !handle)
|
773
952
|
{
|
774
|
-
IceInternal::Ex::throwUOE(
|
953
|
+
IceInternal::Ex::throwUOE(RemoteLogger::ice_staticId(), v);
|
775
954
|
}
|
776
955
|
}
|
956
|
+
/// \endcond
|
777
957
|
|
778
|
-
|
958
|
+
Ice::LoggerAdmin::~LoggerAdmin()
|
959
|
+
{
|
960
|
+
}
|
961
|
+
|
962
|
+
/// \cond INTERNAL
|
963
|
+
ICE_API ::Ice::Object* Ice::upCast(LoggerAdmin* p) { return p; }
|
964
|
+
|
965
|
+
/// \endcond
|
779
966
|
|
780
967
|
namespace
|
781
968
|
{
|
782
|
-
const ::std::string
|
969
|
+
const ::std::string iceC_Ice_LoggerAdmin_ids[2] =
|
783
970
|
{
|
784
971
|
"::Ice::LoggerAdmin",
|
785
972
|
"::Ice::Object"
|
@@ -788,21 +975,21 @@ const ::std::string __Ice__LoggerAdmin_ids[2] =
|
|
788
975
|
}
|
789
976
|
|
790
977
|
bool
|
791
|
-
Ice::LoggerAdmin::ice_isA(const ::std::string&
|
978
|
+
Ice::LoggerAdmin::ice_isA(const ::std::string& s, const Current&) const
|
792
979
|
{
|
793
|
-
return ::std::binary_search(
|
980
|
+
return ::std::binary_search(iceC_Ice_LoggerAdmin_ids, iceC_Ice_LoggerAdmin_ids + 2, s);
|
794
981
|
}
|
795
982
|
|
796
983
|
::std::vector< ::std::string>
|
797
|
-
Ice::LoggerAdmin::ice_ids(const
|
984
|
+
Ice::LoggerAdmin::ice_ids(const Current&) const
|
798
985
|
{
|
799
|
-
return ::std::vector< ::std::string>(&
|
986
|
+
return ::std::vector< ::std::string>(&iceC_Ice_LoggerAdmin_ids[0], &iceC_Ice_LoggerAdmin_ids[2]);
|
800
987
|
}
|
801
988
|
|
802
989
|
const ::std::string&
|
803
|
-
Ice::LoggerAdmin::ice_id(const
|
990
|
+
Ice::LoggerAdmin::ice_id(const Current&) const
|
804
991
|
{
|
805
|
-
return
|
992
|
+
return ice_staticId();
|
806
993
|
}
|
807
994
|
|
808
995
|
const ::std::string&
|
@@ -812,76 +999,74 @@ Ice::LoggerAdmin::ice_staticId()
|
|
812
999
|
static const ::std::string typeId = "::Ice::LoggerAdmin";
|
813
1000
|
return typeId;
|
814
1001
|
#else
|
815
|
-
return
|
1002
|
+
return iceC_Ice_LoggerAdmin_ids[0];
|
816
1003
|
#endif
|
817
1004
|
}
|
818
1005
|
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
::
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
::Ice::
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
__os->write(__ret);
|
878
|
-
__inS.__endWriteParams(true);
|
879
|
-
return ::Ice::DispatchOK;
|
1006
|
+
/// \cond INTERNAL
|
1007
|
+
bool
|
1008
|
+
Ice::LoggerAdmin::_iceD_attachRemoteLogger(::IceInternal::Incoming& inS, const Current& current)
|
1009
|
+
{
|
1010
|
+
_iceCheckMode(::Ice::Normal, current.mode);
|
1011
|
+
InputStream* istr = inS.startReadParams();
|
1012
|
+
RemoteLoggerPrx iceP_prx;
|
1013
|
+
LogMessageTypeSeq iceP_messageTypes;
|
1014
|
+
StringSeq iceP_traceCategories;
|
1015
|
+
Int iceP_messageMax;
|
1016
|
+
istr->read(iceP_prx);
|
1017
|
+
istr->read(iceP_messageTypes);
|
1018
|
+
istr->read(iceP_traceCategories);
|
1019
|
+
istr->read(iceP_messageMax);
|
1020
|
+
inS.endReadParams();
|
1021
|
+
this->attachRemoteLogger(iceP_prx, iceP_messageTypes, iceP_traceCategories, iceP_messageMax, current);
|
1022
|
+
inS.writeEmptyParams();
|
1023
|
+
return true;
|
1024
|
+
}
|
1025
|
+
/// \endcond
|
1026
|
+
|
1027
|
+
/// \cond INTERNAL
|
1028
|
+
bool
|
1029
|
+
Ice::LoggerAdmin::_iceD_detachRemoteLogger(::IceInternal::Incoming& inS, const Current& current)
|
1030
|
+
{
|
1031
|
+
_iceCheckMode(::Ice::Normal, current.mode);
|
1032
|
+
InputStream* istr = inS.startReadParams();
|
1033
|
+
RemoteLoggerPrx iceP_prx;
|
1034
|
+
istr->read(iceP_prx);
|
1035
|
+
inS.endReadParams();
|
1036
|
+
bool ret = this->detachRemoteLogger(iceP_prx, current);
|
1037
|
+
OutputStream* ostr = inS.startWriteParams();
|
1038
|
+
ostr->write(ret);
|
1039
|
+
inS.endWriteParams();
|
1040
|
+
return true;
|
1041
|
+
}
|
1042
|
+
/// \endcond
|
1043
|
+
|
1044
|
+
/// \cond INTERNAL
|
1045
|
+
bool
|
1046
|
+
Ice::LoggerAdmin::_iceD_getLog(::IceInternal::Incoming& inS, const Current& current)
|
1047
|
+
{
|
1048
|
+
_iceCheckMode(::Ice::Normal, current.mode);
|
1049
|
+
InputStream* istr = inS.startReadParams();
|
1050
|
+
LogMessageTypeSeq iceP_messageTypes;
|
1051
|
+
StringSeq iceP_traceCategories;
|
1052
|
+
Int iceP_messageMax;
|
1053
|
+
istr->read(iceP_messageTypes);
|
1054
|
+
istr->read(iceP_traceCategories);
|
1055
|
+
istr->read(iceP_messageMax);
|
1056
|
+
inS.endReadParams();
|
1057
|
+
::std::string iceP_prefix;
|
1058
|
+
LogMessageSeq ret = this->getLog(iceP_messageTypes, iceP_traceCategories, iceP_messageMax, iceP_prefix, current);
|
1059
|
+
OutputStream* ostr = inS.startWriteParams();
|
1060
|
+
ostr->write(iceP_prefix);
|
1061
|
+
ostr->write(ret);
|
1062
|
+
inS.endWriteParams();
|
1063
|
+
return true;
|
880
1064
|
}
|
1065
|
+
/// \endcond
|
881
1066
|
|
882
1067
|
namespace
|
883
1068
|
{
|
884
|
-
const ::std::string
|
1069
|
+
const ::std::string iceC_Ice_LoggerAdmin_all[] =
|
885
1070
|
{
|
886
1071
|
"attachRemoteLogger",
|
887
1072
|
"detachRemoteLogger",
|
@@ -894,71 +1079,87 @@ const ::std::string __Ice__LoggerAdmin_all[] =
|
|
894
1079
|
|
895
1080
|
}
|
896
1081
|
|
897
|
-
|
898
|
-
|
1082
|
+
/// \cond INTERNAL
|
1083
|
+
bool
|
1084
|
+
Ice::LoggerAdmin::_iceDispatch(::IceInternal::Incoming& in, const Current& current)
|
899
1085
|
{
|
900
|
-
::std::pair<
|
1086
|
+
::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_LoggerAdmin_all, iceC_Ice_LoggerAdmin_all + 7, current.operation);
|
901
1087
|
if(r.first == r.second)
|
902
1088
|
{
|
903
|
-
throw
|
1089
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
904
1090
|
}
|
905
1091
|
|
906
|
-
switch(r.first -
|
1092
|
+
switch(r.first - iceC_Ice_LoggerAdmin_all)
|
907
1093
|
{
|
908
1094
|
case 0:
|
909
1095
|
{
|
910
|
-
return
|
1096
|
+
return _iceD_attachRemoteLogger(in, current);
|
911
1097
|
}
|
912
1098
|
case 1:
|
913
1099
|
{
|
914
|
-
return
|
1100
|
+
return _iceD_detachRemoteLogger(in, current);
|
915
1101
|
}
|
916
1102
|
case 2:
|
917
1103
|
{
|
918
|
-
return
|
1104
|
+
return _iceD_getLog(in, current);
|
919
1105
|
}
|
920
1106
|
case 3:
|
921
1107
|
{
|
922
|
-
return
|
1108
|
+
return _iceD_ice_id(in, current);
|
923
1109
|
}
|
924
1110
|
case 4:
|
925
1111
|
{
|
926
|
-
return
|
1112
|
+
return _iceD_ice_ids(in, current);
|
927
1113
|
}
|
928
1114
|
case 5:
|
929
1115
|
{
|
930
|
-
return
|
1116
|
+
return _iceD_ice_isA(in, current);
|
931
1117
|
}
|
932
1118
|
case 6:
|
933
1119
|
{
|
934
|
-
return
|
1120
|
+
return _iceD_ice_ping(in, current);
|
1121
|
+
}
|
1122
|
+
default:
|
1123
|
+
{
|
1124
|
+
assert(false);
|
1125
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
935
1126
|
}
|
936
1127
|
}
|
937
|
-
|
938
|
-
assert(false);
|
939
|
-
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
940
1128
|
}
|
1129
|
+
/// \endcond
|
941
1130
|
|
1131
|
+
/// \cond STREAM
|
942
1132
|
void
|
943
|
-
Ice::LoggerAdmin::
|
1133
|
+
Ice::LoggerAdmin::_iceWriteImpl(OutputStream* ostr) const
|
944
1134
|
{
|
945
|
-
|
946
|
-
|
1135
|
+
ostr->startSlice(ice_staticId(), -1, true);
|
1136
|
+
StreamWriter< LoggerAdmin, OutputStream>::write(ostr, *this);
|
1137
|
+
ostr->endSlice();
|
947
1138
|
}
|
948
1139
|
|
949
1140
|
void
|
950
|
-
Ice::LoggerAdmin::
|
1141
|
+
Ice::LoggerAdmin::_iceReadImpl(InputStream* istr)
|
951
1142
|
{
|
952
|
-
|
953
|
-
|
1143
|
+
istr->startSlice();
|
1144
|
+
StreamReader< LoggerAdmin, InputStream>::read(istr, *this);
|
1145
|
+
istr->endSlice();
|
954
1146
|
}
|
1147
|
+
/// \endcond
|
955
1148
|
|
956
|
-
|
957
|
-
|
1149
|
+
/// \cond INTERNAL
|
1150
|
+
void
|
1151
|
+
Ice::_icePatchObjectPtr(LoggerAdminPtr& handle, const ObjectPtr& v)
|
958
1152
|
{
|
959
|
-
handle =
|
1153
|
+
handle = LoggerAdminPtr::dynamicCast(v);
|
960
1154
|
if(v && !handle)
|
961
1155
|
{
|
962
|
-
IceInternal::Ex::throwUOE(
|
1156
|
+
IceInternal::Ex::throwUOE(LoggerAdmin::ice_staticId(), v);
|
963
1157
|
}
|
964
1158
|
}
|
1159
|
+
/// \endcond
|
1160
|
+
|
1161
|
+
namespace Ice
|
1162
|
+
{
|
1163
|
+
}
|
1164
|
+
|
1165
|
+
#endif
|