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
|
#include <Ice/LocalObject.h>
|
11
6
|
|
@@ -26,4 +21,3 @@ Ice::LocalObject::operator<(const LocalObject& r) const
|
|
26
21
|
{
|
27
22
|
return this < &r;
|
28
23
|
}
|
29
|
-
|
@@ -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,1124 +19,1270 @@
|
|
24
19
|
#include <Ice/Locator.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 ::
|
50
|
-
|
51
|
-
const ::std::string __Ice__Locator__findAdapterById_name = "findAdapterById";
|
54
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit<::Ice::AdapterNotFoundException> iceC_Ice_AdapterNotFoundException_init("::Ice::AdapterNotFoundException");
|
52
55
|
|
53
|
-
const ::
|
56
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit<::Ice::InvalidReplicaGroupIdException> iceC_Ice_InvalidReplicaGroupIdException_init("::Ice::InvalidReplicaGroupIdException");
|
54
57
|
|
55
|
-
const ::
|
58
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit<::Ice::AdapterAlreadyActiveException> iceC_Ice_AdapterAlreadyActiveException_init("::Ice::AdapterAlreadyActiveException");
|
56
59
|
|
57
|
-
const ::
|
60
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit<::Ice::ObjectNotFoundException> iceC_Ice_ObjectNotFoundException_init("::Ice::ObjectNotFoundException");
|
58
61
|
|
59
|
-
const ::
|
62
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit<::Ice::ServerNotFoundException> iceC_Ice_ServerNotFoundException_init("::Ice::ServerNotFoundException");
|
60
63
|
|
61
|
-
const ::std::string
|
62
|
-
|
63
|
-
|
64
|
+
const ::std::string iceC_Ice_Locator_ids[2] =
|
65
|
+
{
|
66
|
+
"::Ice::Locator",
|
67
|
+
"::Ice::Object"
|
68
|
+
};
|
69
|
+
const ::std::string iceC_Ice_Locator_ops[] =
|
70
|
+
{
|
71
|
+
"findAdapterById",
|
72
|
+
"findObjectById",
|
73
|
+
"getRegistry",
|
74
|
+
"ice_id",
|
75
|
+
"ice_ids",
|
76
|
+
"ice_isA",
|
77
|
+
"ice_ping"
|
78
|
+
};
|
79
|
+
const ::std::string iceC_Ice_Locator_findObjectById_name = "findObjectById";
|
80
|
+
const ::std::string iceC_Ice_Locator_findAdapterById_name = "findAdapterById";
|
81
|
+
const ::std::string iceC_Ice_Locator_getRegistry_name = "getRegistry";
|
64
82
|
|
65
|
-
|
83
|
+
const ::std::string iceC_Ice_LocatorRegistry_ids[2] =
|
84
|
+
{
|
85
|
+
"::Ice::LocatorRegistry",
|
86
|
+
"::Ice::Object"
|
87
|
+
};
|
88
|
+
const ::std::string iceC_Ice_LocatorRegistry_ops[] =
|
66
89
|
{
|
90
|
+
"ice_id",
|
91
|
+
"ice_ids",
|
92
|
+
"ice_isA",
|
93
|
+
"ice_ping",
|
94
|
+
"setAdapterDirectProxy",
|
95
|
+
"setReplicatedAdapterDirectProxy",
|
96
|
+
"setServerProcessProxy"
|
97
|
+
};
|
98
|
+
const ::std::string iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name = "setAdapterDirectProxy";
|
99
|
+
const ::std::string iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name = "setReplicatedAdapterDirectProxy";
|
100
|
+
const ::std::string iceC_Ice_LocatorRegistry_setServerProcessProxy_name = "setServerProcessProxy";
|
67
101
|
|
68
|
-
const ::
|
102
|
+
const ::std::string iceC_Ice_LocatorFinder_ids[2] =
|
103
|
+
{
|
104
|
+
"::Ice::LocatorFinder",
|
105
|
+
"::Ice::Object"
|
106
|
+
};
|
107
|
+
const ::std::string iceC_Ice_LocatorFinder_ops[] =
|
108
|
+
{
|
109
|
+
"getLocator",
|
110
|
+
"ice_id",
|
111
|
+
"ice_ids",
|
112
|
+
"ice_isA",
|
113
|
+
"ice_ping"
|
114
|
+
};
|
115
|
+
const ::std::string iceC_Ice_LocatorFinder_getLocator_name = "getLocator";
|
69
116
|
|
70
117
|
}
|
71
118
|
|
72
|
-
Ice::AdapterNotFoundException::~AdapterNotFoundException()
|
119
|
+
Ice::AdapterNotFoundException::~AdapterNotFoundException()
|
73
120
|
{
|
74
121
|
}
|
75
122
|
|
76
|
-
::std::string
|
77
|
-
Ice::AdapterNotFoundException::
|
123
|
+
const ::std::string&
|
124
|
+
Ice::AdapterNotFoundException::ice_staticId()
|
78
125
|
{
|
79
|
-
|
126
|
+
static const ::std::string typeId = "::Ice::AdapterNotFoundException";
|
127
|
+
return typeId;
|
80
128
|
}
|
81
129
|
|
82
|
-
Ice::
|
83
|
-
Ice::AdapterNotFoundException::ice_clone() const
|
130
|
+
Ice::InvalidReplicaGroupIdException::~InvalidReplicaGroupIdException()
|
84
131
|
{
|
85
|
-
return new AdapterNotFoundException(*this);
|
86
132
|
}
|
87
133
|
|
88
|
-
|
89
|
-
Ice::
|
134
|
+
const ::std::string&
|
135
|
+
Ice::InvalidReplicaGroupIdException::ice_staticId()
|
90
136
|
{
|
91
|
-
|
137
|
+
static const ::std::string typeId = "::Ice::InvalidReplicaGroupIdException";
|
138
|
+
return typeId;
|
92
139
|
}
|
93
140
|
|
94
|
-
|
95
|
-
Ice::AdapterNotFoundException::__writeImpl(::IceInternal::BasicStream* __os) const
|
141
|
+
Ice::AdapterAlreadyActiveException::~AdapterAlreadyActiveException()
|
96
142
|
{
|
97
|
-
__os->startWriteSlice("::Ice::AdapterNotFoundException", -1, true);
|
98
|
-
__os->endWriteSlice();
|
99
143
|
}
|
100
144
|
|
101
|
-
|
102
|
-
Ice::
|
145
|
+
const ::std::string&
|
146
|
+
Ice::AdapterAlreadyActiveException::ice_staticId()
|
103
147
|
{
|
104
|
-
|
105
|
-
|
148
|
+
static const ::std::string typeId = "::Ice::AdapterAlreadyActiveException";
|
149
|
+
return typeId;
|
106
150
|
}
|
107
151
|
|
108
|
-
|
152
|
+
Ice::ObjectNotFoundException::~ObjectNotFoundException()
|
109
153
|
{
|
110
|
-
|
111
|
-
const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::InvalidReplicaGroupIdException> __Ice__InvalidReplicaGroupIdException_init("::Ice::InvalidReplicaGroupIdException");
|
112
|
-
|
113
154
|
}
|
114
155
|
|
115
|
-
|
156
|
+
const ::std::string&
|
157
|
+
Ice::ObjectNotFoundException::ice_staticId()
|
116
158
|
{
|
159
|
+
static const ::std::string typeId = "::Ice::ObjectNotFoundException";
|
160
|
+
return typeId;
|
117
161
|
}
|
118
162
|
|
119
|
-
::
|
120
|
-
Ice::InvalidReplicaGroupIdException::ice_name() const
|
163
|
+
Ice::ServerNotFoundException::~ServerNotFoundException()
|
121
164
|
{
|
122
|
-
return "Ice::InvalidReplicaGroupIdException";
|
123
165
|
}
|
124
166
|
|
125
|
-
|
126
|
-
Ice::
|
167
|
+
const ::std::string&
|
168
|
+
Ice::ServerNotFoundException::ice_staticId()
|
127
169
|
{
|
128
|
-
|
170
|
+
static const ::std::string typeId = "::Ice::ServerNotFoundException";
|
171
|
+
return typeId;
|
129
172
|
}
|
130
173
|
|
131
|
-
|
132
|
-
Ice::
|
174
|
+
bool
|
175
|
+
Ice::Locator::ice_isA(::std::string s, const Current&) const
|
133
176
|
{
|
134
|
-
|
177
|
+
return ::std::binary_search(iceC_Ice_Locator_ids, iceC_Ice_Locator_ids + 2, s);
|
135
178
|
}
|
136
179
|
|
137
|
-
|
138
|
-
Ice::
|
180
|
+
::std::vector<::std::string>
|
181
|
+
Ice::Locator::ice_ids(const Current&) const
|
139
182
|
{
|
140
|
-
|
141
|
-
__os->endWriteSlice();
|
183
|
+
return ::std::vector<::std::string>(&iceC_Ice_Locator_ids[0], &iceC_Ice_Locator_ids[2]);
|
142
184
|
}
|
143
185
|
|
144
|
-
|
145
|
-
Ice::
|
186
|
+
::std::string
|
187
|
+
Ice::Locator::ice_id(const Current&) const
|
146
188
|
{
|
147
|
-
|
148
|
-
__is->endReadSlice();
|
189
|
+
return ice_staticId();
|
149
190
|
}
|
150
191
|
|
151
|
-
|
192
|
+
const ::std::string&
|
193
|
+
Ice::Locator::ice_staticId()
|
152
194
|
{
|
153
|
-
|
154
|
-
|
155
|
-
|
195
|
+
static const ::std::string typeId = "::Ice::Locator";
|
196
|
+
return typeId;
|
156
197
|
}
|
157
198
|
|
158
|
-
|
159
|
-
|
199
|
+
/// \cond INTERNAL
|
200
|
+
bool
|
201
|
+
Ice::Locator::_iceD_findObjectById(::IceInternal::Incoming& inS, const Current& current) const
|
202
|
+
{
|
203
|
+
_iceCheckMode(::Ice::OperationMode::Idempotent, current.mode);
|
204
|
+
auto istr = inS.startReadParams();
|
205
|
+
Identity iceP_id;
|
206
|
+
istr->readAll(iceP_id);
|
207
|
+
inS.endReadParams();
|
208
|
+
auto inA = ::IceInternal::IncomingAsync::create(inS);
|
209
|
+
auto responseCB = [inA](const ::std::shared_ptr<ObjectPrx>& ret)
|
210
|
+
{
|
211
|
+
auto ostr = inA->startWriteParams();
|
212
|
+
ostr->writeAll(ret);
|
213
|
+
inA->endWriteParams();
|
214
|
+
inA->completed();
|
215
|
+
};
|
216
|
+
this->findObjectByIdAsync(::std::move(iceP_id), responseCB, inA->exception(), current);
|
217
|
+
return false;
|
160
218
|
}
|
219
|
+
/// \endcond
|
161
220
|
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
221
|
+
/// \cond INTERNAL
|
222
|
+
bool
|
223
|
+
Ice::Locator::_iceD_findAdapterById(::IceInternal::Incoming& inS, const Current& current) const
|
224
|
+
{
|
225
|
+
_iceCheckMode(::Ice::OperationMode::Idempotent, current.mode);
|
226
|
+
auto istr = inS.startReadParams();
|
227
|
+
::std::string iceP_id;
|
228
|
+
istr->readAll(iceP_id);
|
229
|
+
inS.endReadParams();
|
230
|
+
auto inA = ::IceInternal::IncomingAsync::create(inS);
|
231
|
+
auto responseCB = [inA](const ::std::shared_ptr<ObjectPrx>& ret)
|
232
|
+
{
|
233
|
+
auto ostr = inA->startWriteParams();
|
234
|
+
ostr->writeAll(ret);
|
235
|
+
inA->endWriteParams();
|
236
|
+
inA->completed();
|
237
|
+
};
|
238
|
+
this->findAdapterByIdAsync(::std::move(iceP_id), responseCB, inA->exception(), current);
|
239
|
+
return false;
|
166
240
|
}
|
241
|
+
/// \endcond
|
167
242
|
|
168
|
-
|
169
|
-
|
243
|
+
/// \cond INTERNAL
|
244
|
+
bool
|
245
|
+
Ice::Locator::_iceD_getRegistry(::IceInternal::Incoming& inS, const Current& current) const
|
170
246
|
{
|
171
|
-
|
247
|
+
_iceCheckMode(::Ice::OperationMode::Idempotent, current.mode);
|
248
|
+
inS.readEmptyParams();
|
249
|
+
::std::shared_ptr<LocatorRegistryPrx> ret = this->getRegistry(current);
|
250
|
+
auto ostr = inS.startWriteParams();
|
251
|
+
ostr->writeAll(ret);
|
252
|
+
inS.endWriteParams();
|
253
|
+
return true;
|
172
254
|
}
|
255
|
+
/// \endcond
|
173
256
|
|
174
|
-
|
175
|
-
|
257
|
+
/// \cond INTERNAL
|
258
|
+
bool
|
259
|
+
Ice::Locator::_iceDispatch(::IceInternal::Incoming& in, const Current& current)
|
176
260
|
{
|
177
|
-
|
261
|
+
::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_Locator_ops, iceC_Ice_Locator_ops + 7, current.operation);
|
262
|
+
if(r.first == r.second)
|
263
|
+
{
|
264
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
265
|
+
}
|
266
|
+
|
267
|
+
switch(r.first - iceC_Ice_Locator_ops)
|
268
|
+
{
|
269
|
+
case 0:
|
270
|
+
{
|
271
|
+
return _iceD_findAdapterById(in, current);
|
272
|
+
}
|
273
|
+
case 1:
|
274
|
+
{
|
275
|
+
return _iceD_findObjectById(in, current);
|
276
|
+
}
|
277
|
+
case 2:
|
278
|
+
{
|
279
|
+
return _iceD_getRegistry(in, current);
|
280
|
+
}
|
281
|
+
case 3:
|
282
|
+
{
|
283
|
+
return _iceD_ice_id(in, current);
|
284
|
+
}
|
285
|
+
case 4:
|
286
|
+
{
|
287
|
+
return _iceD_ice_ids(in, current);
|
288
|
+
}
|
289
|
+
case 5:
|
290
|
+
{
|
291
|
+
return _iceD_ice_isA(in, current);
|
292
|
+
}
|
293
|
+
case 6:
|
294
|
+
{
|
295
|
+
return _iceD_ice_ping(in, current);
|
296
|
+
}
|
297
|
+
default:
|
298
|
+
{
|
299
|
+
assert(false);
|
300
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
301
|
+
}
|
302
|
+
}
|
178
303
|
}
|
304
|
+
/// \endcond
|
179
305
|
|
180
|
-
|
181
|
-
Ice::
|
306
|
+
bool
|
307
|
+
Ice::LocatorRegistry::ice_isA(::std::string s, const Current&) const
|
182
308
|
{
|
183
|
-
|
184
|
-
__os->endWriteSlice();
|
309
|
+
return ::std::binary_search(iceC_Ice_LocatorRegistry_ids, iceC_Ice_LocatorRegistry_ids + 2, s);
|
185
310
|
}
|
186
311
|
|
187
|
-
|
188
|
-
Ice::
|
312
|
+
::std::vector<::std::string>
|
313
|
+
Ice::LocatorRegistry::ice_ids(const Current&) const
|
189
314
|
{
|
190
|
-
|
191
|
-
__is->endReadSlice();
|
315
|
+
return ::std::vector<::std::string>(&iceC_Ice_LocatorRegistry_ids[0], &iceC_Ice_LocatorRegistry_ids[2]);
|
192
316
|
}
|
193
317
|
|
194
|
-
|
318
|
+
::std::string
|
319
|
+
Ice::LocatorRegistry::ice_id(const Current&) const
|
195
320
|
{
|
196
|
-
|
197
|
-
const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::ObjectNotFoundException> __Ice__ObjectNotFoundException_init("::Ice::ObjectNotFoundException");
|
198
|
-
|
321
|
+
return ice_staticId();
|
199
322
|
}
|
200
323
|
|
201
|
-
|
324
|
+
const ::std::string&
|
325
|
+
Ice::LocatorRegistry::ice_staticId()
|
202
326
|
{
|
327
|
+
static const ::std::string typeId = "::Ice::LocatorRegistry";
|
328
|
+
return typeId;
|
203
329
|
}
|
204
330
|
|
205
|
-
|
206
|
-
|
331
|
+
/// \cond INTERNAL
|
332
|
+
bool
|
333
|
+
Ice::LocatorRegistry::_iceD_setAdapterDirectProxy(::IceInternal::Incoming& inS, const Current& current)
|
207
334
|
{
|
208
|
-
|
335
|
+
_iceCheckMode(::Ice::OperationMode::Idempotent, current.mode);
|
336
|
+
auto istr = inS.startReadParams();
|
337
|
+
::std::string iceP_id;
|
338
|
+
::std::shared_ptr<ObjectPrx> iceP_proxy;
|
339
|
+
istr->readAll(iceP_id, iceP_proxy);
|
340
|
+
inS.endReadParams();
|
341
|
+
auto inA = ::IceInternal::IncomingAsync::create(inS);
|
342
|
+
this->setAdapterDirectProxyAsync(::std::move(iceP_id), ::std::move(iceP_proxy), inA->response(), inA->exception(), current);
|
343
|
+
return false;
|
209
344
|
}
|
345
|
+
/// \endcond
|
210
346
|
|
211
|
-
|
212
|
-
|
347
|
+
/// \cond INTERNAL
|
348
|
+
bool
|
349
|
+
Ice::LocatorRegistry::_iceD_setReplicatedAdapterDirectProxy(::IceInternal::Incoming& inS, const Current& current)
|
350
|
+
{
|
351
|
+
_iceCheckMode(::Ice::OperationMode::Idempotent, current.mode);
|
352
|
+
auto istr = inS.startReadParams();
|
353
|
+
::std::string iceP_adapterId;
|
354
|
+
::std::string iceP_replicaGroupId;
|
355
|
+
::std::shared_ptr<ObjectPrx> iceP_p;
|
356
|
+
istr->readAll(iceP_adapterId, iceP_replicaGroupId, iceP_p);
|
357
|
+
inS.endReadParams();
|
358
|
+
auto inA = ::IceInternal::IncomingAsync::create(inS);
|
359
|
+
this->setReplicatedAdapterDirectProxyAsync(::std::move(iceP_adapterId), ::std::move(iceP_replicaGroupId), ::std::move(iceP_p), inA->response(), inA->exception(), current);
|
360
|
+
return false;
|
361
|
+
}
|
362
|
+
/// \endcond
|
363
|
+
|
364
|
+
/// \cond INTERNAL
|
365
|
+
bool
|
366
|
+
Ice::LocatorRegistry::_iceD_setServerProcessProxy(::IceInternal::Incoming& inS, const Current& current)
|
213
367
|
{
|
214
|
-
|
368
|
+
_iceCheckMode(::Ice::OperationMode::Idempotent, current.mode);
|
369
|
+
auto istr = inS.startReadParams();
|
370
|
+
::std::string iceP_id;
|
371
|
+
::std::shared_ptr<ProcessPrx> iceP_proxy;
|
372
|
+
istr->readAll(iceP_id, iceP_proxy);
|
373
|
+
inS.endReadParams();
|
374
|
+
auto inA = ::IceInternal::IncomingAsync::create(inS);
|
375
|
+
this->setServerProcessProxyAsync(::std::move(iceP_id), ::std::move(iceP_proxy), inA->response(), inA->exception(), current);
|
376
|
+
return false;
|
215
377
|
}
|
378
|
+
/// \endcond
|
216
379
|
|
217
|
-
|
218
|
-
|
380
|
+
/// \cond INTERNAL
|
381
|
+
bool
|
382
|
+
Ice::LocatorRegistry::_iceDispatch(::IceInternal::Incoming& in, const Current& current)
|
219
383
|
{
|
220
|
-
|
384
|
+
::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_LocatorRegistry_ops, iceC_Ice_LocatorRegistry_ops + 7, current.operation);
|
385
|
+
if(r.first == r.second)
|
386
|
+
{
|
387
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
388
|
+
}
|
389
|
+
|
390
|
+
switch(r.first - iceC_Ice_LocatorRegistry_ops)
|
391
|
+
{
|
392
|
+
case 0:
|
393
|
+
{
|
394
|
+
return _iceD_ice_id(in, current);
|
395
|
+
}
|
396
|
+
case 1:
|
397
|
+
{
|
398
|
+
return _iceD_ice_ids(in, current);
|
399
|
+
}
|
400
|
+
case 2:
|
401
|
+
{
|
402
|
+
return _iceD_ice_isA(in, current);
|
403
|
+
}
|
404
|
+
case 3:
|
405
|
+
{
|
406
|
+
return _iceD_ice_ping(in, current);
|
407
|
+
}
|
408
|
+
case 4:
|
409
|
+
{
|
410
|
+
return _iceD_setAdapterDirectProxy(in, current);
|
411
|
+
}
|
412
|
+
case 5:
|
413
|
+
{
|
414
|
+
return _iceD_setReplicatedAdapterDirectProxy(in, current);
|
415
|
+
}
|
416
|
+
case 6:
|
417
|
+
{
|
418
|
+
return _iceD_setServerProcessProxy(in, current);
|
419
|
+
}
|
420
|
+
default:
|
421
|
+
{
|
422
|
+
assert(false);
|
423
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
424
|
+
}
|
425
|
+
}
|
221
426
|
}
|
427
|
+
/// \endcond
|
222
428
|
|
223
|
-
|
224
|
-
Ice::
|
429
|
+
bool
|
430
|
+
Ice::LocatorFinder::ice_isA(::std::string s, const Current&) const
|
225
431
|
{
|
226
|
-
|
227
|
-
__os->endWriteSlice();
|
432
|
+
return ::std::binary_search(iceC_Ice_LocatorFinder_ids, iceC_Ice_LocatorFinder_ids + 2, s);
|
228
433
|
}
|
229
434
|
|
230
|
-
|
231
|
-
Ice::
|
435
|
+
::std::vector<::std::string>
|
436
|
+
Ice::LocatorFinder::ice_ids(const Current&) const
|
232
437
|
{
|
233
|
-
|
234
|
-
__is->endReadSlice();
|
438
|
+
return ::std::vector<::std::string>(&iceC_Ice_LocatorFinder_ids[0], &iceC_Ice_LocatorFinder_ids[2]);
|
235
439
|
}
|
236
440
|
|
237
|
-
|
441
|
+
::std::string
|
442
|
+
Ice::LocatorFinder::ice_id(const Current&) const
|
238
443
|
{
|
239
|
-
|
240
|
-
const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::ServerNotFoundException> __Ice__ServerNotFoundException_init("::Ice::ServerNotFoundException");
|
241
|
-
|
444
|
+
return ice_staticId();
|
242
445
|
}
|
243
446
|
|
244
|
-
|
447
|
+
const ::std::string&
|
448
|
+
Ice::LocatorFinder::ice_staticId()
|
245
449
|
{
|
450
|
+
static const ::std::string typeId = "::Ice::LocatorFinder";
|
451
|
+
return typeId;
|
246
452
|
}
|
247
453
|
|
248
|
-
|
249
|
-
|
454
|
+
/// \cond INTERNAL
|
455
|
+
bool
|
456
|
+
Ice::LocatorFinder::_iceD_getLocator(::IceInternal::Incoming& inS, const Current& current)
|
250
457
|
{
|
251
|
-
|
458
|
+
_iceCheckMode(::Ice::OperationMode::Normal, current.mode);
|
459
|
+
inS.readEmptyParams();
|
460
|
+
::std::shared_ptr<LocatorPrx> ret = this->getLocator(current);
|
461
|
+
auto ostr = inS.startWriteParams();
|
462
|
+
ostr->writeAll(ret);
|
463
|
+
inS.endWriteParams();
|
464
|
+
return true;
|
252
465
|
}
|
466
|
+
/// \endcond
|
253
467
|
|
254
|
-
|
255
|
-
|
468
|
+
/// \cond INTERNAL
|
469
|
+
bool
|
470
|
+
Ice::LocatorFinder::_iceDispatch(::IceInternal::Incoming& in, const Current& current)
|
256
471
|
{
|
257
|
-
|
472
|
+
::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_LocatorFinder_ops, iceC_Ice_LocatorFinder_ops + 5, current.operation);
|
473
|
+
if(r.first == r.second)
|
474
|
+
{
|
475
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
476
|
+
}
|
477
|
+
|
478
|
+
switch(r.first - iceC_Ice_LocatorFinder_ops)
|
479
|
+
{
|
480
|
+
case 0:
|
481
|
+
{
|
482
|
+
return _iceD_getLocator(in, current);
|
483
|
+
}
|
484
|
+
case 1:
|
485
|
+
{
|
486
|
+
return _iceD_ice_id(in, current);
|
487
|
+
}
|
488
|
+
case 2:
|
489
|
+
{
|
490
|
+
return _iceD_ice_ids(in, current);
|
491
|
+
}
|
492
|
+
case 3:
|
493
|
+
{
|
494
|
+
return _iceD_ice_isA(in, current);
|
495
|
+
}
|
496
|
+
case 4:
|
497
|
+
{
|
498
|
+
return _iceD_ice_ping(in, current);
|
499
|
+
}
|
500
|
+
default:
|
501
|
+
{
|
502
|
+
assert(false);
|
503
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
504
|
+
}
|
505
|
+
}
|
258
506
|
}
|
507
|
+
/// \endcond
|
259
508
|
|
509
|
+
/// \cond INTERNAL
|
260
510
|
void
|
261
|
-
Ice::
|
511
|
+
Ice::LocatorPrx::_iceI_findObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>& outAsync, const Identity& iceP_id, const Context& context)
|
262
512
|
{
|
263
|
-
|
513
|
+
_checkTwowayOnly(iceC_Ice_Locator_findObjectById_name);
|
514
|
+
outAsync->invoke(iceC_Ice_Locator_findObjectById_name, ::Ice::OperationMode::Nonmutating, ::Ice::FormatType::DefaultFormat, context,
|
515
|
+
[&](OutputStream* ostr)
|
516
|
+
{
|
517
|
+
ostr->writeAll(iceP_id);
|
518
|
+
},
|
519
|
+
[](const UserException& ex)
|
520
|
+
{
|
521
|
+
try
|
522
|
+
{
|
523
|
+
ex.ice_throw();
|
524
|
+
}
|
525
|
+
catch(const ObjectNotFoundException&)
|
526
|
+
{
|
527
|
+
throw;
|
528
|
+
}
|
529
|
+
catch(const UserException&)
|
530
|
+
{
|
531
|
+
}
|
532
|
+
});
|
264
533
|
}
|
534
|
+
/// \endcond
|
265
535
|
|
536
|
+
/// \cond INTERNAL
|
266
537
|
void
|
267
|
-
Ice::
|
538
|
+
Ice::LocatorPrx::_iceI_findAdapterById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>& outAsync, const ::std::string& iceP_id, const Context& context)
|
268
539
|
{
|
269
|
-
|
270
|
-
|
540
|
+
_checkTwowayOnly(iceC_Ice_Locator_findAdapterById_name);
|
541
|
+
outAsync->invoke(iceC_Ice_Locator_findAdapterById_name, ::Ice::OperationMode::Nonmutating, ::Ice::FormatType::DefaultFormat, context,
|
542
|
+
[&](OutputStream* ostr)
|
543
|
+
{
|
544
|
+
ostr->writeAll(iceP_id);
|
545
|
+
},
|
546
|
+
[](const UserException& ex)
|
547
|
+
{
|
548
|
+
try
|
549
|
+
{
|
550
|
+
ex.ice_throw();
|
551
|
+
}
|
552
|
+
catch(const AdapterNotFoundException&)
|
553
|
+
{
|
554
|
+
throw;
|
555
|
+
}
|
556
|
+
catch(const UserException&)
|
557
|
+
{
|
558
|
+
}
|
559
|
+
});
|
271
560
|
}
|
561
|
+
/// \endcond
|
272
562
|
|
563
|
+
/// \cond INTERNAL
|
273
564
|
void
|
274
|
-
Ice::
|
565
|
+
Ice::LocatorPrx::_iceI_getRegistry(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::LocatorRegistryPrx>>>& outAsync, const Context& context)
|
275
566
|
{
|
276
|
-
|
277
|
-
|
567
|
+
_checkTwowayOnly(iceC_Ice_Locator_getRegistry_name);
|
568
|
+
outAsync->invoke(iceC_Ice_Locator_getRegistry_name, ::Ice::OperationMode::Nonmutating, ::Ice::FormatType::DefaultFormat, context,
|
569
|
+
nullptr,
|
570
|
+
nullptr);
|
278
571
|
}
|
572
|
+
/// \endcond
|
279
573
|
|
280
|
-
|
574
|
+
/// \cond INTERNAL
|
575
|
+
::std::shared_ptr<::Ice::ObjectPrx>
|
576
|
+
Ice::LocatorPrx::_newInstance() const
|
281
577
|
{
|
578
|
+
return ::IceInternal::createProxy<LocatorPrx>();
|
282
579
|
}
|
580
|
+
/// \endcond
|
283
581
|
|
284
|
-
|
285
|
-
|
582
|
+
const ::std::string&
|
583
|
+
Ice::LocatorPrx::ice_staticId()
|
286
584
|
{
|
585
|
+
return Locator::ice_staticId();
|
287
586
|
}
|
288
587
|
|
588
|
+
/// \cond INTERNAL
|
289
589
|
void
|
290
|
-
|
590
|
+
Ice::LocatorRegistryPrx::_iceI_setAdapterDirectProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>& outAsync, const ::std::string& iceP_id, const ::std::shared_ptr<ObjectPrx>& iceP_proxy, const Context& context)
|
291
591
|
{
|
292
|
-
|
293
|
-
|
294
|
-
|
592
|
+
_checkTwowayOnly(iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name);
|
593
|
+
outAsync->invoke(iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name, ::Ice::OperationMode::Idempotent, ::Ice::FormatType::DefaultFormat, context,
|
594
|
+
[&](OutputStream* ostr)
|
295
595
|
{
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
}
|
300
|
-
catch(const ::Ice::Exception& __ex)
|
596
|
+
ostr->writeAll(iceP_id, iceP_proxy);
|
597
|
+
},
|
598
|
+
[](const UserException& ex)
|
301
599
|
{
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
600
|
+
try
|
601
|
+
{
|
602
|
+
ex.ice_throw();
|
603
|
+
}
|
604
|
+
catch(const AdapterAlreadyActiveException&)
|
605
|
+
{
|
606
|
+
throw;
|
607
|
+
}
|
608
|
+
catch(const AdapterNotFoundException&)
|
609
|
+
{
|
610
|
+
throw;
|
611
|
+
}
|
612
|
+
catch(const UserException&)
|
613
|
+
{
|
614
|
+
}
|
615
|
+
});
|
616
|
+
}
|
617
|
+
/// \endcond
|
618
|
+
|
619
|
+
/// \cond INTERNAL
|
309
620
|
void
|
310
|
-
|
621
|
+
Ice::LocatorRegistryPrx::_iceI_setReplicatedAdapterDirectProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>& outAsync, const ::std::string& iceP_adapterId, const ::std::string& iceP_replicaGroupId, const ::std::shared_ptr<ObjectPrx>& iceP_p, const Context& context)
|
311
622
|
{
|
312
|
-
|
313
|
-
|
314
|
-
|
623
|
+
_checkTwowayOnly(iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name);
|
624
|
+
outAsync->invoke(iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name, ::Ice::OperationMode::Idempotent, ::Ice::FormatType::DefaultFormat, context,
|
625
|
+
[&](OutputStream* ostr)
|
315
626
|
{
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
627
|
+
ostr->writeAll(iceP_adapterId, iceP_replicaGroupId, iceP_p);
|
628
|
+
},
|
629
|
+
[](const UserException& ex)
|
630
|
+
{
|
631
|
+
try
|
632
|
+
{
|
633
|
+
ex.ice_throw();
|
634
|
+
}
|
635
|
+
catch(const AdapterAlreadyActiveException&)
|
636
|
+
{
|
637
|
+
throw;
|
638
|
+
}
|
639
|
+
catch(const AdapterNotFoundException&)
|
640
|
+
{
|
641
|
+
throw;
|
642
|
+
}
|
643
|
+
catch(const InvalidReplicaGroupIdException&)
|
644
|
+
{
|
645
|
+
throw;
|
646
|
+
}
|
647
|
+
catch(const UserException&)
|
648
|
+
{
|
649
|
+
}
|
650
|
+
});
|
324
651
|
}
|
652
|
+
/// \endcond
|
325
653
|
|
326
|
-
|
327
|
-
|
654
|
+
/// \cond INTERNAL
|
655
|
+
void
|
656
|
+
Ice::LocatorRegistryPrx::_iceI_setServerProcessProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>& outAsync, const ::std::string& iceP_id, const ::std::shared_ptr<ProcessPrx>& iceP_proxy, const Context& context)
|
328
657
|
{
|
658
|
+
_checkTwowayOnly(iceC_Ice_LocatorRegistry_setServerProcessProxy_name);
|
659
|
+
outAsync->invoke(iceC_Ice_LocatorRegistry_setServerProcessProxy_name, ::Ice::OperationMode::Idempotent, ::Ice::FormatType::DefaultFormat, context,
|
660
|
+
[&](OutputStream* ostr)
|
661
|
+
{
|
662
|
+
ostr->writeAll(iceP_id, iceP_proxy);
|
663
|
+
},
|
664
|
+
[](const UserException& ex)
|
665
|
+
{
|
666
|
+
try
|
667
|
+
{
|
668
|
+
ex.ice_throw();
|
669
|
+
}
|
670
|
+
catch(const ServerNotFoundException&)
|
671
|
+
{
|
672
|
+
throw;
|
673
|
+
}
|
674
|
+
catch(const UserException&)
|
675
|
+
{
|
676
|
+
}
|
677
|
+
});
|
329
678
|
}
|
679
|
+
/// \endcond
|
330
680
|
|
681
|
+
/// \cond INTERNAL
|
682
|
+
::std::shared_ptr<::Ice::ObjectPrx>
|
683
|
+
Ice::LocatorRegistryPrx::_newInstance() const
|
684
|
+
{
|
685
|
+
return ::IceInternal::createProxy<LocatorRegistryPrx>();
|
686
|
+
}
|
687
|
+
/// \endcond
|
688
|
+
|
689
|
+
const ::std::string&
|
690
|
+
Ice::LocatorRegistryPrx::ice_staticId()
|
691
|
+
{
|
692
|
+
return LocatorRegistry::ice_staticId();
|
693
|
+
}
|
694
|
+
|
695
|
+
/// \cond INTERNAL
|
331
696
|
void
|
332
|
-
|
697
|
+
Ice::LocatorFinderPrx::_iceI_getLocator(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::LocatorPrx>>>& outAsync, const Context& context)
|
333
698
|
{
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
699
|
+
_checkTwowayOnly(iceC_Ice_LocatorFinder_getLocator_name);
|
700
|
+
outAsync->invoke(iceC_Ice_LocatorFinder_getLocator_name, ::Ice::OperationMode::Normal, ::Ice::FormatType::DefaultFormat, context,
|
701
|
+
nullptr,
|
702
|
+
nullptr);
|
703
|
+
}
|
704
|
+
/// \endcond
|
705
|
+
|
706
|
+
/// \cond INTERNAL
|
707
|
+
::std::shared_ptr<::Ice::ObjectPrx>
|
708
|
+
Ice::LocatorFinderPrx::_newInstance() const
|
709
|
+
{
|
710
|
+
return ::IceInternal::createProxy<LocatorFinderPrx>();
|
711
|
+
}
|
712
|
+
/// \endcond
|
713
|
+
|
714
|
+
const ::std::string&
|
715
|
+
Ice::LocatorFinderPrx::ice_staticId()
|
716
|
+
{
|
717
|
+
return LocatorFinder::ice_staticId();
|
718
|
+
}
|
719
|
+
|
720
|
+
#else // C++98 mapping
|
721
|
+
|
722
|
+
namespace
|
723
|
+
{
|
724
|
+
|
725
|
+
const ::std::string iceC_Ice_Locator_findObjectById_name = "findObjectById";
|
726
|
+
|
727
|
+
const ::std::string iceC_Ice_Locator_findAdapterById_name = "findAdapterById";
|
728
|
+
|
729
|
+
const ::std::string iceC_Ice_Locator_getRegistry_name = "getRegistry";
|
730
|
+
|
731
|
+
const ::std::string iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name = "setAdapterDirectProxy";
|
732
|
+
|
733
|
+
const ::std::string iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name = "setReplicatedAdapterDirectProxy";
|
734
|
+
|
735
|
+
const ::std::string iceC_Ice_LocatorRegistry_setServerProcessProxy_name = "setServerProcessProxy";
|
736
|
+
|
737
|
+
const ::std::string iceC_Ice_LocatorFinder_getLocator_name = "getLocator";
|
738
|
+
|
739
|
+
}
|
740
|
+
|
741
|
+
namespace
|
742
|
+
{
|
743
|
+
|
744
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::AdapterNotFoundException> iceC_Ice_AdapterNotFoundException_init("::Ice::AdapterNotFoundException");
|
745
|
+
|
746
|
+
}
|
747
|
+
|
748
|
+
Ice::AdapterNotFoundException::~AdapterNotFoundException() throw()
|
749
|
+
{
|
750
|
+
}
|
751
|
+
|
752
|
+
::std::string
|
753
|
+
Ice::AdapterNotFoundException::ice_id() const
|
754
|
+
{
|
755
|
+
return "::Ice::AdapterNotFoundException";
|
756
|
+
}
|
757
|
+
|
758
|
+
Ice::AdapterNotFoundException*
|
759
|
+
Ice::AdapterNotFoundException::ice_clone() const
|
760
|
+
{
|
761
|
+
return new AdapterNotFoundException(*this);
|
349
762
|
}
|
350
763
|
|
351
764
|
void
|
352
|
-
|
765
|
+
Ice::AdapterNotFoundException::ice_throw() const
|
353
766
|
{
|
354
|
-
|
355
|
-
{
|
356
|
-
if(__validateResponse(false))
|
357
|
-
{
|
358
|
-
__writeUserException(*__ex, ::Ice::DefaultFormat);
|
359
|
-
__response();
|
360
|
-
}
|
361
|
-
}
|
362
|
-
else
|
363
|
-
{
|
364
|
-
::IceInternal::IncomingAsync::ice_exception(ex);
|
365
|
-
}
|
767
|
+
throw *this;
|
366
768
|
}
|
367
769
|
|
368
|
-
|
369
|
-
|
770
|
+
/// \cond STREAM
|
771
|
+
void
|
772
|
+
Ice::AdapterNotFoundException::_writeImpl(OutputStream* ostr) const
|
370
773
|
{
|
774
|
+
ostr->startSlice("::Ice::AdapterNotFoundException", -1, true);
|
775
|
+
StreamWriter< AdapterNotFoundException, OutputStream>::write(ostr, *this);
|
776
|
+
ostr->endSlice();
|
371
777
|
}
|
372
778
|
|
373
779
|
void
|
374
|
-
|
780
|
+
Ice::AdapterNotFoundException::_readImpl(InputStream* istr)
|
375
781
|
{
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
782
|
+
istr->startSlice();
|
783
|
+
StreamReader< AdapterNotFoundException, InputStream>::read(istr, *this);
|
784
|
+
istr->endSlice();
|
785
|
+
}
|
786
|
+
/// \endcond
|
787
|
+
|
788
|
+
namespace
|
789
|
+
{
|
790
|
+
|
791
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::InvalidReplicaGroupIdException> iceC_Ice_InvalidReplicaGroupIdException_init("::Ice::InvalidReplicaGroupIdException");
|
792
|
+
|
793
|
+
}
|
794
|
+
|
795
|
+
Ice::InvalidReplicaGroupIdException::~InvalidReplicaGroupIdException() throw()
|
796
|
+
{
|
797
|
+
}
|
798
|
+
|
799
|
+
::std::string
|
800
|
+
Ice::InvalidReplicaGroupIdException::ice_id() const
|
801
|
+
{
|
802
|
+
return "::Ice::InvalidReplicaGroupIdException";
|
803
|
+
}
|
804
|
+
|
805
|
+
Ice::InvalidReplicaGroupIdException*
|
806
|
+
Ice::InvalidReplicaGroupIdException::ice_clone() const
|
807
|
+
{
|
808
|
+
return new InvalidReplicaGroupIdException(*this);
|
381
809
|
}
|
382
810
|
|
383
811
|
void
|
384
|
-
|
812
|
+
Ice::InvalidReplicaGroupIdException::ice_throw() const
|
385
813
|
{
|
386
|
-
|
387
|
-
{
|
388
|
-
if(__validateResponse(false))
|
389
|
-
{
|
390
|
-
__writeUserException(*__ex, ::Ice::DefaultFormat);
|
391
|
-
__response();
|
392
|
-
}
|
393
|
-
}
|
394
|
-
else if(const ::Ice::AdapterNotFoundException* __ex = dynamic_cast<const ::Ice::AdapterNotFoundException*>(&ex))
|
395
|
-
{
|
396
|
-
if(__validateResponse(false))
|
397
|
-
{
|
398
|
-
__writeUserException(*__ex, ::Ice::DefaultFormat);
|
399
|
-
__response();
|
400
|
-
}
|
401
|
-
}
|
402
|
-
else
|
403
|
-
{
|
404
|
-
::IceInternal::IncomingAsync::ice_exception(ex);
|
405
|
-
}
|
814
|
+
throw *this;
|
406
815
|
}
|
407
816
|
|
408
|
-
|
409
|
-
|
817
|
+
/// \cond STREAM
|
818
|
+
void
|
819
|
+
Ice::InvalidReplicaGroupIdException::_writeImpl(OutputStream* ostr) const
|
410
820
|
{
|
821
|
+
ostr->startSlice("::Ice::InvalidReplicaGroupIdException", -1, true);
|
822
|
+
StreamWriter< InvalidReplicaGroupIdException, OutputStream>::write(ostr, *this);
|
823
|
+
ostr->endSlice();
|
411
824
|
}
|
412
825
|
|
413
826
|
void
|
414
|
-
|
827
|
+
Ice::InvalidReplicaGroupIdException::_readImpl(InputStream* istr)
|
415
828
|
{
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
829
|
+
istr->startSlice();
|
830
|
+
StreamReader< InvalidReplicaGroupIdException, InputStream>::read(istr, *this);
|
831
|
+
istr->endSlice();
|
832
|
+
}
|
833
|
+
/// \endcond
|
834
|
+
|
835
|
+
namespace
|
836
|
+
{
|
837
|
+
|
838
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::AdapterAlreadyActiveException> iceC_Ice_AdapterAlreadyActiveException_init("::Ice::AdapterAlreadyActiveException");
|
839
|
+
|
840
|
+
}
|
841
|
+
|
842
|
+
Ice::AdapterAlreadyActiveException::~AdapterAlreadyActiveException() throw()
|
843
|
+
{
|
844
|
+
}
|
845
|
+
|
846
|
+
::std::string
|
847
|
+
Ice::AdapterAlreadyActiveException::ice_id() const
|
848
|
+
{
|
849
|
+
return "::Ice::AdapterAlreadyActiveException";
|
850
|
+
}
|
851
|
+
|
852
|
+
Ice::AdapterAlreadyActiveException*
|
853
|
+
Ice::AdapterAlreadyActiveException::ice_clone() const
|
854
|
+
{
|
855
|
+
return new AdapterAlreadyActiveException(*this);
|
421
856
|
}
|
422
857
|
|
423
858
|
void
|
424
|
-
|
859
|
+
Ice::AdapterAlreadyActiveException::ice_throw() const
|
425
860
|
{
|
426
|
-
|
427
|
-
{
|
428
|
-
if(__validateResponse(false))
|
429
|
-
{
|
430
|
-
__writeUserException(*__ex, ::Ice::DefaultFormat);
|
431
|
-
__response();
|
432
|
-
}
|
433
|
-
}
|
434
|
-
else if(const ::Ice::AdapterNotFoundException* __ex = dynamic_cast<const ::Ice::AdapterNotFoundException*>(&ex))
|
435
|
-
{
|
436
|
-
if(__validateResponse(false))
|
437
|
-
{
|
438
|
-
__writeUserException(*__ex, ::Ice::DefaultFormat);
|
439
|
-
__response();
|
440
|
-
}
|
441
|
-
}
|
442
|
-
else if(const ::Ice::InvalidReplicaGroupIdException* __ex = dynamic_cast<const ::Ice::InvalidReplicaGroupIdException*>(&ex))
|
443
|
-
{
|
444
|
-
if(__validateResponse(false))
|
445
|
-
{
|
446
|
-
__writeUserException(*__ex, ::Ice::DefaultFormat);
|
447
|
-
__response();
|
448
|
-
}
|
449
|
-
}
|
450
|
-
else
|
451
|
-
{
|
452
|
-
::IceInternal::IncomingAsync::ice_exception(ex);
|
453
|
-
}
|
861
|
+
throw *this;
|
454
862
|
}
|
455
863
|
|
456
|
-
|
457
|
-
|
864
|
+
/// \cond STREAM
|
865
|
+
void
|
866
|
+
Ice::AdapterAlreadyActiveException::_writeImpl(OutputStream* ostr) const
|
458
867
|
{
|
868
|
+
ostr->startSlice("::Ice::AdapterAlreadyActiveException", -1, true);
|
869
|
+
StreamWriter< AdapterAlreadyActiveException, OutputStream>::write(ostr, *this);
|
870
|
+
ostr->endSlice();
|
459
871
|
}
|
460
872
|
|
461
873
|
void
|
462
|
-
|
874
|
+
Ice::AdapterAlreadyActiveException::_readImpl(InputStream* istr)
|
875
|
+
{
|
876
|
+
istr->startSlice();
|
877
|
+
StreamReader< AdapterAlreadyActiveException, InputStream>::read(istr, *this);
|
878
|
+
istr->endSlice();
|
879
|
+
}
|
880
|
+
/// \endcond
|
881
|
+
|
882
|
+
namespace
|
883
|
+
{
|
884
|
+
|
885
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::ObjectNotFoundException> iceC_Ice_ObjectNotFoundException_init("::Ice::ObjectNotFoundException");
|
886
|
+
|
887
|
+
}
|
888
|
+
|
889
|
+
Ice::ObjectNotFoundException::~ObjectNotFoundException() throw()
|
463
890
|
{
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
891
|
+
}
|
892
|
+
|
893
|
+
::std::string
|
894
|
+
Ice::ObjectNotFoundException::ice_id() const
|
895
|
+
{
|
896
|
+
return "::Ice::ObjectNotFoundException";
|
897
|
+
}
|
898
|
+
|
899
|
+
Ice::ObjectNotFoundException*
|
900
|
+
Ice::ObjectNotFoundException::ice_clone() const
|
901
|
+
{
|
902
|
+
return new ObjectNotFoundException(*this);
|
469
903
|
}
|
470
904
|
|
471
905
|
void
|
472
|
-
|
906
|
+
Ice::ObjectNotFoundException::ice_throw() const
|
473
907
|
{
|
474
|
-
|
475
|
-
{
|
476
|
-
if(__validateResponse(false))
|
477
|
-
{
|
478
|
-
__writeUserException(*__ex, ::Ice::DefaultFormat);
|
479
|
-
__response();
|
480
|
-
}
|
481
|
-
}
|
482
|
-
else
|
483
|
-
{
|
484
|
-
::IceInternal::IncomingAsync::ice_exception(ex);
|
485
|
-
}
|
908
|
+
throw *this;
|
486
909
|
}
|
487
|
-
#ifdef __SUNPRO_CC
|
488
|
-
class ICE_API IceProxy::Ice::Locator;
|
489
|
-
#endif
|
490
|
-
ICE_API ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(::IceProxy::Ice::Locator* p) { return p; }
|
491
910
|
|
911
|
+
/// \cond STREAM
|
492
912
|
void
|
493
|
-
::
|
913
|
+
Ice::ObjectNotFoundException::_writeImpl(OutputStream* ostr) const
|
494
914
|
{
|
495
|
-
::Ice::
|
496
|
-
|
497
|
-
|
498
|
-
{
|
499
|
-
v = 0;
|
500
|
-
}
|
501
|
-
else
|
502
|
-
{
|
503
|
-
v = new ::IceProxy::Ice::Locator;
|
504
|
-
v->__copyFrom(proxy);
|
505
|
-
}
|
915
|
+
ostr->startSlice("::Ice::ObjectNotFoundException", -1, true);
|
916
|
+
StreamWriter< ObjectNotFoundException, OutputStream>::write(ostr, *this);
|
917
|
+
ostr->endSlice();
|
506
918
|
}
|
507
919
|
|
508
|
-
|
509
|
-
|
920
|
+
void
|
921
|
+
Ice::ObjectNotFoundException::_readImpl(InputStream* istr)
|
510
922
|
{
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
{
|
515
|
-
::IceInternal::BasicStream* __os = __og.startWriteParams(::Ice::DefaultFormat);
|
516
|
-
__os->write(__p_id);
|
517
|
-
__og.endWriteParams();
|
518
|
-
}
|
519
|
-
catch(const ::Ice::LocalException& __ex)
|
520
|
-
{
|
521
|
-
__og.abort(__ex);
|
522
|
-
}
|
523
|
-
if(!__og.invoke())
|
524
|
-
{
|
525
|
-
try
|
526
|
-
{
|
527
|
-
__og.throwUserException();
|
528
|
-
}
|
529
|
-
catch(const ::Ice::ObjectNotFoundException&)
|
530
|
-
{
|
531
|
-
throw;
|
532
|
-
}
|
533
|
-
catch(const ::Ice::UserException& __ex)
|
534
|
-
{
|
535
|
-
::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
|
536
|
-
throw __uue;
|
537
|
-
}
|
538
|
-
}
|
539
|
-
::Ice::ObjectPrx __ret;
|
540
|
-
::IceInternal::BasicStream* __is = __og.startReadParams();
|
541
|
-
__is->read(__ret);
|
542
|
-
__og.endReadParams();
|
543
|
-
return __ret;
|
923
|
+
istr->startSlice();
|
924
|
+
StreamReader< ObjectNotFoundException, InputStream>::read(istr, *this);
|
925
|
+
istr->endSlice();
|
544
926
|
}
|
927
|
+
/// \endcond
|
545
928
|
|
546
|
-
|
547
|
-
IceProxy::Ice::Locator::begin_findObjectById(const ::Ice::Identity& __p_id, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
|
929
|
+
namespace
|
548
930
|
{
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
{
|
553
|
-
__result->prepare(__Ice__Locator__findObjectById_name, ::Ice::Nonmutating, __ctx);
|
554
|
-
::IceInternal::BasicStream* __os = __result->startWriteParams(::Ice::DefaultFormat);
|
555
|
-
__os->write(__p_id);
|
556
|
-
__result->endWriteParams();
|
557
|
-
__result->invoke();
|
558
|
-
}
|
559
|
-
catch(const ::Ice::Exception& __ex)
|
560
|
-
{
|
561
|
-
__result->abort(__ex);
|
562
|
-
}
|
563
|
-
return __result;
|
931
|
+
|
932
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::ServerNotFoundException> iceC_Ice_ServerNotFoundException_init("::Ice::ServerNotFoundException");
|
933
|
+
|
564
934
|
}
|
565
935
|
|
566
|
-
|
936
|
+
Ice::ServerNotFoundException::~ServerNotFoundException() throw()
|
937
|
+
{
|
938
|
+
}
|
567
939
|
|
568
|
-
::
|
569
|
-
|
940
|
+
::std::string
|
941
|
+
Ice::ServerNotFoundException::ice_id() const
|
570
942
|
{
|
571
|
-
|
572
|
-
|
573
|
-
public:
|
943
|
+
return "::Ice::ServerNotFoundException";
|
944
|
+
}
|
574
945
|
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
}
|
946
|
+
Ice::ServerNotFoundException*
|
947
|
+
Ice::ServerNotFoundException::ice_clone() const
|
948
|
+
{
|
949
|
+
return new ServerNotFoundException(*this);
|
950
|
+
}
|
581
951
|
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
try
|
587
|
-
{
|
588
|
-
__ret = __proxy->end_findObjectById(__result);
|
589
|
-
}
|
590
|
-
catch(const ::Ice::Exception& ex)
|
591
|
-
{
|
592
|
-
Cpp11FnCallbackNC::exception(__result, ex);
|
593
|
-
return;
|
594
|
-
}
|
595
|
-
if(_response != nullptr)
|
596
|
-
{
|
597
|
-
_response(__ret);
|
598
|
-
}
|
599
|
-
}
|
600
|
-
|
601
|
-
private:
|
602
|
-
|
603
|
-
::std::function<void (const ::Ice::ObjectPrx&)> _response;
|
604
|
-
};
|
605
|
-
return begin_findObjectById(__p_id, __ctx, new Cpp11CB(__response, __exception, __sent));
|
952
|
+
void
|
953
|
+
Ice::ServerNotFoundException::ice_throw() const
|
954
|
+
{
|
955
|
+
throw *this;
|
606
956
|
}
|
607
|
-
#endif
|
608
957
|
|
609
|
-
|
610
|
-
|
958
|
+
/// \cond STREAM
|
959
|
+
void
|
960
|
+
Ice::ServerNotFoundException::_writeImpl(OutputStream* ostr) const
|
611
961
|
{
|
612
|
-
::Ice::
|
613
|
-
|
614
|
-
|
615
|
-
{
|
616
|
-
try
|
617
|
-
{
|
618
|
-
__result->__throwUserException();
|
619
|
-
}
|
620
|
-
catch(const ::Ice::ObjectNotFoundException&)
|
621
|
-
{
|
622
|
-
throw;
|
623
|
-
}
|
624
|
-
catch(const ::Ice::UserException& __ex)
|
625
|
-
{
|
626
|
-
throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
|
627
|
-
}
|
628
|
-
}
|
629
|
-
::IceInternal::BasicStream* __is = __result->__startReadParams();
|
630
|
-
__is->read(__ret);
|
631
|
-
__result->__endReadParams();
|
632
|
-
return __ret;
|
962
|
+
ostr->startSlice("::Ice::ServerNotFoundException", -1, true);
|
963
|
+
StreamWriter< ServerNotFoundException, OutputStream>::write(ostr, *this);
|
964
|
+
ostr->endSlice();
|
633
965
|
}
|
634
966
|
|
635
|
-
|
636
|
-
|
967
|
+
void
|
968
|
+
Ice::ServerNotFoundException::_readImpl(InputStream* istr)
|
637
969
|
{
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
{
|
642
|
-
::IceInternal::BasicStream* __os = __og.startWriteParams(::Ice::DefaultFormat);
|
643
|
-
__os->write(__p_id);
|
644
|
-
__og.endWriteParams();
|
645
|
-
}
|
646
|
-
catch(const ::Ice::LocalException& __ex)
|
647
|
-
{
|
648
|
-
__og.abort(__ex);
|
649
|
-
}
|
650
|
-
if(!__og.invoke())
|
651
|
-
{
|
652
|
-
try
|
653
|
-
{
|
654
|
-
__og.throwUserException();
|
655
|
-
}
|
656
|
-
catch(const ::Ice::AdapterNotFoundException&)
|
657
|
-
{
|
658
|
-
throw;
|
659
|
-
}
|
660
|
-
catch(const ::Ice::UserException& __ex)
|
661
|
-
{
|
662
|
-
::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
|
663
|
-
throw __uue;
|
664
|
-
}
|
665
|
-
}
|
666
|
-
::Ice::ObjectPrx __ret;
|
667
|
-
::IceInternal::BasicStream* __is = __og.startReadParams();
|
668
|
-
__is->read(__ret);
|
669
|
-
__og.endReadParams();
|
670
|
-
return __ret;
|
970
|
+
istr->startSlice();
|
971
|
+
StreamReader< ServerNotFoundException, InputStream>::read(istr, *this);
|
972
|
+
istr->endSlice();
|
671
973
|
}
|
974
|
+
/// \endcond
|
672
975
|
|
673
|
-
|
674
|
-
IceProxy::Ice::Locator::begin_findAdapterById(const ::std::string& __p_id, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
|
976
|
+
Ice::AMD_Locator_findObjectById::~AMD_Locator_findObjectById()
|
675
977
|
{
|
676
|
-
__checkAsyncTwowayOnly(__Ice__Locator__findAdapterById_name);
|
677
|
-
::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __Ice__Locator__findAdapterById_name, __del, __cookie);
|
678
|
-
try
|
679
|
-
{
|
680
|
-
__result->prepare(__Ice__Locator__findAdapterById_name, ::Ice::Nonmutating, __ctx);
|
681
|
-
::IceInternal::BasicStream* __os = __result->startWriteParams(::Ice::DefaultFormat);
|
682
|
-
__os->write(__p_id);
|
683
|
-
__result->endWriteParams();
|
684
|
-
__result->invoke();
|
685
|
-
}
|
686
|
-
catch(const ::Ice::Exception& __ex)
|
687
|
-
{
|
688
|
-
__result->abort(__ex);
|
689
|
-
}
|
690
|
-
return __result;
|
691
978
|
}
|
692
979
|
|
693
|
-
|
980
|
+
Ice::AMD_Locator_findAdapterById::~AMD_Locator_findAdapterById()
|
981
|
+
{
|
982
|
+
}
|
694
983
|
|
695
|
-
|
696
|
-
IceProxy::Ice::Locator::__begin_findAdapterById(const ::std::string& __p_id, const ::Ice::Context* __ctx, const ::IceInternal::Function<void (const ::Ice::ObjectPrx&)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
|
984
|
+
Ice::AMD_LocatorRegistry_setAdapterDirectProxy::~AMD_LocatorRegistry_setAdapterDirectProxy()
|
697
985
|
{
|
698
|
-
|
699
|
-
{
|
700
|
-
public:
|
986
|
+
}
|
701
987
|
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
{
|
706
|
-
CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
|
707
|
-
}
|
988
|
+
Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy::~AMD_LocatorRegistry_setReplicatedAdapterDirectProxy()
|
989
|
+
{
|
990
|
+
}
|
708
991
|
|
709
|
-
|
710
|
-
|
711
|
-
::Ice::LocatorPrx __proxy = ::Ice::LocatorPrx::uncheckedCast(__result->getProxy());
|
712
|
-
::Ice::ObjectPrx __ret;
|
713
|
-
try
|
714
|
-
{
|
715
|
-
__ret = __proxy->end_findAdapterById(__result);
|
716
|
-
}
|
717
|
-
catch(const ::Ice::Exception& ex)
|
718
|
-
{
|
719
|
-
Cpp11FnCallbackNC::exception(__result, ex);
|
720
|
-
return;
|
721
|
-
}
|
722
|
-
if(_response != nullptr)
|
723
|
-
{
|
724
|
-
_response(__ret);
|
725
|
-
}
|
726
|
-
}
|
727
|
-
|
728
|
-
private:
|
729
|
-
|
730
|
-
::std::function<void (const ::Ice::ObjectPrx&)> _response;
|
731
|
-
};
|
732
|
-
return begin_findAdapterById(__p_id, __ctx, new Cpp11CB(__response, __exception, __sent));
|
992
|
+
Ice::AMD_LocatorRegistry_setServerProcessProxy::~AMD_LocatorRegistry_setServerProcessProxy()
|
993
|
+
{
|
733
994
|
}
|
734
|
-
#endif
|
735
995
|
|
736
|
-
|
737
|
-
|
996
|
+
/// \cond INTERNAL
|
997
|
+
IceAsync::Ice::AMD_Locator_findObjectById::AMD_Locator_findObjectById(::IceInternal::Incoming& in) :
|
998
|
+
::IceInternal::IncomingAsync(in)
|
738
999
|
{
|
739
|
-
::Ice::AsyncResult::__check(__result, this, __Ice__Locator__findAdapterById_name);
|
740
|
-
::Ice::ObjectPrx __ret;
|
741
|
-
if(!__result->__wait())
|
742
|
-
{
|
743
|
-
try
|
744
|
-
{
|
745
|
-
__result->__throwUserException();
|
746
|
-
}
|
747
|
-
catch(const ::Ice::AdapterNotFoundException&)
|
748
|
-
{
|
749
|
-
throw;
|
750
|
-
}
|
751
|
-
catch(const ::Ice::UserException& __ex)
|
752
|
-
{
|
753
|
-
throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
|
754
|
-
}
|
755
|
-
}
|
756
|
-
::IceInternal::BasicStream* __is = __result->__startReadParams();
|
757
|
-
__is->read(__ret);
|
758
|
-
__result->__endReadParams();
|
759
|
-
return __ret;
|
760
1000
|
}
|
761
1001
|
|
762
|
-
|
763
|
-
|
1002
|
+
void
|
1003
|
+
IceAsync::Ice::AMD_Locator_findObjectById::ice_response(const ::Ice::ObjectPrx& ret)
|
764
1004
|
{
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
{
|
770
|
-
try
|
771
|
-
{
|
772
|
-
__og.throwUserException();
|
773
|
-
}
|
774
|
-
catch(const ::Ice::UserException& __ex)
|
775
|
-
{
|
776
|
-
::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
|
777
|
-
throw __uue;
|
778
|
-
}
|
779
|
-
}
|
780
|
-
::Ice::LocatorRegistryPrx __ret;
|
781
|
-
::IceInternal::BasicStream* __is = __og.startReadParams();
|
782
|
-
__is->read(__ret);
|
783
|
-
__og.endReadParams();
|
784
|
-
return __ret;
|
1005
|
+
::Ice::OutputStream* ostr = startWriteParams();
|
1006
|
+
ostr->write(ret);
|
1007
|
+
endWriteParams();
|
1008
|
+
completed();
|
785
1009
|
}
|
1010
|
+
/// \endcond
|
786
1011
|
|
787
|
-
|
788
|
-
|
1012
|
+
/// \cond INTERNAL
|
1013
|
+
IceAsync::Ice::AMD_Locator_findAdapterById::AMD_Locator_findAdapterById(::IceInternal::Incoming& in) :
|
1014
|
+
::IceInternal::IncomingAsync(in)
|
789
1015
|
{
|
790
|
-
__checkAsyncTwowayOnly(__Ice__Locator__getRegistry_name);
|
791
|
-
::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __Ice__Locator__getRegistry_name, __del, __cookie);
|
792
|
-
try
|
793
|
-
{
|
794
|
-
__result->prepare(__Ice__Locator__getRegistry_name, ::Ice::Nonmutating, __ctx);
|
795
|
-
__result->writeEmptyParams();
|
796
|
-
__result->invoke();
|
797
|
-
}
|
798
|
-
catch(const ::Ice::Exception& __ex)
|
799
|
-
{
|
800
|
-
__result->abort(__ex);
|
801
|
-
}
|
802
|
-
return __result;
|
803
1016
|
}
|
804
1017
|
|
805
|
-
|
1018
|
+
void
|
1019
|
+
IceAsync::Ice::AMD_Locator_findAdapterById::ice_response(const ::Ice::ObjectPrx& ret)
|
1020
|
+
{
|
1021
|
+
::Ice::OutputStream* ostr = startWriteParams();
|
1022
|
+
ostr->write(ret);
|
1023
|
+
endWriteParams();
|
1024
|
+
completed();
|
1025
|
+
}
|
1026
|
+
/// \endcond
|
806
1027
|
|
807
|
-
|
808
|
-
|
1028
|
+
/// \cond INTERNAL
|
1029
|
+
IceAsync::Ice::AMD_LocatorRegistry_setAdapterDirectProxy::AMD_LocatorRegistry_setAdapterDirectProxy(::IceInternal::Incoming& in) :
|
1030
|
+
::IceInternal::IncomingAsync(in)
|
809
1031
|
{
|
810
|
-
|
811
|
-
{
|
812
|
-
public:
|
1032
|
+
}
|
813
1033
|
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
1034
|
+
void
|
1035
|
+
IceAsync::Ice::AMD_LocatorRegistry_setAdapterDirectProxy::ice_response()
|
1036
|
+
{
|
1037
|
+
writeEmptyParams();
|
1038
|
+
completed();
|
1039
|
+
}
|
1040
|
+
/// \endcond
|
820
1041
|
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
try
|
826
|
-
{
|
827
|
-
__ret = __proxy->end_getRegistry(__result);
|
828
|
-
}
|
829
|
-
catch(const ::Ice::Exception& ex)
|
830
|
-
{
|
831
|
-
Cpp11FnCallbackNC::exception(__result, ex);
|
832
|
-
return;
|
833
|
-
}
|
834
|
-
if(_response != nullptr)
|
835
|
-
{
|
836
|
-
_response(__ret);
|
837
|
-
}
|
838
|
-
}
|
839
|
-
|
840
|
-
private:
|
841
|
-
|
842
|
-
::std::function<void (const ::Ice::LocatorRegistryPrx&)> _response;
|
843
|
-
};
|
844
|
-
return begin_getRegistry(__ctx, new Cpp11CB(__response, __exception, __sent));
|
1042
|
+
/// \cond INTERNAL
|
1043
|
+
IceAsync::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy(::IceInternal::Incoming& in) :
|
1044
|
+
::IceInternal::IncomingAsync(in)
|
1045
|
+
{
|
845
1046
|
}
|
846
|
-
#endif
|
847
1047
|
|
848
|
-
|
849
|
-
|
1048
|
+
void
|
1049
|
+
IceAsync::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy::ice_response()
|
850
1050
|
{
|
851
|
-
|
852
|
-
|
853
|
-
if(!__result->__wait())
|
854
|
-
{
|
855
|
-
try
|
856
|
-
{
|
857
|
-
__result->__throwUserException();
|
858
|
-
}
|
859
|
-
catch(const ::Ice::UserException& __ex)
|
860
|
-
{
|
861
|
-
throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
|
862
|
-
}
|
863
|
-
}
|
864
|
-
::IceInternal::BasicStream* __is = __result->__startReadParams();
|
865
|
-
__is->read(__ret);
|
866
|
-
__result->__endReadParams();
|
867
|
-
return __ret;
|
1051
|
+
writeEmptyParams();
|
1052
|
+
completed();
|
868
1053
|
}
|
1054
|
+
/// \endcond
|
869
1055
|
|
870
|
-
|
871
|
-
|
1056
|
+
/// \cond INTERNAL
|
1057
|
+
IceAsync::Ice::AMD_LocatorRegistry_setServerProcessProxy::AMD_LocatorRegistry_setServerProcessProxy(::IceInternal::Incoming& in) :
|
1058
|
+
::IceInternal::IncomingAsync(in)
|
872
1059
|
{
|
873
|
-
return ::Ice::Locator::ice_staticId();
|
874
1060
|
}
|
875
1061
|
|
876
|
-
|
877
|
-
|
1062
|
+
void
|
1063
|
+
IceAsync::Ice::AMD_LocatorRegistry_setServerProcessProxy::ice_response()
|
878
1064
|
{
|
879
|
-
|
1065
|
+
writeEmptyParams();
|
1066
|
+
completed();
|
880
1067
|
}
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
ICE_API ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(
|
1068
|
+
/// \endcond
|
1069
|
+
|
1070
|
+
/// \cond INTERNAL
|
1071
|
+
ICE_API ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(Locator* p) { return p; }
|
885
1072
|
|
886
1073
|
void
|
887
|
-
::IceProxy::Ice::
|
1074
|
+
::IceProxy::Ice::_readProxy(::Ice::InputStream* istr, ::IceInternal::ProxyHandle< Locator>& v)
|
888
1075
|
{
|
889
1076
|
::Ice::ObjectPrx proxy;
|
890
|
-
|
1077
|
+
istr->read(proxy);
|
891
1078
|
if(!proxy)
|
892
1079
|
{
|
893
1080
|
v = 0;
|
894
1081
|
}
|
895
1082
|
else
|
896
1083
|
{
|
897
|
-
v = new
|
898
|
-
v->
|
1084
|
+
v = new Locator;
|
1085
|
+
v->_copyFrom(proxy);
|
899
1086
|
}
|
900
1087
|
}
|
1088
|
+
/// \endcond
|
901
1089
|
|
902
|
-
|
903
|
-
IceProxy::Ice::
|
1090
|
+
::Ice::AsyncResultPtr
|
1091
|
+
IceProxy::Ice::Locator::_iceI_begin_findObjectById(const ::Ice::Identity& iceP_id, const ::Ice::Context& context, const ::IceInternal::CallbackBasePtr& del, const ::Ice::LocalObjectPtr& cookie, bool sync)
|
904
1092
|
{
|
905
|
-
|
906
|
-
::IceInternal::
|
1093
|
+
_checkTwowayOnly(iceC_Ice_Locator_findObjectById_name, sync);
|
1094
|
+
::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_Locator_findObjectById_name, del, cookie, sync);
|
907
1095
|
try
|
908
1096
|
{
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
1097
|
+
result->prepare(iceC_Ice_Locator_findObjectById_name, ::Ice::Nonmutating, context);
|
1098
|
+
::Ice::OutputStream* ostr = result->startWriteParams(::Ice::DefaultFormat);
|
1099
|
+
ostr->write(iceP_id);
|
1100
|
+
result->endWriteParams();
|
1101
|
+
result->invoke(iceC_Ice_Locator_findObjectById_name);
|
913
1102
|
}
|
914
|
-
catch(const ::Ice::
|
1103
|
+
catch(const ::Ice::Exception& ex)
|
915
1104
|
{
|
916
|
-
|
1105
|
+
result->abort(ex);
|
917
1106
|
}
|
918
|
-
|
1107
|
+
return result;
|
1108
|
+
}
|
1109
|
+
|
1110
|
+
::Ice::ObjectPrx
|
1111
|
+
IceProxy::Ice::Locator::end_findObjectById(const ::Ice::AsyncResultPtr& result)
|
1112
|
+
{
|
1113
|
+
::Ice::AsyncResult::_check(result, this, iceC_Ice_Locator_findObjectById_name);
|
1114
|
+
::Ice::ObjectPrx ret;
|
1115
|
+
if(!result->_waitForResponse())
|
919
1116
|
{
|
920
1117
|
try
|
921
1118
|
{
|
922
|
-
|
923
|
-
}
|
924
|
-
catch(const ::Ice::AdapterAlreadyActiveException&)
|
925
|
-
{
|
926
|
-
throw;
|
1119
|
+
result->_throwUserException();
|
927
1120
|
}
|
928
|
-
catch(const ::Ice::
|
1121
|
+
catch(const ::Ice::ObjectNotFoundException&)
|
929
1122
|
{
|
930
1123
|
throw;
|
931
1124
|
}
|
932
|
-
catch(const ::Ice::UserException&
|
1125
|
+
catch(const ::Ice::UserException& ex)
|
933
1126
|
{
|
934
|
-
::Ice::UnknownUserException
|
935
|
-
throw __uue;
|
1127
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
|
936
1128
|
}
|
937
1129
|
}
|
1130
|
+
::Ice::InputStream* istr = result->_startReadParams();
|
1131
|
+
istr->read(ret);
|
1132
|
+
result->_endReadParams();
|
1133
|
+
return ret;
|
938
1134
|
}
|
939
1135
|
|
940
1136
|
::Ice::AsyncResultPtr
|
941
|
-
IceProxy::Ice::
|
1137
|
+
IceProxy::Ice::Locator::_iceI_begin_findAdapterById(const ::std::string& iceP_id, const ::Ice::Context& context, const ::IceInternal::CallbackBasePtr& del, const ::Ice::LocalObjectPtr& cookie, bool sync)
|
942
1138
|
{
|
943
|
-
|
944
|
-
::IceInternal::OutgoingAsyncPtr
|
1139
|
+
_checkTwowayOnly(iceC_Ice_Locator_findAdapterById_name, sync);
|
1140
|
+
::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_Locator_findAdapterById_name, del, cookie, sync);
|
945
1141
|
try
|
946
1142
|
{
|
947
|
-
|
948
|
-
::
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
__result->invoke();
|
1143
|
+
result->prepare(iceC_Ice_Locator_findAdapterById_name, ::Ice::Nonmutating, context);
|
1144
|
+
::Ice::OutputStream* ostr = result->startWriteParams(::Ice::DefaultFormat);
|
1145
|
+
ostr->write(iceP_id);
|
1146
|
+
result->endWriteParams();
|
1147
|
+
result->invoke(iceC_Ice_Locator_findAdapterById_name);
|
953
1148
|
}
|
954
|
-
catch(const ::Ice::Exception&
|
1149
|
+
catch(const ::Ice::Exception& ex)
|
955
1150
|
{
|
956
|
-
|
1151
|
+
result->abort(ex);
|
957
1152
|
}
|
958
|
-
return
|
959
|
-
}
|
960
|
-
|
961
|
-
#ifdef ICE_CPP11
|
962
|
-
|
963
|
-
::Ice::AsyncResultPtr
|
964
|
-
IceProxy::Ice::LocatorRegistry::__begin_setAdapterDirectProxy(const ::std::string& __p_id, const ::Ice::ObjectPrx& __p_proxy, const ::Ice::Context* __ctx, const ::IceInternal::Function<void ()>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
|
965
|
-
{
|
966
|
-
class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
|
967
|
-
{
|
968
|
-
public:
|
969
|
-
|
970
|
-
Cpp11CB(const ::std::function<void ()>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
|
971
|
-
::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
|
972
|
-
_response(responseFunc)
|
973
|
-
{
|
974
|
-
CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
|
975
|
-
}
|
976
|
-
|
977
|
-
virtual void completed(const ::Ice::AsyncResultPtr& __result) const
|
978
|
-
{
|
979
|
-
::Ice::LocatorRegistryPrx __proxy = ::Ice::LocatorRegistryPrx::uncheckedCast(__result->getProxy());
|
980
|
-
try
|
981
|
-
{
|
982
|
-
__proxy->end_setAdapterDirectProxy(__result);
|
983
|
-
}
|
984
|
-
catch(const ::Ice::Exception& ex)
|
985
|
-
{
|
986
|
-
Cpp11FnCallbackNC::exception(__result, ex);
|
987
|
-
return;
|
988
|
-
}
|
989
|
-
if(_response != nullptr)
|
990
|
-
{
|
991
|
-
_response();
|
992
|
-
}
|
993
|
-
}
|
994
|
-
|
995
|
-
private:
|
996
|
-
|
997
|
-
::std::function<void ()> _response;
|
998
|
-
};
|
999
|
-
return begin_setAdapterDirectProxy(__p_id, __p_proxy, __ctx, new Cpp11CB(__response, __exception, __sent));
|
1153
|
+
return result;
|
1000
1154
|
}
|
1001
|
-
#endif
|
1002
1155
|
|
1003
|
-
|
1004
|
-
IceProxy::Ice::
|
1156
|
+
::Ice::ObjectPrx
|
1157
|
+
IceProxy::Ice::Locator::end_findAdapterById(const ::Ice::AsyncResultPtr& result)
|
1005
1158
|
{
|
1006
|
-
::Ice::AsyncResult::
|
1007
|
-
|
1159
|
+
::Ice::AsyncResult::_check(result, this, iceC_Ice_Locator_findAdapterById_name);
|
1160
|
+
::Ice::ObjectPrx ret;
|
1161
|
+
if(!result->_waitForResponse())
|
1008
1162
|
{
|
1009
1163
|
try
|
1010
1164
|
{
|
1011
|
-
|
1012
|
-
}
|
1013
|
-
catch(const ::Ice::AdapterAlreadyActiveException&)
|
1014
|
-
{
|
1015
|
-
throw;
|
1165
|
+
result->_throwUserException();
|
1016
1166
|
}
|
1017
1167
|
catch(const ::Ice::AdapterNotFoundException&)
|
1018
1168
|
{
|
1019
1169
|
throw;
|
1020
1170
|
}
|
1021
|
-
catch(const ::Ice::UserException&
|
1171
|
+
catch(const ::Ice::UserException& ex)
|
1022
1172
|
{
|
1023
|
-
throw ::Ice::UnknownUserException(__FILE__, __LINE__,
|
1173
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
|
1024
1174
|
}
|
1025
1175
|
}
|
1026
|
-
|
1176
|
+
::Ice::InputStream* istr = result->_startReadParams();
|
1177
|
+
istr->read(ret);
|
1178
|
+
result->_endReadParams();
|
1179
|
+
return ret;
|
1027
1180
|
}
|
1028
1181
|
|
1029
|
-
|
1030
|
-
IceProxy::Ice::
|
1182
|
+
::Ice::AsyncResultPtr
|
1183
|
+
IceProxy::Ice::Locator::_iceI_begin_getRegistry(const ::Ice::Context& context, const ::IceInternal::CallbackBasePtr& del, const ::Ice::LocalObjectPtr& cookie, bool sync)
|
1031
1184
|
{
|
1032
|
-
|
1033
|
-
::IceInternal::
|
1185
|
+
_checkTwowayOnly(iceC_Ice_Locator_getRegistry_name, sync);
|
1186
|
+
::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_Locator_getRegistry_name, del, cookie, sync);
|
1034
1187
|
try
|
1035
1188
|
{
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
__os->write(__p_p);
|
1040
|
-
__og.endWriteParams();
|
1189
|
+
result->prepare(iceC_Ice_Locator_getRegistry_name, ::Ice::Nonmutating, context);
|
1190
|
+
result->writeEmptyParams();
|
1191
|
+
result->invoke(iceC_Ice_Locator_getRegistry_name);
|
1041
1192
|
}
|
1042
|
-
catch(const ::Ice::
|
1193
|
+
catch(const ::Ice::Exception& ex)
|
1043
1194
|
{
|
1044
|
-
|
1195
|
+
result->abort(ex);
|
1045
1196
|
}
|
1046
|
-
|
1197
|
+
return result;
|
1198
|
+
}
|
1199
|
+
|
1200
|
+
::Ice::LocatorRegistryPrx
|
1201
|
+
IceProxy::Ice::Locator::end_getRegistry(const ::Ice::AsyncResultPtr& result)
|
1202
|
+
{
|
1203
|
+
::Ice::AsyncResult::_check(result, this, iceC_Ice_Locator_getRegistry_name);
|
1204
|
+
::Ice::LocatorRegistryPrx ret;
|
1205
|
+
if(!result->_waitForResponse())
|
1047
1206
|
{
|
1048
1207
|
try
|
1049
1208
|
{
|
1050
|
-
|
1051
|
-
}
|
1052
|
-
catch(const ::Ice::AdapterAlreadyActiveException&)
|
1053
|
-
{
|
1054
|
-
throw;
|
1055
|
-
}
|
1056
|
-
catch(const ::Ice::AdapterNotFoundException&)
|
1057
|
-
{
|
1058
|
-
throw;
|
1059
|
-
}
|
1060
|
-
catch(const ::Ice::InvalidReplicaGroupIdException&)
|
1061
|
-
{
|
1062
|
-
throw;
|
1209
|
+
result->_throwUserException();
|
1063
1210
|
}
|
1064
|
-
catch(const ::Ice::UserException&
|
1211
|
+
catch(const ::Ice::UserException& ex)
|
1065
1212
|
{
|
1066
|
-
::Ice::UnknownUserException
|
1067
|
-
throw __uue;
|
1213
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
|
1068
1214
|
}
|
1069
1215
|
}
|
1216
|
+
::Ice::InputStream* istr = result->_startReadParams();
|
1217
|
+
istr->read(ret);
|
1218
|
+
result->_endReadParams();
|
1219
|
+
return ret;
|
1070
1220
|
}
|
1071
1221
|
|
1072
|
-
|
1073
|
-
IceProxy::Ice::
|
1222
|
+
/// \cond INTERNAL
|
1223
|
+
::IceProxy::Ice::Object*
|
1224
|
+
IceProxy::Ice::Locator::_newInstance() const
|
1074
1225
|
{
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1226
|
+
return new Locator;
|
1227
|
+
}
|
1228
|
+
/// \endcond
|
1229
|
+
|
1230
|
+
const ::std::string&
|
1231
|
+
IceProxy::Ice::Locator::ice_staticId()
|
1232
|
+
{
|
1233
|
+
return ::Ice::Locator::ice_staticId();
|
1234
|
+
}
|
1235
|
+
|
1236
|
+
/// \cond INTERNAL
|
1237
|
+
ICE_API ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(LocatorRegistry* p) { return p; }
|
1238
|
+
|
1239
|
+
void
|
1240
|
+
::IceProxy::Ice::_readProxy(::Ice::InputStream* istr, ::IceInternal::ProxyHandle< LocatorRegistry>& v)
|
1241
|
+
{
|
1242
|
+
::Ice::ObjectPrx proxy;
|
1243
|
+
istr->read(proxy);
|
1244
|
+
if(!proxy)
|
1078
1245
|
{
|
1079
|
-
|
1080
|
-
::IceInternal::BasicStream* __os = __result->startWriteParams(::Ice::DefaultFormat);
|
1081
|
-
__os->write(__p_adapterId);
|
1082
|
-
__os->write(__p_replicaGroupId);
|
1083
|
-
__os->write(__p_p);
|
1084
|
-
__result->endWriteParams();
|
1085
|
-
__result->invoke();
|
1246
|
+
v = 0;
|
1086
1247
|
}
|
1087
|
-
|
1248
|
+
else
|
1088
1249
|
{
|
1089
|
-
|
1250
|
+
v = new LocatorRegistry;
|
1251
|
+
v->_copyFrom(proxy);
|
1090
1252
|
}
|
1091
|
-
return __result;
|
1092
1253
|
}
|
1093
|
-
|
1094
|
-
#ifdef ICE_CPP11
|
1254
|
+
/// \endcond
|
1095
1255
|
|
1096
1256
|
::Ice::AsyncResultPtr
|
1097
|
-
IceProxy::Ice::LocatorRegistry::
|
1257
|
+
IceProxy::Ice::LocatorRegistry::_iceI_begin_setAdapterDirectProxy(const ::std::string& iceP_id, const ::Ice::ObjectPrx& iceP_proxy, const ::Ice::Context& context, const ::IceInternal::CallbackBasePtr& del, const ::Ice::LocalObjectPtr& cookie, bool sync)
|
1098
1258
|
{
|
1099
|
-
|
1259
|
+
_checkTwowayOnly(iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name, sync);
|
1260
|
+
::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name, del, cookie, sync);
|
1261
|
+
try
|
1100
1262
|
{
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
try
|
1114
|
-
{
|
1115
|
-
__proxy->end_setReplicatedAdapterDirectProxy(__result);
|
1116
|
-
}
|
1117
|
-
catch(const ::Ice::Exception& ex)
|
1118
|
-
{
|
1119
|
-
Cpp11FnCallbackNC::exception(__result, ex);
|
1120
|
-
return;
|
1121
|
-
}
|
1122
|
-
if(_response != nullptr)
|
1123
|
-
{
|
1124
|
-
_response();
|
1125
|
-
}
|
1126
|
-
}
|
1127
|
-
|
1128
|
-
private:
|
1129
|
-
|
1130
|
-
::std::function<void ()> _response;
|
1131
|
-
};
|
1132
|
-
return begin_setReplicatedAdapterDirectProxy(__p_adapterId, __p_replicaGroupId, __p_p, __ctx, new Cpp11CB(__response, __exception, __sent));
|
1263
|
+
result->prepare(iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name, ::Ice::Idempotent, context);
|
1264
|
+
::Ice::OutputStream* ostr = result->startWriteParams(::Ice::DefaultFormat);
|
1265
|
+
ostr->write(iceP_id);
|
1266
|
+
ostr->write(iceP_proxy);
|
1267
|
+
result->endWriteParams();
|
1268
|
+
result->invoke(iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name);
|
1269
|
+
}
|
1270
|
+
catch(const ::Ice::Exception& ex)
|
1271
|
+
{
|
1272
|
+
result->abort(ex);
|
1273
|
+
}
|
1274
|
+
return result;
|
1133
1275
|
}
|
1134
|
-
#endif
|
1135
1276
|
|
1136
1277
|
void
|
1137
|
-
IceProxy::Ice::LocatorRegistry::
|
1278
|
+
IceProxy::Ice::LocatorRegistry::end_setAdapterDirectProxy(const ::Ice::AsyncResultPtr& result)
|
1138
1279
|
{
|
1139
|
-
::Ice::AsyncResult::
|
1140
|
-
if(!
|
1280
|
+
::Ice::AsyncResult::_check(result, this, iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name);
|
1281
|
+
if(!result->_waitForResponse())
|
1141
1282
|
{
|
1142
1283
|
try
|
1143
1284
|
{
|
1144
|
-
|
1285
|
+
result->_throwUserException();
|
1145
1286
|
}
|
1146
1287
|
catch(const ::Ice::AdapterAlreadyActiveException&)
|
1147
1288
|
{
|
@@ -1151,136 +1292,116 @@ IceProxy::Ice::LocatorRegistry::end_setReplicatedAdapterDirectProxy(const ::Ice:
|
|
1151
1292
|
{
|
1152
1293
|
throw;
|
1153
1294
|
}
|
1154
|
-
catch(const ::Ice::
|
1155
|
-
{
|
1156
|
-
throw;
|
1157
|
-
}
|
1158
|
-
catch(const ::Ice::UserException& __ex)
|
1295
|
+
catch(const ::Ice::UserException& ex)
|
1159
1296
|
{
|
1160
|
-
throw ::Ice::UnknownUserException(__FILE__, __LINE__,
|
1297
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
|
1161
1298
|
}
|
1162
1299
|
}
|
1163
|
-
|
1300
|
+
result->_readEmptyParams();
|
1164
1301
|
}
|
1165
1302
|
|
1166
|
-
|
1167
|
-
IceProxy::Ice::LocatorRegistry::
|
1303
|
+
::Ice::AsyncResultPtr
|
1304
|
+
IceProxy::Ice::LocatorRegistry::_iceI_begin_setReplicatedAdapterDirectProxy(const ::std::string& iceP_adapterId, const ::std::string& iceP_replicaGroupId, const ::Ice::ObjectPrx& iceP_p, const ::Ice::Context& context, const ::IceInternal::CallbackBasePtr& del, const ::Ice::LocalObjectPtr& cookie, bool sync)
|
1168
1305
|
{
|
1169
|
-
|
1170
|
-
::IceInternal::
|
1306
|
+
_checkTwowayOnly(iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name, sync);
|
1307
|
+
::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name, del, cookie, sync);
|
1171
1308
|
try
|
1172
1309
|
{
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1310
|
+
result->prepare(iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name, ::Ice::Idempotent, context);
|
1311
|
+
::Ice::OutputStream* ostr = result->startWriteParams(::Ice::DefaultFormat);
|
1312
|
+
ostr->write(iceP_adapterId);
|
1313
|
+
ostr->write(iceP_replicaGroupId);
|
1314
|
+
ostr->write(iceP_p);
|
1315
|
+
result->endWriteParams();
|
1316
|
+
result->invoke(iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name);
|
1177
1317
|
}
|
1178
|
-
catch(const ::Ice::
|
1318
|
+
catch(const ::Ice::Exception& ex)
|
1179
1319
|
{
|
1180
|
-
|
1320
|
+
result->abort(ex);
|
1181
1321
|
}
|
1182
|
-
|
1322
|
+
return result;
|
1323
|
+
}
|
1324
|
+
|
1325
|
+
void
|
1326
|
+
IceProxy::Ice::LocatorRegistry::end_setReplicatedAdapterDirectProxy(const ::Ice::AsyncResultPtr& result)
|
1327
|
+
{
|
1328
|
+
::Ice::AsyncResult::_check(result, this, iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name);
|
1329
|
+
if(!result->_waitForResponse())
|
1183
1330
|
{
|
1184
1331
|
try
|
1185
1332
|
{
|
1186
|
-
|
1333
|
+
result->_throwUserException();
|
1187
1334
|
}
|
1188
|
-
catch(const ::Ice::
|
1335
|
+
catch(const ::Ice::AdapterAlreadyActiveException&)
|
1336
|
+
{
|
1337
|
+
throw;
|
1338
|
+
}
|
1339
|
+
catch(const ::Ice::AdapterNotFoundException&)
|
1340
|
+
{
|
1341
|
+
throw;
|
1342
|
+
}
|
1343
|
+
catch(const ::Ice::InvalidReplicaGroupIdException&)
|
1189
1344
|
{
|
1190
1345
|
throw;
|
1191
1346
|
}
|
1192
|
-
catch(const ::Ice::UserException&
|
1347
|
+
catch(const ::Ice::UserException& ex)
|
1193
1348
|
{
|
1194
|
-
::Ice::UnknownUserException
|
1195
|
-
throw __uue;
|
1349
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
|
1196
1350
|
}
|
1197
1351
|
}
|
1352
|
+
result->_readEmptyParams();
|
1198
1353
|
}
|
1199
1354
|
|
1200
1355
|
::Ice::AsyncResultPtr
|
1201
|
-
IceProxy::Ice::LocatorRegistry::
|
1356
|
+
IceProxy::Ice::LocatorRegistry::_iceI_begin_setServerProcessProxy(const ::std::string& iceP_id, const ::Ice::ProcessPrx& iceP_proxy, const ::Ice::Context& context, const ::IceInternal::CallbackBasePtr& del, const ::Ice::LocalObjectPtr& cookie, bool sync)
|
1202
1357
|
{
|
1203
|
-
|
1204
|
-
::IceInternal::OutgoingAsyncPtr
|
1358
|
+
_checkTwowayOnly(iceC_Ice_LocatorRegistry_setServerProcessProxy_name, sync);
|
1359
|
+
::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_LocatorRegistry_setServerProcessProxy_name, del, cookie, sync);
|
1205
1360
|
try
|
1206
1361
|
{
|
1207
|
-
|
1208
|
-
::
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1362
|
+
result->prepare(iceC_Ice_LocatorRegistry_setServerProcessProxy_name, ::Ice::Idempotent, context);
|
1363
|
+
::Ice::OutputStream* ostr = result->startWriteParams(::Ice::DefaultFormat);
|
1364
|
+
ostr->write(iceP_id);
|
1365
|
+
ostr->write(iceP_proxy);
|
1366
|
+
result->endWriteParams();
|
1367
|
+
result->invoke(iceC_Ice_LocatorRegistry_setServerProcessProxy_name);
|
1213
1368
|
}
|
1214
|
-
catch(const ::Ice::Exception&
|
1369
|
+
catch(const ::Ice::Exception& ex)
|
1215
1370
|
{
|
1216
|
-
|
1371
|
+
result->abort(ex);
|
1217
1372
|
}
|
1218
|
-
return
|
1219
|
-
}
|
1220
|
-
|
1221
|
-
#ifdef ICE_CPP11
|
1222
|
-
|
1223
|
-
::Ice::AsyncResultPtr
|
1224
|
-
IceProxy::Ice::LocatorRegistry::__begin_setServerProcessProxy(const ::std::string& __p_id, const ::Ice::ProcessPrx& __p_proxy, const ::Ice::Context* __ctx, const ::IceInternal::Function<void ()>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
|
1225
|
-
{
|
1226
|
-
class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
|
1227
|
-
{
|
1228
|
-
public:
|
1229
|
-
|
1230
|
-
Cpp11CB(const ::std::function<void ()>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
|
1231
|
-
::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
|
1232
|
-
_response(responseFunc)
|
1233
|
-
{
|
1234
|
-
CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
|
1235
|
-
}
|
1236
|
-
|
1237
|
-
virtual void completed(const ::Ice::AsyncResultPtr& __result) const
|
1238
|
-
{
|
1239
|
-
::Ice::LocatorRegistryPrx __proxy = ::Ice::LocatorRegistryPrx::uncheckedCast(__result->getProxy());
|
1240
|
-
try
|
1241
|
-
{
|
1242
|
-
__proxy->end_setServerProcessProxy(__result);
|
1243
|
-
}
|
1244
|
-
catch(const ::Ice::Exception& ex)
|
1245
|
-
{
|
1246
|
-
Cpp11FnCallbackNC::exception(__result, ex);
|
1247
|
-
return;
|
1248
|
-
}
|
1249
|
-
if(_response != nullptr)
|
1250
|
-
{
|
1251
|
-
_response();
|
1252
|
-
}
|
1253
|
-
}
|
1254
|
-
|
1255
|
-
private:
|
1256
|
-
|
1257
|
-
::std::function<void ()> _response;
|
1258
|
-
};
|
1259
|
-
return begin_setServerProcessProxy(__p_id, __p_proxy, __ctx, new Cpp11CB(__response, __exception, __sent));
|
1373
|
+
return result;
|
1260
1374
|
}
|
1261
|
-
#endif
|
1262
1375
|
|
1263
1376
|
void
|
1264
|
-
IceProxy::Ice::LocatorRegistry::end_setServerProcessProxy(const ::Ice::AsyncResultPtr&
|
1377
|
+
IceProxy::Ice::LocatorRegistry::end_setServerProcessProxy(const ::Ice::AsyncResultPtr& result)
|
1265
1378
|
{
|
1266
|
-
::Ice::AsyncResult::
|
1267
|
-
if(!
|
1379
|
+
::Ice::AsyncResult::_check(result, this, iceC_Ice_LocatorRegistry_setServerProcessProxy_name);
|
1380
|
+
if(!result->_waitForResponse())
|
1268
1381
|
{
|
1269
1382
|
try
|
1270
1383
|
{
|
1271
|
-
|
1384
|
+
result->_throwUserException();
|
1272
1385
|
}
|
1273
1386
|
catch(const ::Ice::ServerNotFoundException&)
|
1274
1387
|
{
|
1275
1388
|
throw;
|
1276
1389
|
}
|
1277
|
-
catch(const ::Ice::UserException&
|
1390
|
+
catch(const ::Ice::UserException& ex)
|
1278
1391
|
{
|
1279
|
-
throw ::Ice::UnknownUserException(__FILE__, __LINE__,
|
1392
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
|
1280
1393
|
}
|
1281
1394
|
}
|
1282
|
-
|
1395
|
+
result->_readEmptyParams();
|
1396
|
+
}
|
1397
|
+
|
1398
|
+
/// \cond INTERNAL
|
1399
|
+
::IceProxy::Ice::Object*
|
1400
|
+
IceProxy::Ice::LocatorRegistry::_newInstance() const
|
1401
|
+
{
|
1402
|
+
return new LocatorRegistry;
|
1283
1403
|
}
|
1404
|
+
/// \endcond
|
1284
1405
|
|
1285
1406
|
const ::std::string&
|
1286
1407
|
IceProxy::Ice::LocatorRegistry::ice_staticId()
|
@@ -1288,139 +1409,73 @@ IceProxy::Ice::LocatorRegistry::ice_staticId()
|
|
1288
1409
|
return ::Ice::LocatorRegistry::ice_staticId();
|
1289
1410
|
}
|
1290
1411
|
|
1291
|
-
|
1292
|
-
IceProxy::Ice::
|
1293
|
-
{
|
1294
|
-
return new LocatorRegistry;
|
1295
|
-
}
|
1296
|
-
#ifdef __SUNPRO_CC
|
1297
|
-
class ICE_API IceProxy::Ice::LocatorFinder;
|
1298
|
-
#endif
|
1299
|
-
ICE_API ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(::IceProxy::Ice::LocatorFinder* p) { return p; }
|
1412
|
+
/// \cond INTERNAL
|
1413
|
+
ICE_API ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(LocatorFinder* p) { return p; }
|
1300
1414
|
|
1301
1415
|
void
|
1302
|
-
::IceProxy::Ice::
|
1416
|
+
::IceProxy::Ice::_readProxy(::Ice::InputStream* istr, ::IceInternal::ProxyHandle< LocatorFinder>& v)
|
1303
1417
|
{
|
1304
1418
|
::Ice::ObjectPrx proxy;
|
1305
|
-
|
1419
|
+
istr->read(proxy);
|
1306
1420
|
if(!proxy)
|
1307
1421
|
{
|
1308
1422
|
v = 0;
|
1309
1423
|
}
|
1310
1424
|
else
|
1311
1425
|
{
|
1312
|
-
v = new
|
1313
|
-
v->
|
1314
|
-
}
|
1315
|
-
}
|
1316
|
-
|
1317
|
-
::Ice::LocatorPrx
|
1318
|
-
IceProxy::Ice::LocatorFinder::getLocator(const ::Ice::Context* __ctx)
|
1319
|
-
{
|
1320
|
-
__checkTwowayOnly(__Ice__LocatorFinder__getLocator_name);
|
1321
|
-
::IceInternal::Outgoing __og(this, __Ice__LocatorFinder__getLocator_name, ::Ice::Normal, __ctx);
|
1322
|
-
__og.writeEmptyParams();
|
1323
|
-
if(!__og.invoke())
|
1324
|
-
{
|
1325
|
-
try
|
1326
|
-
{
|
1327
|
-
__og.throwUserException();
|
1328
|
-
}
|
1329
|
-
catch(const ::Ice::UserException& __ex)
|
1330
|
-
{
|
1331
|
-
::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
|
1332
|
-
throw __uue;
|
1333
|
-
}
|
1426
|
+
v = new LocatorFinder;
|
1427
|
+
v->_copyFrom(proxy);
|
1334
1428
|
}
|
1335
|
-
::Ice::LocatorPrx __ret;
|
1336
|
-
::IceInternal::BasicStream* __is = __og.startReadParams();
|
1337
|
-
__is->read(__ret);
|
1338
|
-
__og.endReadParams();
|
1339
|
-
return __ret;
|
1340
1429
|
}
|
1430
|
+
/// \endcond
|
1341
1431
|
|
1342
1432
|
::Ice::AsyncResultPtr
|
1343
|
-
IceProxy::Ice::LocatorFinder::
|
1433
|
+
IceProxy::Ice::LocatorFinder::_iceI_begin_getLocator(const ::Ice::Context& context, const ::IceInternal::CallbackBasePtr& del, const ::Ice::LocalObjectPtr& cookie, bool sync)
|
1344
1434
|
{
|
1345
|
-
|
1346
|
-
::IceInternal::OutgoingAsyncPtr
|
1435
|
+
_checkTwowayOnly(iceC_Ice_LocatorFinder_getLocator_name, sync);
|
1436
|
+
::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_LocatorFinder_getLocator_name, del, cookie, sync);
|
1347
1437
|
try
|
1348
1438
|
{
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1439
|
+
result->prepare(iceC_Ice_LocatorFinder_getLocator_name, ::Ice::Normal, context);
|
1440
|
+
result->writeEmptyParams();
|
1441
|
+
result->invoke(iceC_Ice_LocatorFinder_getLocator_name);
|
1352
1442
|
}
|
1353
|
-
catch(const ::Ice::Exception&
|
1443
|
+
catch(const ::Ice::Exception& ex)
|
1354
1444
|
{
|
1355
|
-
|
1445
|
+
result->abort(ex);
|
1356
1446
|
}
|
1357
|
-
return
|
1358
|
-
}
|
1359
|
-
|
1360
|
-
#ifdef ICE_CPP11
|
1361
|
-
|
1362
|
-
::Ice::AsyncResultPtr
|
1363
|
-
IceProxy::Ice::LocatorFinder::__begin_getLocator(const ::Ice::Context* __ctx, const ::IceInternal::Function<void (const ::Ice::LocatorPrx&)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
|
1364
|
-
{
|
1365
|
-
class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
|
1366
|
-
{
|
1367
|
-
public:
|
1368
|
-
|
1369
|
-
Cpp11CB(const ::std::function<void (const ::Ice::LocatorPrx&)>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
|
1370
|
-
::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
|
1371
|
-
_response(responseFunc)
|
1372
|
-
{
|
1373
|
-
CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
|
1374
|
-
}
|
1375
|
-
|
1376
|
-
virtual void completed(const ::Ice::AsyncResultPtr& __result) const
|
1377
|
-
{
|
1378
|
-
::Ice::LocatorFinderPrx __proxy = ::Ice::LocatorFinderPrx::uncheckedCast(__result->getProxy());
|
1379
|
-
::Ice::LocatorPrx __ret;
|
1380
|
-
try
|
1381
|
-
{
|
1382
|
-
__ret = __proxy->end_getLocator(__result);
|
1383
|
-
}
|
1384
|
-
catch(const ::Ice::Exception& ex)
|
1385
|
-
{
|
1386
|
-
Cpp11FnCallbackNC::exception(__result, ex);
|
1387
|
-
return;
|
1388
|
-
}
|
1389
|
-
if(_response != nullptr)
|
1390
|
-
{
|
1391
|
-
_response(__ret);
|
1392
|
-
}
|
1393
|
-
}
|
1394
|
-
|
1395
|
-
private:
|
1396
|
-
|
1397
|
-
::std::function<void (const ::Ice::LocatorPrx&)> _response;
|
1398
|
-
};
|
1399
|
-
return begin_getLocator(__ctx, new Cpp11CB(__response, __exception, __sent));
|
1447
|
+
return result;
|
1400
1448
|
}
|
1401
|
-
#endif
|
1402
1449
|
|
1403
1450
|
::Ice::LocatorPrx
|
1404
|
-
IceProxy::Ice::LocatorFinder::end_getLocator(const ::Ice::AsyncResultPtr&
|
1451
|
+
IceProxy::Ice::LocatorFinder::end_getLocator(const ::Ice::AsyncResultPtr& result)
|
1405
1452
|
{
|
1406
|
-
::Ice::AsyncResult::
|
1407
|
-
::Ice::LocatorPrx
|
1408
|
-
if(!
|
1453
|
+
::Ice::AsyncResult::_check(result, this, iceC_Ice_LocatorFinder_getLocator_name);
|
1454
|
+
::Ice::LocatorPrx ret;
|
1455
|
+
if(!result->_waitForResponse())
|
1409
1456
|
{
|
1410
1457
|
try
|
1411
1458
|
{
|
1412
|
-
|
1459
|
+
result->_throwUserException();
|
1413
1460
|
}
|
1414
|
-
catch(const ::Ice::UserException&
|
1461
|
+
catch(const ::Ice::UserException& ex)
|
1415
1462
|
{
|
1416
|
-
throw ::Ice::UnknownUserException(__FILE__, __LINE__,
|
1463
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
|
1417
1464
|
}
|
1418
1465
|
}
|
1419
|
-
::
|
1420
|
-
|
1421
|
-
|
1422
|
-
return
|
1466
|
+
::Ice::InputStream* istr = result->_startReadParams();
|
1467
|
+
istr->read(ret);
|
1468
|
+
result->_endReadParams();
|
1469
|
+
return ret;
|
1470
|
+
}
|
1471
|
+
|
1472
|
+
/// \cond INTERNAL
|
1473
|
+
::IceProxy::Ice::Object*
|
1474
|
+
IceProxy::Ice::LocatorFinder::_newInstance() const
|
1475
|
+
{
|
1476
|
+
return new LocatorFinder;
|
1423
1477
|
}
|
1478
|
+
/// \endcond
|
1424
1479
|
|
1425
1480
|
const ::std::string&
|
1426
1481
|
IceProxy::Ice::LocatorFinder::ice_staticId()
|
@@ -1428,17 +1483,18 @@ IceProxy::Ice::LocatorFinder::ice_staticId()
|
|
1428
1483
|
return ::Ice::LocatorFinder::ice_staticId();
|
1429
1484
|
}
|
1430
1485
|
|
1431
|
-
|
1432
|
-
IceProxy::Ice::LocatorFinder::__newInstance() const
|
1486
|
+
Ice::Locator::~Locator()
|
1433
1487
|
{
|
1434
|
-
return new LocatorFinder;
|
1435
1488
|
}
|
1436
1489
|
|
1437
|
-
|
1490
|
+
/// \cond INTERNAL
|
1491
|
+
ICE_API ::Ice::Object* Ice::upCast(Locator* p) { return p; }
|
1492
|
+
|
1493
|
+
/// \endcond
|
1438
1494
|
|
1439
1495
|
namespace
|
1440
1496
|
{
|
1441
|
-
const ::std::string
|
1497
|
+
const ::std::string iceC_Ice_Locator_ids[2] =
|
1442
1498
|
{
|
1443
1499
|
"::Ice::Locator",
|
1444
1500
|
"::Ice::Object"
|
@@ -1447,21 +1503,21 @@ const ::std::string __Ice__Locator_ids[2] =
|
|
1447
1503
|
}
|
1448
1504
|
|
1449
1505
|
bool
|
1450
|
-
Ice::Locator::ice_isA(const ::std::string&
|
1506
|
+
Ice::Locator::ice_isA(const ::std::string& s, const Current&) const
|
1451
1507
|
{
|
1452
|
-
return ::std::binary_search(
|
1508
|
+
return ::std::binary_search(iceC_Ice_Locator_ids, iceC_Ice_Locator_ids + 2, s);
|
1453
1509
|
}
|
1454
1510
|
|
1455
1511
|
::std::vector< ::std::string>
|
1456
|
-
Ice::Locator::ice_ids(const
|
1512
|
+
Ice::Locator::ice_ids(const Current&) const
|
1457
1513
|
{
|
1458
|
-
return ::std::vector< ::std::string>(&
|
1514
|
+
return ::std::vector< ::std::string>(&iceC_Ice_Locator_ids[0], &iceC_Ice_Locator_ids[2]);
|
1459
1515
|
}
|
1460
1516
|
|
1461
1517
|
const ::std::string&
|
1462
|
-
Ice::Locator::ice_id(const
|
1518
|
+
Ice::Locator::ice_id(const Current&) const
|
1463
1519
|
{
|
1464
|
-
return
|
1520
|
+
return ice_staticId();
|
1465
1521
|
}
|
1466
1522
|
|
1467
1523
|
const ::std::string&
|
@@ -1471,73 +1527,55 @@ Ice::Locator::ice_staticId()
|
|
1471
1527
|
static const ::std::string typeId = "::Ice::Locator";
|
1472
1528
|
return typeId;
|
1473
1529
|
#else
|
1474
|
-
return
|
1530
|
+
return iceC_Ice_Locator_ids[0];
|
1475
1531
|
#endif
|
1476
1532
|
}
|
1477
1533
|
|
1478
|
-
|
1479
|
-
|
1534
|
+
/// \cond INTERNAL
|
1535
|
+
bool
|
1536
|
+
Ice::Locator::_iceD_findObjectById(::IceInternal::Incoming& inS, const Current& current) const
|
1480
1537
|
{
|
1481
|
-
|
1482
|
-
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
1488
|
-
{
|
1489
|
-
findObjectById_async(__cb, __p_id, __current);
|
1490
|
-
}
|
1491
|
-
catch(const ::std::exception& __ex)
|
1492
|
-
{
|
1493
|
-
__cb->ice_exception(__ex);
|
1494
|
-
}
|
1495
|
-
catch(...)
|
1496
|
-
{
|
1497
|
-
__cb->ice_exception();
|
1498
|
-
}
|
1499
|
-
return ::Ice::DispatchAsync;
|
1538
|
+
_iceCheckMode(::Ice::Idempotent, current.mode);
|
1539
|
+
InputStream* istr = inS.startReadParams();
|
1540
|
+
Identity iceP_id;
|
1541
|
+
istr->read(iceP_id);
|
1542
|
+
inS.endReadParams();
|
1543
|
+
this->findObjectById_async(new IceAsync::Ice::AMD_Locator_findObjectById(inS), iceP_id, current);
|
1544
|
+
return false;
|
1500
1545
|
}
|
1546
|
+
/// \endcond
|
1501
1547
|
|
1502
|
-
|
1503
|
-
|
1548
|
+
/// \cond INTERNAL
|
1549
|
+
bool
|
1550
|
+
Ice::Locator::_iceD_findAdapterById(::IceInternal::Incoming& inS, const Current& current) const
|
1504
1551
|
{
|
1505
|
-
|
1506
|
-
|
1507
|
-
::std::string
|
1508
|
-
|
1509
|
-
|
1510
|
-
|
1511
|
-
|
1512
|
-
{
|
1513
|
-
findAdapterById_async(__cb, __p_id, __current);
|
1514
|
-
}
|
1515
|
-
catch(const ::std::exception& __ex)
|
1516
|
-
{
|
1517
|
-
__cb->ice_exception(__ex);
|
1518
|
-
}
|
1519
|
-
catch(...)
|
1520
|
-
{
|
1521
|
-
__cb->ice_exception();
|
1522
|
-
}
|
1523
|
-
return ::Ice::DispatchAsync;
|
1552
|
+
_iceCheckMode(::Ice::Idempotent, current.mode);
|
1553
|
+
InputStream* istr = inS.startReadParams();
|
1554
|
+
::std::string iceP_id;
|
1555
|
+
istr->read(iceP_id);
|
1556
|
+
inS.endReadParams();
|
1557
|
+
this->findAdapterById_async(new IceAsync::Ice::AMD_Locator_findAdapterById(inS), iceP_id, current);
|
1558
|
+
return false;
|
1524
1559
|
}
|
1560
|
+
/// \endcond
|
1525
1561
|
|
1526
|
-
|
1527
|
-
|
1562
|
+
/// \cond INTERNAL
|
1563
|
+
bool
|
1564
|
+
Ice::Locator::_iceD_getRegistry(::IceInternal::Incoming& inS, const Current& current) const
|
1528
1565
|
{
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1535
|
-
return
|
1566
|
+
_iceCheckMode(::Ice::Idempotent, current.mode);
|
1567
|
+
inS.readEmptyParams();
|
1568
|
+
LocatorRegistryPrx ret = this->getRegistry(current);
|
1569
|
+
OutputStream* ostr = inS.startWriteParams();
|
1570
|
+
ostr->write(ret);
|
1571
|
+
inS.endWriteParams();
|
1572
|
+
return true;
|
1536
1573
|
}
|
1574
|
+
/// \endcond
|
1537
1575
|
|
1538
1576
|
namespace
|
1539
1577
|
{
|
1540
|
-
const ::std::string
|
1578
|
+
const ::std::string iceC_Ice_Locator_all[] =
|
1541
1579
|
{
|
1542
1580
|
"findAdapterById",
|
1543
1581
|
"findObjectById",
|
@@ -1550,80 +1588,97 @@ const ::std::string __Ice__Locator_all[] =
|
|
1550
1588
|
|
1551
1589
|
}
|
1552
1590
|
|
1553
|
-
|
1554
|
-
|
1591
|
+
/// \cond INTERNAL
|
1592
|
+
bool
|
1593
|
+
Ice::Locator::_iceDispatch(::IceInternal::Incoming& in, const Current& current)
|
1555
1594
|
{
|
1556
|
-
::std::pair<
|
1595
|
+
::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_Locator_all, iceC_Ice_Locator_all + 7, current.operation);
|
1557
1596
|
if(r.first == r.second)
|
1558
1597
|
{
|
1559
|
-
throw
|
1598
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1560
1599
|
}
|
1561
1600
|
|
1562
|
-
switch(r.first -
|
1601
|
+
switch(r.first - iceC_Ice_Locator_all)
|
1563
1602
|
{
|
1564
1603
|
case 0:
|
1565
1604
|
{
|
1566
|
-
return
|
1605
|
+
return _iceD_findAdapterById(in, current);
|
1567
1606
|
}
|
1568
1607
|
case 1:
|
1569
1608
|
{
|
1570
|
-
return
|
1609
|
+
return _iceD_findObjectById(in, current);
|
1571
1610
|
}
|
1572
1611
|
case 2:
|
1573
1612
|
{
|
1574
|
-
return
|
1613
|
+
return _iceD_getRegistry(in, current);
|
1575
1614
|
}
|
1576
1615
|
case 3:
|
1577
1616
|
{
|
1578
|
-
return
|
1617
|
+
return _iceD_ice_id(in, current);
|
1579
1618
|
}
|
1580
1619
|
case 4:
|
1581
1620
|
{
|
1582
|
-
return
|
1621
|
+
return _iceD_ice_ids(in, current);
|
1583
1622
|
}
|
1584
1623
|
case 5:
|
1585
1624
|
{
|
1586
|
-
return
|
1625
|
+
return _iceD_ice_isA(in, current);
|
1587
1626
|
}
|
1588
1627
|
case 6:
|
1589
1628
|
{
|
1590
|
-
return
|
1629
|
+
return _iceD_ice_ping(in, current);
|
1630
|
+
}
|
1631
|
+
default:
|
1632
|
+
{
|
1633
|
+
assert(false);
|
1634
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1591
1635
|
}
|
1592
1636
|
}
|
1593
|
-
|
1594
|
-
assert(false);
|
1595
|
-
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1596
1637
|
}
|
1638
|
+
/// \endcond
|
1597
1639
|
|
1640
|
+
/// \cond STREAM
|
1598
1641
|
void
|
1599
|
-
Ice::Locator::
|
1642
|
+
Ice::Locator::_iceWriteImpl(OutputStream* ostr) const
|
1600
1643
|
{
|
1601
|
-
|
1602
|
-
|
1644
|
+
ostr->startSlice(ice_staticId(), -1, true);
|
1645
|
+
StreamWriter< Locator, OutputStream>::write(ostr, *this);
|
1646
|
+
ostr->endSlice();
|
1603
1647
|
}
|
1604
1648
|
|
1605
1649
|
void
|
1606
|
-
Ice::Locator::
|
1650
|
+
Ice::Locator::_iceReadImpl(InputStream* istr)
|
1607
1651
|
{
|
1608
|
-
|
1609
|
-
|
1652
|
+
istr->startSlice();
|
1653
|
+
StreamReader< Locator, InputStream>::read(istr, *this);
|
1654
|
+
istr->endSlice();
|
1610
1655
|
}
|
1656
|
+
/// \endcond
|
1611
1657
|
|
1612
|
-
|
1613
|
-
|
1658
|
+
/// \cond INTERNAL
|
1659
|
+
void
|
1660
|
+
Ice::_icePatchObjectPtr(LocatorPtr& handle, const ObjectPtr& v)
|
1614
1661
|
{
|
1615
|
-
handle =
|
1662
|
+
handle = LocatorPtr::dynamicCast(v);
|
1616
1663
|
if(v && !handle)
|
1617
1664
|
{
|
1618
|
-
IceInternal::Ex::throwUOE(
|
1665
|
+
IceInternal::Ex::throwUOE(Locator::ice_staticId(), v);
|
1619
1666
|
}
|
1620
1667
|
}
|
1668
|
+
/// \endcond
|
1669
|
+
|
1670
|
+
Ice::LocatorRegistry::~LocatorRegistry()
|
1671
|
+
{
|
1672
|
+
}
|
1621
1673
|
|
1622
|
-
|
1674
|
+
/// \cond INTERNAL
|
1675
|
+
ICE_API ::Ice::Object* Ice::upCast(LocatorRegistry* p) { return p; }
|
1676
|
+
|
1677
|
+
/// \endcond
|
1623
1678
|
|
1624
1679
|
namespace
|
1625
1680
|
{
|
1626
|
-
const ::std::string
|
1681
|
+
const ::std::string iceC_Ice_LocatorRegistry_ids[2] =
|
1627
1682
|
{
|
1628
1683
|
"::Ice::LocatorRegistry",
|
1629
1684
|
"::Ice::Object"
|
@@ -1632,21 +1687,21 @@ const ::std::string __Ice__LocatorRegistry_ids[2] =
|
|
1632
1687
|
}
|
1633
1688
|
|
1634
1689
|
bool
|
1635
|
-
Ice::LocatorRegistry::ice_isA(const ::std::string&
|
1690
|
+
Ice::LocatorRegistry::ice_isA(const ::std::string& s, const Current&) const
|
1636
1691
|
{
|
1637
|
-
return ::std::binary_search(
|
1692
|
+
return ::std::binary_search(iceC_Ice_LocatorRegistry_ids, iceC_Ice_LocatorRegistry_ids + 2, s);
|
1638
1693
|
}
|
1639
1694
|
|
1640
1695
|
::std::vector< ::std::string>
|
1641
|
-
Ice::LocatorRegistry::ice_ids(const
|
1696
|
+
Ice::LocatorRegistry::ice_ids(const Current&) const
|
1642
1697
|
{
|
1643
|
-
return ::std::vector< ::std::string>(&
|
1698
|
+
return ::std::vector< ::std::string>(&iceC_Ice_LocatorRegistry_ids[0], &iceC_Ice_LocatorRegistry_ids[2]);
|
1644
1699
|
}
|
1645
1700
|
|
1646
1701
|
const ::std::string&
|
1647
|
-
Ice::LocatorRegistry::ice_id(const
|
1702
|
+
Ice::LocatorRegistry::ice_id(const Current&) const
|
1648
1703
|
{
|
1649
|
-
return
|
1704
|
+
return ice_staticId();
|
1650
1705
|
}
|
1651
1706
|
|
1652
1707
|
const ::std::string&
|
@@ -1656,93 +1711,63 @@ Ice::LocatorRegistry::ice_staticId()
|
|
1656
1711
|
static const ::std::string typeId = "::Ice::LocatorRegistry";
|
1657
1712
|
return typeId;
|
1658
1713
|
#else
|
1659
|
-
return
|
1714
|
+
return iceC_Ice_LocatorRegistry_ids[0];
|
1660
1715
|
#endif
|
1661
1716
|
}
|
1662
1717
|
|
1663
|
-
|
1664
|
-
|
1718
|
+
/// \cond INTERNAL
|
1719
|
+
bool
|
1720
|
+
Ice::LocatorRegistry::_iceD_setAdapterDirectProxy(::IceInternal::Incoming& inS, const Current& current)
|
1665
1721
|
{
|
1666
|
-
|
1667
|
-
|
1668
|
-
::std::string
|
1669
|
-
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1674
|
-
|
1675
|
-
{
|
1676
|
-
setAdapterDirectProxy_async(__cb, __p_id, __p_proxy, __current);
|
1677
|
-
}
|
1678
|
-
catch(const ::std::exception& __ex)
|
1679
|
-
{
|
1680
|
-
__cb->ice_exception(__ex);
|
1681
|
-
}
|
1682
|
-
catch(...)
|
1683
|
-
{
|
1684
|
-
__cb->ice_exception();
|
1685
|
-
}
|
1686
|
-
return ::Ice::DispatchAsync;
|
1687
|
-
}
|
1688
|
-
|
1689
|
-
::Ice::DispatchStatus
|
1690
|
-
Ice::LocatorRegistry::___setReplicatedAdapterDirectProxy(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
|
1691
|
-
{
|
1692
|
-
__checkMode(::Ice::Idempotent, __current.mode);
|
1693
|
-
::IceInternal::BasicStream* __is = __inS.startReadParams();
|
1694
|
-
::std::string __p_adapterId;
|
1695
|
-
::std::string __p_replicaGroupId;
|
1696
|
-
::Ice::ObjectPrx __p_p;
|
1697
|
-
__is->read(__p_adapterId);
|
1698
|
-
__is->read(__p_replicaGroupId);
|
1699
|
-
__is->read(__p_p);
|
1700
|
-
__inS.endReadParams();
|
1701
|
-
::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxyPtr __cb = new IceAsync::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy(__inS);
|
1702
|
-
try
|
1703
|
-
{
|
1704
|
-
setReplicatedAdapterDirectProxy_async(__cb, __p_adapterId, __p_replicaGroupId, __p_p, __current);
|
1705
|
-
}
|
1706
|
-
catch(const ::std::exception& __ex)
|
1707
|
-
{
|
1708
|
-
__cb->ice_exception(__ex);
|
1709
|
-
}
|
1710
|
-
catch(...)
|
1711
|
-
{
|
1712
|
-
__cb->ice_exception();
|
1713
|
-
}
|
1714
|
-
return ::Ice::DispatchAsync;
|
1722
|
+
_iceCheckMode(::Ice::Idempotent, current.mode);
|
1723
|
+
InputStream* istr = inS.startReadParams();
|
1724
|
+
::std::string iceP_id;
|
1725
|
+
ObjectPrx iceP_proxy;
|
1726
|
+
istr->read(iceP_id);
|
1727
|
+
istr->read(iceP_proxy);
|
1728
|
+
inS.endReadParams();
|
1729
|
+
this->setAdapterDirectProxy_async(new IceAsync::Ice::AMD_LocatorRegistry_setAdapterDirectProxy(inS), iceP_id, iceP_proxy, current);
|
1730
|
+
return false;
|
1715
1731
|
}
|
1732
|
+
/// \endcond
|
1716
1733
|
|
1717
|
-
|
1718
|
-
|
1734
|
+
/// \cond INTERNAL
|
1735
|
+
bool
|
1736
|
+
Ice::LocatorRegistry::_iceD_setReplicatedAdapterDirectProxy(::IceInternal::Incoming& inS, const Current& current)
|
1737
|
+
{
|
1738
|
+
_iceCheckMode(::Ice::Idempotent, current.mode);
|
1739
|
+
InputStream* istr = inS.startReadParams();
|
1740
|
+
::std::string iceP_adapterId;
|
1741
|
+
::std::string iceP_replicaGroupId;
|
1742
|
+
ObjectPrx iceP_p;
|
1743
|
+
istr->read(iceP_adapterId);
|
1744
|
+
istr->read(iceP_replicaGroupId);
|
1745
|
+
istr->read(iceP_p);
|
1746
|
+
inS.endReadParams();
|
1747
|
+
this->setReplicatedAdapterDirectProxy_async(new IceAsync::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy(inS), iceP_adapterId, iceP_replicaGroupId, iceP_p, current);
|
1748
|
+
return false;
|
1749
|
+
}
|
1750
|
+
/// \endcond
|
1751
|
+
|
1752
|
+
/// \cond INTERNAL
|
1753
|
+
bool
|
1754
|
+
Ice::LocatorRegistry::_iceD_setServerProcessProxy(::IceInternal::Incoming& inS, const Current& current)
|
1719
1755
|
{
|
1720
|
-
|
1721
|
-
|
1722
|
-
::std::string
|
1723
|
-
|
1724
|
-
|
1725
|
-
|
1726
|
-
|
1727
|
-
|
1728
|
-
|
1729
|
-
{
|
1730
|
-
setServerProcessProxy_async(__cb, __p_id, __p_proxy, __current);
|
1731
|
-
}
|
1732
|
-
catch(const ::std::exception& __ex)
|
1733
|
-
{
|
1734
|
-
__cb->ice_exception(__ex);
|
1735
|
-
}
|
1736
|
-
catch(...)
|
1737
|
-
{
|
1738
|
-
__cb->ice_exception();
|
1739
|
-
}
|
1740
|
-
return ::Ice::DispatchAsync;
|
1756
|
+
_iceCheckMode(::Ice::Idempotent, current.mode);
|
1757
|
+
InputStream* istr = inS.startReadParams();
|
1758
|
+
::std::string iceP_id;
|
1759
|
+
ProcessPrx iceP_proxy;
|
1760
|
+
istr->read(iceP_id);
|
1761
|
+
istr->read(iceP_proxy);
|
1762
|
+
inS.endReadParams();
|
1763
|
+
this->setServerProcessProxy_async(new IceAsync::Ice::AMD_LocatorRegistry_setServerProcessProxy(inS), iceP_id, iceP_proxy, current);
|
1764
|
+
return false;
|
1741
1765
|
}
|
1766
|
+
/// \endcond
|
1742
1767
|
|
1743
1768
|
namespace
|
1744
1769
|
{
|
1745
|
-
const ::std::string
|
1770
|
+
const ::std::string iceC_Ice_LocatorRegistry_all[] =
|
1746
1771
|
{
|
1747
1772
|
"ice_id",
|
1748
1773
|
"ice_ids",
|
@@ -1755,80 +1780,97 @@ const ::std::string __Ice__LocatorRegistry_all[] =
|
|
1755
1780
|
|
1756
1781
|
}
|
1757
1782
|
|
1758
|
-
|
1759
|
-
|
1783
|
+
/// \cond INTERNAL
|
1784
|
+
bool
|
1785
|
+
Ice::LocatorRegistry::_iceDispatch(::IceInternal::Incoming& in, const Current& current)
|
1760
1786
|
{
|
1761
|
-
::std::pair<
|
1787
|
+
::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_LocatorRegistry_all, iceC_Ice_LocatorRegistry_all + 7, current.operation);
|
1762
1788
|
if(r.first == r.second)
|
1763
1789
|
{
|
1764
|
-
throw
|
1790
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1765
1791
|
}
|
1766
1792
|
|
1767
|
-
switch(r.first -
|
1793
|
+
switch(r.first - iceC_Ice_LocatorRegistry_all)
|
1768
1794
|
{
|
1769
1795
|
case 0:
|
1770
1796
|
{
|
1771
|
-
return
|
1797
|
+
return _iceD_ice_id(in, current);
|
1772
1798
|
}
|
1773
1799
|
case 1:
|
1774
1800
|
{
|
1775
|
-
return
|
1801
|
+
return _iceD_ice_ids(in, current);
|
1776
1802
|
}
|
1777
1803
|
case 2:
|
1778
1804
|
{
|
1779
|
-
return
|
1805
|
+
return _iceD_ice_isA(in, current);
|
1780
1806
|
}
|
1781
1807
|
case 3:
|
1782
1808
|
{
|
1783
|
-
return
|
1809
|
+
return _iceD_ice_ping(in, current);
|
1784
1810
|
}
|
1785
1811
|
case 4:
|
1786
1812
|
{
|
1787
|
-
return
|
1813
|
+
return _iceD_setAdapterDirectProxy(in, current);
|
1788
1814
|
}
|
1789
1815
|
case 5:
|
1790
1816
|
{
|
1791
|
-
return
|
1817
|
+
return _iceD_setReplicatedAdapterDirectProxy(in, current);
|
1792
1818
|
}
|
1793
1819
|
case 6:
|
1794
1820
|
{
|
1795
|
-
return
|
1821
|
+
return _iceD_setServerProcessProxy(in, current);
|
1822
|
+
}
|
1823
|
+
default:
|
1824
|
+
{
|
1825
|
+
assert(false);
|
1826
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1796
1827
|
}
|
1797
1828
|
}
|
1798
|
-
|
1799
|
-
assert(false);
|
1800
|
-
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1801
1829
|
}
|
1830
|
+
/// \endcond
|
1802
1831
|
|
1832
|
+
/// \cond STREAM
|
1803
1833
|
void
|
1804
|
-
Ice::LocatorRegistry::
|
1834
|
+
Ice::LocatorRegistry::_iceWriteImpl(OutputStream* ostr) const
|
1805
1835
|
{
|
1806
|
-
|
1807
|
-
|
1836
|
+
ostr->startSlice(ice_staticId(), -1, true);
|
1837
|
+
StreamWriter< LocatorRegistry, OutputStream>::write(ostr, *this);
|
1838
|
+
ostr->endSlice();
|
1808
1839
|
}
|
1809
1840
|
|
1810
1841
|
void
|
1811
|
-
Ice::LocatorRegistry::
|
1842
|
+
Ice::LocatorRegistry::_iceReadImpl(InputStream* istr)
|
1812
1843
|
{
|
1813
|
-
|
1814
|
-
|
1844
|
+
istr->startSlice();
|
1845
|
+
StreamReader< LocatorRegistry, InputStream>::read(istr, *this);
|
1846
|
+
istr->endSlice();
|
1815
1847
|
}
|
1848
|
+
/// \endcond
|
1816
1849
|
|
1817
|
-
|
1818
|
-
|
1850
|
+
/// \cond INTERNAL
|
1851
|
+
void
|
1852
|
+
Ice::_icePatchObjectPtr(LocatorRegistryPtr& handle, const ObjectPtr& v)
|
1819
1853
|
{
|
1820
|
-
handle =
|
1854
|
+
handle = LocatorRegistryPtr::dynamicCast(v);
|
1821
1855
|
if(v && !handle)
|
1822
1856
|
{
|
1823
|
-
IceInternal::Ex::throwUOE(
|
1857
|
+
IceInternal::Ex::throwUOE(LocatorRegistry::ice_staticId(), v);
|
1824
1858
|
}
|
1825
1859
|
}
|
1860
|
+
/// \endcond
|
1826
1861
|
|
1827
|
-
|
1862
|
+
Ice::LocatorFinder::~LocatorFinder()
|
1863
|
+
{
|
1864
|
+
}
|
1865
|
+
|
1866
|
+
/// \cond INTERNAL
|
1867
|
+
ICE_API ::Ice::Object* Ice::upCast(LocatorFinder* p) { return p; }
|
1868
|
+
|
1869
|
+
/// \endcond
|
1828
1870
|
|
1829
1871
|
namespace
|
1830
1872
|
{
|
1831
|
-
const ::std::string
|
1873
|
+
const ::std::string iceC_Ice_LocatorFinder_ids[2] =
|
1832
1874
|
{
|
1833
1875
|
"::Ice::LocatorFinder",
|
1834
1876
|
"::Ice::Object"
|
@@ -1837,21 +1879,21 @@ const ::std::string __Ice__LocatorFinder_ids[2] =
|
|
1837
1879
|
}
|
1838
1880
|
|
1839
1881
|
bool
|
1840
|
-
Ice::LocatorFinder::ice_isA(const ::std::string&
|
1882
|
+
Ice::LocatorFinder::ice_isA(const ::std::string& s, const Current&) const
|
1841
1883
|
{
|
1842
|
-
return ::std::binary_search(
|
1884
|
+
return ::std::binary_search(iceC_Ice_LocatorFinder_ids, iceC_Ice_LocatorFinder_ids + 2, s);
|
1843
1885
|
}
|
1844
1886
|
|
1845
1887
|
::std::vector< ::std::string>
|
1846
|
-
Ice::LocatorFinder::ice_ids(const
|
1888
|
+
Ice::LocatorFinder::ice_ids(const Current&) const
|
1847
1889
|
{
|
1848
|
-
return ::std::vector< ::std::string>(&
|
1890
|
+
return ::std::vector< ::std::string>(&iceC_Ice_LocatorFinder_ids[0], &iceC_Ice_LocatorFinder_ids[2]);
|
1849
1891
|
}
|
1850
1892
|
|
1851
1893
|
const ::std::string&
|
1852
|
-
Ice::LocatorFinder::ice_id(const
|
1894
|
+
Ice::LocatorFinder::ice_id(const Current&) const
|
1853
1895
|
{
|
1854
|
-
return
|
1896
|
+
return ice_staticId();
|
1855
1897
|
}
|
1856
1898
|
|
1857
1899
|
const ::std::string&
|
@@ -1861,25 +1903,27 @@ Ice::LocatorFinder::ice_staticId()
|
|
1861
1903
|
static const ::std::string typeId = "::Ice::LocatorFinder";
|
1862
1904
|
return typeId;
|
1863
1905
|
#else
|
1864
|
-
return
|
1906
|
+
return iceC_Ice_LocatorFinder_ids[0];
|
1865
1907
|
#endif
|
1866
1908
|
}
|
1867
1909
|
|
1868
|
-
|
1869
|
-
|
1910
|
+
/// \cond INTERNAL
|
1911
|
+
bool
|
1912
|
+
Ice::LocatorFinder::_iceD_getLocator(::IceInternal::Incoming& inS, const Current& current)
|
1870
1913
|
{
|
1871
|
-
|
1872
|
-
|
1873
|
-
|
1874
|
-
|
1875
|
-
|
1876
|
-
|
1877
|
-
return
|
1914
|
+
_iceCheckMode(::Ice::Normal, current.mode);
|
1915
|
+
inS.readEmptyParams();
|
1916
|
+
LocatorPrx ret = this->getLocator(current);
|
1917
|
+
OutputStream* ostr = inS.startWriteParams();
|
1918
|
+
ostr->write(ret);
|
1919
|
+
inS.endWriteParams();
|
1920
|
+
return true;
|
1878
1921
|
}
|
1922
|
+
/// \endcond
|
1879
1923
|
|
1880
1924
|
namespace
|
1881
1925
|
{
|
1882
|
-
const ::std::string
|
1926
|
+
const ::std::string iceC_Ice_LocatorFinder_all[] =
|
1883
1927
|
{
|
1884
1928
|
"getLocator",
|
1885
1929
|
"ice_id",
|
@@ -1890,63 +1934,79 @@ const ::std::string __Ice__LocatorFinder_all[] =
|
|
1890
1934
|
|
1891
1935
|
}
|
1892
1936
|
|
1893
|
-
|
1894
|
-
|
1937
|
+
/// \cond INTERNAL
|
1938
|
+
bool
|
1939
|
+
Ice::LocatorFinder::_iceDispatch(::IceInternal::Incoming& in, const Current& current)
|
1895
1940
|
{
|
1896
|
-
::std::pair<
|
1941
|
+
::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_LocatorFinder_all, iceC_Ice_LocatorFinder_all + 5, current.operation);
|
1897
1942
|
if(r.first == r.second)
|
1898
1943
|
{
|
1899
|
-
throw
|
1944
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1900
1945
|
}
|
1901
1946
|
|
1902
|
-
switch(r.first -
|
1947
|
+
switch(r.first - iceC_Ice_LocatorFinder_all)
|
1903
1948
|
{
|
1904
1949
|
case 0:
|
1905
1950
|
{
|
1906
|
-
return
|
1951
|
+
return _iceD_getLocator(in, current);
|
1907
1952
|
}
|
1908
1953
|
case 1:
|
1909
1954
|
{
|
1910
|
-
return
|
1955
|
+
return _iceD_ice_id(in, current);
|
1911
1956
|
}
|
1912
1957
|
case 2:
|
1913
1958
|
{
|
1914
|
-
return
|
1959
|
+
return _iceD_ice_ids(in, current);
|
1915
1960
|
}
|
1916
1961
|
case 3:
|
1917
1962
|
{
|
1918
|
-
return
|
1963
|
+
return _iceD_ice_isA(in, current);
|
1919
1964
|
}
|
1920
1965
|
case 4:
|
1921
1966
|
{
|
1922
|
-
return
|
1967
|
+
return _iceD_ice_ping(in, current);
|
1968
|
+
}
|
1969
|
+
default:
|
1970
|
+
{
|
1971
|
+
assert(false);
|
1972
|
+
throw OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1923
1973
|
}
|
1924
1974
|
}
|
1925
|
-
|
1926
|
-
assert(false);
|
1927
|
-
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1928
1975
|
}
|
1976
|
+
/// \endcond
|
1929
1977
|
|
1978
|
+
/// \cond STREAM
|
1930
1979
|
void
|
1931
|
-
Ice::LocatorFinder::
|
1980
|
+
Ice::LocatorFinder::_iceWriteImpl(OutputStream* ostr) const
|
1932
1981
|
{
|
1933
|
-
|
1934
|
-
|
1982
|
+
ostr->startSlice(ice_staticId(), -1, true);
|
1983
|
+
StreamWriter< LocatorFinder, OutputStream>::write(ostr, *this);
|
1984
|
+
ostr->endSlice();
|
1935
1985
|
}
|
1936
1986
|
|
1937
1987
|
void
|
1938
|
-
Ice::LocatorFinder::
|
1988
|
+
Ice::LocatorFinder::_iceReadImpl(InputStream* istr)
|
1939
1989
|
{
|
1940
|
-
|
1941
|
-
|
1990
|
+
istr->startSlice();
|
1991
|
+
StreamReader< LocatorFinder, InputStream>::read(istr, *this);
|
1992
|
+
istr->endSlice();
|
1942
1993
|
}
|
1994
|
+
/// \endcond
|
1943
1995
|
|
1944
|
-
|
1945
|
-
|
1996
|
+
/// \cond INTERNAL
|
1997
|
+
void
|
1998
|
+
Ice::_icePatchObjectPtr(LocatorFinderPtr& handle, const ObjectPtr& v)
|
1946
1999
|
{
|
1947
|
-
handle =
|
2000
|
+
handle = LocatorFinderPtr::dynamicCast(v);
|
1948
2001
|
if(v && !handle)
|
1949
2002
|
{
|
1950
|
-
IceInternal::Ex::throwUOE(
|
2003
|
+
IceInternal::Ex::throwUOE(LocatorFinder::ice_staticId(), v);
|
1951
2004
|
}
|
1952
2005
|
}
|
2006
|
+
/// \endcond
|
2007
|
+
|
2008
|
+
namespace Ice
|
2009
|
+
{
|
2010
|
+
}
|
2011
|
+
|
2012
|
+
#endif
|