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