zeroc-ice 3.6.5 → 3.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/BZIP2_LICENSE +42 -0
- data/ICE_LICENSE +17 -17
- data/LICENSE +12 -12
- data/bin/slice2rb +1 -1
- data/ext/Communicator.cpp +150 -53
- data/ext/Communicator.h +1 -1
- data/ext/Config.h +2 -12
- data/ext/Connection.cpp +89 -68
- data/ext/Connection.h +1 -1
- data/ext/Endpoint.cpp +16 -45
- data/ext/Endpoint.h +1 -1
- data/ext/ImplicitContext.cpp +1 -5
- data/ext/ImplicitContext.h +1 -1
- data/ext/Init.cpp +4 -1
- data/ext/Logger.cpp +1 -1
- data/ext/Logger.h +1 -1
- data/ext/Operation.cpp +33 -44
- data/ext/Operation.h +1 -1
- data/ext/Properties.cpp +1 -1
- data/ext/Properties.h +1 -1
- data/ext/Proxy.cpp +22 -57
- data/ext/Proxy.h +1 -1
- data/ext/Slice.cpp +5 -5
- data/ext/Slice.h +1 -1
- data/ext/Types.cpp +244 -171
- data/ext/Types.h +118 -66
- data/ext/Util.cpp +13 -9
- data/ext/Util.h +10 -10
- data/ext/ValueFactoryManager.cpp +445 -0
- data/ext/ValueFactoryManager.h +100 -0
- data/ext/extconf.rb +47 -45
- data/ext/ice/bzip2/blocksort.c +1094 -0
- data/ext/ice/bzip2/bzlib.c +1572 -0
- data/ext/ice/bzip2/bzlib.h +282 -0
- data/ext/ice/bzip2/bzlib_private.h +509 -0
- data/ext/ice/bzip2/compress.c +672 -0
- data/ext/ice/bzip2/crctable.c +104 -0
- data/ext/ice/bzip2/decompress.c +646 -0
- data/ext/ice/bzip2/huffman.c +205 -0
- data/ext/ice/bzip2/randtable.c +84 -0
- data/ext/ice/cpp/include/Ice/Application.h +77 -60
- data/ext/ice/cpp/include/Ice/AsyncResult.h +34 -318
- data/ext/ice/cpp/include/Ice/AsyncResultF.h +4 -2
- data/ext/ice/cpp/include/Ice/BatchRequestInterceptor.h +5 -10
- data/ext/ice/cpp/include/Ice/BatchRequestQueueF.h +1 -1
- data/ext/ice/cpp/include/Ice/Buffer.h +10 -10
- data/ext/ice/cpp/include/Ice/CommunicatorAsync.h +14 -12
- data/ext/ice/cpp/include/Ice/Comparable.h +130 -0
- data/ext/ice/cpp/include/Ice/Config.h +7 -36
- data/ext/ice/cpp/include/Ice/ConnectionAsync.h +107 -11
- data/ext/ice/cpp/include/Ice/ConnectionIF.h +5 -1
- data/ext/ice/cpp/include/Ice/ConsoleUtil.h +28 -0
- data/ext/ice/cpp/include/Ice/{DefaultObjectFactory.h → DefaultValueFactory.h} +28 -14
- data/ext/ice/cpp/include/Ice/DispatchInterceptor.h +4 -6
- data/ext/ice/cpp/include/Ice/Dispatcher.h +14 -13
- data/ext/ice/cpp/include/Ice/DynamicLibrary.h +7 -5
- data/ext/ice/cpp/include/Ice/DynamicLibraryF.h +1 -1
- data/ext/ice/cpp/include/Ice/Exception.h +66 -56
- data/ext/ice/cpp/include/Ice/ExceptionHelpers.h +69 -0
- data/ext/ice/cpp/include/Ice/FactoryTable.h +11 -12
- data/ext/ice/cpp/include/Ice/FactoryTableInit.h +27 -25
- data/ext/ice/cpp/include/Ice/Format.h +6 -1
- data/ext/ice/cpp/include/Ice/Functional.h +33 -33
- data/ext/ice/cpp/include/Ice/GCObject.h +9 -5
- data/ext/ice/cpp/include/Ice/Handle.h +6 -11
- data/ext/ice/cpp/include/Ice/Ice.h +9 -5
- data/ext/ice/cpp/include/{IceUtil → Ice}/IconvStringConverter.h +108 -62
- data/ext/ice/cpp/include/Ice/Incoming.h +109 -33
- data/ext/ice/cpp/include/Ice/IncomingAsync.h +63 -23
- data/ext/ice/cpp/include/Ice/IncomingAsyncF.h +7 -1
- data/ext/ice/cpp/include/Ice/Initialize.h +178 -38
- data/ext/ice/cpp/include/Ice/InputStream.h +994 -0
- data/ext/ice/cpp/include/Ice/InstanceF.h +1 -2
- data/ext/ice/cpp/include/Ice/InterfaceByValue.h +46 -0
- data/ext/ice/cpp/include/Ice/LocalObject.h +9 -9
- data/ext/ice/cpp/include/Ice/LocalObjectF.h +1 -1
- data/ext/ice/cpp/include/Ice/LoggerUtil.h +20 -14
- data/ext/ice/cpp/include/Ice/MetricsAdminI.h +114 -65
- data/ext/ice/cpp/include/Ice/MetricsFunctional.h +23 -5
- data/ext/ice/cpp/include/Ice/MetricsObserverI.h +99 -26
- data/ext/ice/cpp/include/Ice/NativePropertiesAdmin.h +17 -4
- data/ext/ice/cpp/include/Ice/Object.h +105 -56
- data/ext/ice/cpp/include/Ice/ObjectF.h +8 -3
- data/ext/ice/cpp/include/Ice/ObserverHelper.h +18 -8
- data/ext/ice/cpp/include/Ice/Optional.h +1084 -0
- data/ext/ice/cpp/include/Ice/OutgoingAsync.h +655 -84
- data/ext/ice/cpp/include/Ice/OutgoingAsyncF.h +12 -6
- data/ext/ice/cpp/include/Ice/OutputStream.h +753 -0
- data/ext/ice/cpp/include/Ice/Protocol.h +19 -12
- data/ext/ice/cpp/include/Ice/Proxy.h +1329 -717
- data/ext/ice/cpp/include/Ice/ProxyF.h +11 -33
- data/ext/ice/cpp/include/Ice/ProxyFactoryF.h +1 -1
- data/ext/ice/cpp/include/Ice/ProxyHandle.h +34 -50
- data/ext/ice/cpp/include/Ice/ReferenceF.h +1 -1
- data/ext/ice/cpp/include/Ice/RegisterPlugins.h +22 -3
- data/ext/ice/cpp/include/Ice/RequestHandlerF.h +10 -4
- data/ext/ice/cpp/include/Ice/ResponseHandlerF.h +6 -1
- data/ext/ice/cpp/include/{IceUtil → Ice}/SHA1.h +16 -16
- data/ext/ice/cpp/include/Ice/ServantManagerF.h +1 -1
- data/ext/ice/cpp/include/Ice/Service.h +13 -18
- data/ext/ice/cpp/include/Ice/SliceChecksums.h +1 -1
- data/ext/ice/cpp/include/Ice/SlicedData.h +46 -20
- data/ext/ice/cpp/include/Ice/SlicedDataF.h +14 -6
- data/ext/ice/cpp/include/Ice/StreamHelpers.h +159 -49
- data/ext/ice/cpp/include/Ice/StringConverter.h +52 -0
- data/ext/ice/cpp/include/Ice/ThreadPoolF.h +1 -1
- data/{slice/Ice/ObjectFactoryF.ice → ext/ice/cpp/include/Ice/UUID.h} +9 -7
- data/ext/ice/cpp/include/{IceUtil → Ice}/UniquePtr.h +21 -22
- data/ext/ice/cpp/include/Ice/UniqueRef.h +98 -0
- data/ext/ice/cpp/include/Ice/UserExceptionFactory.h +40 -8
- data/ext/ice/cpp/include/Ice/Value.h +104 -0
- data/{slice/Freeze/ConnectionF.ice → ext/ice/cpp/include/Ice/ValueF.h} +11 -7
- data/ext/ice/cpp/include/IceSSL/Config.h +8 -23
- data/ext/ice/cpp/include/IceSSL/IceSSL.h +17 -6
- data/ext/ice/cpp/include/IceSSL/OpenSSL.h +130 -0
- data/ext/ice/cpp/include/IceSSL/Plugin.h +172 -259
- data/ext/ice/cpp/include/IceSSL/SChannel.h +66 -0
- data/ext/ice/cpp/include/IceSSL/SecureTransport.h +66 -0
- data/ext/ice/cpp/include/IceSSL/UWP.h +58 -0
- data/ext/ice/cpp/include/IceUtil/Atomic.h +8 -10
- data/ext/ice/cpp/include/IceUtil/Cond.h +17 -18
- data/ext/ice/cpp/include/IceUtil/Config.h +138 -39
- data/ext/ice/cpp/include/IceUtil/ConsoleUtil.h +97 -0
- data/ext/ice/cpp/include/IceUtil/CountDownLatch.h +5 -5
- data/ext/ice/cpp/include/IceUtil/CtrlCHandler.h +23 -17
- data/ext/ice/cpp/include/IceUtil/DisableWarnings.h +1 -3
- data/ext/ice/cpp/include/IceUtil/Exception.h +157 -67
- data/ext/ice/cpp/include/IceUtil/FileUtil.h +148 -0
- data/ext/ice/cpp/include/IceUtil/Functional.h +1 -2
- data/ext/ice/cpp/include/IceUtil/Handle.h +11 -11
- data/ext/ice/cpp/include/IceUtil/IceUtil.h +4 -10
- data/ext/ice/cpp/include/IceUtil/InputUtil.h +3 -3
- data/ext/ice/cpp/include/IceUtil/Iterator.h +2 -2
- data/ext/ice/cpp/include/IceUtil/Lock.h +8 -10
- data/ext/ice/cpp/include/IceUtil/Monitor.h +1 -2
- data/ext/ice/cpp/include/IceUtil/Mutex.h +17 -11
- data/ext/ice/cpp/include/IceUtil/MutexProtocol.h +2 -2
- data/ext/ice/cpp/include/IceUtil/MutexPtrLock.h +4 -4
- data/ext/ice/cpp/include/IceUtil/MutexPtrTryLock.h +4 -4
- data/ext/ice/cpp/include/IceUtil/Optional.h +32 -18
- data/ext/ice/cpp/include/IceUtil/Options.h +17 -18
- data/ext/ice/cpp/include/IceUtil/OutputUtil.h +55 -29
- data/ext/ice/cpp/include/IceUtil/PopDisableWarnings.h +6 -6
- data/ext/ice/cpp/include/IceUtil/PushDisableWarnings.h +11 -10
- data/ext/ice/cpp/include/IceUtil/Random.h +3 -3
- data/ext/ice/cpp/include/IceUtil/RecMutex.h +7 -8
- data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +58 -0
- data/ext/ice/cpp/include/IceUtil/ScannerConfig.h +1 -9
- data/ext/ice/cpp/include/IceUtil/ScopedArray.h +8 -2
- data/ext/ice/cpp/include/IceUtil/Shared.h +5 -7
- data/ext/ice/cpp/{src → include}/IceUtil/StopWatch.h +2 -2
- data/ext/ice/cpp/include/IceUtil/StringConverter.h +77 -72
- data/ext/ice/cpp/include/IceUtil/StringUtil.h +32 -21
- data/ext/ice/cpp/include/IceUtil/Thread.h +10 -12
- data/ext/ice/cpp/include/IceUtil/ThreadException.h +33 -42
- data/ext/ice/cpp/include/IceUtil/Time.h +3 -3
- data/ext/ice/cpp/include/IceUtil/Timer.h +14 -13
- data/ext/ice/cpp/include/IceUtil/UUID.h +2 -2
- data/ext/ice/cpp/include/IceUtil/UndefSysMacros.h +1 -1
- data/ext/ice/cpp/include/{Ice → generated/Ice}/BuiltinSequences.h +41 -8
- data/ext/ice/cpp/include/generated/Ice/Communicator.h +364 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/CommunicatorF.h +40 -8
- data/ext/ice/cpp/include/generated/Ice/Connection.h +872 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/ConnectionF.h +46 -8
- data/ext/ice/cpp/include/{Ice → generated/Ice}/Current.h +71 -8
- data/ext/ice/cpp/include/generated/Ice/Endpoint.h +582 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/EndpointF.h +62 -8
- data/ext/ice/cpp/include/{Ice → generated/Ice}/EndpointTypes.h +31 -16
- data/ext/ice/cpp/include/{Ice → generated/Ice}/FacetMap.h +23 -8
- data/ext/ice/cpp/include/generated/Ice/Identity.h +221 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/ImplicitContext.h +72 -13
- data/ext/ice/cpp/include/{Ice → generated/Ice}/ImplicitContextF.h +40 -8
- data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +602 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/InstrumentationF.h +54 -8
- data/ext/ice/cpp/include/generated/Ice/LocalException.h +2802 -0
- data/ext/ice/cpp/include/generated/Ice/Locator.h +2036 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/LocatorF.h +53 -12
- data/ext/ice/cpp/include/{Ice → generated/Ice}/Logger.h +71 -13
- data/ext/ice/cpp/include/{Ice → generated/Ice}/LoggerF.h +40 -8
- data/ext/ice/cpp/include/generated/Ice/Metrics.h +2649 -0
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +302 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/ObjectAdapterF.h +40 -8
- data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +142 -0
- data/ext/ice/cpp/include/generated/Ice/Plugin.h +197 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/PluginF.h +43 -8
- data/ext/ice/cpp/include/generated/Ice/Process.h +536 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/ProcessF.h +45 -10
- data/ext/ice/cpp/include/{Ice → generated/Ice}/Properties.h +88 -21
- data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +749 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/PropertiesF.h +48 -10
- data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +1449 -0
- data/ext/ice/cpp/include/generated/Ice/Router.h +1032 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/RouterF.h +45 -10
- data/ext/ice/cpp/include/{Ice → generated/Ice}/ServantLocator.h +65 -13
- data/ext/ice/cpp/include/{Ice → generated/Ice}/ServantLocatorF.h +40 -8
- data/ext/ice/cpp/include/{Ice → generated/Ice}/SliceChecksumDict.h +23 -8
- data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +169 -0
- data/ext/ice/cpp/include/generated/Ice/Version.h +334 -0
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +172 -0
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +98 -0
- data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +156 -0
- data/ext/ice/cpp/src/Ice/ACM.cpp +18 -14
- data/ext/ice/cpp/src/Ice/ACM.h +9 -2
- data/ext/ice/cpp/{include → src}/Ice/ACMF.h +10 -5
- data/ext/ice/cpp/src/Ice/Acceptor.cpp +6 -1
- data/ext/ice/cpp/src/Ice/Acceptor.h +4 -3
- data/ext/ice/cpp/src/Ice/AcceptorF.h +1 -1
- data/ext/ice/cpp/src/{IceUtil → Ice}/ArgVector.cpp +9 -9
- data/ext/ice/cpp/src/{IceUtil → Ice}/ArgVector.h +7 -7
- data/ext/ice/cpp/src/Ice/AsyncResult.cpp +15 -538
- data/ext/ice/cpp/src/Ice/Base64.cpp +11 -11
- data/ext/ice/cpp/src/Ice/Base64.h +1 -1
- data/ext/ice/cpp/src/Ice/BatchRequestQueue.cpp +40 -12
- data/ext/ice/cpp/src/Ice/BatchRequestQueue.h +15 -10
- data/ext/ice/cpp/src/Ice/Buffer.cpp +74 -12
- data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +20 -6
- data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +85 -190
- data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.h +17 -18
- data/ext/ice/cpp/src/Ice/Communicator.cpp +39 -8
- data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +27 -5
- data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +271 -104
- data/ext/ice/cpp/src/Ice/CommunicatorI.h +84 -28
- data/ext/ice/cpp/src/{IceUtil → Ice}/Cond.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ConnectRequestHandler.cpp +58 -125
- data/ext/ice/cpp/src/Ice/ConnectRequestHandler.h +11 -22
- data/ext/ice/cpp/src/Ice/ConnectRequestHandlerF.h +6 -2
- data/ext/ice/cpp/src/Ice/Connection.cpp +88 -8
- data/ext/ice/cpp/src/Ice/ConnectionF.cpp +27 -5
- data/ext/ice/cpp/src/Ice/ConnectionFactory.cpp +158 -80
- data/ext/ice/cpp/src/Ice/ConnectionFactory.h +41 -23
- data/ext/ice/cpp/{include → src}/Ice/ConnectionFactoryF.h +8 -3
- data/ext/ice/cpp/src/Ice/ConnectionI.cpp +707 -653
- data/ext/ice/cpp/src/Ice/ConnectionI.h +97 -69
- data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.cpp +2 -15
- data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.h +4 -3
- data/ext/ice/cpp/src/Ice/Connector.cpp +6 -1
- data/ext/ice/cpp/src/Ice/Connector.h +4 -3
- data/ext/ice/cpp/src/Ice/ConnectorF.h +1 -1
- data/ext/ice/cpp/src/{IceUtil → Ice}/CountDownLatch.cpp +4 -4
- data/ext/ice/cpp/src/Ice/Current.cpp +29 -6
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +6 -5
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.h +1 -1
- data/ext/ice/cpp/src/Ice/DefaultsAndOverridesF.h +1 -1
- data/ext/ice/cpp/src/Ice/DispatchInterceptor.cpp +5 -25
- data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +29 -19
- data/ext/ice/cpp/src/Ice/Endpoint.cpp +85 -6
- data/ext/ice/cpp/src/Ice/EndpointF.cpp +27 -5
- data/ext/ice/cpp/src/Ice/EndpointFactory.cpp +152 -1
- data/ext/ice/cpp/src/Ice/EndpointFactory.h +72 -6
- data/ext/ice/cpp/src/Ice/EndpointFactoryF.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointFactoryManager.cpp +35 -19
- data/ext/ice/cpp/src/Ice/EndpointFactoryManager.h +10 -4
- data/ext/ice/cpp/src/Ice/EndpointFactoryManagerF.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointI.cpp +17 -1
- data/ext/ice/cpp/src/Ice/EndpointI.h +35 -9
- data/ext/ice/cpp/src/Ice/EndpointIF.h +18 -5
- data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +18 -6
- data/ext/ice/cpp/src/Ice/EventHandler.cpp +6 -4
- data/ext/ice/cpp/src/Ice/EventHandler.h +13 -8
- data/ext/ice/cpp/src/Ice/EventHandlerF.h +5 -2
- data/ext/ice/cpp/src/Ice/Exception.cpp +95 -86
- data/ext/ice/cpp/src/Ice/FacetMap.cpp +20 -6
- data/ext/ice/cpp/src/Ice/FactoryTable.cpp +37 -28
- data/ext/ice/cpp/src/Ice/FactoryTableInit.cpp +2 -4
- data/ext/ice/cpp/src/Ice/GCObject.cpp +28 -25
- data/ext/ice/cpp/src/Ice/HashUtil.h +2 -3
- data/ext/ice/cpp/src/Ice/HttpParser.cpp +1 -2
- data/ext/ice/cpp/src/Ice/HttpParser.h +1 -1
- data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +92 -53
- data/ext/ice/cpp/src/Ice/IPEndpointI.h +19 -10
- data/ext/ice/cpp/src/Ice/IPEndpointIF.h +6 -2
- data/ext/ice/cpp/src/Ice/IconvStringConverter.cpp +56 -0
- data/ext/ice/cpp/src/Ice/Identity.cpp +24 -10
- data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +37 -6
- data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +27 -5
- data/ext/ice/cpp/src/Ice/ImplicitContextI.cpp +14 -14
- data/ext/ice/cpp/src/Ice/ImplicitContextI.h +7 -5
- data/ext/ice/cpp/src/Ice/Incoming.cpp +276 -245
- data/ext/ice/cpp/src/Ice/IncomingAsync.cpp +104 -209
- data/ext/ice/cpp/src/Ice/IncomingRequest.h +5 -4
- data/ext/ice/cpp/src/Ice/Initialize.cpp +299 -172
- data/ext/ice/cpp/src/Ice/InputStream.cpp +2773 -0
- data/ext/ice/cpp/src/Ice/Instance.cpp +191 -231
- data/ext/ice/cpp/src/Ice/Instance.h +30 -18
- data/ext/ice/cpp/src/Ice/Instrumentation.cpp +106 -7
- data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +27 -5
- data/ext/ice/cpp/src/Ice/InstrumentationI.cpp +117 -99
- data/ext/ice/cpp/src/Ice/InstrumentationI.h +30 -31
- data/ext/ice/cpp/src/Ice/LocalException.cpp +1190 -416
- data/ext/ice/cpp/src/Ice/LocalObject.cpp +1 -2
- data/ext/ice/cpp/src/Ice/Locator.cpp +1167 -1215
- data/ext/ice/cpp/src/Ice/LocatorF.cpp +29 -6
- data/ext/ice/cpp/src/Ice/LocatorInfo.cpp +129 -163
- data/ext/ice/cpp/src/Ice/LocatorInfo.h +29 -29
- data/ext/ice/cpp/src/Ice/LocatorInfoF.h +1 -1
- data/ext/ice/cpp/src/Ice/Logger.cpp +35 -5
- data/ext/ice/cpp/src/Ice/LoggerAdminI.cpp +178 -73
- data/ext/ice/cpp/src/Ice/LoggerAdminI.h +4 -4
- data/ext/ice/cpp/src/Ice/LoggerF.cpp +27 -5
- data/ext/ice/cpp/src/Ice/LoggerI.cpp +14 -44
- data/ext/ice/cpp/src/Ice/LoggerI.h +7 -13
- data/ext/ice/cpp/src/Ice/LoggerUtil.cpp +10 -12
- data/ext/ice/cpp/src/Ice/Metrics.cpp +1059 -1069
- data/ext/ice/cpp/src/Ice/MetricsAdminI.cpp +49 -19
- data/ext/ice/cpp/src/Ice/MetricsObserverI.cpp +1 -2
- data/ext/ice/cpp/src/Ice/Network.cpp +534 -170
- data/ext/ice/cpp/src/Ice/Network.h +100 -23
- data/ext/ice/cpp/src/Ice/NetworkF.h +2 -2
- data/ext/ice/cpp/src/Ice/NetworkProxy.cpp +21 -14
- data/ext/ice/cpp/src/Ice/NetworkProxy.h +5 -2
- data/ext/ice/cpp/src/Ice/NetworkProxyF.h +1 -1
- data/ext/ice/cpp/src/Ice/Object.cpp +217 -221
- data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +41 -6
- data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +27 -5
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +35 -14
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.h +13 -7
- data/ext/ice/cpp/{include → src}/Ice/ObjectAdapterFactoryF.h +5 -1
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +184 -58
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +32 -26
- data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +37 -6
- data/ext/ice/cpp/src/Ice/ObserverHelper.cpp +9 -32
- data/ext/ice/cpp/src/Ice/OpaqueEndpointI.cpp +40 -18
- data/ext/ice/cpp/src/Ice/OpaqueEndpointI.h +14 -5
- data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +803 -365
- data/ext/ice/cpp/src/Ice/OutputStream.cpp +1399 -0
- data/ext/ice/cpp/src/Ice/Plugin.cpp +45 -6
- data/ext/ice/cpp/src/Ice/PluginF.cpp +27 -5
- data/ext/ice/cpp/src/Ice/PluginManagerI.cpp +13 -13
- data/ext/ice/cpp/src/Ice/PluginManagerI.h +5 -6
- data/ext/ice/cpp/src/Ice/Process.cpp +256 -114
- data/ext/ice/cpp/src/Ice/ProcessF.cpp +29 -6
- data/ext/ice/cpp/src/Ice/Properties.cpp +38 -8
- data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +340 -328
- data/ext/ice/cpp/src/Ice/PropertiesAdminI.cpp +81 -17
- data/ext/ice/cpp/src/Ice/PropertiesAdminI.h +29 -5
- data/ext/ice/cpp/src/Ice/PropertiesF.cpp +29 -6
- data/ext/ice/cpp/src/Ice/PropertiesI.cpp +25 -26
- data/ext/ice/cpp/src/Ice/PropertiesI.h +8 -11
- data/ext/ice/cpp/src/Ice/PropertyNames.cpp +107 -50
- data/ext/ice/cpp/src/Ice/PropertyNames.h +4 -2
- data/ext/ice/cpp/src/Ice/Protocol.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ProtocolInstance.cpp +37 -2
- data/ext/ice/cpp/src/Ice/ProtocolInstance.h +9 -20
- data/ext/ice/cpp/src/Ice/ProtocolInstanceF.h +1 -1
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +6 -1
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.h +3 -1
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacadeF.h +1 -1
- data/ext/ice/cpp/src/Ice/Proxy.cpp +690 -964
- data/ext/ice/cpp/src/Ice/ProxyFactory.cpp +23 -32
- data/ext/ice/cpp/src/Ice/ProxyFactory.h +16 -11
- data/ext/ice/cpp/src/Ice/Reference.cpp +75 -69
- data/ext/ice/cpp/src/Ice/Reference.h +27 -22
- data/ext/ice/cpp/src/Ice/ReferenceFactory.cpp +18 -21
- data/ext/ice/cpp/src/Ice/ReferenceFactory.h +12 -12
- data/ext/ice/cpp/src/Ice/ReferenceFactoryF.h +1 -1
- data/ext/ice/cpp/src/Ice/RegisterPluginsInit.cpp +18 -4
- data/ext/ice/cpp/src/Ice/RegisterPluginsInit.h +1 -1
- data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +672 -552
- data/ext/ice/cpp/src/Ice/ReplyStatus.h +1 -1
- data/ext/ice/cpp/src/Ice/RequestHandler.cpp +5 -3
- data/ext/ice/cpp/src/Ice/RequestHandler.h +10 -13
- data/ext/ice/cpp/src/Ice/RequestHandlerFactory.cpp +10 -6
- data/ext/ice/cpp/src/Ice/RequestHandlerFactory.h +2 -2
- data/ext/ice/cpp/src/Ice/ResponseHandler.cpp +3 -6
- data/ext/ice/cpp/src/Ice/ResponseHandler.h +16 -7
- data/ext/ice/cpp/src/Ice/RetryQueue.cpp +6 -12
- data/ext/ice/cpp/src/Ice/RetryQueue.h +7 -6
- data/ext/ice/cpp/src/Ice/RetryQueueF.h +1 -1
- data/ext/ice/cpp/src/Ice/Router.cpp +523 -474
- data/ext/ice/cpp/src/Ice/RouterF.cpp +29 -6
- data/ext/ice/cpp/src/Ice/RouterInfo.cpp +91 -70
- data/ext/ice/cpp/src/Ice/RouterInfo.h +43 -32
- data/ext/ice/cpp/src/Ice/RouterInfoF.h +1 -1
- data/ext/ice/cpp/src/{IceUtil → Ice}/SHA1.cpp +21 -21
- data/ext/ice/cpp/src/Ice/Selector.cpp +989 -923
- data/ext/ice/cpp/src/Ice/Selector.h +100 -147
- data/ext/ice/cpp/src/Ice/ServantLocator.cpp +37 -6
- data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +27 -5
- data/ext/ice/cpp/src/Ice/ServantManager.cpp +9 -9
- data/ext/ice/cpp/src/Ice/ServantManager.h +1 -1
- data/ext/ice/cpp/src/Ice/SharedContext.h +2 -2
- data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +20 -6
- data/ext/ice/cpp/src/Ice/SliceChecksums.cpp +2 -2
- data/ext/ice/cpp/src/Ice/SlicedData.cpp +72 -20
- data/ext/ice/cpp/src/Ice/StreamSocket.cpp +173 -18
- data/ext/ice/cpp/src/Ice/StreamSocket.h +13 -4
- data/ext/ice/cpp/src/Ice/StringConverterPlugin.cpp +48 -17
- data/ext/ice/cpp/src/Ice/StringUtil.h +35 -0
- data/ext/ice/cpp/src/Ice/SysLoggerI.cpp +8 -4
- data/ext/ice/cpp/src/Ice/SysLoggerI.h +2 -3
- data/ext/ice/cpp/src/Ice/TcpAcceptor.cpp +158 -32
- data/ext/ice/cpp/src/Ice/TcpAcceptor.h +12 -5
- data/ext/ice/cpp/src/Ice/TcpConnector.cpp +1 -7
- data/ext/ice/cpp/src/Ice/TcpConnector.h +1 -2
- data/ext/ice/cpp/src/Ice/TcpEndpointI.cpp +40 -32
- data/ext/ice/cpp/src/Ice/TcpEndpointI.h +11 -8
- data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +12 -27
- data/ext/ice/cpp/src/Ice/TcpTransceiver.h +7 -10
- data/ext/ice/cpp/src/{IceUtil → Ice}/Thread.cpp +24 -41
- data/ext/ice/cpp/src/Ice/ThreadPool.cpp +175 -267
- data/ext/ice/cpp/src/Ice/ThreadPool.h +38 -43
- data/ext/ice/cpp/src/{IceUtil → Ice}/Timer.cpp +28 -21
- data/ext/ice/cpp/src/Ice/TraceLevels.cpp +2 -2
- data/ext/ice/cpp/src/Ice/TraceLevels.h +1 -1
- data/ext/ice/cpp/src/Ice/TraceLevelsF.h +2 -2
- data/ext/ice/cpp/src/Ice/TraceUtil.cpp +53 -31
- data/ext/ice/cpp/src/Ice/TraceUtil.h +13 -6
- data/ext/ice/cpp/src/Ice/Transceiver.cpp +1 -2
- data/ext/ice/cpp/src/Ice/Transceiver.h +8 -7
- data/ext/ice/cpp/src/Ice/TransceiverF.h +1 -1
- data/ext/ice/cpp/src/Ice/UdpConnector.cpp +2 -8
- data/ext/ice/cpp/src/Ice/UdpConnector.h +1 -2
- data/ext/ice/cpp/src/Ice/UdpEndpointI.cpp +92 -31
- data/ext/ice/cpp/src/Ice/UdpEndpointI.h +12 -4
- data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +150 -179
- data/ext/ice/cpp/src/Ice/UdpTransceiver.h +15 -17
- data/ext/ice/cpp/src/Ice/Value.cpp +81 -0
- data/ext/ice/cpp/src/Ice/ValueFactory.cpp +84 -0
- data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.cpp +70 -0
- data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.h +42 -0
- data/ext/ice/cpp/src/Ice/Version.cpp +24 -14
- data/ext/ice/cpp/src/Ice/VirtualShared.h +43 -0
- data/ext/ice/cpp/src/Ice/WSAcceptor.cpp +3 -9
- data/ext/ice/cpp/src/Ice/WSAcceptor.h +3 -7
- data/ext/ice/cpp/src/Ice/WSConnector.cpp +5 -11
- data/ext/ice/cpp/src/Ice/WSConnector.h +3 -6
- data/ext/ice/cpp/src/Ice/WSEndpoint.cpp +185 -80
- data/ext/ice/cpp/src/Ice/WSEndpoint.h +21 -31
- data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +41 -37
- data/ext/ice/cpp/src/Ice/WSTransceiver.h +7 -21
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +526 -264
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +341 -455
- data/ext/ice/cpp/src/IceDiscovery/LocatorI.cpp +86 -26
- data/ext/ice/cpp/src/IceDiscovery/LocatorI.h +59 -23
- data/ext/ice/cpp/src/IceDiscovery/LookupI.cpp +315 -61
- data/ext/ice/cpp/src/IceDiscovery/LookupI.h +83 -36
- data/ext/ice/cpp/src/IceDiscovery/PluginI.cpp +57 -59
- data/ext/ice/cpp/src/IceDiscovery/PluginI.h +3 -3
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +396 -159
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +251 -355
- data/ext/ice/cpp/src/IceLocatorDiscovery/Plugin.h +52 -0
- data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +526 -131
- data/ext/ice/cpp/src/IceSSL/AcceptorI.cpp +19 -165
- data/ext/ice/cpp/src/IceSSL/AcceptorI.h +8 -17
- data/ext/ice/cpp/src/IceSSL/CertificateI.cpp +284 -0
- data/ext/ice/cpp/src/IceSSL/CertificateI.h +69 -0
- data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +39 -11
- data/ext/ice/cpp/src/{Ice/ObjectFactoryF.cpp → IceSSL/ConnectionInfoF.cpp} +31 -9
- data/ext/ice/cpp/src/IceSSL/ConnectorI.cpp +14 -56
- data/ext/ice/cpp/src/IceSSL/ConnectorI.h +6 -13
- data/ext/ice/cpp/src/IceSSL/EndpointI.cpp +205 -197
- data/ext/ice/cpp/src/IceSSL/EndpointI.h +41 -33
- data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +39 -10
- data/ext/ice/cpp/src/IceSSL/Instance.cpp +1 -6
- data/ext/ice/cpp/src/IceSSL/Instance.h +7 -7
- data/ext/ice/cpp/src/IceSSL/InstanceF.h +11 -7
- data/ext/ice/cpp/src/IceSSL/OpenSSLCertificateI.cpp +588 -0
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +117 -152
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.h +64 -0
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngineF.h +32 -0
- data/ext/ice/cpp/src/IceSSL/OpenSSLPluginI.cpp +132 -0
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +400 -89
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +36 -21
- data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +291 -0
- data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.h +63 -0
- data/ext/ice/cpp/src/IceSSL/PluginI.cpp +71 -41
- data/ext/ice/cpp/src/IceSSL/PluginI.h +13 -18
- data/ext/ice/cpp/src/IceSSL/RFC2253.cpp +9 -54
- data/ext/ice/cpp/src/IceSSL/RFC2253.h +7 -7
- data/ext/ice/cpp/src/IceSSL/SChannelCertificateI.cpp +585 -0
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.cpp +491 -75
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.h +126 -0
- data/ext/ice/cpp/src/IceSSL/SChannelEngineF.h +32 -0
- data/ext/ice/cpp/src/IceSSL/SChannelPluginI.cpp +78 -0
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +126 -169
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.h +19 -22
- data/ext/ice/cpp/src/IceSSL/SSLEngine.cpp +79 -74
- data/ext/ice/cpp/src/IceSSL/SSLEngine.h +24 -187
- data/ext/ice/cpp/src/IceSSL/SSLEngineF.h +4 -19
- data/ext/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +862 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +56 -214
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.h +60 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngineF.h +31 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportPluginI.cpp +80 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +137 -144
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +25 -28
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +857 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.h +46 -0
- data/ext/ice/cpp/src/IceSSL/TrustManager.cpp +9 -13
- data/ext/ice/cpp/src/IceSSL/TrustManager.h +4 -4
- data/ext/ice/cpp/src/IceSSL/TrustManagerF.h +3 -3
- data/ext/ice/cpp/src/IceSSL/UWPCertificateI.cpp +271 -0
- data/ext/ice/cpp/src/IceSSL/UWPEngine.cpp +343 -0
- data/ext/ice/cpp/src/IceSSL/UWPEngine.h +46 -0
- data/ext/ice/cpp/{include/Ice/ObjectFactoryManagerF.h → src/IceSSL/UWPEngineF.h} +13 -8
- data/ext/ice/cpp/src/IceSSL/UWPPluginI.cpp +94 -0
- data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.cpp +388 -0
- data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.h +76 -0
- data/ext/ice/cpp/src/IceSSL/Util.cpp +66 -1256
- data/ext/ice/cpp/src/IceSSL/Util.h +48 -137
- data/ext/ice/cpp/src/IceUtil/ConsoleUtil.cpp +162 -0
- data/ext/ice/cpp/src/IceUtil/ConvertUTF.cpp +22 -22
- data/ext/ice/cpp/src/IceUtil/ConvertUTF.h +34 -26
- data/ext/ice/cpp/src/IceUtil/CtrlCHandler.cpp +20 -31
- data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +25 -116
- data/ext/ice/cpp/src/IceUtil/InputUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/MutexProtocol.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/Options.cpp +23 -46
- data/ext/ice/cpp/src/IceUtil/OutputUtil.cpp +7 -6
- data/ext/ice/cpp/src/IceUtil/Random.cpp +13 -13
- data/ext/ice/cpp/src/IceUtil/RecMutex.cpp +3 -9
- data/ext/ice/cpp/src/IceUtil/Shared.cpp +8 -3
- data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +501 -264
- data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +540 -235
- data/ext/ice/cpp/src/IceUtil/ThreadException.cpp +37 -74
- data/ext/ice/cpp/src/IceUtil/Time.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/UUID.cpp +10 -10
- data/ext/ice/cpp/src/IceUtil/Unicode.cpp +98 -97
- data/ext/ice/cpp/src/IceUtil/Unicode.h +21 -35
- data/ext/ice/cpp/src/IceUtil/UtilException.cpp +838 -0
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.cpp +815 -163
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.h +76 -0
- data/ext/ice/cpp/src/Slice/Checksum.cpp +2 -2
- data/ext/ice/cpp/{include → src}/Slice/Checksum.h +2 -2
- data/ext/ice/cpp/src/Slice/FileTracker.cpp +25 -78
- data/ext/ice/cpp/{include → src}/Slice/FileTracker.h +9 -9
- data/ext/ice/cpp/src/Slice/Grammar.cpp +1994 -1943
- data/ext/ice/cpp/src/Slice/Grammar.h +44 -24
- data/ext/ice/cpp/src/Slice/GrammarUtil.h +14 -14
- data/ext/ice/cpp/src/Slice/JavaUtil.cpp +2658 -1927
- data/ext/ice/cpp/{include → src}/Slice/JavaUtil.h +178 -59
- data/ext/ice/cpp/src/Slice/MD5.cpp +1 -1
- data/ext/ice/cpp/src/Slice/MD5.h +1 -1
- data/ext/ice/cpp/src/Slice/MD5I.cpp +0 -1
- data/ext/ice/cpp/src/Slice/MD5I.h +1 -1
- data/ext/ice/cpp/src/Slice/PHPUtil.cpp +12 -15
- data/ext/ice/cpp/{include → src}/Slice/PHPUtil.h +6 -15
- data/ext/ice/cpp/src/Slice/Parser.cpp +802 -307
- data/ext/ice/cpp/{include → src}/Slice/Parser.h +76 -84
- data/ext/ice/cpp/src/Slice/Preprocessor.cpp +43 -21
- data/ext/ice/cpp/{include → src}/Slice/Preprocessor.h +7 -12
- data/ext/ice/cpp/src/Slice/Python.cpp +207 -86
- data/ext/ice/cpp/src/Slice/PythonUtil.cpp +683 -679
- data/ext/ice/cpp/{include → src}/Slice/PythonUtil.h +19 -8
- data/ext/ice/cpp/src/Slice/Ruby.cpp +38 -34
- data/ext/ice/cpp/src/Slice/RubyUtil.cpp +177 -445
- data/ext/ice/cpp/{include → src}/Slice/RubyUtil.h +6 -6
- data/ext/ice/cpp/src/Slice/Scanner.cpp +218 -306
- data/ext/ice/cpp/src/Slice/{Util.cpp → SliceUtil.cpp} +37 -64
- data/ext/ice/cpp/src/Slice/StringLiteralUtil.cpp +374 -0
- data/ext/ice/cpp/src/Slice/Util.h +54 -0
- data/ext/ice/mcpp/Makefile +5 -2
- data/ice.gemspec +2 -7
- data/lib/Glacier2.rb +1 -1
- data/lib/Glacier2/Metrics.rb +7 -46
- data/lib/Glacier2/PermissionsVerifier.rb +24 -95
- data/lib/Glacier2/PermissionsVerifierF.rb +3 -3
- data/lib/Glacier2/Router.rb +32 -74
- data/lib/Glacier2/RouterF.rb +3 -3
- data/lib/Glacier2/SSLInfo.rb +4 -7
- data/lib/Glacier2/Session.rb +88 -307
- data/lib/Ice.rb +83 -52
- data/lib/Ice/BuiltinSequences.rb +4 -4
- data/lib/Ice/Communicator.rb +56 -58
- data/lib/Ice/CommunicatorF.rb +3 -3
- data/lib/Ice/Connection.rb +153 -162
- data/lib/Ice/ConnectionF.rb +3 -3
- data/lib/Ice/Current.rb +4 -11
- data/lib/Ice/Endpoint.rb +57 -133
- data/lib/Ice/EndpointF.rb +3 -3
- data/lib/Ice/EndpointTypes.rb +3 -7
- data/lib/Ice/FacetMap.rb +4 -4
- data/lib/Ice/Identity.rb +5 -8
- data/lib/Ice/ImplicitContext.rb +5 -34
- data/lib/Ice/ImplicitContextF.rb +3 -3
- data/lib/Ice/Instrumentation.rb +23 -275
- data/lib/Ice/InstrumentationF.rb +3 -3
- data/lib/Ice/LocalException.rb +95 -141
- data/lib/Ice/Locator.rb +51 -165
- data/lib/Ice/LocatorF.rb +3 -3
- data/lib/Ice/Logger.rb +5 -34
- data/lib/Ice/LoggerF.rb +3 -3
- data/lib/Ice/Metrics.rb +61 -416
- data/lib/Ice/ObjectAdapter.rb +34 -0
- data/lib/Ice/ObjectAdapterF.rb +3 -3
- data/lib/Ice/ObjectFactory.rb +5 -30
- data/lib/Ice/Plugin.rb +7 -60
- data/lib/Ice/PluginF.rb +3 -3
- data/lib/Ice/Process.rb +16 -52
- data/lib/Ice/ProcessF.rb +3 -3
- data/lib/Ice/Properties.rb +5 -41
- data/lib/Ice/PropertiesAdmin.rb +19 -56
- data/lib/Ice/PropertiesF.rb +3 -3
- data/lib/Ice/RemoteLogger.rb +34 -115
- data/lib/Ice/Router.rb +29 -101
- data/lib/Ice/RouterF.rb +3 -3
- data/lib/Ice/ServantLocator.rb +31 -0
- data/lib/Ice/{ObjectFactoryF.rb → ServantLocatorF.rb} +6 -6
- data/lib/Ice/SliceChecksumDict.rb +3 -3
- data/lib/Ice/ValueFactory.rb +33 -0
- data/lib/Ice/Version.rb +5 -11
- data/lib/IceBox.rb +1 -1
- data/lib/IceBox/IceBox.rb +44 -148
- data/lib/IceGrid.rb +1 -4
- data/lib/IceGrid/Admin.rb +551 -427
- data/lib/IceGrid/Descriptor.rb +62 -529
- data/lib/IceGrid/Exception.rb +24 -45
- data/lib/IceGrid/FileParser.rb +14 -50
- data/lib/IceGrid/PluginFacade.rb +40 -0
- data/lib/IceGrid/Registry.rb +151 -58
- data/lib/IceGrid/Session.rb +25 -64
- data/lib/IceGrid/UserAccountMapper.rb +14 -50
- data/lib/IcePatch2.rb +1 -1
- data/lib/IcePatch2/FileInfo.rb +5 -11
- data/lib/IcePatch2/FileServer.rb +33 -76
- data/lib/IceStorm.rb +1 -1
- data/lib/IceStorm/IceStorm.rb +79 -206
- data/lib/IceStorm/Metrics.rb +11 -89
- data/slice/Glacier2/Metrics.ice +8 -4
- data/slice/Glacier2/PermissionsVerifier.ice +10 -7
- data/slice/Glacier2/PermissionsVerifierF.ice +7 -4
- data/slice/Glacier2/Router.ice +10 -8
- data/slice/Glacier2/RouterF.ice +7 -4
- data/slice/Glacier2/SSLInfo.ice +8 -5
- data/slice/Glacier2/Session.ice +15 -13
- data/slice/Ice/BuiltinSequences.ice +7 -4
- data/slice/Ice/Communicator.ice +141 -66
- data/slice/Ice/CommunicatorF.ice +7 -4
- data/slice/Ice/Connection.ice +183 -86
- data/slice/Ice/ConnectionF.ice +7 -4
- data/slice/Ice/Current.ice +13 -9
- data/slice/Ice/Endpoint.ice +63 -14
- data/slice/Ice/EndpointF.ice +7 -4
- data/slice/Ice/EndpointTypes.ice +8 -6
- data/slice/Ice/FacetMap.ice +7 -4
- data/slice/Ice/Identity.ice +13 -5
- data/slice/Ice/ImplicitContext.ice +20 -18
- data/slice/Ice/ImplicitContextF.ice +7 -4
- data/slice/Ice/Instrumentation.ice +20 -19
- data/slice/Ice/InstrumentationF.ice +8 -5
- data/slice/Ice/LocalException.ice +87 -87
- data/slice/Ice/Locator.ice +19 -18
- data/slice/Ice/LocatorF.ice +7 -4
- data/slice/Ice/Logger.ice +9 -7
- data/slice/Ice/LoggerF.ice +7 -4
- data/slice/Ice/Metrics.ice +18 -14
- data/slice/Ice/ObjectAdapter.ice +30 -13
- data/slice/Ice/ObjectAdapterF.ice +7 -4
- data/slice/Ice/ObjectFactory.ice +15 -12
- data/slice/Ice/Plugin.ice +9 -6
- data/slice/Ice/PluginF.ice +8 -5
- data/slice/Ice/Process.ice +9 -6
- data/slice/Ice/ProcessF.ice +7 -4
- data/slice/Ice/Properties.ice +15 -12
- data/slice/Ice/PropertiesAdmin.ice +9 -5
- data/slice/Ice/PropertiesF.ice +7 -4
- data/slice/Ice/RemoteLogger.ice +33 -24
- data/slice/Ice/Router.ice +16 -7
- data/slice/Ice/RouterF.ice +7 -4
- data/slice/Ice/ServantLocator.ice +13 -10
- data/slice/Ice/ServantLocatorF.ice +7 -4
- data/slice/Ice/SliceChecksumDict.ice +7 -4
- data/slice/Ice/ValueFactory.ice +127 -0
- data/slice/Ice/Version.ice +9 -5
- data/slice/IceBT/ConnectionInfo.ice +53 -0
- data/slice/IceBT/EndpointInfo.ice +51 -0
- data/slice/IceBT/Types.ice +39 -0
- data/slice/IceBox/IceBox.ice +20 -21
- data/slice/IceDiscovery/IceDiscovery.ice +9 -5
- data/slice/IceGrid/Admin.ice +390 -30
- data/slice/IceGrid/Descriptor.ice +37 -29
- data/slice/IceGrid/Exception.ice +33 -27
- data/slice/IceGrid/FileParser.ice +9 -6
- data/slice/IceGrid/PluginFacade.ice +11 -9
- data/slice/IceGrid/Registry.ice +139 -16
- data/slice/IceGrid/Session.ice +10 -8
- data/slice/IceGrid/UserAccountMapper.ice +9 -6
- data/slice/IceIAP/ConnectionInfo.ice +70 -0
- data/slice/IceIAP/EndpointInfo.ice +64 -0
- data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +9 -7
- data/slice/IcePatch2/FileInfo.ice +9 -8
- data/slice/IcePatch2/FileServer.ice +17 -13
- data/slice/IceSSL/ConnectionInfo.ice +14 -17
- data/slice/IceSSL/ConnectionInfoF.ice +24 -0
- data/slice/IceSSL/EndpointInfo.ice +9 -30
- data/slice/IceStorm/IceStorm.ice +22 -18
- data/slice/IceStorm/Metrics.ice +9 -5
- metadata +154 -120
- data/ext/ObjectFactory.cpp +0 -140
- data/ext/ObjectFactory.h +0 -50
- data/ext/ice/cpp/include/Ice/BasicStream.h +0 -1335
- 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/DeprecatedStringConverter.h +0 -62
- data/ext/ice/cpp/include/Ice/Endpoint.h +0 -341
- data/ext/ice/cpp/include/Ice/Identity.h +0 -168
- data/ext/ice/cpp/include/Ice/Instrumentation.h +0 -365
- 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/Metrics.h +0 -2974
- data/ext/ice/cpp/include/Ice/ObjectAdapter.h +0 -168
- 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/Outgoing.h +0 -225
- data/ext/ice/cpp/include/Ice/Plugin.h +0 -125
- data/ext/ice/cpp/include/Ice/Process.h +0 -574
- data/ext/ice/cpp/include/Ice/PropertiesAdmin.h +0 -830
- 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/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/Slice/CPlusPlusUtil.h +0 -65
- 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/ObjCUtil.h +0 -127
- 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/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/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/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/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/IceGrid/Locator.ice +0 -57
- data/slice/IceGrid/Observer.ice +0 -395
- data/slice/IceGrid/Query.ice +0 -131
@@ -1,6 +1,6 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
@@ -26,4 +26,3 @@ Ice::LocalObject::operator<(const LocalObject& r) const
|
|
26
26
|
{
|
27
27
|
return this < &r;
|
28
28
|
}
|
29
|
-
|
@@ -1,13 +1,13 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.
|
10
|
+
// Ice version 3.7.0
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -24,1030 +24,1202 @@
|
|
24
24
|
#include <Ice/Locator.h>
|
25
25
|
#include <IceUtil/PushDisableWarnings.h>
|
26
26
|
#include <Ice/LocalException.h>
|
27
|
-
#include <Ice/
|
28
|
-
#include <Ice/Outgoing.h>
|
27
|
+
#include <Ice/ValueFactory.h>
|
29
28
|
#include <Ice/OutgoingAsync.h>
|
30
|
-
#include <Ice/
|
31
|
-
#include <
|
29
|
+
#include <Ice/InputStream.h>
|
30
|
+
#include <Ice/OutputStream.h>
|
31
|
+
#include <Ice/LocalException.h>
|
32
32
|
#include <IceUtil/PopDisableWarnings.h>
|
33
33
|
|
34
|
+
#if defined(_MSC_VER)
|
35
|
+
# pragma warning(disable:4458) // declaration of ... hides class member
|
36
|
+
#elif defined(__clang__)
|
37
|
+
# pragma clang diagnostic ignored "-Wshadow"
|
38
|
+
#elif defined(__GNUC__)
|
39
|
+
# pragma GCC diagnostic ignored "-Wshadow"
|
40
|
+
#endif
|
41
|
+
|
34
42
|
#ifndef ICE_IGNORE_VERSION
|
35
|
-
# if ICE_INT_VERSION / 100 !=
|
43
|
+
# if ICE_INT_VERSION / 100 != 307
|
36
44
|
# error Ice version mismatch!
|
37
45
|
# endif
|
38
46
|
# if ICE_INT_VERSION % 100 > 50
|
39
47
|
# error Beta header file detected
|
40
48
|
# endif
|
41
|
-
# if ICE_INT_VERSION % 100 <
|
49
|
+
# if ICE_INT_VERSION % 100 < 0
|
42
50
|
# error Ice patch level mismatch!
|
43
51
|
# endif
|
44
52
|
#endif
|
45
53
|
|
54
|
+
#ifdef ICE_CPP11_MAPPING // C++11 mapping
|
55
|
+
|
46
56
|
namespace
|
47
57
|
{
|
48
58
|
|
49
|
-
const ::
|
59
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit<::Ice::AdapterNotFoundException> iceC_Ice_AdapterNotFoundException_init("::Ice::AdapterNotFoundException");
|
50
60
|
|
51
|
-
const ::
|
61
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit<::Ice::InvalidReplicaGroupIdException> iceC_Ice_InvalidReplicaGroupIdException_init("::Ice::InvalidReplicaGroupIdException");
|
52
62
|
|
53
|
-
const ::
|
63
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit<::Ice::AdapterAlreadyActiveException> iceC_Ice_AdapterAlreadyActiveException_init("::Ice::AdapterAlreadyActiveException");
|
54
64
|
|
55
|
-
const ::
|
65
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit<::Ice::ObjectNotFoundException> iceC_Ice_ObjectNotFoundException_init("::Ice::ObjectNotFoundException");
|
56
66
|
|
57
|
-
const ::
|
58
|
-
|
59
|
-
const ::std::string __Ice__LocatorRegistry__setServerProcessProxy_name = "setServerProcessProxy";
|
60
|
-
|
61
|
-
const ::std::string __Ice__LocatorFinder__getLocator_name = "getLocator";
|
62
|
-
|
63
|
-
}
|
67
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit<::Ice::ServerNotFoundException> iceC_Ice_ServerNotFoundException_init("::Ice::ServerNotFoundException");
|
64
68
|
|
65
|
-
|
69
|
+
const ::std::string iceC_Ice_Locator_ids[2] =
|
66
70
|
{
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
Ice::AdapterNotFoundException::~AdapterNotFoundException() throw()
|
71
|
+
"::Ice::Locator",
|
72
|
+
"::Ice::Object"
|
73
|
+
};
|
74
|
+
const ::std::string iceC_Ice_Locator_ops[] =
|
73
75
|
{
|
74
|
-
|
76
|
+
"findAdapterById",
|
77
|
+
"findObjectById",
|
78
|
+
"getRegistry",
|
79
|
+
"ice_id",
|
80
|
+
"ice_ids",
|
81
|
+
"ice_isA",
|
82
|
+
"ice_ping"
|
83
|
+
};
|
84
|
+
const ::std::string iceC_Ice_Locator_findObjectById_name = "findObjectById";
|
85
|
+
const ::std::string iceC_Ice_Locator_findAdapterById_name = "findAdapterById";
|
86
|
+
const ::std::string iceC_Ice_Locator_getRegistry_name = "getRegistry";
|
75
87
|
|
76
|
-
::std::string
|
77
|
-
Ice::AdapterNotFoundException::ice_name() const
|
88
|
+
const ::std::string iceC_Ice_LocatorRegistry_ids[2] =
|
78
89
|
{
|
79
|
-
|
80
|
-
|
90
|
+
"::Ice::LocatorRegistry",
|
91
|
+
"::Ice::Object"
|
92
|
+
};
|
93
|
+
const ::std::string iceC_Ice_LocatorRegistry_ops[] =
|
94
|
+
{
|
95
|
+
"ice_id",
|
96
|
+
"ice_ids",
|
97
|
+
"ice_isA",
|
98
|
+
"ice_ping",
|
99
|
+
"setAdapterDirectProxy",
|
100
|
+
"setReplicatedAdapterDirectProxy",
|
101
|
+
"setServerProcessProxy"
|
102
|
+
};
|
103
|
+
const ::std::string iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name = "setAdapterDirectProxy";
|
104
|
+
const ::std::string iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name = "setReplicatedAdapterDirectProxy";
|
105
|
+
const ::std::string iceC_Ice_LocatorRegistry_setServerProcessProxy_name = "setServerProcessProxy";
|
81
106
|
|
82
|
-
|
83
|
-
Ice::AdapterNotFoundException::ice_clone() const
|
107
|
+
const ::std::string iceC_Ice_LocatorFinder_ids[2] =
|
84
108
|
{
|
85
|
-
|
109
|
+
"::Ice::LocatorFinder",
|
110
|
+
"::Ice::Object"
|
111
|
+
};
|
112
|
+
const ::std::string iceC_Ice_LocatorFinder_ops[] =
|
113
|
+
{
|
114
|
+
"getLocator",
|
115
|
+
"ice_id",
|
116
|
+
"ice_ids",
|
117
|
+
"ice_isA",
|
118
|
+
"ice_ping"
|
119
|
+
};
|
120
|
+
const ::std::string iceC_Ice_LocatorFinder_getLocator_name = "getLocator";
|
121
|
+
|
86
122
|
}
|
87
123
|
|
88
|
-
|
89
|
-
Ice::AdapterNotFoundException::ice_throw() const
|
124
|
+
Ice::AdapterNotFoundException::~AdapterNotFoundException()
|
90
125
|
{
|
91
|
-
throw *this;
|
92
126
|
}
|
93
127
|
|
94
|
-
|
95
|
-
Ice::AdapterNotFoundException::
|
128
|
+
const ::std::string&
|
129
|
+
Ice::AdapterNotFoundException::ice_staticId()
|
96
130
|
{
|
97
|
-
|
98
|
-
|
131
|
+
static const ::std::string typeId = "::Ice::AdapterNotFoundException";
|
132
|
+
return typeId;
|
99
133
|
}
|
100
134
|
|
101
|
-
|
102
|
-
Ice::AdapterNotFoundException::__readImpl(::IceInternal::BasicStream* __is)
|
135
|
+
Ice::InvalidReplicaGroupIdException::~InvalidReplicaGroupIdException()
|
103
136
|
{
|
104
|
-
__is->startReadSlice();
|
105
|
-
__is->endReadSlice();
|
106
137
|
}
|
107
138
|
|
108
|
-
|
139
|
+
const ::std::string&
|
140
|
+
Ice::InvalidReplicaGroupIdException::ice_staticId()
|
109
141
|
{
|
110
|
-
|
111
|
-
|
112
|
-
|
142
|
+
static const ::std::string typeId = "::Ice::InvalidReplicaGroupIdException";
|
143
|
+
return typeId;
|
113
144
|
}
|
114
145
|
|
115
|
-
Ice::
|
146
|
+
Ice::AdapterAlreadyActiveException::~AdapterAlreadyActiveException()
|
116
147
|
{
|
117
148
|
}
|
118
149
|
|
119
|
-
::std::string
|
120
|
-
Ice::
|
150
|
+
const ::std::string&
|
151
|
+
Ice::AdapterAlreadyActiveException::ice_staticId()
|
121
152
|
{
|
122
|
-
|
153
|
+
static const ::std::string typeId = "::Ice::AdapterAlreadyActiveException";
|
154
|
+
return typeId;
|
123
155
|
}
|
124
156
|
|
125
|
-
Ice::
|
126
|
-
Ice::InvalidReplicaGroupIdException::ice_clone() const
|
157
|
+
Ice::ObjectNotFoundException::~ObjectNotFoundException()
|
127
158
|
{
|
128
|
-
return new InvalidReplicaGroupIdException(*this);
|
129
159
|
}
|
130
160
|
|
131
|
-
|
132
|
-
Ice::
|
161
|
+
const ::std::string&
|
162
|
+
Ice::ObjectNotFoundException::ice_staticId()
|
133
163
|
{
|
134
|
-
|
164
|
+
static const ::std::string typeId = "::Ice::ObjectNotFoundException";
|
165
|
+
return typeId;
|
135
166
|
}
|
136
167
|
|
137
|
-
|
138
|
-
Ice::InvalidReplicaGroupIdException::__writeImpl(::IceInternal::BasicStream* __os) const
|
168
|
+
Ice::ServerNotFoundException::~ServerNotFoundException()
|
139
169
|
{
|
140
|
-
__os->startWriteSlice("::Ice::InvalidReplicaGroupIdException", -1, true);
|
141
|
-
__os->endWriteSlice();
|
142
170
|
}
|
143
171
|
|
144
|
-
|
145
|
-
Ice::
|
172
|
+
const ::std::string&
|
173
|
+
Ice::ServerNotFoundException::ice_staticId()
|
146
174
|
{
|
147
|
-
|
148
|
-
|
175
|
+
static const ::std::string typeId = "::Ice::ServerNotFoundException";
|
176
|
+
return typeId;
|
149
177
|
}
|
150
178
|
|
151
|
-
|
179
|
+
bool
|
180
|
+
Ice::Locator::ice_isA(::std::string s, const ::Ice::Current&) const
|
152
181
|
{
|
153
|
-
|
154
|
-
const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::AdapterAlreadyActiveException> __Ice__AdapterAlreadyActiveException_init("::Ice::AdapterAlreadyActiveException");
|
155
|
-
|
182
|
+
return ::std::binary_search(iceC_Ice_Locator_ids, iceC_Ice_Locator_ids + 2, s);
|
156
183
|
}
|
157
184
|
|
158
|
-
|
185
|
+
::std::vector<::std::string>
|
186
|
+
Ice::Locator::ice_ids(const ::Ice::Current&) const
|
159
187
|
{
|
188
|
+
return ::std::vector<::std::string>(&iceC_Ice_Locator_ids[0], &iceC_Ice_Locator_ids[2]);
|
160
189
|
}
|
161
190
|
|
162
191
|
::std::string
|
163
|
-
Ice::
|
192
|
+
Ice::Locator::ice_id(const ::Ice::Current&) const
|
164
193
|
{
|
165
|
-
return
|
194
|
+
return ice_staticId();
|
166
195
|
}
|
167
196
|
|
168
|
-
|
169
|
-
Ice::
|
197
|
+
const ::std::string&
|
198
|
+
Ice::Locator::ice_staticId()
|
170
199
|
{
|
171
|
-
|
200
|
+
static const ::std::string typeId = "::Ice::Locator";
|
201
|
+
return typeId;
|
172
202
|
}
|
173
203
|
|
174
|
-
|
175
|
-
Ice::
|
176
|
-
{
|
177
|
-
|
204
|
+
bool
|
205
|
+
Ice::Locator::_iceD_findObjectById(::IceInternal::Incoming& inS, const ::Ice::Current& current) const
|
206
|
+
{
|
207
|
+
_iceCheckMode(::Ice::OperationMode::Idempotent, current.mode);
|
208
|
+
auto istr = inS.startReadParams();
|
209
|
+
::Ice::Identity iceP_id;
|
210
|
+
istr->readAll(iceP_id);
|
211
|
+
inS.endReadParams();
|
212
|
+
auto inA = ::IceInternal::IncomingAsync::create(inS);
|
213
|
+
auto responseCB = [inA](const ::std::shared_ptr<::Ice::ObjectPrx>& ret)
|
214
|
+
{
|
215
|
+
auto ostr = inA->startWriteParams();
|
216
|
+
ostr->writeAll(ret);
|
217
|
+
inA->endWriteParams();
|
218
|
+
inA->completed();
|
219
|
+
};
|
220
|
+
this->findObjectByIdAsync(::std::move(iceP_id), responseCB, inA->exception(), current);
|
221
|
+
return false;
|
178
222
|
}
|
179
223
|
|
180
|
-
|
181
|
-
Ice::
|
182
|
-
{
|
183
|
-
|
184
|
-
|
224
|
+
bool
|
225
|
+
Ice::Locator::_iceD_findAdapterById(::IceInternal::Incoming& inS, const ::Ice::Current& current) const
|
226
|
+
{
|
227
|
+
_iceCheckMode(::Ice::OperationMode::Idempotent, current.mode);
|
228
|
+
auto istr = inS.startReadParams();
|
229
|
+
::std::string iceP_id;
|
230
|
+
istr->readAll(iceP_id);
|
231
|
+
inS.endReadParams();
|
232
|
+
auto inA = ::IceInternal::IncomingAsync::create(inS);
|
233
|
+
auto responseCB = [inA](const ::std::shared_ptr<::Ice::ObjectPrx>& ret)
|
234
|
+
{
|
235
|
+
auto ostr = inA->startWriteParams();
|
236
|
+
ostr->writeAll(ret);
|
237
|
+
inA->endWriteParams();
|
238
|
+
inA->completed();
|
239
|
+
};
|
240
|
+
this->findAdapterByIdAsync(::std::move(iceP_id), responseCB, inA->exception(), current);
|
241
|
+
return false;
|
185
242
|
}
|
186
243
|
|
187
|
-
|
188
|
-
Ice::
|
244
|
+
bool
|
245
|
+
Ice::Locator::_iceD_getRegistry(::IceInternal::Incoming& inS, const ::Ice::Current& current) const
|
189
246
|
{
|
190
|
-
|
191
|
-
|
247
|
+
_iceCheckMode(::Ice::OperationMode::Idempotent, current.mode);
|
248
|
+
inS.readEmptyParams();
|
249
|
+
::std::shared_ptr<::Ice::LocatorRegistryPrx> ret = this->getRegistry(current);
|
250
|
+
auto ostr = inS.startWriteParams();
|
251
|
+
ostr->writeAll(ret);
|
252
|
+
inS.endWriteParams();
|
253
|
+
return true;
|
192
254
|
}
|
193
255
|
|
194
|
-
|
256
|
+
bool
|
257
|
+
Ice::Locator::_iceDispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
|
195
258
|
{
|
259
|
+
::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_Locator_ops, iceC_Ice_Locator_ops + 7, current.operation);
|
260
|
+
if(r.first == r.second)
|
261
|
+
{
|
262
|
+
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
263
|
+
}
|
196
264
|
|
197
|
-
|
198
|
-
|
265
|
+
switch(r.first - iceC_Ice_Locator_ops)
|
266
|
+
{
|
267
|
+
case 0:
|
268
|
+
{
|
269
|
+
return _iceD_findAdapterById(in, current);
|
270
|
+
}
|
271
|
+
case 1:
|
272
|
+
{
|
273
|
+
return _iceD_findObjectById(in, current);
|
274
|
+
}
|
275
|
+
case 2:
|
276
|
+
{
|
277
|
+
return _iceD_getRegistry(in, current);
|
278
|
+
}
|
279
|
+
case 3:
|
280
|
+
{
|
281
|
+
return _iceD_ice_id(in, current);
|
282
|
+
}
|
283
|
+
case 4:
|
284
|
+
{
|
285
|
+
return _iceD_ice_ids(in, current);
|
286
|
+
}
|
287
|
+
case 5:
|
288
|
+
{
|
289
|
+
return _iceD_ice_isA(in, current);
|
290
|
+
}
|
291
|
+
case 6:
|
292
|
+
{
|
293
|
+
return _iceD_ice_ping(in, current);
|
294
|
+
}
|
295
|
+
default:
|
296
|
+
{
|
297
|
+
assert(false);
|
298
|
+
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
299
|
+
}
|
300
|
+
}
|
199
301
|
}
|
200
302
|
|
201
|
-
|
303
|
+
bool
|
304
|
+
Ice::LocatorRegistry::ice_isA(::std::string s, const ::Ice::Current&) const
|
202
305
|
{
|
306
|
+
return ::std::binary_search(iceC_Ice_LocatorRegistry_ids, iceC_Ice_LocatorRegistry_ids + 2, s);
|
203
307
|
}
|
204
308
|
|
205
|
-
::std::string
|
206
|
-
Ice::
|
309
|
+
::std::vector<::std::string>
|
310
|
+
Ice::LocatorRegistry::ice_ids(const ::Ice::Current&) const
|
207
311
|
{
|
208
|
-
return
|
312
|
+
return ::std::vector<::std::string>(&iceC_Ice_LocatorRegistry_ids[0], &iceC_Ice_LocatorRegistry_ids[2]);
|
209
313
|
}
|
210
314
|
|
211
|
-
|
212
|
-
Ice::
|
315
|
+
::std::string
|
316
|
+
Ice::LocatorRegistry::ice_id(const ::Ice::Current&) const
|
213
317
|
{
|
214
|
-
return
|
318
|
+
return ice_staticId();
|
215
319
|
}
|
216
320
|
|
217
|
-
|
218
|
-
Ice::
|
321
|
+
const ::std::string&
|
322
|
+
Ice::LocatorRegistry::ice_staticId()
|
219
323
|
{
|
220
|
-
|
324
|
+
static const ::std::string typeId = "::Ice::LocatorRegistry";
|
325
|
+
return typeId;
|
221
326
|
}
|
222
327
|
|
223
|
-
|
224
|
-
Ice::
|
328
|
+
bool
|
329
|
+
Ice::LocatorRegistry::_iceD_setAdapterDirectProxy(::IceInternal::Incoming& inS, const ::Ice::Current& current)
|
225
330
|
{
|
226
|
-
|
227
|
-
|
331
|
+
_iceCheckMode(::Ice::OperationMode::Idempotent, current.mode);
|
332
|
+
auto istr = inS.startReadParams();
|
333
|
+
::std::string iceP_id;
|
334
|
+
::std::shared_ptr<::Ice::ObjectPrx> iceP_proxy;
|
335
|
+
istr->readAll(iceP_id, iceP_proxy);
|
336
|
+
inS.endReadParams();
|
337
|
+
auto inA = ::IceInternal::IncomingAsync::create(inS);
|
338
|
+
this->setAdapterDirectProxyAsync(::std::move(iceP_id), ::std::move(iceP_proxy), inA->response(), inA->exception(), current);
|
339
|
+
return false;
|
228
340
|
}
|
229
341
|
|
230
|
-
|
231
|
-
Ice::
|
342
|
+
bool
|
343
|
+
Ice::LocatorRegistry::_iceD_setReplicatedAdapterDirectProxy(::IceInternal::Incoming& inS, const ::Ice::Current& current)
|
232
344
|
{
|
233
|
-
|
234
|
-
|
345
|
+
_iceCheckMode(::Ice::OperationMode::Idempotent, current.mode);
|
346
|
+
auto istr = inS.startReadParams();
|
347
|
+
::std::string iceP_adapterId;
|
348
|
+
::std::string iceP_replicaGroupId;
|
349
|
+
::std::shared_ptr<::Ice::ObjectPrx> iceP_p;
|
350
|
+
istr->readAll(iceP_adapterId, iceP_replicaGroupId, iceP_p);
|
351
|
+
inS.endReadParams();
|
352
|
+
auto inA = ::IceInternal::IncomingAsync::create(inS);
|
353
|
+
this->setReplicatedAdapterDirectProxyAsync(::std::move(iceP_adapterId), ::std::move(iceP_replicaGroupId), ::std::move(iceP_p), inA->response(), inA->exception(), current);
|
354
|
+
return false;
|
235
355
|
}
|
236
356
|
|
237
|
-
|
357
|
+
bool
|
358
|
+
Ice::LocatorRegistry::_iceD_setServerProcessProxy(::IceInternal::Incoming& inS, const ::Ice::Current& current)
|
238
359
|
{
|
239
|
-
|
240
|
-
|
241
|
-
|
360
|
+
_iceCheckMode(::Ice::OperationMode::Idempotent, current.mode);
|
361
|
+
auto istr = inS.startReadParams();
|
362
|
+
::std::string iceP_id;
|
363
|
+
::std::shared_ptr<::Ice::ProcessPrx> iceP_proxy;
|
364
|
+
istr->readAll(iceP_id, iceP_proxy);
|
365
|
+
inS.endReadParams();
|
366
|
+
auto inA = ::IceInternal::IncomingAsync::create(inS);
|
367
|
+
this->setServerProcessProxyAsync(::std::move(iceP_id), ::std::move(iceP_proxy), inA->response(), inA->exception(), current);
|
368
|
+
return false;
|
242
369
|
}
|
243
370
|
|
244
|
-
|
371
|
+
bool
|
372
|
+
Ice::LocatorRegistry::_iceDispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
|
245
373
|
{
|
246
|
-
|
374
|
+
::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_LocatorRegistry_ops, iceC_Ice_LocatorRegistry_ops + 7, current.operation);
|
375
|
+
if(r.first == r.second)
|
376
|
+
{
|
377
|
+
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
378
|
+
}
|
247
379
|
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
380
|
+
switch(r.first - iceC_Ice_LocatorRegistry_ops)
|
381
|
+
{
|
382
|
+
case 0:
|
383
|
+
{
|
384
|
+
return _iceD_ice_id(in, current);
|
385
|
+
}
|
386
|
+
case 1:
|
387
|
+
{
|
388
|
+
return _iceD_ice_ids(in, current);
|
389
|
+
}
|
390
|
+
case 2:
|
391
|
+
{
|
392
|
+
return _iceD_ice_isA(in, current);
|
393
|
+
}
|
394
|
+
case 3:
|
395
|
+
{
|
396
|
+
return _iceD_ice_ping(in, current);
|
397
|
+
}
|
398
|
+
case 4:
|
399
|
+
{
|
400
|
+
return _iceD_setAdapterDirectProxy(in, current);
|
401
|
+
}
|
402
|
+
case 5:
|
403
|
+
{
|
404
|
+
return _iceD_setReplicatedAdapterDirectProxy(in, current);
|
405
|
+
}
|
406
|
+
case 6:
|
407
|
+
{
|
408
|
+
return _iceD_setServerProcessProxy(in, current);
|
409
|
+
}
|
410
|
+
default:
|
411
|
+
{
|
412
|
+
assert(false);
|
413
|
+
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
414
|
+
}
|
415
|
+
}
|
252
416
|
}
|
253
417
|
|
254
|
-
|
255
|
-
Ice::
|
418
|
+
bool
|
419
|
+
Ice::LocatorFinder::ice_isA(::std::string s, const ::Ice::Current&) const
|
256
420
|
{
|
257
|
-
return
|
421
|
+
return ::std::binary_search(iceC_Ice_LocatorFinder_ids, iceC_Ice_LocatorFinder_ids + 2, s);
|
258
422
|
}
|
259
423
|
|
260
|
-
|
261
|
-
Ice::
|
424
|
+
::std::vector<::std::string>
|
425
|
+
Ice::LocatorFinder::ice_ids(const ::Ice::Current&) const
|
262
426
|
{
|
263
|
-
|
427
|
+
return ::std::vector<::std::string>(&iceC_Ice_LocatorFinder_ids[0], &iceC_Ice_LocatorFinder_ids[2]);
|
264
428
|
}
|
265
429
|
|
266
|
-
|
267
|
-
Ice::
|
430
|
+
::std::string
|
431
|
+
Ice::LocatorFinder::ice_id(const ::Ice::Current&) const
|
268
432
|
{
|
269
|
-
|
270
|
-
__os->endWriteSlice();
|
433
|
+
return ice_staticId();
|
271
434
|
}
|
272
435
|
|
273
|
-
|
274
|
-
Ice::
|
436
|
+
const ::std::string&
|
437
|
+
Ice::LocatorFinder::ice_staticId()
|
275
438
|
{
|
276
|
-
|
277
|
-
|
439
|
+
static const ::std::string typeId = "::Ice::LocatorFinder";
|
440
|
+
return typeId;
|
278
441
|
}
|
279
442
|
|
280
|
-
|
443
|
+
bool
|
444
|
+
Ice::LocatorFinder::_iceD_getLocator(::IceInternal::Incoming& inS, const ::Ice::Current& current)
|
281
445
|
{
|
446
|
+
_iceCheckMode(::Ice::OperationMode::Normal, current.mode);
|
447
|
+
inS.readEmptyParams();
|
448
|
+
::std::shared_ptr<::Ice::LocatorPrx> ret = this->getLocator(current);
|
449
|
+
auto ostr = inS.startWriteParams();
|
450
|
+
ostr->writeAll(ret);
|
451
|
+
inS.endWriteParams();
|
452
|
+
return true;
|
282
453
|
}
|
283
454
|
|
284
|
-
|
285
|
-
|
455
|
+
bool
|
456
|
+
Ice::LocatorFinder::_iceDispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
|
286
457
|
{
|
287
|
-
|
458
|
+
::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_LocatorFinder_ops, iceC_Ice_LocatorFinder_ops + 5, current.operation);
|
459
|
+
if(r.first == r.second)
|
460
|
+
{
|
461
|
+
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
462
|
+
}
|
288
463
|
|
289
|
-
|
290
|
-
IceAsync::Ice::AMD_Locator_findObjectById::ice_response(const ::Ice::ObjectPrx& __ret)
|
291
|
-
{
|
292
|
-
if(__validateResponse(true))
|
464
|
+
switch(r.first - iceC_Ice_LocatorFinder_ops)
|
293
465
|
{
|
294
|
-
|
466
|
+
case 0:
|
295
467
|
{
|
296
|
-
|
297
|
-
__os->write(__ret);
|
298
|
-
__endWriteParams(true);
|
468
|
+
return _iceD_getLocator(in, current);
|
299
469
|
}
|
300
|
-
|
470
|
+
case 1:
|
301
471
|
{
|
302
|
-
|
303
|
-
return;
|
472
|
+
return _iceD_ice_id(in, current);
|
304
473
|
}
|
305
|
-
|
306
|
-
}
|
307
|
-
}
|
308
|
-
|
309
|
-
void
|
310
|
-
IceAsync::Ice::AMD_Locator_findObjectById::ice_exception(const ::std::exception& ex)
|
311
|
-
{
|
312
|
-
if(const ::Ice::ObjectNotFoundException* __ex = dynamic_cast<const ::Ice::ObjectNotFoundException*>(&ex))
|
313
|
-
{
|
314
|
-
if(__validateResponse(false))
|
474
|
+
case 2:
|
315
475
|
{
|
316
|
-
|
317
|
-
__response();
|
476
|
+
return _iceD_ice_ids(in, current);
|
318
477
|
}
|
319
|
-
|
320
|
-
else
|
321
|
-
{
|
322
|
-
::IceInternal::IncomingAsync::ice_exception(ex);
|
323
|
-
}
|
324
|
-
}
|
325
|
-
|
326
|
-
IceAsync::Ice::AMD_Locator_findAdapterById::AMD_Locator_findAdapterById(::IceInternal::Incoming& in) :
|
327
|
-
::IceInternal::IncomingAsync(in)
|
328
|
-
{
|
329
|
-
}
|
330
|
-
|
331
|
-
void
|
332
|
-
IceAsync::Ice::AMD_Locator_findAdapterById::ice_response(const ::Ice::ObjectPrx& __ret)
|
333
|
-
{
|
334
|
-
if(__validateResponse(true))
|
335
|
-
{
|
336
|
-
try
|
478
|
+
case 3:
|
337
479
|
{
|
338
|
-
|
339
|
-
__os->write(__ret);
|
340
|
-
__endWriteParams(true);
|
480
|
+
return _iceD_ice_isA(in, current);
|
341
481
|
}
|
342
|
-
|
482
|
+
case 4:
|
483
|
+
{
|
484
|
+
return _iceD_ice_ping(in, current);
|
485
|
+
}
|
486
|
+
default:
|
343
487
|
{
|
344
|
-
|
345
|
-
|
488
|
+
assert(false);
|
489
|
+
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
346
490
|
}
|
347
|
-
__response();
|
348
491
|
}
|
349
492
|
}
|
350
493
|
|
351
494
|
void
|
352
|
-
|
495
|
+
Ice::LocatorPrx::_iceI_findObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>& outAsync, const ::Ice::Identity& iceP_id, const ::Ice::Context& context)
|
353
496
|
{
|
354
|
-
|
355
|
-
|
356
|
-
|
497
|
+
_checkTwowayOnly(iceC_Ice_Locator_findObjectById_name);
|
498
|
+
outAsync->invoke(iceC_Ice_Locator_findObjectById_name, ::Ice::OperationMode::Nonmutating, ::Ice::FormatType::DefaultFormat, context,
|
499
|
+
[&](::Ice::OutputStream* ostr)
|
357
500
|
{
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
501
|
+
ostr->writeAll(iceP_id);
|
502
|
+
},
|
503
|
+
[](const ::Ice::UserException& ex)
|
504
|
+
{
|
505
|
+
try
|
506
|
+
{
|
507
|
+
ex.ice_throw();
|
508
|
+
}
|
509
|
+
catch(const ::Ice::ObjectNotFoundException&)
|
510
|
+
{
|
511
|
+
throw;
|
512
|
+
}
|
513
|
+
catch(const ::Ice::UserException&)
|
514
|
+
{
|
515
|
+
}
|
516
|
+
});
|
366
517
|
}
|
367
518
|
|
368
|
-
|
369
|
-
|
519
|
+
void
|
520
|
+
Ice::LocatorPrx::_iceI_findAdapterById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>& outAsync, const ::std::string& iceP_id, const ::Ice::Context& context)
|
370
521
|
{
|
522
|
+
_checkTwowayOnly(iceC_Ice_Locator_findAdapterById_name);
|
523
|
+
outAsync->invoke(iceC_Ice_Locator_findAdapterById_name, ::Ice::OperationMode::Nonmutating, ::Ice::FormatType::DefaultFormat, context,
|
524
|
+
[&](::Ice::OutputStream* ostr)
|
525
|
+
{
|
526
|
+
ostr->writeAll(iceP_id);
|
527
|
+
},
|
528
|
+
[](const ::Ice::UserException& ex)
|
529
|
+
{
|
530
|
+
try
|
531
|
+
{
|
532
|
+
ex.ice_throw();
|
533
|
+
}
|
534
|
+
catch(const ::Ice::AdapterNotFoundException&)
|
535
|
+
{
|
536
|
+
throw;
|
537
|
+
}
|
538
|
+
catch(const ::Ice::UserException&)
|
539
|
+
{
|
540
|
+
}
|
541
|
+
});
|
371
542
|
}
|
372
543
|
|
373
544
|
void
|
374
|
-
|
545
|
+
Ice::LocatorPrx::_iceI_getRegistry(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::LocatorRegistryPrx>>>& outAsync, const ::Ice::Context& context)
|
375
546
|
{
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
}
|
547
|
+
_checkTwowayOnly(iceC_Ice_Locator_getRegistry_name);
|
548
|
+
outAsync->invoke(iceC_Ice_Locator_getRegistry_name, ::Ice::OperationMode::Nonmutating, ::Ice::FormatType::DefaultFormat, context,
|
549
|
+
nullptr,
|
550
|
+
nullptr);
|
381
551
|
}
|
382
552
|
|
383
|
-
|
384
|
-
|
553
|
+
::std::shared_ptr<::Ice::ObjectPrx>
|
554
|
+
Ice::LocatorPrx::_newInstance() const
|
385
555
|
{
|
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
|
-
}
|
556
|
+
return ::IceInternal::createProxy<LocatorPrx>();
|
406
557
|
}
|
407
558
|
|
408
|
-
|
409
|
-
|
559
|
+
const ::std::string&
|
560
|
+
Ice::LocatorPrx::ice_staticId()
|
410
561
|
{
|
562
|
+
return Ice::Locator::ice_staticId();
|
411
563
|
}
|
412
564
|
|
413
565
|
void
|
414
|
-
|
566
|
+
Ice::LocatorRegistryPrx::_iceI_setAdapterDirectProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>& outAsync, const ::std::string& iceP_id, const ::std::shared_ptr<::Ice::ObjectPrx>& iceP_proxy, const ::Ice::Context& context)
|
415
567
|
{
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
568
|
+
_checkTwowayOnly(iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name);
|
569
|
+
outAsync->invoke(iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name, ::Ice::OperationMode::Idempotent, ::Ice::FormatType::DefaultFormat, context,
|
570
|
+
[&](::Ice::OutputStream* ostr)
|
571
|
+
{
|
572
|
+
ostr->writeAll(iceP_id, iceP_proxy);
|
573
|
+
},
|
574
|
+
[](const ::Ice::UserException& ex)
|
575
|
+
{
|
576
|
+
try
|
577
|
+
{
|
578
|
+
ex.ice_throw();
|
579
|
+
}
|
580
|
+
catch(const ::Ice::AdapterAlreadyActiveException&)
|
581
|
+
{
|
582
|
+
throw;
|
583
|
+
}
|
584
|
+
catch(const ::Ice::AdapterNotFoundException&)
|
585
|
+
{
|
586
|
+
throw;
|
587
|
+
}
|
588
|
+
catch(const ::Ice::UserException&)
|
589
|
+
{
|
590
|
+
}
|
591
|
+
});
|
421
592
|
}
|
422
593
|
|
423
594
|
void
|
424
|
-
|
595
|
+
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<::Ice::ObjectPrx>& iceP_p, const ::Ice::Context& context)
|
425
596
|
{
|
426
|
-
|
427
|
-
|
428
|
-
|
597
|
+
_checkTwowayOnly(iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name);
|
598
|
+
outAsync->invoke(iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name, ::Ice::OperationMode::Idempotent, ::Ice::FormatType::DefaultFormat, context,
|
599
|
+
[&](::Ice::OutputStream* ostr)
|
429
600
|
{
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
}
|
434
|
-
else if(const ::Ice::AdapterNotFoundException* __ex = dynamic_cast<const ::Ice::AdapterNotFoundException*>(&ex))
|
435
|
-
{
|
436
|
-
if(__validateResponse(false))
|
601
|
+
ostr->writeAll(iceP_adapterId, iceP_replicaGroupId, iceP_p);
|
602
|
+
},
|
603
|
+
[](const ::Ice::UserException& ex)
|
437
604
|
{
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
605
|
+
try
|
606
|
+
{
|
607
|
+
ex.ice_throw();
|
608
|
+
}
|
609
|
+
catch(const ::Ice::AdapterAlreadyActiveException&)
|
610
|
+
{
|
611
|
+
throw;
|
612
|
+
}
|
613
|
+
catch(const ::Ice::AdapterNotFoundException&)
|
614
|
+
{
|
615
|
+
throw;
|
616
|
+
}
|
617
|
+
catch(const ::Ice::InvalidReplicaGroupIdException&)
|
618
|
+
{
|
619
|
+
throw;
|
620
|
+
}
|
621
|
+
catch(const ::Ice::UserException&)
|
622
|
+
{
|
623
|
+
}
|
624
|
+
});
|
625
|
+
}
|
626
|
+
|
627
|
+
void
|
628
|
+
Ice::LocatorRegistryPrx::_iceI_setServerProcessProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>& outAsync, const ::std::string& iceP_id, const ::std::shared_ptr<::Ice::ProcessPrx>& iceP_proxy, const ::Ice::Context& context)
|
629
|
+
{
|
630
|
+
_checkTwowayOnly(iceC_Ice_LocatorRegistry_setServerProcessProxy_name);
|
631
|
+
outAsync->invoke(iceC_Ice_LocatorRegistry_setServerProcessProxy_name, ::Ice::OperationMode::Idempotent, ::Ice::FormatType::DefaultFormat, context,
|
632
|
+
[&](::Ice::OutputStream* ostr)
|
445
633
|
{
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
634
|
+
ostr->writeAll(iceP_id, iceP_proxy);
|
635
|
+
},
|
636
|
+
[](const ::Ice::UserException& ex)
|
637
|
+
{
|
638
|
+
try
|
639
|
+
{
|
640
|
+
ex.ice_throw();
|
641
|
+
}
|
642
|
+
catch(const ::Ice::ServerNotFoundException&)
|
643
|
+
{
|
644
|
+
throw;
|
645
|
+
}
|
646
|
+
catch(const ::Ice::UserException&)
|
647
|
+
{
|
648
|
+
}
|
649
|
+
});
|
454
650
|
}
|
455
651
|
|
456
|
-
|
457
|
-
|
652
|
+
::std::shared_ptr<::Ice::ObjectPrx>
|
653
|
+
Ice::LocatorRegistryPrx::_newInstance() const
|
654
|
+
{
|
655
|
+
return ::IceInternal::createProxy<LocatorRegistryPrx>();
|
656
|
+
}
|
657
|
+
|
658
|
+
const ::std::string&
|
659
|
+
Ice::LocatorRegistryPrx::ice_staticId()
|
458
660
|
{
|
661
|
+
return Ice::LocatorRegistry::ice_staticId();
|
459
662
|
}
|
460
663
|
|
461
664
|
void
|
462
|
-
|
665
|
+
Ice::LocatorFinderPrx::_iceI_getLocator(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::LocatorPrx>>>& outAsync, const ::Ice::Context& context)
|
463
666
|
{
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
667
|
+
_checkTwowayOnly(iceC_Ice_LocatorFinder_getLocator_name);
|
668
|
+
outAsync->invoke(iceC_Ice_LocatorFinder_getLocator_name, ::Ice::OperationMode::Normal, ::Ice::FormatType::DefaultFormat, context,
|
669
|
+
nullptr,
|
670
|
+
nullptr);
|
671
|
+
}
|
672
|
+
|
673
|
+
::std::shared_ptr<::Ice::ObjectPrx>
|
674
|
+
Ice::LocatorFinderPrx::_newInstance() const
|
675
|
+
{
|
676
|
+
return ::IceInternal::createProxy<LocatorFinderPrx>();
|
677
|
+
}
|
678
|
+
|
679
|
+
const ::std::string&
|
680
|
+
Ice::LocatorFinderPrx::ice_staticId()
|
681
|
+
{
|
682
|
+
return Ice::LocatorFinder::ice_staticId();
|
683
|
+
}
|
684
|
+
|
685
|
+
#else // C++98 mapping
|
686
|
+
|
687
|
+
namespace
|
688
|
+
{
|
689
|
+
|
690
|
+
const ::std::string iceC_Ice_Locator_findObjectById_name = "findObjectById";
|
691
|
+
|
692
|
+
const ::std::string iceC_Ice_Locator_findAdapterById_name = "findAdapterById";
|
693
|
+
|
694
|
+
const ::std::string iceC_Ice_Locator_getRegistry_name = "getRegistry";
|
695
|
+
|
696
|
+
const ::std::string iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name = "setAdapterDirectProxy";
|
697
|
+
|
698
|
+
const ::std::string iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name = "setReplicatedAdapterDirectProxy";
|
699
|
+
|
700
|
+
const ::std::string iceC_Ice_LocatorRegistry_setServerProcessProxy_name = "setServerProcessProxy";
|
701
|
+
|
702
|
+
const ::std::string iceC_Ice_LocatorFinder_getLocator_name = "getLocator";
|
703
|
+
|
704
|
+
}
|
705
|
+
|
706
|
+
namespace
|
707
|
+
{
|
708
|
+
|
709
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::AdapterNotFoundException> iceC_Ice_AdapterNotFoundException_init("::Ice::AdapterNotFoundException");
|
710
|
+
|
711
|
+
}
|
712
|
+
|
713
|
+
Ice::AdapterNotFoundException::~AdapterNotFoundException() throw()
|
714
|
+
{
|
715
|
+
}
|
716
|
+
|
717
|
+
::std::string
|
718
|
+
Ice::AdapterNotFoundException::ice_id() const
|
719
|
+
{
|
720
|
+
return "::Ice::AdapterNotFoundException";
|
721
|
+
}
|
722
|
+
|
723
|
+
Ice::AdapterNotFoundException*
|
724
|
+
Ice::AdapterNotFoundException::ice_clone() const
|
725
|
+
{
|
726
|
+
return new AdapterNotFoundException(*this);
|
469
727
|
}
|
470
728
|
|
471
729
|
void
|
472
|
-
|
730
|
+
Ice::AdapterNotFoundException::ice_throw() const
|
473
731
|
{
|
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
|
-
}
|
732
|
+
throw *this;
|
486
733
|
}
|
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
734
|
|
492
735
|
void
|
493
|
-
::
|
736
|
+
Ice::AdapterNotFoundException::_writeImpl(::Ice::OutputStream* ostr) const
|
494
737
|
{
|
495
|
-
::Ice::
|
496
|
-
|
497
|
-
|
498
|
-
{
|
499
|
-
v = 0;
|
500
|
-
}
|
501
|
-
else
|
502
|
-
{
|
503
|
-
v = new ::IceProxy::Ice::Locator;
|
504
|
-
v->__copyFrom(proxy);
|
505
|
-
}
|
738
|
+
ostr->startSlice("::Ice::AdapterNotFoundException", -1, true);
|
739
|
+
Ice::StreamWriter< ::Ice::AdapterNotFoundException, ::Ice::OutputStream>::write(ostr, *this);
|
740
|
+
ostr->endSlice();
|
506
741
|
}
|
507
742
|
|
508
|
-
|
509
|
-
|
743
|
+
void
|
744
|
+
Ice::AdapterNotFoundException::_readImpl(::Ice::InputStream* istr)
|
510
745
|
{
|
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;
|
746
|
+
istr->startSlice();
|
747
|
+
Ice::StreamReader< ::Ice::AdapterNotFoundException, ::Ice::InputStream>::read(istr, *this);
|
748
|
+
istr->endSlice();
|
544
749
|
}
|
545
750
|
|
546
|
-
|
547
|
-
IceProxy::Ice::Locator::begin_findObjectById(const ::Ice::Identity& __p_id, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
|
751
|
+
namespace
|
548
752
|
{
|
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;
|
753
|
+
|
754
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::InvalidReplicaGroupIdException> iceC_Ice_InvalidReplicaGroupIdException_init("::Ice::InvalidReplicaGroupIdException");
|
755
|
+
|
564
756
|
}
|
565
757
|
|
566
|
-
|
758
|
+
Ice::InvalidReplicaGroupIdException::~InvalidReplicaGroupIdException() throw()
|
759
|
+
{
|
760
|
+
}
|
567
761
|
|
568
|
-
::
|
569
|
-
|
762
|
+
::std::string
|
763
|
+
Ice::InvalidReplicaGroupIdException::ice_id() const
|
570
764
|
{
|
571
|
-
|
572
|
-
|
573
|
-
public:
|
765
|
+
return "::Ice::InvalidReplicaGroupIdException";
|
766
|
+
}
|
574
767
|
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
}
|
768
|
+
Ice::InvalidReplicaGroupIdException*
|
769
|
+
Ice::InvalidReplicaGroupIdException::ice_clone() const
|
770
|
+
{
|
771
|
+
return new InvalidReplicaGroupIdException(*this);
|
772
|
+
}
|
581
773
|
|
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));
|
774
|
+
void
|
775
|
+
Ice::InvalidReplicaGroupIdException::ice_throw() const
|
776
|
+
{
|
777
|
+
throw *this;
|
606
778
|
}
|
607
|
-
#endif
|
608
779
|
|
609
|
-
|
610
|
-
|
780
|
+
void
|
781
|
+
Ice::InvalidReplicaGroupIdException::_writeImpl(::Ice::OutputStream* ostr) const
|
611
782
|
{
|
612
|
-
::Ice::
|
613
|
-
::Ice::
|
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;
|
783
|
+
ostr->startSlice("::Ice::InvalidReplicaGroupIdException", -1, true);
|
784
|
+
Ice::StreamWriter< ::Ice::InvalidReplicaGroupIdException, ::Ice::OutputStream>::write(ostr, *this);
|
785
|
+
ostr->endSlice();
|
633
786
|
}
|
634
787
|
|
635
|
-
|
636
|
-
|
788
|
+
void
|
789
|
+
Ice::InvalidReplicaGroupIdException::_readImpl(::Ice::InputStream* istr)
|
637
790
|
{
|
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;
|
791
|
+
istr->startSlice();
|
792
|
+
Ice::StreamReader< ::Ice::InvalidReplicaGroupIdException, ::Ice::InputStream>::read(istr, *this);
|
793
|
+
istr->endSlice();
|
671
794
|
}
|
672
795
|
|
673
|
-
|
674
|
-
IceProxy::Ice::Locator::begin_findAdapterById(const ::std::string& __p_id, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
|
796
|
+
namespace
|
675
797
|
{
|
676
|
-
|
677
|
-
|
678
|
-
|
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;
|
798
|
+
|
799
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::AdapterAlreadyActiveException> iceC_Ice_AdapterAlreadyActiveException_init("::Ice::AdapterAlreadyActiveException");
|
800
|
+
|
691
801
|
}
|
692
802
|
|
693
|
-
|
803
|
+
Ice::AdapterAlreadyActiveException::~AdapterAlreadyActiveException() throw()
|
804
|
+
{
|
805
|
+
}
|
694
806
|
|
695
|
-
::
|
696
|
-
|
807
|
+
::std::string
|
808
|
+
Ice::AdapterAlreadyActiveException::ice_id() const
|
697
809
|
{
|
698
|
-
|
699
|
-
|
700
|
-
public:
|
810
|
+
return "::Ice::AdapterAlreadyActiveException";
|
811
|
+
}
|
701
812
|
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
}
|
813
|
+
Ice::AdapterAlreadyActiveException*
|
814
|
+
Ice::AdapterAlreadyActiveException::ice_clone() const
|
815
|
+
{
|
816
|
+
return new AdapterAlreadyActiveException(*this);
|
817
|
+
}
|
708
818
|
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
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));
|
819
|
+
void
|
820
|
+
Ice::AdapterAlreadyActiveException::ice_throw() const
|
821
|
+
{
|
822
|
+
throw *this;
|
733
823
|
}
|
734
|
-
#endif
|
735
824
|
|
736
|
-
|
737
|
-
|
825
|
+
void
|
826
|
+
Ice::AdapterAlreadyActiveException::_writeImpl(::Ice::OutputStream* ostr) const
|
738
827
|
{
|
739
|
-
::Ice::
|
740
|
-
::Ice::
|
741
|
-
|
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;
|
828
|
+
ostr->startSlice("::Ice::AdapterAlreadyActiveException", -1, true);
|
829
|
+
Ice::StreamWriter< ::Ice::AdapterAlreadyActiveException, ::Ice::OutputStream>::write(ostr, *this);
|
830
|
+
ostr->endSlice();
|
760
831
|
}
|
761
832
|
|
762
|
-
|
763
|
-
|
833
|
+
void
|
834
|
+
Ice::AdapterAlreadyActiveException::_readImpl(::Ice::InputStream* istr)
|
764
835
|
{
|
765
|
-
|
766
|
-
::
|
767
|
-
|
768
|
-
if(!__og.invoke())
|
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;
|
836
|
+
istr->startSlice();
|
837
|
+
Ice::StreamReader< ::Ice::AdapterAlreadyActiveException, ::Ice::InputStream>::read(istr, *this);
|
838
|
+
istr->endSlice();
|
785
839
|
}
|
786
840
|
|
787
|
-
|
788
|
-
IceProxy::Ice::Locator::begin_getRegistry(const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
|
841
|
+
namespace
|
789
842
|
{
|
790
|
-
|
791
|
-
|
792
|
-
|
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;
|
843
|
+
|
844
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::ObjectNotFoundException> iceC_Ice_ObjectNotFoundException_init("::Ice::ObjectNotFoundException");
|
845
|
+
|
803
846
|
}
|
804
847
|
|
805
|
-
|
848
|
+
Ice::ObjectNotFoundException::~ObjectNotFoundException() throw()
|
849
|
+
{
|
850
|
+
}
|
806
851
|
|
807
|
-
::
|
808
|
-
|
852
|
+
::std::string
|
853
|
+
Ice::ObjectNotFoundException::ice_id() const
|
809
854
|
{
|
810
|
-
|
811
|
-
|
812
|
-
public:
|
855
|
+
return "::Ice::ObjectNotFoundException";
|
856
|
+
}
|
813
857
|
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
}
|
858
|
+
Ice::ObjectNotFoundException*
|
859
|
+
Ice::ObjectNotFoundException::ice_clone() const
|
860
|
+
{
|
861
|
+
return new ObjectNotFoundException(*this);
|
862
|
+
}
|
820
863
|
|
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));
|
864
|
+
void
|
865
|
+
Ice::ObjectNotFoundException::ice_throw() const
|
866
|
+
{
|
867
|
+
throw *this;
|
845
868
|
}
|
846
|
-
#endif
|
847
869
|
|
848
|
-
|
849
|
-
|
870
|
+
void
|
871
|
+
Ice::ObjectNotFoundException::_writeImpl(::Ice::OutputStream* ostr) const
|
850
872
|
{
|
851
|
-
::Ice::
|
852
|
-
::Ice::
|
853
|
-
|
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;
|
873
|
+
ostr->startSlice("::Ice::ObjectNotFoundException", -1, true);
|
874
|
+
Ice::StreamWriter< ::Ice::ObjectNotFoundException, ::Ice::OutputStream>::write(ostr, *this);
|
875
|
+
ostr->endSlice();
|
868
876
|
}
|
869
877
|
|
870
|
-
|
871
|
-
|
878
|
+
void
|
879
|
+
Ice::ObjectNotFoundException::_readImpl(::Ice::InputStream* istr)
|
872
880
|
{
|
873
|
-
|
881
|
+
istr->startSlice();
|
882
|
+
Ice::StreamReader< ::Ice::ObjectNotFoundException, ::Ice::InputStream>::read(istr, *this);
|
883
|
+
istr->endSlice();
|
874
884
|
}
|
875
885
|
|
876
|
-
|
877
|
-
|
886
|
+
namespace
|
887
|
+
{
|
888
|
+
|
889
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit< ::Ice::ServerNotFoundException> iceC_Ice_ServerNotFoundException_init("::Ice::ServerNotFoundException");
|
890
|
+
|
891
|
+
}
|
892
|
+
|
893
|
+
Ice::ServerNotFoundException::~ServerNotFoundException() throw()
|
894
|
+
{
|
895
|
+
}
|
896
|
+
|
897
|
+
::std::string
|
898
|
+
Ice::ServerNotFoundException::ice_id() const
|
899
|
+
{
|
900
|
+
return "::Ice::ServerNotFoundException";
|
901
|
+
}
|
902
|
+
|
903
|
+
Ice::ServerNotFoundException*
|
904
|
+
Ice::ServerNotFoundException::ice_clone() const
|
905
|
+
{
|
906
|
+
return new ServerNotFoundException(*this);
|
907
|
+
}
|
908
|
+
|
909
|
+
void
|
910
|
+
Ice::ServerNotFoundException::ice_throw() const
|
911
|
+
{
|
912
|
+
throw *this;
|
913
|
+
}
|
914
|
+
|
915
|
+
void
|
916
|
+
Ice::ServerNotFoundException::_writeImpl(::Ice::OutputStream* ostr) const
|
917
|
+
{
|
918
|
+
ostr->startSlice("::Ice::ServerNotFoundException", -1, true);
|
919
|
+
Ice::StreamWriter< ::Ice::ServerNotFoundException, ::Ice::OutputStream>::write(ostr, *this);
|
920
|
+
ostr->endSlice();
|
921
|
+
}
|
922
|
+
|
923
|
+
void
|
924
|
+
Ice::ServerNotFoundException::_readImpl(::Ice::InputStream* istr)
|
925
|
+
{
|
926
|
+
istr->startSlice();
|
927
|
+
Ice::StreamReader< ::Ice::ServerNotFoundException, ::Ice::InputStream>::read(istr, *this);
|
928
|
+
istr->endSlice();
|
929
|
+
}
|
930
|
+
|
931
|
+
Ice::AMD_Locator_findObjectById::~AMD_Locator_findObjectById()
|
932
|
+
{
|
933
|
+
}
|
934
|
+
|
935
|
+
Ice::AMD_Locator_findAdapterById::~AMD_Locator_findAdapterById()
|
936
|
+
{
|
937
|
+
}
|
938
|
+
|
939
|
+
Ice::AMD_LocatorRegistry_setAdapterDirectProxy::~AMD_LocatorRegistry_setAdapterDirectProxy()
|
940
|
+
{
|
941
|
+
}
|
942
|
+
|
943
|
+
Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy::~AMD_LocatorRegistry_setReplicatedAdapterDirectProxy()
|
944
|
+
{
|
945
|
+
}
|
946
|
+
|
947
|
+
Ice::AMD_LocatorRegistry_setServerProcessProxy::~AMD_LocatorRegistry_setServerProcessProxy()
|
948
|
+
{
|
949
|
+
}
|
950
|
+
|
951
|
+
IceAsync::Ice::AMD_Locator_findObjectById::AMD_Locator_findObjectById(::IceInternal::Incoming& in) :
|
952
|
+
::IceInternal::IncomingAsync(in)
|
953
|
+
{
|
954
|
+
}
|
955
|
+
|
956
|
+
void
|
957
|
+
IceAsync::Ice::AMD_Locator_findObjectById::ice_response(const ::Ice::ObjectPrx& ret)
|
958
|
+
{
|
959
|
+
::Ice::OutputStream* ostr = startWriteParams();
|
960
|
+
ostr->write(ret);
|
961
|
+
endWriteParams();
|
962
|
+
completed();
|
963
|
+
}
|
964
|
+
|
965
|
+
IceAsync::Ice::AMD_Locator_findAdapterById::AMD_Locator_findAdapterById(::IceInternal::Incoming& in) :
|
966
|
+
::IceInternal::IncomingAsync(in)
|
878
967
|
{
|
879
|
-
return new Locator;
|
880
968
|
}
|
881
|
-
#ifdef __SUNPRO_CC
|
882
|
-
class ICE_API IceProxy::Ice::LocatorRegistry;
|
883
|
-
#endif
|
884
|
-
ICE_API ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(::IceProxy::Ice::LocatorRegistry* p) { return p; }
|
885
969
|
|
886
970
|
void
|
887
|
-
::
|
971
|
+
IceAsync::Ice::AMD_Locator_findAdapterById::ice_response(const ::Ice::ObjectPrx& ret)
|
972
|
+
{
|
973
|
+
::Ice::OutputStream* ostr = startWriteParams();
|
974
|
+
ostr->write(ret);
|
975
|
+
endWriteParams();
|
976
|
+
completed();
|
977
|
+
}
|
978
|
+
|
979
|
+
IceAsync::Ice::AMD_LocatorRegistry_setAdapterDirectProxy::AMD_LocatorRegistry_setAdapterDirectProxy(::IceInternal::Incoming& in) :
|
980
|
+
::IceInternal::IncomingAsync(in)
|
981
|
+
{
|
982
|
+
}
|
983
|
+
|
984
|
+
void
|
985
|
+
IceAsync::Ice::AMD_LocatorRegistry_setAdapterDirectProxy::ice_response()
|
986
|
+
{
|
987
|
+
writeEmptyParams();
|
988
|
+
completed();
|
989
|
+
}
|
990
|
+
|
991
|
+
IceAsync::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy(::IceInternal::Incoming& in) :
|
992
|
+
::IceInternal::IncomingAsync(in)
|
993
|
+
{
|
994
|
+
}
|
995
|
+
|
996
|
+
void
|
997
|
+
IceAsync::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy::ice_response()
|
998
|
+
{
|
999
|
+
writeEmptyParams();
|
1000
|
+
completed();
|
1001
|
+
}
|
1002
|
+
|
1003
|
+
IceAsync::Ice::AMD_LocatorRegistry_setServerProcessProxy::AMD_LocatorRegistry_setServerProcessProxy(::IceInternal::Incoming& in) :
|
1004
|
+
::IceInternal::IncomingAsync(in)
|
1005
|
+
{
|
1006
|
+
}
|
1007
|
+
|
1008
|
+
void
|
1009
|
+
IceAsync::Ice::AMD_LocatorRegistry_setServerProcessProxy::ice_response()
|
1010
|
+
{
|
1011
|
+
writeEmptyParams();
|
1012
|
+
completed();
|
1013
|
+
}
|
1014
|
+
ICE_API ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(::IceProxy::Ice::Locator* p) { return p; }
|
1015
|
+
|
1016
|
+
void
|
1017
|
+
::IceProxy::Ice::_readProxy(::Ice::InputStream* istr, ::IceInternal::ProxyHandle< ::IceProxy::Ice::Locator>& v)
|
888
1018
|
{
|
889
1019
|
::Ice::ObjectPrx proxy;
|
890
|
-
|
1020
|
+
istr->read(proxy);
|
891
1021
|
if(!proxy)
|
892
1022
|
{
|
893
1023
|
v = 0;
|
894
1024
|
}
|
895
1025
|
else
|
896
1026
|
{
|
897
|
-
v = new ::IceProxy::Ice::
|
898
|
-
v->
|
1027
|
+
v = new ::IceProxy::Ice::Locator;
|
1028
|
+
v->_copyFrom(proxy);
|
1029
|
+
}
|
1030
|
+
}
|
1031
|
+
|
1032
|
+
::Ice::AsyncResultPtr
|
1033
|
+
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)
|
1034
|
+
{
|
1035
|
+
_checkTwowayOnly(iceC_Ice_Locator_findObjectById_name, sync);
|
1036
|
+
::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_Locator_findObjectById_name, del, cookie, sync);
|
1037
|
+
try
|
1038
|
+
{
|
1039
|
+
result->prepare(iceC_Ice_Locator_findObjectById_name, ::Ice::Nonmutating, context);
|
1040
|
+
::Ice::OutputStream* ostr = result->startWriteParams(::Ice::DefaultFormat);
|
1041
|
+
ostr->write(iceP_id);
|
1042
|
+
result->endWriteParams();
|
1043
|
+
result->invoke(iceC_Ice_Locator_findObjectById_name);
|
1044
|
+
}
|
1045
|
+
catch(const ::Ice::Exception& ex)
|
1046
|
+
{
|
1047
|
+
result->abort(ex);
|
1048
|
+
}
|
1049
|
+
return result;
|
1050
|
+
}
|
1051
|
+
|
1052
|
+
::Ice::ObjectPrx
|
1053
|
+
IceProxy::Ice::Locator::end_findObjectById(const ::Ice::AsyncResultPtr& result)
|
1054
|
+
{
|
1055
|
+
::Ice::AsyncResult::_check(result, this, iceC_Ice_Locator_findObjectById_name);
|
1056
|
+
::Ice::ObjectPrx ret;
|
1057
|
+
if(!result->_waitForResponse())
|
1058
|
+
{
|
1059
|
+
try
|
1060
|
+
{
|
1061
|
+
result->_throwUserException();
|
1062
|
+
}
|
1063
|
+
catch(const ::Ice::ObjectNotFoundException&)
|
1064
|
+
{
|
1065
|
+
throw;
|
1066
|
+
}
|
1067
|
+
catch(const ::Ice::UserException& ex)
|
1068
|
+
{
|
1069
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
|
1070
|
+
}
|
899
1071
|
}
|
1072
|
+
::Ice::InputStream* istr = result->_startReadParams();
|
1073
|
+
istr->read(ret);
|
1074
|
+
result->_endReadParams();
|
1075
|
+
return ret;
|
900
1076
|
}
|
901
1077
|
|
902
|
-
|
903
|
-
IceProxy::Ice::
|
1078
|
+
::Ice::AsyncResultPtr
|
1079
|
+
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)
|
904
1080
|
{
|
905
|
-
|
906
|
-
::IceInternal::
|
1081
|
+
_checkTwowayOnly(iceC_Ice_Locator_findAdapterById_name, sync);
|
1082
|
+
::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_Locator_findAdapterById_name, del, cookie, sync);
|
907
1083
|
try
|
908
1084
|
{
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
1085
|
+
result->prepare(iceC_Ice_Locator_findAdapterById_name, ::Ice::Nonmutating, context);
|
1086
|
+
::Ice::OutputStream* ostr = result->startWriteParams(::Ice::DefaultFormat);
|
1087
|
+
ostr->write(iceP_id);
|
1088
|
+
result->endWriteParams();
|
1089
|
+
result->invoke(iceC_Ice_Locator_findAdapterById_name);
|
913
1090
|
}
|
914
|
-
catch(const ::Ice::
|
1091
|
+
catch(const ::Ice::Exception& ex)
|
915
1092
|
{
|
916
|
-
|
1093
|
+
result->abort(ex);
|
917
1094
|
}
|
918
|
-
|
1095
|
+
return result;
|
1096
|
+
}
|
1097
|
+
|
1098
|
+
::Ice::ObjectPrx
|
1099
|
+
IceProxy::Ice::Locator::end_findAdapterById(const ::Ice::AsyncResultPtr& result)
|
1100
|
+
{
|
1101
|
+
::Ice::AsyncResult::_check(result, this, iceC_Ice_Locator_findAdapterById_name);
|
1102
|
+
::Ice::ObjectPrx ret;
|
1103
|
+
if(!result->_waitForResponse())
|
919
1104
|
{
|
920
1105
|
try
|
921
1106
|
{
|
922
|
-
|
923
|
-
}
|
924
|
-
catch(const ::Ice::AdapterAlreadyActiveException&)
|
925
|
-
{
|
926
|
-
throw;
|
1107
|
+
result->_throwUserException();
|
927
1108
|
}
|
928
1109
|
catch(const ::Ice::AdapterNotFoundException&)
|
929
1110
|
{
|
930
1111
|
throw;
|
931
1112
|
}
|
932
|
-
catch(const ::Ice::UserException&
|
1113
|
+
catch(const ::Ice::UserException& ex)
|
933
1114
|
{
|
934
|
-
::Ice::UnknownUserException
|
935
|
-
throw __uue;
|
1115
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
|
936
1116
|
}
|
937
1117
|
}
|
1118
|
+
::Ice::InputStream* istr = result->_startReadParams();
|
1119
|
+
istr->read(ret);
|
1120
|
+
result->_endReadParams();
|
1121
|
+
return ret;
|
938
1122
|
}
|
939
1123
|
|
940
1124
|
::Ice::AsyncResultPtr
|
941
|
-
IceProxy::Ice::
|
1125
|
+
IceProxy::Ice::Locator::_iceI_begin_getRegistry(const ::Ice::Context& context, const ::IceInternal::CallbackBasePtr& del, const ::Ice::LocalObjectPtr& cookie, bool sync)
|
942
1126
|
{
|
943
|
-
|
944
|
-
::IceInternal::OutgoingAsyncPtr
|
1127
|
+
_checkTwowayOnly(iceC_Ice_Locator_getRegistry_name, sync);
|
1128
|
+
::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_Locator_getRegistry_name, del, cookie, sync);
|
945
1129
|
try
|
946
1130
|
{
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
__os->write(__p_proxy);
|
951
|
-
__result->endWriteParams();
|
952
|
-
__result->invoke();
|
1131
|
+
result->prepare(iceC_Ice_Locator_getRegistry_name, ::Ice::Nonmutating, context);
|
1132
|
+
result->writeEmptyParams();
|
1133
|
+
result->invoke(iceC_Ice_Locator_getRegistry_name);
|
953
1134
|
}
|
954
|
-
catch(const ::Ice::Exception&
|
1135
|
+
catch(const ::Ice::Exception& ex)
|
955
1136
|
{
|
956
|
-
|
1137
|
+
result->abort(ex);
|
957
1138
|
}
|
958
|
-
return
|
1139
|
+
return result;
|
959
1140
|
}
|
960
1141
|
|
961
|
-
|
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)
|
1142
|
+
::Ice::LocatorRegistryPrx
|
1143
|
+
IceProxy::Ice::Locator::end_getRegistry(const ::Ice::AsyncResultPtr& result)
|
965
1144
|
{
|
966
|
-
|
1145
|
+
::Ice::AsyncResult::_check(result, this, iceC_Ice_Locator_getRegistry_name);
|
1146
|
+
::Ice::LocatorRegistryPrx ret;
|
1147
|
+
if(!result->_waitForResponse())
|
967
1148
|
{
|
968
|
-
|
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)
|
1149
|
+
try
|
973
1150
|
{
|
974
|
-
|
1151
|
+
result->_throwUserException();
|
975
1152
|
}
|
976
|
-
|
977
|
-
virtual void completed(const ::Ice::AsyncResultPtr& __result) const
|
1153
|
+
catch(const ::Ice::UserException& ex)
|
978
1154
|
{
|
979
|
-
::Ice::
|
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
|
-
}
|
1155
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
|
993
1156
|
}
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1157
|
+
}
|
1158
|
+
::Ice::InputStream* istr = result->_startReadParams();
|
1159
|
+
istr->read(ret);
|
1160
|
+
result->_endReadParams();
|
1161
|
+
return ret;
|
1162
|
+
}
|
1163
|
+
|
1164
|
+
::IceProxy::Ice::Object*
|
1165
|
+
IceProxy::Ice::Locator::_newInstance() const
|
1166
|
+
{
|
1167
|
+
return new Locator;
|
1000
1168
|
}
|
1001
|
-
|
1169
|
+
|
1170
|
+
const ::std::string&
|
1171
|
+
IceProxy::Ice::Locator::ice_staticId()
|
1172
|
+
{
|
1173
|
+
return ::Ice::Locator::ice_staticId();
|
1174
|
+
}
|
1175
|
+
ICE_API ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(::IceProxy::Ice::LocatorRegistry* p) { return p; }
|
1002
1176
|
|
1003
1177
|
void
|
1004
|
-
IceProxy::Ice::
|
1178
|
+
::IceProxy::Ice::_readProxy(::Ice::InputStream* istr, ::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorRegistry>& v)
|
1005
1179
|
{
|
1006
|
-
::Ice::
|
1007
|
-
|
1180
|
+
::Ice::ObjectPrx proxy;
|
1181
|
+
istr->read(proxy);
|
1182
|
+
if(!proxy)
|
1008
1183
|
{
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
throw;
|
1016
|
-
}
|
1017
|
-
catch(const ::Ice::AdapterNotFoundException&)
|
1018
|
-
{
|
1019
|
-
throw;
|
1020
|
-
}
|
1021
|
-
catch(const ::Ice::UserException& __ex)
|
1022
|
-
{
|
1023
|
-
throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
|
1024
|
-
}
|
1184
|
+
v = 0;
|
1185
|
+
}
|
1186
|
+
else
|
1187
|
+
{
|
1188
|
+
v = new ::IceProxy::Ice::LocatorRegistry;
|
1189
|
+
v->_copyFrom(proxy);
|
1025
1190
|
}
|
1026
|
-
__result->__readEmptyParams();
|
1027
1191
|
}
|
1028
1192
|
|
1029
|
-
|
1030
|
-
IceProxy::Ice::LocatorRegistry::
|
1193
|
+
::Ice::AsyncResultPtr
|
1194
|
+
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)
|
1031
1195
|
{
|
1032
|
-
|
1033
|
-
::IceInternal::
|
1196
|
+
_checkTwowayOnly(iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name, sync);
|
1197
|
+
::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name, del, cookie, sync);
|
1034
1198
|
try
|
1035
1199
|
{
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1200
|
+
result->prepare(iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name, ::Ice::Idempotent, context);
|
1201
|
+
::Ice::OutputStream* ostr = result->startWriteParams(::Ice::DefaultFormat);
|
1202
|
+
ostr->write(iceP_id);
|
1203
|
+
ostr->write(iceP_proxy);
|
1204
|
+
result->endWriteParams();
|
1205
|
+
result->invoke(iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name);
|
1041
1206
|
}
|
1042
|
-
catch(const ::Ice::
|
1207
|
+
catch(const ::Ice::Exception& ex)
|
1043
1208
|
{
|
1044
|
-
|
1209
|
+
result->abort(ex);
|
1045
1210
|
}
|
1046
|
-
|
1211
|
+
return result;
|
1212
|
+
}
|
1213
|
+
|
1214
|
+
void
|
1215
|
+
IceProxy::Ice::LocatorRegistry::end_setAdapterDirectProxy(const ::Ice::AsyncResultPtr& result)
|
1216
|
+
{
|
1217
|
+
::Ice::AsyncResult::_check(result, this, iceC_Ice_LocatorRegistry_setAdapterDirectProxy_name);
|
1218
|
+
if(!result->_waitForResponse())
|
1047
1219
|
{
|
1048
1220
|
try
|
1049
1221
|
{
|
1050
|
-
|
1222
|
+
result->_throwUserException();
|
1051
1223
|
}
|
1052
1224
|
catch(const ::Ice::AdapterAlreadyActiveException&)
|
1053
1225
|
{
|
@@ -1057,91 +1229,45 @@ IceProxy::Ice::LocatorRegistry::setReplicatedAdapterDirectProxy(const ::std::str
|
|
1057
1229
|
{
|
1058
1230
|
throw;
|
1059
1231
|
}
|
1060
|
-
catch(const ::Ice::
|
1061
|
-
{
|
1062
|
-
throw;
|
1063
|
-
}
|
1064
|
-
catch(const ::Ice::UserException& __ex)
|
1232
|
+
catch(const ::Ice::UserException& ex)
|
1065
1233
|
{
|
1066
|
-
::Ice::UnknownUserException
|
1067
|
-
throw __uue;
|
1234
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
|
1068
1235
|
}
|
1069
1236
|
}
|
1237
|
+
result->_readEmptyParams();
|
1070
1238
|
}
|
1071
1239
|
|
1072
1240
|
::Ice::AsyncResultPtr
|
1073
|
-
IceProxy::Ice::LocatorRegistry::
|
1241
|
+
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)
|
1074
1242
|
{
|
1075
|
-
|
1076
|
-
::IceInternal::OutgoingAsyncPtr
|
1243
|
+
_checkTwowayOnly(iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name, sync);
|
1244
|
+
::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name, del, cookie, sync);
|
1077
1245
|
try
|
1078
1246
|
{
|
1079
|
-
|
1080
|
-
::
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1247
|
+
result->prepare(iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name, ::Ice::Idempotent, context);
|
1248
|
+
::Ice::OutputStream* ostr = result->startWriteParams(::Ice::DefaultFormat);
|
1249
|
+
ostr->write(iceP_adapterId);
|
1250
|
+
ostr->write(iceP_replicaGroupId);
|
1251
|
+
ostr->write(iceP_p);
|
1252
|
+
result->endWriteParams();
|
1253
|
+
result->invoke(iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name);
|
1086
1254
|
}
|
1087
|
-
catch(const ::Ice::Exception&
|
1255
|
+
catch(const ::Ice::Exception& ex)
|
1088
1256
|
{
|
1089
|
-
|
1257
|
+
result->abort(ex);
|
1090
1258
|
}
|
1091
|
-
return
|
1092
|
-
}
|
1093
|
-
|
1094
|
-
#ifdef ICE_CPP11
|
1095
|
-
|
1096
|
-
::Ice::AsyncResultPtr
|
1097
|
-
IceProxy::Ice::LocatorRegistry::__begin_setReplicatedAdapterDirectProxy(const ::std::string& __p_adapterId, const ::std::string& __p_replicaGroupId, const ::Ice::ObjectPrx& __p_p, const ::Ice::Context* __ctx, const ::IceInternal::Function<void ()>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
|
1098
|
-
{
|
1099
|
-
class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
|
1100
|
-
{
|
1101
|
-
public:
|
1102
|
-
|
1103
|
-
Cpp11CB(const ::std::function<void ()>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
|
1104
|
-
::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
|
1105
|
-
_response(responseFunc)
|
1106
|
-
{
|
1107
|
-
CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
|
1108
|
-
}
|
1109
|
-
|
1110
|
-
virtual void completed(const ::Ice::AsyncResultPtr& __result) const
|
1111
|
-
{
|
1112
|
-
::Ice::LocatorRegistryPrx __proxy = ::Ice::LocatorRegistryPrx::uncheckedCast(__result->getProxy());
|
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));
|
1259
|
+
return result;
|
1133
1260
|
}
|
1134
|
-
#endif
|
1135
1261
|
|
1136
1262
|
void
|
1137
|
-
IceProxy::Ice::LocatorRegistry::end_setReplicatedAdapterDirectProxy(const ::Ice::AsyncResultPtr&
|
1263
|
+
IceProxy::Ice::LocatorRegistry::end_setReplicatedAdapterDirectProxy(const ::Ice::AsyncResultPtr& result)
|
1138
1264
|
{
|
1139
|
-
::Ice::AsyncResult::
|
1140
|
-
if(!
|
1265
|
+
::Ice::AsyncResult::_check(result, this, iceC_Ice_LocatorRegistry_setReplicatedAdapterDirectProxy_name);
|
1266
|
+
if(!result->_waitForResponse())
|
1141
1267
|
{
|
1142
1268
|
try
|
1143
1269
|
{
|
1144
|
-
|
1270
|
+
result->_throwUserException();
|
1145
1271
|
}
|
1146
1272
|
catch(const ::Ice::AdapterAlreadyActiveException&)
|
1147
1273
|
{
|
@@ -1155,154 +1281,75 @@ IceProxy::Ice::LocatorRegistry::end_setReplicatedAdapterDirectProxy(const ::Ice:
|
|
1155
1281
|
{
|
1156
1282
|
throw;
|
1157
1283
|
}
|
1158
|
-
catch(const ::Ice::UserException&
|
1159
|
-
{
|
1160
|
-
throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
|
1161
|
-
}
|
1162
|
-
}
|
1163
|
-
__result->__readEmptyParams();
|
1164
|
-
}
|
1165
|
-
|
1166
|
-
void
|
1167
|
-
IceProxy::Ice::LocatorRegistry::setServerProcessProxy(const ::std::string& __p_id, const ::Ice::ProcessPrx& __p_proxy, const ::Ice::Context* __ctx)
|
1168
|
-
{
|
1169
|
-
__checkTwowayOnly(__Ice__LocatorRegistry__setServerProcessProxy_name);
|
1170
|
-
::IceInternal::Outgoing __og(this, __Ice__LocatorRegistry__setServerProcessProxy_name, ::Ice::Idempotent, __ctx);
|
1171
|
-
try
|
1172
|
-
{
|
1173
|
-
::IceInternal::BasicStream* __os = __og.startWriteParams(::Ice::DefaultFormat);
|
1174
|
-
__os->write(__p_id);
|
1175
|
-
__os->write(__p_proxy);
|
1176
|
-
__og.endWriteParams();
|
1177
|
-
}
|
1178
|
-
catch(const ::Ice::LocalException& __ex)
|
1179
|
-
{
|
1180
|
-
__og.abort(__ex);
|
1181
|
-
}
|
1182
|
-
if(!__og.invoke())
|
1183
|
-
{
|
1184
|
-
try
|
1185
|
-
{
|
1186
|
-
__og.throwUserException();
|
1187
|
-
}
|
1188
|
-
catch(const ::Ice::ServerNotFoundException&)
|
1189
|
-
{
|
1190
|
-
throw;
|
1191
|
-
}
|
1192
|
-
catch(const ::Ice::UserException& __ex)
|
1284
|
+
catch(const ::Ice::UserException& ex)
|
1193
1285
|
{
|
1194
|
-
::Ice::UnknownUserException
|
1195
|
-
throw __uue;
|
1286
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
|
1196
1287
|
}
|
1197
1288
|
}
|
1289
|
+
result->_readEmptyParams();
|
1198
1290
|
}
|
1199
1291
|
|
1200
1292
|
::Ice::AsyncResultPtr
|
1201
|
-
IceProxy::Ice::LocatorRegistry::
|
1293
|
+
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
1294
|
{
|
1203
|
-
|
1204
|
-
::IceInternal::OutgoingAsyncPtr
|
1295
|
+
_checkTwowayOnly(iceC_Ice_LocatorRegistry_setServerProcessProxy_name, sync);
|
1296
|
+
::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_LocatorRegistry_setServerProcessProxy_name, del, cookie, sync);
|
1205
1297
|
try
|
1206
1298
|
{
|
1207
|
-
|
1208
|
-
::
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1299
|
+
result->prepare(iceC_Ice_LocatorRegistry_setServerProcessProxy_name, ::Ice::Idempotent, context);
|
1300
|
+
::Ice::OutputStream* ostr = result->startWriteParams(::Ice::DefaultFormat);
|
1301
|
+
ostr->write(iceP_id);
|
1302
|
+
ostr->write(iceP_proxy);
|
1303
|
+
result->endWriteParams();
|
1304
|
+
result->invoke(iceC_Ice_LocatorRegistry_setServerProcessProxy_name);
|
1213
1305
|
}
|
1214
|
-
catch(const ::Ice::Exception&
|
1306
|
+
catch(const ::Ice::Exception& ex)
|
1215
1307
|
{
|
1216
|
-
|
1308
|
+
result->abort(ex);
|
1217
1309
|
}
|
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));
|
1310
|
+
return result;
|
1260
1311
|
}
|
1261
|
-
#endif
|
1262
1312
|
|
1263
1313
|
void
|
1264
|
-
IceProxy::Ice::LocatorRegistry::end_setServerProcessProxy(const ::Ice::AsyncResultPtr&
|
1314
|
+
IceProxy::Ice::LocatorRegistry::end_setServerProcessProxy(const ::Ice::AsyncResultPtr& result)
|
1265
1315
|
{
|
1266
|
-
::Ice::AsyncResult::
|
1267
|
-
if(!
|
1316
|
+
::Ice::AsyncResult::_check(result, this, iceC_Ice_LocatorRegistry_setServerProcessProxy_name);
|
1317
|
+
if(!result->_waitForResponse())
|
1268
1318
|
{
|
1269
1319
|
try
|
1270
1320
|
{
|
1271
|
-
|
1321
|
+
result->_throwUserException();
|
1272
1322
|
}
|
1273
1323
|
catch(const ::Ice::ServerNotFoundException&)
|
1274
1324
|
{
|
1275
1325
|
throw;
|
1276
1326
|
}
|
1277
|
-
catch(const ::Ice::UserException&
|
1327
|
+
catch(const ::Ice::UserException& ex)
|
1278
1328
|
{
|
1279
|
-
throw ::Ice::UnknownUserException(__FILE__, __LINE__,
|
1329
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
|
1280
1330
|
}
|
1281
1331
|
}
|
1282
|
-
|
1332
|
+
result->_readEmptyParams();
|
1283
1333
|
}
|
1284
1334
|
|
1285
|
-
|
1286
|
-
IceProxy::Ice::LocatorRegistry::
|
1335
|
+
::IceProxy::Ice::Object*
|
1336
|
+
IceProxy::Ice::LocatorRegistry::_newInstance() const
|
1287
1337
|
{
|
1288
|
-
return
|
1338
|
+
return new LocatorRegistry;
|
1289
1339
|
}
|
1290
1340
|
|
1291
|
-
::
|
1292
|
-
IceProxy::Ice::LocatorRegistry::
|
1341
|
+
const ::std::string&
|
1342
|
+
IceProxy::Ice::LocatorRegistry::ice_staticId()
|
1293
1343
|
{
|
1294
|
-
return
|
1344
|
+
return ::Ice::LocatorRegistry::ice_staticId();
|
1295
1345
|
}
|
1296
|
-
#ifdef __SUNPRO_CC
|
1297
|
-
class ICE_API IceProxy::Ice::LocatorFinder;
|
1298
|
-
#endif
|
1299
1346
|
ICE_API ::IceProxy::Ice::Object* ::IceProxy::Ice::upCast(::IceProxy::Ice::LocatorFinder* p) { return p; }
|
1300
1347
|
|
1301
1348
|
void
|
1302
|
-
::IceProxy::Ice::
|
1349
|
+
::IceProxy::Ice::_readProxy(::Ice::InputStream* istr, ::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorFinder>& v)
|
1303
1350
|
{
|
1304
1351
|
::Ice::ObjectPrx proxy;
|
1305
|
-
|
1352
|
+
istr->read(proxy);
|
1306
1353
|
if(!proxy)
|
1307
1354
|
{
|
1308
1355
|
v = 0;
|
@@ -1310,116 +1357,54 @@ void
|
|
1310
1357
|
else
|
1311
1358
|
{
|
1312
1359
|
v = new ::IceProxy::Ice::LocatorFinder;
|
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
|
-
}
|
1360
|
+
v->_copyFrom(proxy);
|
1334
1361
|
}
|
1335
|
-
::Ice::LocatorPrx __ret;
|
1336
|
-
::IceInternal::BasicStream* __is = __og.startReadParams();
|
1337
|
-
__is->read(__ret);
|
1338
|
-
__og.endReadParams();
|
1339
|
-
return __ret;
|
1340
1362
|
}
|
1341
1363
|
|
1342
1364
|
::Ice::AsyncResultPtr
|
1343
|
-
IceProxy::Ice::LocatorFinder::
|
1365
|
+
IceProxy::Ice::LocatorFinder::_iceI_begin_getLocator(const ::Ice::Context& context, const ::IceInternal::CallbackBasePtr& del, const ::Ice::LocalObjectPtr& cookie, bool sync)
|
1344
1366
|
{
|
1345
|
-
|
1346
|
-
::IceInternal::OutgoingAsyncPtr
|
1367
|
+
_checkTwowayOnly(iceC_Ice_LocatorFinder_getLocator_name, sync);
|
1368
|
+
::IceInternal::OutgoingAsyncPtr result = new ::IceInternal::CallbackOutgoing(this, iceC_Ice_LocatorFinder_getLocator_name, del, cookie, sync);
|
1347
1369
|
try
|
1348
1370
|
{
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1371
|
+
result->prepare(iceC_Ice_LocatorFinder_getLocator_name, ::Ice::Normal, context);
|
1372
|
+
result->writeEmptyParams();
|
1373
|
+
result->invoke(iceC_Ice_LocatorFinder_getLocator_name);
|
1352
1374
|
}
|
1353
|
-
catch(const ::Ice::Exception&
|
1375
|
+
catch(const ::Ice::Exception& ex)
|
1354
1376
|
{
|
1355
|
-
|
1377
|
+
result->abort(ex);
|
1356
1378
|
}
|
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));
|
1379
|
+
return result;
|
1400
1380
|
}
|
1401
|
-
#endif
|
1402
1381
|
|
1403
1382
|
::Ice::LocatorPrx
|
1404
|
-
IceProxy::Ice::LocatorFinder::end_getLocator(const ::Ice::AsyncResultPtr&
|
1383
|
+
IceProxy::Ice::LocatorFinder::end_getLocator(const ::Ice::AsyncResultPtr& result)
|
1405
1384
|
{
|
1406
|
-
::Ice::AsyncResult::
|
1407
|
-
::Ice::LocatorPrx
|
1408
|
-
if(!
|
1385
|
+
::Ice::AsyncResult::_check(result, this, iceC_Ice_LocatorFinder_getLocator_name);
|
1386
|
+
::Ice::LocatorPrx ret;
|
1387
|
+
if(!result->_waitForResponse())
|
1409
1388
|
{
|
1410
1389
|
try
|
1411
1390
|
{
|
1412
|
-
|
1391
|
+
result->_throwUserException();
|
1413
1392
|
}
|
1414
|
-
catch(const ::Ice::UserException&
|
1393
|
+
catch(const ::Ice::UserException& ex)
|
1415
1394
|
{
|
1416
|
-
throw ::Ice::UnknownUserException(__FILE__, __LINE__,
|
1395
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, ex.ice_id());
|
1417
1396
|
}
|
1418
1397
|
}
|
1419
|
-
::
|
1420
|
-
|
1421
|
-
|
1422
|
-
return
|
1398
|
+
::Ice::InputStream* istr = result->_startReadParams();
|
1399
|
+
istr->read(ret);
|
1400
|
+
result->_endReadParams();
|
1401
|
+
return ret;
|
1402
|
+
}
|
1403
|
+
|
1404
|
+
::IceProxy::Ice::Object*
|
1405
|
+
IceProxy::Ice::LocatorFinder::_newInstance() const
|
1406
|
+
{
|
1407
|
+
return new LocatorFinder;
|
1423
1408
|
}
|
1424
1409
|
|
1425
1410
|
const ::std::string&
|
@@ -1428,17 +1413,16 @@ IceProxy::Ice::LocatorFinder::ice_staticId()
|
|
1428
1413
|
return ::Ice::LocatorFinder::ice_staticId();
|
1429
1414
|
}
|
1430
1415
|
|
1431
|
-
|
1432
|
-
IceProxy::Ice::LocatorFinder::__newInstance() const
|
1416
|
+
Ice::Locator::~Locator()
|
1433
1417
|
{
|
1434
|
-
return new LocatorFinder;
|
1435
1418
|
}
|
1436
1419
|
|
1437
1420
|
ICE_API ::Ice::Object* Ice::upCast(::Ice::Locator* p) { return p; }
|
1438
1421
|
|
1422
|
+
|
1439
1423
|
namespace
|
1440
1424
|
{
|
1441
|
-
const ::std::string
|
1425
|
+
const ::std::string iceC_Ice_Locator_ids[2] =
|
1442
1426
|
{
|
1443
1427
|
"::Ice::Locator",
|
1444
1428
|
"::Ice::Object"
|
@@ -1447,21 +1431,21 @@ const ::std::string __Ice__Locator_ids[2] =
|
|
1447
1431
|
}
|
1448
1432
|
|
1449
1433
|
bool
|
1450
|
-
Ice::Locator::ice_isA(const ::std::string&
|
1434
|
+
Ice::Locator::ice_isA(const ::std::string& s, const ::Ice::Current&) const
|
1451
1435
|
{
|
1452
|
-
return ::std::binary_search(
|
1436
|
+
return ::std::binary_search(iceC_Ice_Locator_ids, iceC_Ice_Locator_ids + 2, s);
|
1453
1437
|
}
|
1454
1438
|
|
1455
1439
|
::std::vector< ::std::string>
|
1456
1440
|
Ice::Locator::ice_ids(const ::Ice::Current&) const
|
1457
1441
|
{
|
1458
|
-
return ::std::vector< ::std::string>(&
|
1442
|
+
return ::std::vector< ::std::string>(&iceC_Ice_Locator_ids[0], &iceC_Ice_Locator_ids[2]);
|
1459
1443
|
}
|
1460
1444
|
|
1461
1445
|
const ::std::string&
|
1462
1446
|
Ice::Locator::ice_id(const ::Ice::Current&) const
|
1463
1447
|
{
|
1464
|
-
return
|
1448
|
+
return ice_staticId();
|
1465
1449
|
}
|
1466
1450
|
|
1467
1451
|
const ::std::string&
|
@@ -1471,73 +1455,49 @@ Ice::Locator::ice_staticId()
|
|
1471
1455
|
static const ::std::string typeId = "::Ice::Locator";
|
1472
1456
|
return typeId;
|
1473
1457
|
#else
|
1474
|
-
return
|
1458
|
+
return iceC_Ice_Locator_ids[0];
|
1475
1459
|
#endif
|
1476
1460
|
}
|
1477
1461
|
|
1478
|
-
|
1479
|
-
Ice::Locator::
|
1462
|
+
bool
|
1463
|
+
Ice::Locator::_iceD_findObjectById(::IceInternal::Incoming& inS, const ::Ice::Current& current) const
|
1480
1464
|
{
|
1481
|
-
|
1482
|
-
::
|
1483
|
-
::Ice::Identity
|
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;
|
1465
|
+
_iceCheckMode(::Ice::Idempotent, current.mode);
|
1466
|
+
::Ice::InputStream* istr = inS.startReadParams();
|
1467
|
+
::Ice::Identity iceP_id;
|
1468
|
+
istr->read(iceP_id);
|
1469
|
+
inS.endReadParams();
|
1470
|
+
this->findObjectById_async(new IceAsync::Ice::AMD_Locator_findObjectById(inS), iceP_id, current);
|
1471
|
+
return false;
|
1500
1472
|
}
|
1501
1473
|
|
1502
|
-
|
1503
|
-
Ice::Locator::
|
1474
|
+
bool
|
1475
|
+
Ice::Locator::_iceD_findAdapterById(::IceInternal::Incoming& inS, const ::Ice::Current& current) const
|
1504
1476
|
{
|
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;
|
1477
|
+
_iceCheckMode(::Ice::Idempotent, current.mode);
|
1478
|
+
::Ice::InputStream* istr = inS.startReadParams();
|
1479
|
+
::std::string iceP_id;
|
1480
|
+
istr->read(iceP_id);
|
1481
|
+
inS.endReadParams();
|
1482
|
+
this->findAdapterById_async(new IceAsync::Ice::AMD_Locator_findAdapterById(inS), iceP_id, current);
|
1483
|
+
return false;
|
1524
1484
|
}
|
1525
1485
|
|
1526
|
-
|
1527
|
-
Ice::Locator::
|
1486
|
+
bool
|
1487
|
+
Ice::Locator::_iceD_getRegistry(::IceInternal::Incoming& inS, const ::Ice::Current& current) const
|
1528
1488
|
{
|
1529
|
-
|
1530
|
-
|
1531
|
-
::Ice::LocatorRegistryPrx
|
1532
|
-
::
|
1533
|
-
|
1534
|
-
|
1535
|
-
return
|
1489
|
+
_iceCheckMode(::Ice::Idempotent, current.mode);
|
1490
|
+
inS.readEmptyParams();
|
1491
|
+
::Ice::LocatorRegistryPrx ret = this->getRegistry(current);
|
1492
|
+
::Ice::OutputStream* ostr = inS.startWriteParams();
|
1493
|
+
ostr->write(ret);
|
1494
|
+
inS.endWriteParams();
|
1495
|
+
return true;
|
1536
1496
|
}
|
1537
1497
|
|
1538
1498
|
namespace
|
1539
1499
|
{
|
1540
|
-
const ::std::string
|
1500
|
+
const ::std::string iceC_Ice_Locator_all[] =
|
1541
1501
|
{
|
1542
1502
|
"findAdapterById",
|
1543
1503
|
"findObjectById",
|
@@ -1550,67 +1510,71 @@ const ::std::string __Ice__Locator_all[] =
|
|
1550
1510
|
|
1551
1511
|
}
|
1552
1512
|
|
1553
|
-
|
1554
|
-
Ice::Locator::
|
1513
|
+
bool
|
1514
|
+
Ice::Locator::_iceDispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
|
1555
1515
|
{
|
1556
|
-
::std::pair<
|
1516
|
+
::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_Locator_all, iceC_Ice_Locator_all + 7, current.operation);
|
1557
1517
|
if(r.first == r.second)
|
1558
1518
|
{
|
1559
1519
|
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1560
1520
|
}
|
1561
1521
|
|
1562
|
-
switch(r.first -
|
1522
|
+
switch(r.first - iceC_Ice_Locator_all)
|
1563
1523
|
{
|
1564
1524
|
case 0:
|
1565
1525
|
{
|
1566
|
-
return
|
1526
|
+
return _iceD_findAdapterById(in, current);
|
1567
1527
|
}
|
1568
1528
|
case 1:
|
1569
1529
|
{
|
1570
|
-
return
|
1530
|
+
return _iceD_findObjectById(in, current);
|
1571
1531
|
}
|
1572
1532
|
case 2:
|
1573
1533
|
{
|
1574
|
-
return
|
1534
|
+
return _iceD_getRegistry(in, current);
|
1575
1535
|
}
|
1576
1536
|
case 3:
|
1577
1537
|
{
|
1578
|
-
return
|
1538
|
+
return _iceD_ice_id(in, current);
|
1579
1539
|
}
|
1580
1540
|
case 4:
|
1581
1541
|
{
|
1582
|
-
return
|
1542
|
+
return _iceD_ice_ids(in, current);
|
1583
1543
|
}
|
1584
1544
|
case 5:
|
1585
1545
|
{
|
1586
|
-
return
|
1546
|
+
return _iceD_ice_isA(in, current);
|
1587
1547
|
}
|
1588
1548
|
case 6:
|
1589
1549
|
{
|
1590
|
-
return
|
1550
|
+
return _iceD_ice_ping(in, current);
|
1551
|
+
}
|
1552
|
+
default:
|
1553
|
+
{
|
1554
|
+
assert(false);
|
1555
|
+
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1591
1556
|
}
|
1592
1557
|
}
|
1593
|
-
|
1594
|
-
assert(false);
|
1595
|
-
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1596
1558
|
}
|
1597
1559
|
|
1598
1560
|
void
|
1599
|
-
Ice::Locator::
|
1561
|
+
Ice::Locator::_iceWriteImpl(::Ice::OutputStream* ostr) const
|
1600
1562
|
{
|
1601
|
-
|
1602
|
-
|
1563
|
+
ostr->startSlice(ice_staticId(), -1, true);
|
1564
|
+
Ice::StreamWriter< ::Ice::Locator, ::Ice::OutputStream>::write(ostr, *this);
|
1565
|
+
ostr->endSlice();
|
1603
1566
|
}
|
1604
1567
|
|
1605
1568
|
void
|
1606
|
-
Ice::Locator::
|
1569
|
+
Ice::Locator::_iceReadImpl(::Ice::InputStream* istr)
|
1607
1570
|
{
|
1608
|
-
|
1609
|
-
|
1571
|
+
istr->startSlice();
|
1572
|
+
Ice::StreamReader< ::Ice::Locator, ::Ice::InputStream>::read(istr, *this);
|
1573
|
+
istr->endSlice();
|
1610
1574
|
}
|
1611
1575
|
|
1612
|
-
void
|
1613
|
-
Ice::
|
1576
|
+
void
|
1577
|
+
Ice::_icePatchObjectPtr(LocatorPtr& handle, const ::Ice::ObjectPtr& v)
|
1614
1578
|
{
|
1615
1579
|
handle = ::Ice::LocatorPtr::dynamicCast(v);
|
1616
1580
|
if(v && !handle)
|
@@ -1619,11 +1583,16 @@ Ice::__patch(LocatorPtr& handle, const ::Ice::ObjectPtr& v)
|
|
1619
1583
|
}
|
1620
1584
|
}
|
1621
1585
|
|
1586
|
+
Ice::LocatorRegistry::~LocatorRegistry()
|
1587
|
+
{
|
1588
|
+
}
|
1589
|
+
|
1622
1590
|
ICE_API ::Ice::Object* Ice::upCast(::Ice::LocatorRegistry* p) { return p; }
|
1623
1591
|
|
1592
|
+
|
1624
1593
|
namespace
|
1625
1594
|
{
|
1626
|
-
const ::std::string
|
1595
|
+
const ::std::string iceC_Ice_LocatorRegistry_ids[2] =
|
1627
1596
|
{
|
1628
1597
|
"::Ice::LocatorRegistry",
|
1629
1598
|
"::Ice::Object"
|
@@ -1632,21 +1601,21 @@ const ::std::string __Ice__LocatorRegistry_ids[2] =
|
|
1632
1601
|
}
|
1633
1602
|
|
1634
1603
|
bool
|
1635
|
-
Ice::LocatorRegistry::ice_isA(const ::std::string&
|
1604
|
+
Ice::LocatorRegistry::ice_isA(const ::std::string& s, const ::Ice::Current&) const
|
1636
1605
|
{
|
1637
|
-
return ::std::binary_search(
|
1606
|
+
return ::std::binary_search(iceC_Ice_LocatorRegistry_ids, iceC_Ice_LocatorRegistry_ids + 2, s);
|
1638
1607
|
}
|
1639
1608
|
|
1640
1609
|
::std::vector< ::std::string>
|
1641
1610
|
Ice::LocatorRegistry::ice_ids(const ::Ice::Current&) const
|
1642
1611
|
{
|
1643
|
-
return ::std::vector< ::std::string>(&
|
1612
|
+
return ::std::vector< ::std::string>(&iceC_Ice_LocatorRegistry_ids[0], &iceC_Ice_LocatorRegistry_ids[2]);
|
1644
1613
|
}
|
1645
1614
|
|
1646
1615
|
const ::std::string&
|
1647
1616
|
Ice::LocatorRegistry::ice_id(const ::Ice::Current&) const
|
1648
1617
|
{
|
1649
|
-
return
|
1618
|
+
return ice_staticId();
|
1650
1619
|
}
|
1651
1620
|
|
1652
1621
|
const ::std::string&
|
@@ -1656,93 +1625,57 @@ Ice::LocatorRegistry::ice_staticId()
|
|
1656
1625
|
static const ::std::string typeId = "::Ice::LocatorRegistry";
|
1657
1626
|
return typeId;
|
1658
1627
|
#else
|
1659
|
-
return
|
1628
|
+
return iceC_Ice_LocatorRegistry_ids[0];
|
1660
1629
|
#endif
|
1661
1630
|
}
|
1662
1631
|
|
1663
|
-
|
1664
|
-
Ice::LocatorRegistry::
|
1632
|
+
bool
|
1633
|
+
Ice::LocatorRegistry::_iceD_setAdapterDirectProxy(::IceInternal::Incoming& inS, const ::Ice::Current& current)
|
1665
1634
|
{
|
1666
|
-
|
1667
|
-
::
|
1668
|
-
::std::string
|
1669
|
-
::Ice::ObjectPrx
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1674
|
-
|
1675
|
-
|
1676
|
-
|
1677
|
-
|
1678
|
-
|
1679
|
-
|
1680
|
-
|
1681
|
-
|
1682
|
-
|
1683
|
-
|
1684
|
-
|
1685
|
-
|
1686
|
-
|
1687
|
-
|
1688
|
-
|
1689
|
-
::Ice::
|
1690
|
-
|
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;
|
1635
|
+
_iceCheckMode(::Ice::Idempotent, current.mode);
|
1636
|
+
::Ice::InputStream* istr = inS.startReadParams();
|
1637
|
+
::std::string iceP_id;
|
1638
|
+
::Ice::ObjectPrx iceP_proxy;
|
1639
|
+
istr->read(iceP_id);
|
1640
|
+
istr->read(iceP_proxy);
|
1641
|
+
inS.endReadParams();
|
1642
|
+
this->setAdapterDirectProxy_async(new IceAsync::Ice::AMD_LocatorRegistry_setAdapterDirectProxy(inS), iceP_id, iceP_proxy, current);
|
1643
|
+
return false;
|
1644
|
+
}
|
1645
|
+
|
1646
|
+
bool
|
1647
|
+
Ice::LocatorRegistry::_iceD_setReplicatedAdapterDirectProxy(::IceInternal::Incoming& inS, const ::Ice::Current& current)
|
1648
|
+
{
|
1649
|
+
_iceCheckMode(::Ice::Idempotent, current.mode);
|
1650
|
+
::Ice::InputStream* istr = inS.startReadParams();
|
1651
|
+
::std::string iceP_adapterId;
|
1652
|
+
::std::string iceP_replicaGroupId;
|
1653
|
+
::Ice::ObjectPrx iceP_p;
|
1654
|
+
istr->read(iceP_adapterId);
|
1655
|
+
istr->read(iceP_replicaGroupId);
|
1656
|
+
istr->read(iceP_p);
|
1657
|
+
inS.endReadParams();
|
1658
|
+
this->setReplicatedAdapterDirectProxy_async(new IceAsync::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy(inS), iceP_adapterId, iceP_replicaGroupId, iceP_p, current);
|
1659
|
+
return false;
|
1715
1660
|
}
|
1716
1661
|
|
1717
|
-
|
1718
|
-
Ice::LocatorRegistry::
|
1662
|
+
bool
|
1663
|
+
Ice::LocatorRegistry::_iceD_setServerProcessProxy(::IceInternal::Incoming& inS, const ::Ice::Current& current)
|
1719
1664
|
{
|
1720
|
-
|
1721
|
-
::
|
1722
|
-
::std::string
|
1723
|
-
::Ice::ProcessPrx
|
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;
|
1665
|
+
_iceCheckMode(::Ice::Idempotent, current.mode);
|
1666
|
+
::Ice::InputStream* istr = inS.startReadParams();
|
1667
|
+
::std::string iceP_id;
|
1668
|
+
::Ice::ProcessPrx iceP_proxy;
|
1669
|
+
istr->read(iceP_id);
|
1670
|
+
istr->read(iceP_proxy);
|
1671
|
+
inS.endReadParams();
|
1672
|
+
this->setServerProcessProxy_async(new IceAsync::Ice::AMD_LocatorRegistry_setServerProcessProxy(inS), iceP_id, iceP_proxy, current);
|
1673
|
+
return false;
|
1741
1674
|
}
|
1742
1675
|
|
1743
1676
|
namespace
|
1744
1677
|
{
|
1745
|
-
const ::std::string
|
1678
|
+
const ::std::string iceC_Ice_LocatorRegistry_all[] =
|
1746
1679
|
{
|
1747
1680
|
"ice_id",
|
1748
1681
|
"ice_ids",
|
@@ -1755,67 +1688,71 @@ const ::std::string __Ice__LocatorRegistry_all[] =
|
|
1755
1688
|
|
1756
1689
|
}
|
1757
1690
|
|
1758
|
-
|
1759
|
-
Ice::LocatorRegistry::
|
1691
|
+
bool
|
1692
|
+
Ice::LocatorRegistry::_iceDispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
|
1760
1693
|
{
|
1761
|
-
::std::pair<
|
1694
|
+
::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_LocatorRegistry_all, iceC_Ice_LocatorRegistry_all + 7, current.operation);
|
1762
1695
|
if(r.first == r.second)
|
1763
1696
|
{
|
1764
1697
|
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1765
1698
|
}
|
1766
1699
|
|
1767
|
-
switch(r.first -
|
1700
|
+
switch(r.first - iceC_Ice_LocatorRegistry_all)
|
1768
1701
|
{
|
1769
1702
|
case 0:
|
1770
1703
|
{
|
1771
|
-
return
|
1704
|
+
return _iceD_ice_id(in, current);
|
1772
1705
|
}
|
1773
1706
|
case 1:
|
1774
1707
|
{
|
1775
|
-
return
|
1708
|
+
return _iceD_ice_ids(in, current);
|
1776
1709
|
}
|
1777
1710
|
case 2:
|
1778
1711
|
{
|
1779
|
-
return
|
1712
|
+
return _iceD_ice_isA(in, current);
|
1780
1713
|
}
|
1781
1714
|
case 3:
|
1782
1715
|
{
|
1783
|
-
return
|
1716
|
+
return _iceD_ice_ping(in, current);
|
1784
1717
|
}
|
1785
1718
|
case 4:
|
1786
1719
|
{
|
1787
|
-
return
|
1720
|
+
return _iceD_setAdapterDirectProxy(in, current);
|
1788
1721
|
}
|
1789
1722
|
case 5:
|
1790
1723
|
{
|
1791
|
-
return
|
1724
|
+
return _iceD_setReplicatedAdapterDirectProxy(in, current);
|
1792
1725
|
}
|
1793
1726
|
case 6:
|
1794
1727
|
{
|
1795
|
-
return
|
1728
|
+
return _iceD_setServerProcessProxy(in, current);
|
1729
|
+
}
|
1730
|
+
default:
|
1731
|
+
{
|
1732
|
+
assert(false);
|
1733
|
+
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1796
1734
|
}
|
1797
1735
|
}
|
1798
|
-
|
1799
|
-
assert(false);
|
1800
|
-
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1801
1736
|
}
|
1802
1737
|
|
1803
1738
|
void
|
1804
|
-
Ice::LocatorRegistry::
|
1739
|
+
Ice::LocatorRegistry::_iceWriteImpl(::Ice::OutputStream* ostr) const
|
1805
1740
|
{
|
1806
|
-
|
1807
|
-
|
1741
|
+
ostr->startSlice(ice_staticId(), -1, true);
|
1742
|
+
Ice::StreamWriter< ::Ice::LocatorRegistry, ::Ice::OutputStream>::write(ostr, *this);
|
1743
|
+
ostr->endSlice();
|
1808
1744
|
}
|
1809
1745
|
|
1810
1746
|
void
|
1811
|
-
Ice::LocatorRegistry::
|
1747
|
+
Ice::LocatorRegistry::_iceReadImpl(::Ice::InputStream* istr)
|
1812
1748
|
{
|
1813
|
-
|
1814
|
-
|
1749
|
+
istr->startSlice();
|
1750
|
+
Ice::StreamReader< ::Ice::LocatorRegistry, ::Ice::InputStream>::read(istr, *this);
|
1751
|
+
istr->endSlice();
|
1815
1752
|
}
|
1816
1753
|
|
1817
|
-
void
|
1818
|
-
Ice::
|
1754
|
+
void
|
1755
|
+
Ice::_icePatchObjectPtr(LocatorRegistryPtr& handle, const ::Ice::ObjectPtr& v)
|
1819
1756
|
{
|
1820
1757
|
handle = ::Ice::LocatorRegistryPtr::dynamicCast(v);
|
1821
1758
|
if(v && !handle)
|
@@ -1824,11 +1761,16 @@ Ice::__patch(LocatorRegistryPtr& handle, const ::Ice::ObjectPtr& v)
|
|
1824
1761
|
}
|
1825
1762
|
}
|
1826
1763
|
|
1764
|
+
Ice::LocatorFinder::~LocatorFinder()
|
1765
|
+
{
|
1766
|
+
}
|
1767
|
+
|
1827
1768
|
ICE_API ::Ice::Object* Ice::upCast(::Ice::LocatorFinder* p) { return p; }
|
1828
1769
|
|
1770
|
+
|
1829
1771
|
namespace
|
1830
1772
|
{
|
1831
|
-
const ::std::string
|
1773
|
+
const ::std::string iceC_Ice_LocatorFinder_ids[2] =
|
1832
1774
|
{
|
1833
1775
|
"::Ice::LocatorFinder",
|
1834
1776
|
"::Ice::Object"
|
@@ -1837,21 +1779,21 @@ const ::std::string __Ice__LocatorFinder_ids[2] =
|
|
1837
1779
|
}
|
1838
1780
|
|
1839
1781
|
bool
|
1840
|
-
Ice::LocatorFinder::ice_isA(const ::std::string&
|
1782
|
+
Ice::LocatorFinder::ice_isA(const ::std::string& s, const ::Ice::Current&) const
|
1841
1783
|
{
|
1842
|
-
return ::std::binary_search(
|
1784
|
+
return ::std::binary_search(iceC_Ice_LocatorFinder_ids, iceC_Ice_LocatorFinder_ids + 2, s);
|
1843
1785
|
}
|
1844
1786
|
|
1845
1787
|
::std::vector< ::std::string>
|
1846
1788
|
Ice::LocatorFinder::ice_ids(const ::Ice::Current&) const
|
1847
1789
|
{
|
1848
|
-
return ::std::vector< ::std::string>(&
|
1790
|
+
return ::std::vector< ::std::string>(&iceC_Ice_LocatorFinder_ids[0], &iceC_Ice_LocatorFinder_ids[2]);
|
1849
1791
|
}
|
1850
1792
|
|
1851
1793
|
const ::std::string&
|
1852
1794
|
Ice::LocatorFinder::ice_id(const ::Ice::Current&) const
|
1853
1795
|
{
|
1854
|
-
return
|
1796
|
+
return ice_staticId();
|
1855
1797
|
}
|
1856
1798
|
|
1857
1799
|
const ::std::string&
|
@@ -1861,25 +1803,25 @@ Ice::LocatorFinder::ice_staticId()
|
|
1861
1803
|
static const ::std::string typeId = "::Ice::LocatorFinder";
|
1862
1804
|
return typeId;
|
1863
1805
|
#else
|
1864
|
-
return
|
1806
|
+
return iceC_Ice_LocatorFinder_ids[0];
|
1865
1807
|
#endif
|
1866
1808
|
}
|
1867
1809
|
|
1868
|
-
|
1869
|
-
Ice::LocatorFinder::
|
1810
|
+
bool
|
1811
|
+
Ice::LocatorFinder::_iceD_getLocator(::IceInternal::Incoming& inS, const ::Ice::Current& current)
|
1870
1812
|
{
|
1871
|
-
|
1872
|
-
|
1873
|
-
::Ice::LocatorPrx
|
1874
|
-
::
|
1875
|
-
|
1876
|
-
|
1877
|
-
return
|
1813
|
+
_iceCheckMode(::Ice::Normal, current.mode);
|
1814
|
+
inS.readEmptyParams();
|
1815
|
+
::Ice::LocatorPrx ret = this->getLocator(current);
|
1816
|
+
::Ice::OutputStream* ostr = inS.startWriteParams();
|
1817
|
+
ostr->write(ret);
|
1818
|
+
inS.endWriteParams();
|
1819
|
+
return true;
|
1878
1820
|
}
|
1879
1821
|
|
1880
1822
|
namespace
|
1881
1823
|
{
|
1882
|
-
const ::std::string
|
1824
|
+
const ::std::string iceC_Ice_LocatorFinder_all[] =
|
1883
1825
|
{
|
1884
1826
|
"getLocator",
|
1885
1827
|
"ice_id",
|
@@ -1890,59 +1832,63 @@ const ::std::string __Ice__LocatorFinder_all[] =
|
|
1890
1832
|
|
1891
1833
|
}
|
1892
1834
|
|
1893
|
-
|
1894
|
-
Ice::LocatorFinder::
|
1835
|
+
bool
|
1836
|
+
Ice::LocatorFinder::_iceDispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
|
1895
1837
|
{
|
1896
|
-
::std::pair<
|
1838
|
+
::std::pair<const ::std::string*, const ::std::string*> r = ::std::equal_range(iceC_Ice_LocatorFinder_all, iceC_Ice_LocatorFinder_all + 5, current.operation);
|
1897
1839
|
if(r.first == r.second)
|
1898
1840
|
{
|
1899
1841
|
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1900
1842
|
}
|
1901
1843
|
|
1902
|
-
switch(r.first -
|
1844
|
+
switch(r.first - iceC_Ice_LocatorFinder_all)
|
1903
1845
|
{
|
1904
1846
|
case 0:
|
1905
1847
|
{
|
1906
|
-
return
|
1848
|
+
return _iceD_getLocator(in, current);
|
1907
1849
|
}
|
1908
1850
|
case 1:
|
1909
1851
|
{
|
1910
|
-
return
|
1852
|
+
return _iceD_ice_id(in, current);
|
1911
1853
|
}
|
1912
1854
|
case 2:
|
1913
1855
|
{
|
1914
|
-
return
|
1856
|
+
return _iceD_ice_ids(in, current);
|
1915
1857
|
}
|
1916
1858
|
case 3:
|
1917
1859
|
{
|
1918
|
-
return
|
1860
|
+
return _iceD_ice_isA(in, current);
|
1919
1861
|
}
|
1920
1862
|
case 4:
|
1921
1863
|
{
|
1922
|
-
return
|
1864
|
+
return _iceD_ice_ping(in, current);
|
1865
|
+
}
|
1866
|
+
default:
|
1867
|
+
{
|
1868
|
+
assert(false);
|
1869
|
+
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1923
1870
|
}
|
1924
1871
|
}
|
1925
|
-
|
1926
|
-
assert(false);
|
1927
|
-
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1928
1872
|
}
|
1929
1873
|
|
1930
1874
|
void
|
1931
|
-
Ice::LocatorFinder::
|
1875
|
+
Ice::LocatorFinder::_iceWriteImpl(::Ice::OutputStream* ostr) const
|
1932
1876
|
{
|
1933
|
-
|
1934
|
-
|
1877
|
+
ostr->startSlice(ice_staticId(), -1, true);
|
1878
|
+
Ice::StreamWriter< ::Ice::LocatorFinder, ::Ice::OutputStream>::write(ostr, *this);
|
1879
|
+
ostr->endSlice();
|
1935
1880
|
}
|
1936
1881
|
|
1937
1882
|
void
|
1938
|
-
Ice::LocatorFinder::
|
1883
|
+
Ice::LocatorFinder::_iceReadImpl(::Ice::InputStream* istr)
|
1939
1884
|
{
|
1940
|
-
|
1941
|
-
|
1885
|
+
istr->startSlice();
|
1886
|
+
Ice::StreamReader< ::Ice::LocatorFinder, ::Ice::InputStream>::read(istr, *this);
|
1887
|
+
istr->endSlice();
|
1942
1888
|
}
|
1943
1889
|
|
1944
|
-
void
|
1945
|
-
Ice::
|
1890
|
+
void
|
1891
|
+
Ice::_icePatchObjectPtr(LocatorFinderPtr& handle, const ::Ice::ObjectPtr& v)
|
1946
1892
|
{
|
1947
1893
|
handle = ::Ice::LocatorFinderPtr::dynamicCast(v);
|
1948
1894
|
if(v && !handle)
|
@@ -1950,3 +1896,9 @@ Ice::__patch(LocatorFinderPtr& handle, const ::Ice::ObjectPtr& v)
|
|
1950
1896
|
IceInternal::Ex::throwUOE(::Ice::LocatorFinder::ice_staticId(), v);
|
1951
1897
|
}
|
1952
1898
|
}
|
1899
|
+
|
1900
|
+
namespace Ice
|
1901
|
+
{
|
1902
|
+
}
|
1903
|
+
|
1904
|
+
#endif
|