zeroc-ice 3.7.0 → 3.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ICE_LICENSE +1 -1
- data/bin/slice2rb +1 -1
- data/ext/Communicator.cpp +72 -2
- data/ext/Communicator.h +1 -1
- data/ext/Config.h +11 -1
- data/ext/Connection.cpp +22 -2
- data/ext/Connection.h +4 -1
- data/ext/Endpoint.cpp +1 -1
- data/ext/Endpoint.h +1 -1
- data/ext/ImplicitContext.cpp +1 -1
- data/ext/ImplicitContext.h +1 -1
- data/ext/Init.cpp +1 -1
- data/ext/Logger.cpp +1 -1
- data/ext/Logger.h +1 -1
- data/ext/Operation.cpp +1 -1
- data/ext/Operation.h +1 -1
- data/ext/Properties.cpp +1 -1
- data/ext/Properties.h +1 -1
- data/ext/Proxy.cpp +70 -1
- data/ext/Proxy.h +1 -1
- data/ext/Slice.cpp +1 -1
- data/ext/Slice.h +1 -1
- data/ext/Types.cpp +21 -5
- data/ext/Types.h +1 -1
- data/ext/Util.cpp +1 -1
- data/ext/Util.h +1 -1
- data/ext/ValueFactoryManager.cpp +2 -2
- data/ext/ValueFactoryManager.h +2 -2
- data/ext/ice/cpp/include/Ice/Application.h +234 -76
- data/ext/ice/cpp/include/Ice/AsyncResult.h +77 -1
- data/ext/ice/cpp/include/Ice/AsyncResultF.h +1 -1
- data/ext/ice/cpp/include/Ice/BatchRequestInterceptor.h +35 -2
- data/ext/ice/cpp/include/Ice/BatchRequestQueueF.h +1 -1
- data/ext/ice/cpp/include/Ice/Buffer.h +1 -1
- data/ext/ice/cpp/include/Ice/CommunicatorAsync.h +43 -1
- data/ext/ice/cpp/include/Ice/Comparable.h +81 -1
- data/ext/ice/cpp/include/Ice/Config.h +8 -1
- data/ext/ice/cpp/include/Ice/ConnectionAsync.h +97 -1
- data/ext/ice/cpp/include/Ice/ConnectionIF.h +3 -1
- data/ext/ice/cpp/include/Ice/ConsoleUtil.h +1 -1
- data/ext/ice/cpp/include/Ice/DefaultValueFactory.h +1 -1
- data/ext/ice/cpp/include/Ice/DispatchInterceptor.h +17 -2
- data/ext/ice/cpp/include/Ice/Dispatcher.h +22 -2
- data/ext/ice/cpp/include/Ice/DynamicLibrary.h +1 -1
- data/ext/ice/cpp/include/Ice/DynamicLibraryF.h +1 -1
- data/ext/ice/cpp/include/Ice/Exception.h +57 -15
- data/ext/ice/cpp/include/Ice/ExceptionHelpers.h +19 -1
- data/ext/ice/cpp/include/Ice/FactoryTable.h +12 -2
- data/ext/ice/cpp/include/Ice/FactoryTableInit.h +1 -1
- data/ext/ice/cpp/include/Ice/Format.h +13 -14
- data/ext/ice/cpp/include/Ice/Functional.h +6 -1
- data/ext/ice/cpp/include/Ice/GCObject.h +1 -1
- data/ext/ice/cpp/include/Ice/Handle.h +1 -1
- data/ext/ice/cpp/include/Ice/Ice.h +1 -1
- data/ext/ice/cpp/include/Ice/IconvStringConverter.h +38 -3
- data/ext/ice/cpp/include/Ice/Incoming.h +15 -2
- data/ext/ice/cpp/include/Ice/IncomingAsync.h +37 -4
- data/ext/ice/cpp/include/Ice/IncomingAsyncF.h +1 -1
- data/ext/ice/cpp/include/Ice/Initialize.h +764 -98
- data/ext/ice/cpp/include/Ice/InputStream.h +637 -112
- data/ext/ice/cpp/include/Ice/InstanceF.h +1 -1
- data/ext/ice/cpp/include/Ice/InterfaceByValue.h +17 -1
- data/ext/ice/cpp/include/Ice/LocalObject.h +5 -1
- data/ext/ice/cpp/include/Ice/LocalObjectF.h +1 -1
- data/ext/ice/cpp/include/Ice/LoggerUtil.h +37 -6
- data/ext/ice/cpp/include/Ice/MetricsAdminI.h +3 -1
- data/ext/ice/cpp/include/Ice/MetricsFunctional.h +3 -1
- data/ext/ice/cpp/include/Ice/MetricsObserverI.h +3 -1
- data/ext/ice/cpp/include/Ice/NativePropertiesAdmin.h +46 -23
- data/ext/ice/cpp/include/Ice/Object.h +338 -47
- data/ext/ice/cpp/include/Ice/ObjectF.h +5 -1
- data/ext/ice/cpp/include/Ice/ObserverHelper.h +1 -1
- data/ext/ice/cpp/include/Ice/Optional.h +22 -6
- data/ext/ice/cpp/include/Ice/OutgoingAsync.h +15 -1
- data/ext/ice/cpp/include/Ice/OutgoingAsyncF.h +1 -1
- data/ext/ice/cpp/include/Ice/OutputStream.h +436 -92
- data/ext/ice/cpp/include/Ice/Protocol.h +31 -1
- data/ext/ice/cpp/include/Ice/Proxy.h +2244 -190
- data/ext/ice/cpp/include/Ice/ProxyF.h +3 -1
- data/ext/ice/cpp/include/Ice/ProxyFactoryF.h +1 -1
- data/ext/ice/cpp/include/Ice/ProxyHandle.h +10 -1
- data/ext/ice/cpp/include/Ice/ReferenceF.h +1 -1
- data/ext/ice/cpp/include/Ice/RegisterPlugins.h +67 -9
- data/ext/ice/cpp/include/Ice/RequestHandlerF.h +1 -1
- data/ext/ice/cpp/include/Ice/ResponseHandlerF.h +1 -1
- data/ext/ice/cpp/include/Ice/SHA1.h +1 -1
- data/ext/ice/cpp/include/Ice/ServantManagerF.h +1 -1
- data/ext/ice/cpp/include/Ice/Service.h +267 -138
- data/ext/ice/cpp/include/Ice/SliceChecksums.h +5 -1
- data/ext/ice/cpp/include/Ice/SlicedData.h +80 -33
- data/ext/ice/cpp/include/Ice/SlicedDataF.h +4 -1
- data/ext/ice/cpp/include/Ice/StreamHelpers.h +324 -116
- data/ext/ice/cpp/include/Ice/StringConverter.h +32 -1
- data/ext/ice/cpp/include/Ice/ThreadPoolF.h +1 -1
- data/ext/ice/cpp/include/Ice/UUID.h +2 -1
- data/ext/ice/cpp/include/Ice/UniquePtr.h +2 -2
- data/ext/ice/cpp/include/Ice/UniqueRef.h +6 -2
- data/ext/ice/cpp/include/Ice/UserExceptionFactory.h +6 -1
- data/ext/ice/cpp/include/Ice/Value.h +41 -1
- data/ext/ice/cpp/include/Ice/ValueF.h +3 -1
- data/ext/ice/cpp/include/IceSSL/Config.h +1 -1
- data/ext/ice/cpp/include/IceSSL/IceSSL.h +1 -1
- data/ext/ice/cpp/include/IceSSL/OpenSSL.h +75 -53
- data/ext/ice/cpp/include/IceSSL/Plugin.h +323 -218
- data/ext/ice/cpp/include/IceSSL/SChannel.h +34 -27
- data/ext/ice/cpp/include/IceSSL/SecureTransport.h +35 -28
- data/ext/ice/cpp/include/IceSSL/UWP.h +33 -24
- data/ext/ice/cpp/include/IceUtil/Atomic.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Cond.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Config.h +11 -3
- data/ext/ice/cpp/include/IceUtil/ConsoleUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/CountDownLatch.h +1 -1
- data/ext/ice/cpp/include/IceUtil/CtrlCHandler.h +59 -31
- data/ext/ice/cpp/include/IceUtil/DisableWarnings.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Exception.h +1 -1
- data/ext/ice/cpp/include/IceUtil/FileUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Functional.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Handle.h +1 -1
- data/ext/ice/cpp/include/IceUtil/IceUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/InputUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Iterator.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Lock.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Monitor.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Mutex.h +2 -5
- data/ext/ice/cpp/include/IceUtil/MutexProtocol.h +1 -1
- data/ext/ice/cpp/include/IceUtil/MutexPtrLock.h +1 -1
- data/ext/ice/cpp/include/IceUtil/MutexPtrTryLock.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Optional.h +95 -1
- data/ext/ice/cpp/include/IceUtil/Options.h +1 -1
- data/ext/ice/cpp/include/IceUtil/OutputUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/PopDisableWarnings.h +1 -1
- data/ext/ice/cpp/include/IceUtil/PushDisableWarnings.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Random.h +1 -1
- data/ext/ice/cpp/include/IceUtil/RecMutex.h +1 -1
- data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +4 -4
- data/ext/ice/cpp/include/IceUtil/ScannerConfig.h +5 -3
- data/ext/ice/cpp/include/IceUtil/ScopedArray.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Shared.h +1 -1
- data/ext/ice/cpp/include/IceUtil/StopWatch.h +1 -1
- data/ext/ice/cpp/include/IceUtil/StringConverter.h +106 -86
- data/ext/ice/cpp/include/IceUtil/StringUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Thread.h +1 -1
- data/ext/ice/cpp/include/IceUtil/ThreadException.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Time.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Timer.h +5 -1
- data/ext/ice/cpp/include/IceUtil/UUID.h +5 -1
- data/ext/ice/cpp/include/IceUtil/UndefSysMacros.h +1 -1
- data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +80 -20
- data/ext/ice/cpp/include/generated/Ice/Communicator.h +927 -130
- data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +13 -5
- data/ext/ice/cpp/include/generated/Ice/Connection.h +990 -194
- data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +21 -9
- data/ext/ice/cpp/include/generated/Ice/Current.h +180 -17
- data/ext/ice/cpp/include/generated/Ice/Endpoint.h +484 -118
- data/ext/ice/cpp/include/generated/Ice/EndpointF.h +41 -17
- data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +29 -3
- data/ext/ice/cpp/include/generated/Ice/FacetMap.h +11 -5
- data/ext/ice/cpp/include/generated/Ice/Identity.h +56 -7
- data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +150 -28
- data/ext/ice/cpp/include/generated/Ice/ImplicitContextF.h +13 -5
- data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +629 -83
- data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +19 -7
- data/ext/ice/cpp/include/generated/Ice/LocalException.h +5104 -794
- data/ext/ice/cpp/include/generated/Ice/Locator.h +2222 -443
- data/ext/ice/cpp/include/generated/Ice/LocatorF.h +27 -9
- data/ext/ice/cpp/include/generated/Ice/Logger.h +104 -26
- data/ext/ice/cpp/include/generated/Ice/LoggerF.h +13 -5
- data/ext/ice/cpp/include/generated/Ice/Metrics.h +2534 -455
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +1004 -126
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapterF.h +13 -5
- data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +72 -12
- data/ext/ice/cpp/include/generated/Ice/Plugin.h +142 -28
- data/ext/ice/cpp/include/generated/Ice/PluginF.h +17 -7
- data/ext/ice/cpp/include/generated/Ice/Process.h +511 -71
- data/ext/ice/cpp/include/generated/Ice/ProcessF.h +18 -6
- data/ext/ice/cpp/include/generated/Ice/Properties.h +306 -58
- data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +737 -121
- data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +22 -8
- data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +1526 -279
- data/ext/ice/cpp/include/generated/Ice/Router.h +1009 -198
- data/ext/ice/cpp/include/generated/Ice/RouterF.h +18 -6
- data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +174 -18
- data/ext/ice/cpp/include/generated/Ice/ServantLocatorF.h +13 -5
- data/ext/ice/cpp/include/generated/Ice/SliceChecksumDict.h +13 -3
- data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +177 -23
- data/ext/ice/cpp/include/generated/Ice/Version.h +43 -13
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +71 -15
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +13 -5
- data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +39 -9
- data/ext/ice/cpp/src/Ice/ACM.cpp +12 -3
- data/ext/ice/cpp/src/Ice/ACM.h +1 -1
- data/ext/ice/cpp/src/Ice/ACMF.h +1 -1
- data/ext/ice/cpp/src/Ice/Acceptor.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Acceptor.h +1 -1
- data/ext/ice/cpp/src/Ice/AcceptorF.h +1 -1
- data/ext/ice/cpp/src/Ice/ArgVector.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ArgVector.h +1 -1
- data/ext/ice/cpp/src/Ice/AsyncResult.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Base64.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Base64.h +1 -1
- data/ext/ice/cpp/src/Ice/BatchRequestQueue.cpp +1 -1
- data/ext/ice/cpp/src/Ice/BatchRequestQueue.h +1 -1
- data/ext/ice/cpp/src/Ice/Buffer.cpp +1 -1
- data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +3 -3
- data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +1 -1
- data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/Communicator.cpp +6 -4
- data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +34 -13
- data/ext/ice/cpp/src/Ice/CommunicatorI.h +10 -10
- data/ext/ice/cpp/src/Ice/Cond.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ConnectRequestHandler.cpp +11 -6
- data/ext/ice/cpp/src/Ice/ConnectRequestHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/ConnectRequestHandlerF.h +1 -1
- data/ext/ice/cpp/src/Ice/Connection.cpp +27 -11
- data/ext/ice/cpp/src/Ice/ConnectionF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ConnectionFactory.cpp +24 -19
- data/ext/ice/cpp/src/Ice/ConnectionFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/ConnectionFactoryF.h +1 -1
- data/ext/ice/cpp/src/Ice/ConnectionI.cpp +45 -37
- data/ext/ice/cpp/src/Ice/ConnectionI.h +10 -8
- data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/Connector.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Connector.h +1 -1
- data/ext/ice/cpp/src/Ice/ConnectorF.h +1 -1
- data/ext/ice/cpp/src/Ice/CountDownLatch.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Current.cpp +3 -3
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +5 -7
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.h +1 -1
- data/ext/ice/cpp/src/Ice/DefaultsAndOverridesF.h +1 -1
- data/ext/ice/cpp/src/Ice/DispatchInterceptor.cpp +1 -1
- data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Endpoint.cpp +24 -10
- data/ext/ice/cpp/src/Ice/EndpointF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/EndpointFactory.cpp +1 -1
- data/ext/ice/cpp/src/Ice/EndpointFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointFactoryF.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointFactoryManager.cpp +7 -13
- data/ext/ice/cpp/src/Ice/EndpointFactoryManager.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointFactoryManagerF.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointI.cpp +2 -2
- data/ext/ice/cpp/src/Ice/EndpointI.h +5 -5
- data/ext/ice/cpp/src/Ice/EndpointIF.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +3 -3
- data/ext/ice/cpp/src/Ice/EventHandler.cpp +1 -1
- data/ext/ice/cpp/src/Ice/EventHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/EventHandlerF.h +1 -1
- data/ext/ice/cpp/src/Ice/Exception.cpp +1 -1
- data/ext/ice/cpp/src/Ice/FacetMap.cpp +3 -3
- data/ext/ice/cpp/src/Ice/FactoryTable.cpp +1 -1
- data/ext/ice/cpp/src/Ice/FactoryTableInit.cpp +1 -1
- data/ext/ice/cpp/src/Ice/GCObject.cpp +1 -1
- data/ext/ice/cpp/src/Ice/HashUtil.h +1 -1
- data/ext/ice/cpp/src/Ice/HttpParser.cpp +1 -1
- data/ext/ice/cpp/src/Ice/HttpParser.h +1 -1
- data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +24 -29
- data/ext/ice/cpp/src/Ice/IPEndpointI.h +5 -5
- data/ext/ice/cpp/src/Ice/IPEndpointIF.h +1 -1
- data/ext/ice/cpp/src/Ice/IconvStringConverter.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Identity.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +6 -4
- data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ImplicitContextI.cpp +2 -13
- data/ext/ice/cpp/src/Ice/ImplicitContextI.h +1 -1
- data/ext/ice/cpp/src/Ice/Incoming.cpp +1 -1
- data/ext/ice/cpp/src/Ice/IncomingAsync.cpp +1 -1
- data/ext/ice/cpp/src/Ice/IncomingRequest.h +1 -1
- data/ext/ice/cpp/src/Ice/Initialize.cpp +10 -16
- data/ext/ice/cpp/src/Ice/InputStream.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Instance.cpp +13 -34
- data/ext/ice/cpp/src/Ice/Instance.h +1 -1
- data/ext/ice/cpp/src/Ice/Instrumentation.cpp +33 -13
- data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/InstrumentationI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/InstrumentationI.h +1 -1
- data/ext/ice/cpp/src/Ice/LocalException.cpp +279 -279
- data/ext/ice/cpp/src/Ice/LocalObject.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Locator.cpp +287 -174
- data/ext/ice/cpp/src/Ice/LocatorF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/LocatorInfo.cpp +4 -9
- data/ext/ice/cpp/src/Ice/LocatorInfo.h +1 -1
- data/ext/ice/cpp/src/Ice/LocatorInfoF.h +1 -1
- data/ext/ice/cpp/src/Ice/Logger.cpp +6 -4
- data/ext/ice/cpp/src/Ice/LoggerAdminI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/LoggerAdminI.h +1 -1
- data/ext/ice/cpp/src/Ice/LoggerF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/LoggerI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/LoggerI.h +1 -1
- data/ext/ice/cpp/src/Ice/LoggerUtil.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Metrics.cpp +297 -109
- data/ext/ice/cpp/src/Ice/MetricsAdminI.cpp +2 -7
- data/ext/ice/cpp/src/Ice/MetricsObserverI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Network.cpp +188 -225
- data/ext/ice/cpp/src/Ice/Network.h +3 -12
- data/ext/ice/cpp/src/Ice/NetworkF.h +1 -1
- data/ext/ice/cpp/src/Ice/NetworkProxy.cpp +1 -1
- data/ext/ice/cpp/src/Ice/NetworkProxy.h +1 -1
- data/ext/ice/cpp/src/Ice/NetworkProxyF.h +1 -1
- data/ext/ice/cpp/src/Ice/Object.cpp +7 -4
- data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +6 -4
- data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +53 -19
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactoryF.h +1 -1
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +116 -150
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +11 -11
- data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +6 -4
- data/ext/ice/cpp/src/Ice/ObserverHelper.cpp +1 -1
- data/ext/ice/cpp/src/Ice/OpaqueEndpointI.cpp +25 -42
- data/ext/ice/cpp/src/Ice/OpaqueEndpointI.h +2 -2
- data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +1 -1
- data/ext/ice/cpp/src/Ice/OutputStream.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Plugin.cpp +9 -5
- data/ext/ice/cpp/src/Ice/PluginF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/PluginManagerI.cpp +15 -34
- data/ext/ice/cpp/src/Ice/PluginManagerI.h +3 -3
- data/ext/ice/cpp/src/Ice/Process.cpp +69 -40
- data/ext/ice/cpp/src/Ice/ProcessF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Properties.cpp +6 -4
- data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +89 -54
- data/ext/ice/cpp/src/Ice/PropertiesAdminI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/PropertiesAdminI.h +1 -1
- data/ext/ice/cpp/src/Ice/PropertiesF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/PropertiesI.cpp +15 -21
- data/ext/ice/cpp/src/Ice/PropertiesI.h +10 -10
- data/ext/ice/cpp/src/Ice/PropertyNames.cpp +4 -2
- data/ext/ice/cpp/src/Ice/PropertyNames.h +2 -2
- data/ext/ice/cpp/src/Ice/Protocol.cpp +5 -13
- data/ext/ice/cpp/src/Ice/ProtocolInstance.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ProtocolInstance.h +1 -1
- data/ext/ice/cpp/src/Ice/ProtocolInstanceF.h +1 -1
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.h +1 -1
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacadeF.h +1 -1
- data/ext/ice/cpp/src/Ice/Proxy.cpp +46 -1
- data/ext/ice/cpp/src/Ice/ProxyFactory.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ProxyFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/Reference.cpp +56 -6
- data/ext/ice/cpp/src/Ice/Reference.h +13 -2
- data/ext/ice/cpp/src/Ice/ReferenceFactory.cpp +51 -90
- data/ext/ice/cpp/src/Ice/ReferenceFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/ReferenceFactoryF.h +1 -1
- data/ext/ice/cpp/src/Ice/RegisterPluginsInit.cpp +1 -1
- data/ext/ice/cpp/src/Ice/RegisterPluginsInit.h +1 -1
- data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +203 -117
- data/ext/ice/cpp/src/Ice/ReplyStatus.h +1 -1
- data/ext/ice/cpp/src/Ice/RequestHandler.cpp +1 -1
- data/ext/ice/cpp/src/Ice/RequestHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/RequestHandlerFactory.cpp +1 -1
- data/ext/ice/cpp/src/Ice/RequestHandlerFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/ResponseHandler.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ResponseHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/RetryQueue.cpp +1 -1
- data/ext/ice/cpp/src/Ice/RetryQueue.h +1 -1
- data/ext/ice/cpp/src/Ice/RetryQueueF.h +1 -1
- data/ext/ice/cpp/src/Ice/Router.cpp +167 -89
- data/ext/ice/cpp/src/Ice/RouterF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/RouterInfo.cpp +6 -28
- data/ext/ice/cpp/src/Ice/RouterInfo.h +1 -3
- data/ext/ice/cpp/src/Ice/RouterInfoF.h +1 -1
- data/ext/ice/cpp/src/Ice/SHA1.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Selector.cpp +19 -26
- data/ext/ice/cpp/src/Ice/Selector.h +1 -1
- data/ext/ice/cpp/src/Ice/ServantLocator.cpp +6 -4
- data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ServantManager.cpp +15 -31
- data/ext/ice/cpp/src/Ice/ServantManager.h +1 -1
- data/ext/ice/cpp/src/Ice/SharedContext.h +1 -1
- data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +3 -3
- data/ext/ice/cpp/src/Ice/SliceChecksums.cpp +1 -1
- data/ext/ice/cpp/src/Ice/SlicedData.cpp +1 -1
- data/ext/ice/cpp/src/Ice/StreamSocket.cpp +32 -52
- data/ext/ice/cpp/src/Ice/StreamSocket.h +1 -1
- data/ext/ice/cpp/src/Ice/StringConverterPlugin.cpp +10 -1
- data/ext/ice/cpp/src/Ice/StringUtil.h +1 -1
- data/ext/ice/cpp/src/Ice/SysLoggerI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/SysLoggerI.h +1 -1
- data/ext/ice/cpp/src/Ice/TcpAcceptor.cpp +5 -13
- data/ext/ice/cpp/src/Ice/TcpAcceptor.h +1 -1
- data/ext/ice/cpp/src/Ice/TcpConnector.cpp +1 -1
- data/ext/ice/cpp/src/Ice/TcpConnector.h +1 -1
- data/ext/ice/cpp/src/Ice/TcpEndpointI.cpp +8 -11
- data/ext/ice/cpp/src/Ice/TcpEndpointI.h +2 -2
- data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +1 -1
- data/ext/ice/cpp/src/Ice/TcpTransceiver.h +1 -1
- data/ext/ice/cpp/src/Ice/Thread.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ThreadPool.cpp +13 -13
- data/ext/ice/cpp/src/Ice/ThreadPool.h +1 -1
- data/ext/ice/cpp/src/Ice/Timer.cpp +1 -1
- data/ext/ice/cpp/src/Ice/TraceLevels.cpp +1 -1
- data/ext/ice/cpp/src/Ice/TraceLevels.h +1 -1
- data/ext/ice/cpp/src/Ice/TraceLevelsF.h +1 -1
- data/ext/ice/cpp/src/Ice/TraceUtil.cpp +1 -1
- data/ext/ice/cpp/src/Ice/TraceUtil.h +1 -1
- data/ext/ice/cpp/src/Ice/Transceiver.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Transceiver.h +1 -1
- data/ext/ice/cpp/src/Ice/TransceiverF.h +1 -1
- data/ext/ice/cpp/src/Ice/UdpConnector.cpp +1 -1
- data/ext/ice/cpp/src/Ice/UdpConnector.h +1 -1
- data/ext/ice/cpp/src/Ice/UdpEndpointI.cpp +19 -27
- data/ext/ice/cpp/src/Ice/UdpEndpointI.h +2 -2
- data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +17 -54
- data/ext/ice/cpp/src/Ice/UdpTransceiver.h +1 -1
- data/ext/ice/cpp/src/Ice/Value.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ValueFactory.cpp +9 -5
- data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.cpp +3 -6
- data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.h +2 -2
- data/ext/ice/cpp/src/Ice/Version.cpp +3 -3
- data/ext/ice/cpp/src/Ice/VirtualShared.h +1 -1
- data/ext/ice/cpp/src/Ice/WSAcceptor.cpp +1 -1
- data/ext/ice/cpp/src/Ice/WSAcceptor.h +1 -1
- data/ext/ice/cpp/src/Ice/WSConnector.cpp +1 -1
- data/ext/ice/cpp/src/Ice/WSConnector.h +1 -1
- data/ext/ice/cpp/src/Ice/WSEndpoint.cpp +4 -5
- data/ext/ice/cpp/src/Ice/WSEndpoint.h +2 -2
- data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +8 -9
- data/ext/ice/cpp/src/Ice/WSTransceiver.h +1 -1
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +85 -27
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +599 -113
- data/ext/ice/cpp/src/IceDiscovery/LocatorI.cpp +1 -1
- data/ext/ice/cpp/src/IceDiscovery/LocatorI.h +1 -1
- data/ext/ice/cpp/src/IceDiscovery/LookupI.cpp +1 -1
- data/ext/ice/cpp/src/IceDiscovery/LookupI.h +1 -1
- data/ext/ice/cpp/src/IceDiscovery/PluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceDiscovery/PluginI.h +1 -1
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +70 -24
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +635 -69
- data/ext/ice/cpp/src/IceLocatorDiscovery/Plugin.h +1 -1
- data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +71 -9
- data/ext/ice/cpp/src/IceSSL/AcceptorI.cpp +2 -4
- data/ext/ice/cpp/src/IceSSL/AcceptorI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/CertificateI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/CertificateI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +6 -4
- data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +3 -3
- data/ext/ice/cpp/src/IceSSL/ConnectorI.cpp +2 -4
- data/ext/ice/cpp/src/IceSSL/ConnectorI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/EndpointI.cpp +2 -2
- data/ext/ice/cpp/src/IceSSL/EndpointI.h +2 -2
- data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +6 -4
- data/ext/ice/cpp/src/IceSSL/Instance.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/Instance.h +1 -1
- data/ext/ice/cpp/src/IceSSL/InstanceF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLCertificateI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.h +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngineF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLPluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +25 -62
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.h +1 -1
- data/ext/ice/cpp/src/IceSSL/PluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/PluginI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/RFC2253.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/RFC2253.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelCertificateI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelEngineF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelPluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +19 -27
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SSLEngine.cpp +7 -16
- data/ext/ice/cpp/src/IceSSL/SSLEngine.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SSLEngineF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngineF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportPluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +7 -10
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.h +1 -1
- data/ext/ice/cpp/src/IceSSL/TrustManager.cpp +4 -5
- data/ext/ice/cpp/src/IceSSL/TrustManager.h +1 -1
- data/ext/ice/cpp/src/IceSSL/TrustManagerF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPCertificateI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPEngine.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPEngine.h +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPEngineF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPPluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/Util.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/Util.h +1 -1
- data/ext/ice/cpp/src/IceUtil/ConsoleUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/ConvertUTF.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/ConvertUTF.h +1 -1
- data/ext/ice/cpp/src/IceUtil/CtrlCHandler.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +5 -5
- data/ext/ice/cpp/src/IceUtil/InputUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/MutexProtocol.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/Options.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/OutputUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/Random.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/RecMutex.cpp +1 -5
- data/ext/ice/cpp/src/IceUtil/Shared.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/ThreadException.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/Time.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/UUID.cpp +3 -3
- data/ext/ice/cpp/src/IceUtil/Unicode.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/Unicode.h +1 -1
- data/ext/ice/cpp/src/IceUtil/UtilException.cpp +1 -1
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.cpp +160 -150
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.h +9 -8
- data/ext/ice/cpp/src/Slice/Checksum.cpp +1 -1
- data/ext/ice/cpp/src/Slice/Checksum.h +1 -1
- data/ext/ice/cpp/src/Slice/FileTracker.cpp +1 -1
- data/ext/ice/cpp/src/Slice/FileTracker.h +1 -1
- data/ext/ice/cpp/src/Slice/Grammar.cpp +567 -585
- data/ext/ice/cpp/src/Slice/Grammar.h +2 -2
- data/ext/ice/cpp/src/Slice/GrammarUtil.h +1 -1
- data/ext/ice/cpp/src/Slice/JavaUtil.cpp +131 -47
- data/ext/ice/cpp/src/Slice/JavaUtil.h +10 -5
- data/ext/ice/cpp/src/Slice/MD5.cpp +1 -1
- data/ext/ice/cpp/src/Slice/MD5.h +1 -1
- data/ext/ice/cpp/src/Slice/PHPUtil.cpp +1 -1
- data/ext/ice/cpp/src/Slice/PHPUtil.h +1 -1
- data/ext/ice/cpp/src/Slice/Parser.cpp +383 -101
- data/ext/ice/cpp/src/Slice/Parser.h +40 -3
- data/ext/ice/cpp/src/Slice/Preprocessor.cpp +2 -1
- data/ext/ice/cpp/src/Slice/Preprocessor.h +2 -2
- data/ext/ice/cpp/src/Slice/Python.cpp +7 -15
- data/ext/ice/cpp/src/Slice/PythonUtil.cpp +66 -9
- data/ext/ice/cpp/src/Slice/PythonUtil.h +2 -2
- data/ext/ice/cpp/src/Slice/Ruby.cpp +1 -1
- data/ext/ice/cpp/src/Slice/RubyUtil.cpp +2 -2
- data/ext/ice/cpp/src/Slice/RubyUtil.h +1 -1
- data/ext/ice/cpp/src/Slice/Scanner.cpp +214 -135
- data/ext/ice/cpp/src/Slice/SliceUtil.cpp +1 -1
- data/ext/ice/cpp/src/Slice/StringLiteralUtil.cpp +99 -17
- data/ext/ice/cpp/src/Slice/Util.h +5 -4
- data/ice.gemspec +2 -2
- data/lib/Glacier2.rb +1 -1
- data/lib/Glacier2/Metrics.rb +2 -2
- data/lib/Glacier2/PermissionsVerifier.rb +2 -2
- data/lib/Glacier2/PermissionsVerifierF.rb +2 -2
- data/lib/Glacier2/Router.rb +2 -2
- data/lib/Glacier2/RouterF.rb +2 -2
- data/lib/Glacier2/SSLInfo.rb +2 -2
- data/lib/Glacier2/Session.rb +2 -2
- data/lib/Ice.rb +2 -2
- data/lib/Ice/BuiltinSequences.rb +2 -2
- data/lib/Ice/Communicator.rb +2 -2
- data/lib/Ice/CommunicatorF.rb +2 -2
- data/lib/Ice/Connection.rb +2 -2
- data/lib/Ice/ConnectionF.rb +2 -2
- data/lib/Ice/Current.rb +2 -2
- data/lib/Ice/Endpoint.rb +2 -2
- data/lib/Ice/EndpointF.rb +2 -2
- data/lib/Ice/EndpointTypes.rb +2 -2
- data/lib/Ice/FacetMap.rb +2 -2
- data/lib/Ice/Identity.rb +2 -2
- data/lib/Ice/ImplicitContext.rb +2 -2
- data/lib/Ice/ImplicitContextF.rb +2 -2
- data/lib/Ice/Instrumentation.rb +2 -2
- data/lib/Ice/InstrumentationF.rb +2 -2
- data/lib/Ice/LocalException.rb +2 -2
- data/lib/Ice/Locator.rb +2 -2
- data/lib/Ice/LocatorF.rb +2 -2
- data/lib/Ice/Logger.rb +2 -2
- data/lib/Ice/LoggerF.rb +2 -2
- data/lib/Ice/Metrics.rb +2 -2
- data/lib/Ice/ObjectAdapter.rb +2 -2
- data/lib/Ice/ObjectAdapterF.rb +2 -2
- data/lib/Ice/ObjectFactory.rb +2 -2
- data/lib/Ice/Plugin.rb +2 -2
- data/lib/Ice/PluginF.rb +2 -2
- data/lib/Ice/Process.rb +2 -2
- data/lib/Ice/ProcessF.rb +2 -2
- data/lib/Ice/Properties.rb +2 -2
- data/lib/Ice/PropertiesAdmin.rb +2 -2
- data/lib/Ice/PropertiesF.rb +2 -2
- data/lib/Ice/RemoteLogger.rb +2 -2
- data/lib/Ice/Router.rb +2 -2
- data/lib/Ice/RouterF.rb +2 -2
- data/lib/Ice/ServantLocator.rb +2 -2
- data/lib/Ice/ServantLocatorF.rb +2 -2
- data/lib/Ice/SliceChecksumDict.rb +2 -2
- data/lib/Ice/ValueFactory.rb +2 -2
- data/lib/Ice/Version.rb +2 -2
- data/lib/IceBox.rb +1 -1
- data/lib/IceBox/IceBox.rb +2 -2
- data/lib/IceGrid.rb +1 -1
- data/lib/IceGrid/Admin.rb +2 -2
- data/lib/IceGrid/Descriptor.rb +2 -2
- data/lib/IceGrid/Exception.rb +2 -2
- data/lib/IceGrid/FileParser.rb +2 -2
- data/lib/IceGrid/PluginFacade.rb +2 -2
- data/lib/IceGrid/Registry.rb +2 -2
- data/lib/IceGrid/Session.rb +2 -2
- data/lib/IceGrid/UserAccountMapper.rb +2 -2
- data/lib/IcePatch2.rb +1 -1
- data/lib/IcePatch2/FileInfo.rb +2 -2
- data/lib/IcePatch2/FileServer.rb +2 -2
- data/lib/IceStorm.rb +1 -1
- data/lib/IceStorm/IceStorm.rb +2 -2
- data/lib/IceStorm/Metrics.rb +2 -2
- data/slice/Glacier2/Metrics.ice +2 -2
- data/slice/Glacier2/PermissionsVerifier.ice +2 -2
- data/slice/Glacier2/PermissionsVerifierF.ice +2 -2
- data/slice/Glacier2/Router.ice +2 -2
- data/slice/Glacier2/RouterF.ice +2 -2
- data/slice/Glacier2/SSLInfo.ice +2 -2
- data/slice/Glacier2/Session.ice +2 -2
- data/slice/Ice/BuiltinSequences.ice +2 -2
- data/slice/Ice/Communicator.ice +66 -73
- data/slice/Ice/CommunicatorF.ice +2 -2
- data/slice/Ice/Connection.ice +47 -17
- data/slice/Ice/ConnectionF.ice +2 -2
- data/slice/Ice/Current.ice +4 -5
- data/slice/Ice/Endpoint.ice +16 -16
- data/slice/Ice/EndpointF.ice +2 -2
- data/slice/Ice/EndpointTypes.ice +2 -2
- data/slice/Ice/FacetMap.ice +2 -2
- data/slice/Ice/Identity.ice +2 -2
- data/slice/Ice/ImplicitContext.ice +6 -6
- data/slice/Ice/ImplicitContextF.ice +2 -2
- data/slice/Ice/Instrumentation.ice +2 -2
- data/slice/Ice/InstrumentationF.ice +2 -2
- data/slice/Ice/LocalException.ice +2 -2
- data/slice/Ice/Locator.ice +3 -3
- data/slice/Ice/LocatorF.ice +2 -2
- data/slice/Ice/Logger.ice +2 -2
- data/slice/Ice/LoggerF.ice +2 -2
- data/slice/Ice/Metrics.ice +2 -2
- data/slice/Ice/ObjectAdapter.ice +10 -10
- data/slice/Ice/ObjectAdapterF.ice +2 -2
- data/slice/Ice/ObjectFactory.ice +3 -3
- data/slice/Ice/Plugin.ice +4 -4
- data/slice/Ice/PluginF.ice +2 -2
- data/slice/Ice/Process.ice +2 -2
- data/slice/Ice/ProcessF.ice +2 -2
- data/slice/Ice/Properties.ice +11 -11
- data/slice/Ice/PropertiesAdmin.ice +2 -2
- data/slice/Ice/PropertiesF.ice +2 -2
- data/slice/Ice/RemoteLogger.ice +12 -23
- data/slice/Ice/Router.ice +2 -2
- data/slice/Ice/RouterF.ice +2 -2
- data/slice/Ice/ServantLocator.ice +2 -2
- data/slice/Ice/ServantLocatorF.ice +2 -2
- data/slice/Ice/SliceChecksumDict.ice +2 -2
- data/slice/Ice/ValueFactory.ice +14 -16
- data/slice/Ice/Version.ice +2 -2
- data/slice/IceBT/ConnectionInfo.ice +2 -2
- data/slice/IceBT/EndpointInfo.ice +2 -2
- data/slice/IceBT/Types.ice +2 -2
- data/slice/IceBox/IceBox.ice +3 -4
- data/slice/IceDiscovery/IceDiscovery.ice +2 -2
- data/slice/IceGrid/Admin.ice +2 -2
- data/slice/IceGrid/Descriptor.ice +2 -2
- data/slice/IceGrid/Exception.ice +2 -2
- data/slice/IceGrid/FileParser.ice +2 -2
- data/slice/IceGrid/PluginFacade.ice +6 -6
- data/slice/IceGrid/Registry.ice +2 -2
- data/slice/IceGrid/Session.ice +2 -2
- data/slice/IceGrid/UserAccountMapper.ice +2 -2
- data/slice/IceIAP/ConnectionInfo.ice +2 -2
- data/slice/IceIAP/EndpointInfo.ice +2 -2
- data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +2 -2
- data/slice/IcePatch2/FileInfo.ice +2 -2
- data/slice/IcePatch2/FileServer.ice +2 -2
- data/slice/IceSSL/ConnectionInfo.ice +2 -2
- data/slice/IceSSL/ConnectionInfoF.ice +2 -2
- data/slice/IceSSL/EndpointInfo.ice +2 -2
- data/slice/IceStorm/IceStorm.ice +5 -6
- data/slice/IceStorm/Metrics.ice +2 -2
- metadata +3 -13
- data/BZIP2_LICENSE +0 -42
- data/ext/ice/bzip2/blocksort.c +0 -1094
- data/ext/ice/bzip2/bzlib.c +0 -1572
- data/ext/ice/bzip2/bzlib.h +0 -282
- data/ext/ice/bzip2/bzlib_private.h +0 -509
- data/ext/ice/bzip2/compress.c +0 -672
- data/ext/ice/bzip2/crctable.c +0 -104
- data/ext/ice/bzip2/decompress.c +0 -646
- data/ext/ice/bzip2/huffman.c +0 -205
- data/ext/ice/bzip2/randtable.c +0 -84
@@ -1,13 +1,13 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.7.
|
10
|
+
// Ice version 3.7.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -50,7 +50,7 @@
|
|
50
50
|
# if ICE_INT_VERSION % 100 > 50
|
51
51
|
# error Beta header file detected
|
52
52
|
# endif
|
53
|
-
# if ICE_INT_VERSION % 100 <
|
53
|
+
# if ICE_INT_VERSION % 100 < 1
|
54
54
|
# error Ice patch level mismatch!
|
55
55
|
# endif
|
56
56
|
#endif
|
@@ -82,7 +82,11 @@ class LocatorFinderPrx;
|
|
82
82
|
namespace Ice
|
83
83
|
{
|
84
84
|
|
85
|
-
|
85
|
+
/**
|
86
|
+
* This exception is raised if an adapter cannot be found.
|
87
|
+
* \headerfile Ice/Ice.h
|
88
|
+
*/
|
89
|
+
class ICE_CLASS(ICE_API) AdapterNotFoundException : public UserExceptionHelper<AdapterNotFoundException, UserException>
|
86
90
|
{
|
87
91
|
public:
|
88
92
|
|
@@ -92,17 +96,33 @@ public:
|
|
92
96
|
|
93
97
|
AdapterNotFoundException() = default;
|
94
98
|
|
99
|
+
/**
|
100
|
+
* Obtains a tuple containing all of the exception's data members.
|
101
|
+
* @return The data members in a tuple.
|
102
|
+
*/
|
103
|
+
|
95
104
|
std::tuple<> ice_tuple() const
|
96
105
|
{
|
97
106
|
return std::tie();
|
98
107
|
}
|
99
108
|
|
109
|
+
/**
|
110
|
+
* Obtains the Slice type ID of this exception.
|
111
|
+
* @return The fully-scoped type ID.
|
112
|
+
*/
|
100
113
|
ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
|
101
114
|
};
|
102
115
|
|
116
|
+
/// \cond INTERNAL
|
103
117
|
static AdapterNotFoundException _iceS_AdapterNotFoundException_init;
|
118
|
+
/// \endcond
|
104
119
|
|
105
|
-
|
120
|
+
/**
|
121
|
+
* This exception is raised if the replica group provided by the
|
122
|
+
* server is invalid.
|
123
|
+
* \headerfile Ice/Ice.h
|
124
|
+
*/
|
125
|
+
class ICE_CLASS(ICE_API) InvalidReplicaGroupIdException : public UserExceptionHelper<InvalidReplicaGroupIdException, UserException>
|
106
126
|
{
|
107
127
|
public:
|
108
128
|
|
@@ -112,15 +132,29 @@ public:
|
|
112
132
|
|
113
133
|
InvalidReplicaGroupIdException() = default;
|
114
134
|
|
135
|
+
/**
|
136
|
+
* Obtains a tuple containing all of the exception's data members.
|
137
|
+
* @return The data members in a tuple.
|
138
|
+
*/
|
139
|
+
|
115
140
|
std::tuple<> ice_tuple() const
|
116
141
|
{
|
117
142
|
return std::tie();
|
118
143
|
}
|
119
144
|
|
145
|
+
/**
|
146
|
+
* Obtains the Slice type ID of this exception.
|
147
|
+
* @return The fully-scoped type ID.
|
148
|
+
*/
|
120
149
|
ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
|
121
150
|
};
|
122
151
|
|
123
|
-
|
152
|
+
/**
|
153
|
+
* This exception is raised if a server tries to set endpoints for
|
154
|
+
* an adapter that is already active.
|
155
|
+
* \headerfile Ice/Ice.h
|
156
|
+
*/
|
157
|
+
class ICE_CLASS(ICE_API) AdapterAlreadyActiveException : public UserExceptionHelper<AdapterAlreadyActiveException, UserException>
|
124
158
|
{
|
125
159
|
public:
|
126
160
|
|
@@ -130,15 +164,28 @@ public:
|
|
130
164
|
|
131
165
|
AdapterAlreadyActiveException() = default;
|
132
166
|
|
167
|
+
/**
|
168
|
+
* Obtains a tuple containing all of the exception's data members.
|
169
|
+
* @return The data members in a tuple.
|
170
|
+
*/
|
171
|
+
|
133
172
|
std::tuple<> ice_tuple() const
|
134
173
|
{
|
135
174
|
return std::tie();
|
136
175
|
}
|
137
176
|
|
177
|
+
/**
|
178
|
+
* Obtains the Slice type ID of this exception.
|
179
|
+
* @return The fully-scoped type ID.
|
180
|
+
*/
|
138
181
|
ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
|
139
182
|
};
|
140
183
|
|
141
|
-
|
184
|
+
/**
|
185
|
+
* This exception is raised if an object cannot be found.
|
186
|
+
* \headerfile Ice/Ice.h
|
187
|
+
*/
|
188
|
+
class ICE_CLASS(ICE_API) ObjectNotFoundException : public UserExceptionHelper<ObjectNotFoundException, UserException>
|
142
189
|
{
|
143
190
|
public:
|
144
191
|
|
@@ -148,15 +195,28 @@ public:
|
|
148
195
|
|
149
196
|
ObjectNotFoundException() = default;
|
150
197
|
|
198
|
+
/**
|
199
|
+
* Obtains a tuple containing all of the exception's data members.
|
200
|
+
* @return The data members in a tuple.
|
201
|
+
*/
|
202
|
+
|
151
203
|
std::tuple<> ice_tuple() const
|
152
204
|
{
|
153
205
|
return std::tie();
|
154
206
|
}
|
155
207
|
|
208
|
+
/**
|
209
|
+
* Obtains the Slice type ID of this exception.
|
210
|
+
* @return The fully-scoped type ID.
|
211
|
+
*/
|
156
212
|
ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
|
157
213
|
};
|
158
214
|
|
159
|
-
|
215
|
+
/**
|
216
|
+
* This exception is raised if a server cannot be found.
|
217
|
+
* \headerfile Ice/Ice.h
|
218
|
+
*/
|
219
|
+
class ICE_CLASS(ICE_API) ServerNotFoundException : public UserExceptionHelper<ServerNotFoundException, UserException>
|
160
220
|
{
|
161
221
|
public:
|
162
222
|
|
@@ -166,11 +226,20 @@ public:
|
|
166
226
|
|
167
227
|
ServerNotFoundException() = default;
|
168
228
|
|
229
|
+
/**
|
230
|
+
* Obtains a tuple containing all of the exception's data members.
|
231
|
+
* @return The data members in a tuple.
|
232
|
+
*/
|
233
|
+
|
169
234
|
std::tuple<> ice_tuple() const
|
170
235
|
{
|
171
236
|
return std::tie();
|
172
237
|
}
|
173
238
|
|
239
|
+
/**
|
240
|
+
* Obtains the Slice type ID of this exception.
|
241
|
+
* @return The fully-scoped type ID.
|
242
|
+
*/
|
174
243
|
ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
|
175
244
|
};
|
176
245
|
|
@@ -179,70 +248,263 @@ public:
|
|
179
248
|
namespace Ice
|
180
249
|
{
|
181
250
|
|
182
|
-
|
251
|
+
/**
|
252
|
+
* The Ice locator interface. This interface is used by clients to
|
253
|
+
* lookup adapters and objects. It is also used by servers to get the
|
254
|
+
* locator registry proxy.
|
255
|
+
*
|
256
|
+
* <p class="Note">The {@link Locator} interface is intended to be used by
|
257
|
+
* Ice internals and by locator implementations. Regular user code
|
258
|
+
* should not attempt to use any functionality of this interface
|
259
|
+
* directly.
|
260
|
+
* \headerfile Ice/Ice.h
|
261
|
+
*/
|
262
|
+
class ICE_API Locator : public virtual Object
|
183
263
|
{
|
184
264
|
public:
|
185
265
|
|
186
266
|
using ProxyType = LocatorPrx;
|
187
267
|
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
268
|
+
/**
|
269
|
+
* Determines whether this object supports an interface with the given Slice type ID.
|
270
|
+
* @param id The fully-scoped Slice type ID.
|
271
|
+
* @param current The Current object for the invocation.
|
272
|
+
* @return True if this object supports the interface, false, otherwise.
|
273
|
+
*/
|
274
|
+
virtual bool ice_isA(::std::string id, const Current& current) const override;
|
275
|
+
|
276
|
+
/**
|
277
|
+
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
278
|
+
* @param current The Current object for the invocation.
|
279
|
+
* @return A list of fully-scoped type IDs.
|
280
|
+
*/
|
281
|
+
virtual ::std::vector<::std::string> ice_ids(const Current& current) const override;
|
282
|
+
|
283
|
+
/**
|
284
|
+
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
285
|
+
* @param current The Current object for the invocation.
|
286
|
+
* @return A fully-scoped type ID.
|
287
|
+
*/
|
288
|
+
virtual ::std::string ice_id(const Current& current) const override;
|
289
|
+
|
290
|
+
/**
|
291
|
+
* Obtains the Slice type ID corresponding to this class.
|
292
|
+
* @return A fully-scoped type ID.
|
293
|
+
*/
|
192
294
|
static const ::std::string& ice_staticId();
|
193
295
|
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
296
|
+
/**
|
297
|
+
* Find an object by identity and return a proxy that contains
|
298
|
+
* the adapter ID or endpoints which can be used to access the
|
299
|
+
* object.
|
300
|
+
* @param id The identity.
|
301
|
+
* @param response The response callback.
|
302
|
+
* @param exception The exception callback.
|
303
|
+
* @param current The Current object for the invocation.
|
304
|
+
* @throws Ice::ObjectNotFoundException Raised if the object cannot
|
305
|
+
* be found.
|
306
|
+
*/
|
307
|
+
virtual void findObjectByIdAsync(Identity id, ::std::function<void(const ::std::shared_ptr<ObjectPrx>& returnValue)> response, ::std::function<void(::std::exception_ptr)> exception, const Current& current) const = 0;
|
308
|
+
/// \cond INTERNAL
|
309
|
+
bool _iceD_findObjectById(::IceInternal::Incoming&, const Current&) const;
|
310
|
+
/// \endcond
|
311
|
+
|
312
|
+
/**
|
313
|
+
* Find an adapter by id and return a proxy that contains
|
314
|
+
* its endpoints.
|
315
|
+
* @param id The adapter id.
|
316
|
+
* @param response The response callback.
|
317
|
+
* @param exception The exception callback.
|
318
|
+
* @param current The Current object for the invocation.
|
319
|
+
* @throws Ice::AdapterNotFoundException Raised if the adapter cannot be
|
320
|
+
* found.
|
321
|
+
*/
|
322
|
+
virtual void findAdapterByIdAsync(::std::string id, ::std::function<void(const ::std::shared_ptr<ObjectPrx>& returnValue)> response, ::std::function<void(::std::exception_ptr)> exception, const Current& current) const = 0;
|
323
|
+
/// \cond INTERNAL
|
324
|
+
bool _iceD_findAdapterById(::IceInternal::Incoming&, const Current&) const;
|
325
|
+
/// \endcond
|
326
|
+
|
327
|
+
/**
|
328
|
+
* Get the locator registry.
|
329
|
+
* @param current The Current object for the invocation.
|
330
|
+
* @return The locator registry.
|
331
|
+
*/
|
332
|
+
virtual ::std::shared_ptr<LocatorRegistryPrx> getRegistry(const Current& current) const = 0;
|
333
|
+
/// \cond INTERNAL
|
334
|
+
bool _iceD_getRegistry(::IceInternal::Incoming&, const Current&) const;
|
335
|
+
/// \endcond
|
336
|
+
|
337
|
+
/// \cond INTERNAL
|
338
|
+
virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&) override;
|
339
|
+
/// \endcond
|
204
340
|
};
|
205
341
|
|
206
|
-
|
342
|
+
/**
|
343
|
+
* The Ice locator registry interface. This interface is used by
|
344
|
+
* servers to register adapter endpoints with the locator.
|
345
|
+
*
|
346
|
+
* <p class="Note"> The {@link LocatorRegistry} interface is intended to be used
|
347
|
+
* by Ice internals and by locator implementations. Regular user
|
348
|
+
* code should not attempt to use any functionality of this interface
|
349
|
+
* directly.
|
350
|
+
* \headerfile Ice/Ice.h
|
351
|
+
*/
|
352
|
+
class ICE_API LocatorRegistry : public virtual Object
|
207
353
|
{
|
208
354
|
public:
|
209
355
|
|
210
356
|
using ProxyType = LocatorRegistryPrx;
|
211
357
|
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
358
|
+
/**
|
359
|
+
* Determines whether this object supports an interface with the given Slice type ID.
|
360
|
+
* @param id The fully-scoped Slice type ID.
|
361
|
+
* @param current The Current object for the invocation.
|
362
|
+
* @return True if this object supports the interface, false, otherwise.
|
363
|
+
*/
|
364
|
+
virtual bool ice_isA(::std::string id, const Current& current) const override;
|
365
|
+
|
366
|
+
/**
|
367
|
+
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
368
|
+
* @param current The Current object for the invocation.
|
369
|
+
* @return A list of fully-scoped type IDs.
|
370
|
+
*/
|
371
|
+
virtual ::std::vector<::std::string> ice_ids(const Current& current) const override;
|
372
|
+
|
373
|
+
/**
|
374
|
+
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
375
|
+
* @param current The Current object for the invocation.
|
376
|
+
* @return A fully-scoped type ID.
|
377
|
+
*/
|
378
|
+
virtual ::std::string ice_id(const Current& current) const override;
|
379
|
+
|
380
|
+
/**
|
381
|
+
* Obtains the Slice type ID corresponding to this class.
|
382
|
+
* @return A fully-scoped type ID.
|
383
|
+
*/
|
216
384
|
static const ::std::string& ice_staticId();
|
217
385
|
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
386
|
+
/**
|
387
|
+
* Set the adapter endpoints with the locator registry.
|
388
|
+
* @param id The adapter id.
|
389
|
+
* @param proxy The adapter proxy (a dummy direct proxy created
|
390
|
+
* by the adapter). The direct proxy contains the adapter
|
391
|
+
* endpoints.
|
392
|
+
* @param response The response callback.
|
393
|
+
* @param exception The exception callback.
|
394
|
+
* @param current The Current object for the invocation.
|
395
|
+
* @throws Ice::AdapterAlreadyActiveException Raised if an adapter with the same
|
396
|
+
* id is already active.
|
397
|
+
* @throws Ice::AdapterNotFoundException Raised if the adapter cannot
|
398
|
+
* be found, or if the locator only allows
|
399
|
+
* registered adapters to set their active proxy and the
|
400
|
+
* adapter is not registered with the locator.
|
401
|
+
*/
|
402
|
+
virtual void setAdapterDirectProxyAsync(::std::string id, ::std::shared_ptr<ObjectPrx> proxy, ::std::function<void()> response, ::std::function<void(::std::exception_ptr)> exception, const Current& current) = 0;
|
403
|
+
/// \cond INTERNAL
|
404
|
+
bool _iceD_setAdapterDirectProxy(::IceInternal::Incoming&, const Current&);
|
405
|
+
/// \endcond
|
406
|
+
|
407
|
+
/**
|
408
|
+
* Set the adapter endpoints with the locator registry.
|
409
|
+
* @param adapterId The adapter id.
|
410
|
+
* @param replicaGroupId The replica group id.
|
411
|
+
* @param p The adapter proxy (a dummy direct proxy created
|
412
|
+
* by the adapter). The direct proxy contains the adapter
|
413
|
+
* endpoints.
|
414
|
+
* @param response The response callback.
|
415
|
+
* @param exception The exception callback.
|
416
|
+
* @param current The Current object for the invocation.
|
417
|
+
* @throws Ice::AdapterAlreadyActiveException Raised if an adapter with the same
|
418
|
+
* id is already active.
|
419
|
+
* @throws Ice::AdapterNotFoundException Raised if the adapter cannot
|
420
|
+
* be found, or if the locator only allows registered adapters to
|
421
|
+
* set their active proxy and the adapter is not registered with
|
422
|
+
* the locator.
|
423
|
+
* @throws Ice::InvalidReplicaGroupIdException Raised if the given
|
424
|
+
* replica group doesn't match the one registered with the
|
425
|
+
* locator registry for this object adapter.
|
426
|
+
*/
|
427
|
+
virtual void setReplicatedAdapterDirectProxyAsync(::std::string adapterId, ::std::string replicaGroupId, ::std::shared_ptr<ObjectPrx> p, ::std::function<void()> response, ::std::function<void(::std::exception_ptr)> exception, const Current& current) = 0;
|
428
|
+
/// \cond INTERNAL
|
429
|
+
bool _iceD_setReplicatedAdapterDirectProxy(::IceInternal::Incoming&, const Current&);
|
430
|
+
/// \endcond
|
431
|
+
|
432
|
+
/**
|
433
|
+
* Set the process proxy for a server.
|
434
|
+
* @param id The server id.
|
435
|
+
* @param proxy The process proxy.
|
436
|
+
* @param response The response callback.
|
437
|
+
* @param exception The exception callback.
|
438
|
+
* @param current The Current object for the invocation.
|
439
|
+
* @throws Ice::ServerNotFoundException Raised if the server cannot
|
440
|
+
* be found.
|
441
|
+
*/
|
442
|
+
virtual void setServerProcessProxyAsync(::std::string id, ::std::shared_ptr<ProcessPrx> proxy, ::std::function<void()> response, ::std::function<void(::std::exception_ptr)> exception, const Current& current) = 0;
|
443
|
+
/// \cond INTERNAL
|
444
|
+
bool _iceD_setServerProcessProxy(::IceInternal::Incoming&, const Current&);
|
445
|
+
/// \endcond
|
446
|
+
|
447
|
+
/// \cond INTERNAL
|
448
|
+
virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&) override;
|
449
|
+
/// \endcond
|
228
450
|
};
|
229
451
|
|
230
|
-
|
452
|
+
/**
|
453
|
+
* This inferface should be implemented by services implementing the
|
454
|
+
* Ice::Locator interface. It should be advertised through an Ice
|
455
|
+
* object with the identity `Ice/LocatorFinder'. This allows clients
|
456
|
+
* to retrieve the locator proxy with just the endpoint information of
|
457
|
+
* the service.
|
458
|
+
* \headerfile Ice/Ice.h
|
459
|
+
*/
|
460
|
+
class ICE_API LocatorFinder : public virtual Object
|
231
461
|
{
|
232
462
|
public:
|
233
463
|
|
234
464
|
using ProxyType = LocatorFinderPrx;
|
235
465
|
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
466
|
+
/**
|
467
|
+
* Determines whether this object supports an interface with the given Slice type ID.
|
468
|
+
* @param id The fully-scoped Slice type ID.
|
469
|
+
* @param current The Current object for the invocation.
|
470
|
+
* @return True if this object supports the interface, false, otherwise.
|
471
|
+
*/
|
472
|
+
virtual bool ice_isA(::std::string id, const Current& current) const override;
|
473
|
+
|
474
|
+
/**
|
475
|
+
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
476
|
+
* @param current The Current object for the invocation.
|
477
|
+
* @return A list of fully-scoped type IDs.
|
478
|
+
*/
|
479
|
+
virtual ::std::vector<::std::string> ice_ids(const Current& current) const override;
|
480
|
+
|
481
|
+
/**
|
482
|
+
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
483
|
+
* @param current The Current object for the invocation.
|
484
|
+
* @return A fully-scoped type ID.
|
485
|
+
*/
|
486
|
+
virtual ::std::string ice_id(const Current& current) const override;
|
487
|
+
|
488
|
+
/**
|
489
|
+
* Obtains the Slice type ID corresponding to this class.
|
490
|
+
* @return A fully-scoped type ID.
|
491
|
+
*/
|
240
492
|
static const ::std::string& ice_staticId();
|
241
493
|
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
494
|
+
/**
|
495
|
+
* Get the locator proxy implemented by the process hosting this
|
496
|
+
* finder object. The proxy might point to several replicas.
|
497
|
+
* @param current The Current object for the invocation.
|
498
|
+
* @return The locator proxy.
|
499
|
+
*/
|
500
|
+
virtual ::std::shared_ptr<LocatorPrx> getLocator(const Current& current) = 0;
|
501
|
+
/// \cond INTERNAL
|
502
|
+
bool _iceD_getLocator(::IceInternal::Incoming&, const Current&);
|
503
|
+
/// \endcond
|
504
|
+
|
505
|
+
/// \cond INTERNAL
|
506
|
+
virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&) override;
|
507
|
+
/// \endcond
|
246
508
|
};
|
247
509
|
|
248
510
|
}
|
@@ -250,221 +512,480 @@ public:
|
|
250
512
|
namespace Ice
|
251
513
|
{
|
252
514
|
|
253
|
-
|
515
|
+
/**
|
516
|
+
* The Ice locator interface. This interface is used by clients to
|
517
|
+
* lookup adapters and objects. It is also used by servers to get the
|
518
|
+
* locator registry proxy.
|
519
|
+
*
|
520
|
+
* <p class="Note">The {@link Locator} interface is intended to be used by
|
521
|
+
* Ice internals and by locator implementations. Regular user code
|
522
|
+
* should not attempt to use any functionality of this interface
|
523
|
+
* directly.
|
524
|
+
* \headerfile Ice/Ice.h
|
525
|
+
*/
|
526
|
+
class ICE_CLASS(ICE_API) LocatorPrx : public virtual Proxy<LocatorPrx, ObjectPrx>
|
254
527
|
{
|
255
528
|
public:
|
256
529
|
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
530
|
+
/**
|
531
|
+
* Find an object by identity and return a proxy that contains
|
532
|
+
* the adapter ID or endpoints which can be used to access the
|
533
|
+
* object.
|
534
|
+
* @param id The identity.
|
535
|
+
* @param context The Context map to send with the invocation.
|
536
|
+
* @return The proxy, or null if the object is not active.
|
537
|
+
* @throws Ice::ObjectNotFoundException Raised if the object cannot
|
538
|
+
* be found.
|
539
|
+
*/
|
540
|
+
::std::shared_ptr<ObjectPrx> findObjectById(const Identity& id, const Context& context = noExplicitContext)
|
541
|
+
{
|
542
|
+
return _makePromiseOutgoing<::std::shared_ptr<ObjectPrx>>(true, this, &LocatorPrx::_iceI_findObjectById, id, context).get();
|
543
|
+
}
|
544
|
+
|
545
|
+
/**
|
546
|
+
* Find an object by identity and return a proxy that contains
|
547
|
+
* the adapter ID or endpoints which can be used to access the
|
548
|
+
* object.
|
549
|
+
* @param id The identity.
|
550
|
+
* @param context The Context map to send with the invocation.
|
551
|
+
* @return The future object for the invocation.
|
552
|
+
*/
|
262
553
|
template<template<typename> class P = ::std::promise>
|
263
|
-
auto findObjectByIdAsync(const
|
264
|
-
-> decltype(::std::declval<P<::std::shared_ptr
|
265
|
-
{
|
266
|
-
return _makePromiseOutgoing<::std::shared_ptr
|
267
|
-
}
|
268
|
-
|
554
|
+
auto findObjectByIdAsync(const Identity& id, const Context& context = noExplicitContext)
|
555
|
+
-> decltype(::std::declval<P<::std::shared_ptr<ObjectPrx>>>().get_future())
|
556
|
+
{
|
557
|
+
return _makePromiseOutgoing<::std::shared_ptr<ObjectPrx>, P>(false, this, &LocatorPrx::_iceI_findObjectById, id, context);
|
558
|
+
}
|
559
|
+
|
560
|
+
/**
|
561
|
+
* Find an object by identity and return a proxy that contains
|
562
|
+
* the adapter ID or endpoints which can be used to access the
|
563
|
+
* object.
|
564
|
+
* @param id The identity.
|
565
|
+
* @param response The response callback.
|
566
|
+
* @param ex The exception callback.
|
567
|
+
* @param sent The sent callback.
|
568
|
+
* @param context The Context map to send with the invocation.
|
569
|
+
* @return A function that can be called to cancel the invocation locally.
|
570
|
+
*/
|
269
571
|
::std::function<void()>
|
270
|
-
findObjectByIdAsync(const
|
271
|
-
::std::function<void(::std::shared_ptr
|
572
|
+
findObjectByIdAsync(const Identity& id,
|
573
|
+
::std::function<void(::std::shared_ptr<ObjectPrx>)> response,
|
272
574
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
273
575
|
::std::function<void(bool)> sent = nullptr,
|
274
|
-
const
|
576
|
+
const Context& context = noExplicitContext)
|
275
577
|
{
|
276
|
-
return _makeLamdaOutgoing<::std::shared_ptr
|
578
|
+
return _makeLamdaOutgoing<::std::shared_ptr<ObjectPrx>>(response, ex, sent, this, &LocatorPrx::_iceI_findObjectById, id, context);
|
277
579
|
}
|
278
580
|
|
279
|
-
|
581
|
+
/// \cond INTERNAL
|
582
|
+
ICE_MEMBER(ICE_API) void _iceI_findObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<ObjectPrx>>>&, const Identity&, const Context&);
|
583
|
+
/// \endcond
|
280
584
|
|
281
|
-
|
585
|
+
/**
|
586
|
+
* Find an adapter by id and return a proxy that contains
|
587
|
+
* its endpoints.
|
588
|
+
* @param id The adapter id.
|
589
|
+
* @param context The Context map to send with the invocation.
|
590
|
+
* @return The adapter proxy, or null if the adapter is not active.
|
591
|
+
* @throws Ice::AdapterNotFoundException Raised if the adapter cannot be
|
592
|
+
* found.
|
593
|
+
*/
|
594
|
+
::std::shared_ptr<ObjectPrx> findAdapterById(const ::std::string& id, const Context& context = noExplicitContext)
|
282
595
|
{
|
283
|
-
return _makePromiseOutgoing<::std::shared_ptr
|
596
|
+
return _makePromiseOutgoing<::std::shared_ptr<ObjectPrx>>(true, this, &LocatorPrx::_iceI_findAdapterById, id, context).get();
|
284
597
|
}
|
285
598
|
|
599
|
+
/**
|
600
|
+
* Find an adapter by id and return a proxy that contains
|
601
|
+
* its endpoints.
|
602
|
+
* @param id The adapter id.
|
603
|
+
* @param context The Context map to send with the invocation.
|
604
|
+
* @return The future object for the invocation.
|
605
|
+
*/
|
286
606
|
template<template<typename> class P = ::std::promise>
|
287
|
-
auto findAdapterByIdAsync(const ::std::string&
|
288
|
-
-> decltype(::std::declval<P<::std::shared_ptr
|
289
|
-
{
|
290
|
-
return _makePromiseOutgoing<::std::shared_ptr
|
291
|
-
}
|
292
|
-
|
607
|
+
auto findAdapterByIdAsync(const ::std::string& id, const Context& context = noExplicitContext)
|
608
|
+
-> decltype(::std::declval<P<::std::shared_ptr<ObjectPrx>>>().get_future())
|
609
|
+
{
|
610
|
+
return _makePromiseOutgoing<::std::shared_ptr<ObjectPrx>, P>(false, this, &LocatorPrx::_iceI_findAdapterById, id, context);
|
611
|
+
}
|
612
|
+
|
613
|
+
/**
|
614
|
+
* Find an adapter by id and return a proxy that contains
|
615
|
+
* its endpoints.
|
616
|
+
* @param id The adapter id.
|
617
|
+
* @param response The response callback.
|
618
|
+
* @param ex The exception callback.
|
619
|
+
* @param sent The sent callback.
|
620
|
+
* @param context The Context map to send with the invocation.
|
621
|
+
* @return A function that can be called to cancel the invocation locally.
|
622
|
+
*/
|
293
623
|
::std::function<void()>
|
294
|
-
findAdapterByIdAsync(const ::std::string&
|
295
|
-
::std::function<void(::std::shared_ptr
|
624
|
+
findAdapterByIdAsync(const ::std::string& id,
|
625
|
+
::std::function<void(::std::shared_ptr<ObjectPrx>)> response,
|
296
626
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
297
627
|
::std::function<void(bool)> sent = nullptr,
|
298
|
-
const
|
628
|
+
const Context& context = noExplicitContext)
|
299
629
|
{
|
300
|
-
return _makeLamdaOutgoing<::std::shared_ptr
|
630
|
+
return _makeLamdaOutgoing<::std::shared_ptr<ObjectPrx>>(response, ex, sent, this, &LocatorPrx::_iceI_findAdapterById, id, context);
|
301
631
|
}
|
302
632
|
|
303
|
-
|
633
|
+
/// \cond INTERNAL
|
634
|
+
ICE_MEMBER(ICE_API) void _iceI_findAdapterById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<ObjectPrx>>>&, const ::std::string&, const Context&);
|
635
|
+
/// \endcond
|
304
636
|
|
305
|
-
|
637
|
+
/**
|
638
|
+
* Get the locator registry.
|
639
|
+
* @param context The Context map to send with the invocation.
|
640
|
+
* @return The locator registry.
|
641
|
+
*/
|
642
|
+
::std::shared_ptr<LocatorRegistryPrx> getRegistry(const Context& context = noExplicitContext)
|
306
643
|
{
|
307
|
-
return _makePromiseOutgoing<::std::shared_ptr
|
644
|
+
return _makePromiseOutgoing<::std::shared_ptr<LocatorRegistryPrx>>(true, this, &LocatorPrx::_iceI_getRegistry, context).get();
|
308
645
|
}
|
309
646
|
|
647
|
+
/**
|
648
|
+
* Get the locator registry.
|
649
|
+
* @param context The Context map to send with the invocation.
|
650
|
+
* @return The future object for the invocation.
|
651
|
+
*/
|
310
652
|
template<template<typename> class P = ::std::promise>
|
311
|
-
auto getRegistryAsync(const
|
312
|
-
-> decltype(::std::declval<P<::std::shared_ptr
|
653
|
+
auto getRegistryAsync(const Context& context = noExplicitContext)
|
654
|
+
-> decltype(::std::declval<P<::std::shared_ptr<LocatorRegistryPrx>>>().get_future())
|
313
655
|
{
|
314
|
-
return _makePromiseOutgoing<::std::shared_ptr
|
656
|
+
return _makePromiseOutgoing<::std::shared_ptr<LocatorRegistryPrx>, P>(false, this, &LocatorPrx::_iceI_getRegistry, context);
|
315
657
|
}
|
316
658
|
|
659
|
+
/**
|
660
|
+
* Get the locator registry.
|
661
|
+
* @param response The response callback.
|
662
|
+
* @param ex The exception callback.
|
663
|
+
* @param sent The sent callback.
|
664
|
+
* @param context The Context map to send with the invocation.
|
665
|
+
* @return A function that can be called to cancel the invocation locally.
|
666
|
+
*/
|
317
667
|
::std::function<void()>
|
318
|
-
getRegistryAsync(::std::function<void(::std::shared_ptr
|
668
|
+
getRegistryAsync(::std::function<void(::std::shared_ptr<LocatorRegistryPrx>)> response,
|
319
669
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
320
670
|
::std::function<void(bool)> sent = nullptr,
|
321
|
-
const
|
671
|
+
const Context& context = noExplicitContext)
|
322
672
|
{
|
323
|
-
return _makeLamdaOutgoing<::std::shared_ptr
|
673
|
+
return _makeLamdaOutgoing<::std::shared_ptr<LocatorRegistryPrx>>(response, ex, sent, this, &LocatorPrx::_iceI_getRegistry, context);
|
324
674
|
}
|
325
675
|
|
326
|
-
|
676
|
+
/// \cond INTERNAL
|
677
|
+
ICE_MEMBER(ICE_API) void _iceI_getRegistry(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<LocatorRegistryPrx>>>&, const Context&);
|
678
|
+
/// \endcond
|
327
679
|
|
680
|
+
/**
|
681
|
+
* Obtains the Slice type ID of this interface.
|
682
|
+
* @return The fully-scoped type ID.
|
683
|
+
*/
|
328
684
|
ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
|
329
685
|
|
330
686
|
protected:
|
331
687
|
|
688
|
+
/// \cond INTERNAL
|
332
689
|
LocatorPrx() = default;
|
333
690
|
friend ::std::shared_ptr<LocatorPrx> IceInternal::createProxy<LocatorPrx>();
|
334
691
|
|
335
|
-
ICE_MEMBER(ICE_API) virtual ::std::shared_ptr
|
692
|
+
ICE_MEMBER(ICE_API) virtual ::std::shared_ptr<ObjectPrx> _newInstance() const override;
|
693
|
+
/// \endcond
|
336
694
|
};
|
337
695
|
|
338
|
-
|
696
|
+
/**
|
697
|
+
* The Ice locator registry interface. This interface is used by
|
698
|
+
* servers to register adapter endpoints with the locator.
|
699
|
+
*
|
700
|
+
* <p class="Note"> The {@link LocatorRegistry} interface is intended to be used
|
701
|
+
* by Ice internals and by locator implementations. Regular user
|
702
|
+
* code should not attempt to use any functionality of this interface
|
703
|
+
* directly.
|
704
|
+
* \headerfile Ice/Ice.h
|
705
|
+
*/
|
706
|
+
class ICE_CLASS(ICE_API) LocatorRegistryPrx : public virtual Proxy<LocatorRegistryPrx, ObjectPrx>
|
339
707
|
{
|
340
708
|
public:
|
341
709
|
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
710
|
+
/**
|
711
|
+
* Set the adapter endpoints with the locator registry.
|
712
|
+
* @param id The adapter id.
|
713
|
+
* @param proxy The adapter proxy (a dummy direct proxy created
|
714
|
+
* by the adapter). The direct proxy contains the adapter
|
715
|
+
* endpoints.
|
716
|
+
* @param context The Context map to send with the invocation.
|
717
|
+
* @throws Ice::AdapterAlreadyActiveException Raised if an adapter with the same
|
718
|
+
* id is already active.
|
719
|
+
* @throws Ice::AdapterNotFoundException Raised if the adapter cannot
|
720
|
+
* be found, or if the locator only allows
|
721
|
+
* registered adapters to set their active proxy and the
|
722
|
+
* adapter is not registered with the locator.
|
723
|
+
*/
|
724
|
+
void setAdapterDirectProxy(const ::std::string& id, const ::std::shared_ptr<ObjectPrx>& proxy, const Context& context = noExplicitContext)
|
725
|
+
{
|
726
|
+
_makePromiseOutgoing<void>(true, this, &LocatorRegistryPrx::_iceI_setAdapterDirectProxy, id, proxy, context).get();
|
727
|
+
}
|
728
|
+
|
729
|
+
/**
|
730
|
+
* Set the adapter endpoints with the locator registry.
|
731
|
+
* @param id The adapter id.
|
732
|
+
* @param proxy The adapter proxy (a dummy direct proxy created
|
733
|
+
* by the adapter). The direct proxy contains the adapter
|
734
|
+
* endpoints.
|
735
|
+
* @param context The Context map to send with the invocation.
|
736
|
+
* @return The future object for the invocation.
|
737
|
+
*/
|
347
738
|
template<template<typename> class P = ::std::promise>
|
348
|
-
auto setAdapterDirectProxyAsync(const ::std::string&
|
739
|
+
auto setAdapterDirectProxyAsync(const ::std::string& id, const ::std::shared_ptr<ObjectPrx>& proxy, const Context& context = noExplicitContext)
|
349
740
|
-> decltype(::std::declval<P<void>>().get_future())
|
350
741
|
{
|
351
|
-
return _makePromiseOutgoing<void, P>(false, this, &
|
352
|
-
}
|
353
|
-
|
742
|
+
return _makePromiseOutgoing<void, P>(false, this, &LocatorRegistryPrx::_iceI_setAdapterDirectProxy, id, proxy, context);
|
743
|
+
}
|
744
|
+
|
745
|
+
/**
|
746
|
+
* Set the adapter endpoints with the locator registry.
|
747
|
+
* @param id The adapter id.
|
748
|
+
* @param proxy The adapter proxy (a dummy direct proxy created
|
749
|
+
* by the adapter). The direct proxy contains the adapter
|
750
|
+
* endpoints.
|
751
|
+
* @param response The response callback.
|
752
|
+
* @param ex The exception callback.
|
753
|
+
* @param sent The sent callback.
|
754
|
+
* @param context The Context map to send with the invocation.
|
755
|
+
* @return A function that can be called to cancel the invocation locally.
|
756
|
+
*/
|
354
757
|
::std::function<void()>
|
355
|
-
setAdapterDirectProxyAsync(const ::std::string&
|
758
|
+
setAdapterDirectProxyAsync(const ::std::string& id, const ::std::shared_ptr<ObjectPrx>& proxy,
|
356
759
|
::std::function<void()> response,
|
357
760
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
358
761
|
::std::function<void(bool)> sent = nullptr,
|
359
|
-
const
|
360
|
-
{
|
361
|
-
return _makeLamdaOutgoing<void>(response, ex, sent, this, &
|
362
|
-
}
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
762
|
+
const Context& context = noExplicitContext)
|
763
|
+
{
|
764
|
+
return _makeLamdaOutgoing<void>(response, ex, sent, this, &LocatorRegistryPrx::_iceI_setAdapterDirectProxy, id, proxy, context);
|
765
|
+
}
|
766
|
+
|
767
|
+
/// \cond INTERNAL
|
768
|
+
ICE_MEMBER(ICE_API) void _iceI_setAdapterDirectProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::shared_ptr<ObjectPrx>&, const Context&);
|
769
|
+
/// \endcond
|
770
|
+
|
771
|
+
/**
|
772
|
+
* Set the adapter endpoints with the locator registry.
|
773
|
+
* @param adapterId The adapter id.
|
774
|
+
* @param replicaGroupId The replica group id.
|
775
|
+
* @param p The adapter proxy (a dummy direct proxy created
|
776
|
+
* by the adapter). The direct proxy contains the adapter
|
777
|
+
* endpoints.
|
778
|
+
* @param context The Context map to send with the invocation.
|
779
|
+
* @throws Ice::AdapterAlreadyActiveException Raised if an adapter with the same
|
780
|
+
* id is already active.
|
781
|
+
* @throws Ice::AdapterNotFoundException Raised if the adapter cannot
|
782
|
+
* be found, or if the locator only allows registered adapters to
|
783
|
+
* set their active proxy and the adapter is not registered with
|
784
|
+
* the locator.
|
785
|
+
* @throws Ice::InvalidReplicaGroupIdException Raised if the given
|
786
|
+
* replica group doesn't match the one registered with the
|
787
|
+
* locator registry for this object adapter.
|
788
|
+
*/
|
789
|
+
void setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::std::shared_ptr<ObjectPrx>& p, const Context& context = noExplicitContext)
|
790
|
+
{
|
791
|
+
_makePromiseOutgoing<void>(true, this, &LocatorRegistryPrx::_iceI_setReplicatedAdapterDirectProxy, adapterId, replicaGroupId, p, context).get();
|
792
|
+
}
|
793
|
+
|
794
|
+
/**
|
795
|
+
* Set the adapter endpoints with the locator registry.
|
796
|
+
* @param adapterId The adapter id.
|
797
|
+
* @param replicaGroupId The replica group id.
|
798
|
+
* @param p The adapter proxy (a dummy direct proxy created
|
799
|
+
* by the adapter). The direct proxy contains the adapter
|
800
|
+
* endpoints.
|
801
|
+
* @param context The Context map to send with the invocation.
|
802
|
+
* @return The future object for the invocation.
|
803
|
+
*/
|
371
804
|
template<template<typename> class P = ::std::promise>
|
372
|
-
auto setReplicatedAdapterDirectProxyAsync(const ::std::string&
|
805
|
+
auto setReplicatedAdapterDirectProxyAsync(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::std::shared_ptr<ObjectPrx>& p, const Context& context = noExplicitContext)
|
373
806
|
-> decltype(::std::declval<P<void>>().get_future())
|
374
807
|
{
|
375
|
-
return _makePromiseOutgoing<void, P>(false, this, &
|
376
|
-
}
|
377
|
-
|
808
|
+
return _makePromiseOutgoing<void, P>(false, this, &LocatorRegistryPrx::_iceI_setReplicatedAdapterDirectProxy, adapterId, replicaGroupId, p, context);
|
809
|
+
}
|
810
|
+
|
811
|
+
/**
|
812
|
+
* Set the adapter endpoints with the locator registry.
|
813
|
+
* @param adapterId The adapter id.
|
814
|
+
* @param replicaGroupId The replica group id.
|
815
|
+
* @param p The adapter proxy (a dummy direct proxy created
|
816
|
+
* by the adapter). The direct proxy contains the adapter
|
817
|
+
* endpoints.
|
818
|
+
* @param response The response callback.
|
819
|
+
* @param ex The exception callback.
|
820
|
+
* @param sent The sent callback.
|
821
|
+
* @param context The Context map to send with the invocation.
|
822
|
+
* @return A function that can be called to cancel the invocation locally.
|
823
|
+
*/
|
378
824
|
::std::function<void()>
|
379
|
-
setReplicatedAdapterDirectProxyAsync(const ::std::string&
|
825
|
+
setReplicatedAdapterDirectProxyAsync(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::std::shared_ptr<ObjectPrx>& p,
|
380
826
|
::std::function<void()> response,
|
381
827
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
382
828
|
::std::function<void(bool)> sent = nullptr,
|
383
|
-
const
|
829
|
+
const Context& context = noExplicitContext)
|
384
830
|
{
|
385
|
-
return _makeLamdaOutgoing<void>(response, ex, sent, this, &
|
831
|
+
return _makeLamdaOutgoing<void>(response, ex, sent, this, &LocatorRegistryPrx::_iceI_setReplicatedAdapterDirectProxy, adapterId, replicaGroupId, p, context);
|
386
832
|
}
|
387
833
|
|
388
|
-
|
834
|
+
/// \cond INTERNAL
|
835
|
+
ICE_MEMBER(ICE_API) void _iceI_setReplicatedAdapterDirectProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::string&, const ::std::shared_ptr<ObjectPrx>&, const Context&);
|
836
|
+
/// \endcond
|
389
837
|
|
390
|
-
|
838
|
+
/**
|
839
|
+
* Set the process proxy for a server.
|
840
|
+
* @param id The server id.
|
841
|
+
* @param proxy The process proxy.
|
842
|
+
* @param context The Context map to send with the invocation.
|
843
|
+
* @throws Ice::ServerNotFoundException Raised if the server cannot
|
844
|
+
* be found.
|
845
|
+
*/
|
846
|
+
void setServerProcessProxy(const ::std::string& id, const ::std::shared_ptr<ProcessPrx>& proxy, const Context& context = noExplicitContext)
|
391
847
|
{
|
392
|
-
_makePromiseOutgoing<void>(true, this, &
|
848
|
+
_makePromiseOutgoing<void>(true, this, &LocatorRegistryPrx::_iceI_setServerProcessProxy, id, proxy, context).get();
|
393
849
|
}
|
394
850
|
|
851
|
+
/**
|
852
|
+
* Set the process proxy for a server.
|
853
|
+
* @param id The server id.
|
854
|
+
* @param proxy The process proxy.
|
855
|
+
* @param context The Context map to send with the invocation.
|
856
|
+
* @return The future object for the invocation.
|
857
|
+
*/
|
395
858
|
template<template<typename> class P = ::std::promise>
|
396
|
-
auto setServerProcessProxyAsync(const ::std::string&
|
859
|
+
auto setServerProcessProxyAsync(const ::std::string& id, const ::std::shared_ptr<ProcessPrx>& proxy, const Context& context = noExplicitContext)
|
397
860
|
-> decltype(::std::declval<P<void>>().get_future())
|
398
861
|
{
|
399
|
-
return _makePromiseOutgoing<void, P>(false, this, &
|
862
|
+
return _makePromiseOutgoing<void, P>(false, this, &LocatorRegistryPrx::_iceI_setServerProcessProxy, id, proxy, context);
|
400
863
|
}
|
401
864
|
|
865
|
+
/**
|
866
|
+
* Set the process proxy for a server.
|
867
|
+
* @param id The server id.
|
868
|
+
* @param proxy The process proxy.
|
869
|
+
* @param response The response callback.
|
870
|
+
* @param ex The exception callback.
|
871
|
+
* @param sent The sent callback.
|
872
|
+
* @param context The Context map to send with the invocation.
|
873
|
+
* @return A function that can be called to cancel the invocation locally.
|
874
|
+
*/
|
402
875
|
::std::function<void()>
|
403
|
-
setServerProcessProxyAsync(const ::std::string&
|
876
|
+
setServerProcessProxyAsync(const ::std::string& id, const ::std::shared_ptr<ProcessPrx>& proxy,
|
404
877
|
::std::function<void()> response,
|
405
878
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
406
879
|
::std::function<void(bool)> sent = nullptr,
|
407
|
-
const
|
880
|
+
const Context& context = noExplicitContext)
|
408
881
|
{
|
409
|
-
return _makeLamdaOutgoing<void>(response, ex, sent, this, &
|
882
|
+
return _makeLamdaOutgoing<void>(response, ex, sent, this, &LocatorRegistryPrx::_iceI_setServerProcessProxy, id, proxy, context);
|
410
883
|
}
|
411
884
|
|
412
|
-
|
885
|
+
/// \cond INTERNAL
|
886
|
+
ICE_MEMBER(ICE_API) void _iceI_setServerProcessProxy(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::shared_ptr<ProcessPrx>&, const Context&);
|
887
|
+
/// \endcond
|
413
888
|
|
889
|
+
/**
|
890
|
+
* Obtains the Slice type ID of this interface.
|
891
|
+
* @return The fully-scoped type ID.
|
892
|
+
*/
|
414
893
|
ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
|
415
894
|
|
416
895
|
protected:
|
417
896
|
|
897
|
+
/// \cond INTERNAL
|
418
898
|
LocatorRegistryPrx() = default;
|
419
899
|
friend ::std::shared_ptr<LocatorRegistryPrx> IceInternal::createProxy<LocatorRegistryPrx>();
|
420
900
|
|
421
|
-
ICE_MEMBER(ICE_API) virtual ::std::shared_ptr
|
901
|
+
ICE_MEMBER(ICE_API) virtual ::std::shared_ptr<ObjectPrx> _newInstance() const override;
|
902
|
+
/// \endcond
|
422
903
|
};
|
423
904
|
|
424
|
-
|
905
|
+
/**
|
906
|
+
* This inferface should be implemented by services implementing the
|
907
|
+
* Ice::Locator interface. It should be advertised through an Ice
|
908
|
+
* object with the identity `Ice/LocatorFinder'. This allows clients
|
909
|
+
* to retrieve the locator proxy with just the endpoint information of
|
910
|
+
* the service.
|
911
|
+
* \headerfile Ice/Ice.h
|
912
|
+
*/
|
913
|
+
class ICE_CLASS(ICE_API) LocatorFinderPrx : public virtual Proxy<LocatorFinderPrx, ObjectPrx>
|
425
914
|
{
|
426
915
|
public:
|
427
916
|
|
428
|
-
|
917
|
+
/**
|
918
|
+
* Get the locator proxy implemented by the process hosting this
|
919
|
+
* finder object. The proxy might point to several replicas.
|
920
|
+
* @param context The Context map to send with the invocation.
|
921
|
+
* @return The locator proxy.
|
922
|
+
*/
|
923
|
+
::std::shared_ptr<LocatorPrx> getLocator(const Context& context = noExplicitContext)
|
429
924
|
{
|
430
|
-
return _makePromiseOutgoing<::std::shared_ptr
|
925
|
+
return _makePromiseOutgoing<::std::shared_ptr<LocatorPrx>>(true, this, &LocatorFinderPrx::_iceI_getLocator, context).get();
|
431
926
|
}
|
432
927
|
|
928
|
+
/**
|
929
|
+
* Get the locator proxy implemented by the process hosting this
|
930
|
+
* finder object. The proxy might point to several replicas.
|
931
|
+
* @param context The Context map to send with the invocation.
|
932
|
+
* @return The future object for the invocation.
|
933
|
+
*/
|
433
934
|
template<template<typename> class P = ::std::promise>
|
434
|
-
auto getLocatorAsync(const
|
435
|
-
-> decltype(::std::declval<P<::std::shared_ptr
|
935
|
+
auto getLocatorAsync(const Context& context = noExplicitContext)
|
936
|
+
-> decltype(::std::declval<P<::std::shared_ptr<LocatorPrx>>>().get_future())
|
436
937
|
{
|
437
|
-
return _makePromiseOutgoing<::std::shared_ptr
|
938
|
+
return _makePromiseOutgoing<::std::shared_ptr<LocatorPrx>, P>(false, this, &LocatorFinderPrx::_iceI_getLocator, context);
|
438
939
|
}
|
439
940
|
|
941
|
+
/**
|
942
|
+
* Get the locator proxy implemented by the process hosting this
|
943
|
+
* finder object. The proxy might point to several replicas.
|
944
|
+
* @param response The response callback.
|
945
|
+
* @param ex The exception callback.
|
946
|
+
* @param sent The sent callback.
|
947
|
+
* @param context The Context map to send with the invocation.
|
948
|
+
* @return A function that can be called to cancel the invocation locally.
|
949
|
+
*/
|
440
950
|
::std::function<void()>
|
441
|
-
getLocatorAsync(::std::function<void(::std::shared_ptr
|
951
|
+
getLocatorAsync(::std::function<void(::std::shared_ptr<LocatorPrx>)> response,
|
442
952
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
443
953
|
::std::function<void(bool)> sent = nullptr,
|
444
|
-
const
|
954
|
+
const Context& context = noExplicitContext)
|
445
955
|
{
|
446
|
-
return _makeLamdaOutgoing<::std::shared_ptr
|
956
|
+
return _makeLamdaOutgoing<::std::shared_ptr<LocatorPrx>>(response, ex, sent, this, &LocatorFinderPrx::_iceI_getLocator, context);
|
447
957
|
}
|
448
958
|
|
449
|
-
|
959
|
+
/// \cond INTERNAL
|
960
|
+
ICE_MEMBER(ICE_API) void _iceI_getLocator(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<LocatorPrx>>>&, const Context&);
|
961
|
+
/// \endcond
|
450
962
|
|
963
|
+
/**
|
964
|
+
* Obtains the Slice type ID of this interface.
|
965
|
+
* @return The fully-scoped type ID.
|
966
|
+
*/
|
451
967
|
ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
|
452
968
|
|
453
969
|
protected:
|
454
970
|
|
971
|
+
/// \cond INTERNAL
|
455
972
|
LocatorFinderPrx() = default;
|
456
973
|
friend ::std::shared_ptr<LocatorFinderPrx> IceInternal::createProxy<LocatorFinderPrx>();
|
457
974
|
|
458
|
-
ICE_MEMBER(ICE_API) virtual ::std::shared_ptr
|
975
|
+
ICE_MEMBER(ICE_API) virtual ::std::shared_ptr<ObjectPrx> _newInstance() const override;
|
976
|
+
/// \endcond
|
459
977
|
};
|
460
978
|
|
461
979
|
}
|
462
980
|
|
981
|
+
/// \cond STREAM
|
463
982
|
namespace Ice
|
464
983
|
{
|
465
984
|
|
466
985
|
}
|
986
|
+
/// \endcond
|
467
987
|
|
988
|
+
/// \cond INTERNAL
|
468
989
|
namespace Ice
|
469
990
|
{
|
470
991
|
|
@@ -478,6 +999,7 @@ using LocatorFinderPtr = ::std::shared_ptr<LocatorFinder>;
|
|
478
999
|
using LocatorFinderPrxPtr = ::std::shared_ptr<LocatorFinderPrx>;
|
479
1000
|
|
480
1001
|
}
|
1002
|
+
/// \endcond
|
481
1003
|
|
482
1004
|
#else // C++98 mapping
|
483
1005
|
|
@@ -488,16 +1010,22 @@ namespace Ice
|
|
488
1010
|
{
|
489
1011
|
|
490
1012
|
class LocatorRegistry;
|
1013
|
+
/// \cond INTERNAL
|
491
1014
|
ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorRegistry>&);
|
492
1015
|
ICE_API ::IceProxy::Ice::Object* upCast(::IceProxy::Ice::LocatorRegistry*);
|
1016
|
+
/// \endcond
|
493
1017
|
|
494
1018
|
class Locator;
|
1019
|
+
/// \cond INTERNAL
|
495
1020
|
ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ::IceProxy::Ice::Locator>&);
|
496
1021
|
ICE_API ::IceProxy::Ice::Object* upCast(::IceProxy::Ice::Locator*);
|
1022
|
+
/// \endcond
|
497
1023
|
|
498
1024
|
class LocatorFinder;
|
1025
|
+
/// \cond INTERNAL
|
499
1026
|
ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorFinder>&);
|
500
1027
|
ICE_API ::IceProxy::Ice::Object* upCast(::IceProxy::Ice::LocatorFinder*);
|
1028
|
+
/// \endcond
|
501
1029
|
|
502
1030
|
}
|
503
1031
|
|
@@ -507,116 +1035,217 @@ namespace Ice
|
|
507
1035
|
{
|
508
1036
|
|
509
1037
|
class LocatorRegistry;
|
510
|
-
|
511
|
-
|
1038
|
+
/// \cond INTERNAL
|
1039
|
+
ICE_API Object* upCast(LocatorRegistry*);
|
1040
|
+
/// \endcond
|
1041
|
+
typedef ::IceInternal::Handle< LocatorRegistry> LocatorRegistryPtr;
|
512
1042
|
typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorRegistry> LocatorRegistryPrx;
|
513
1043
|
typedef LocatorRegistryPrx LocatorRegistryPrxPtr;
|
514
|
-
|
1044
|
+
/// \cond INTERNAL
|
1045
|
+
ICE_API void _icePatchObjectPtr(LocatorRegistryPtr&, const ObjectPtr&);
|
1046
|
+
/// \endcond
|
515
1047
|
|
516
1048
|
class Locator;
|
517
|
-
|
518
|
-
|
1049
|
+
/// \cond INTERNAL
|
1050
|
+
ICE_API Object* upCast(Locator*);
|
1051
|
+
/// \endcond
|
1052
|
+
typedef ::IceInternal::Handle< Locator> LocatorPtr;
|
519
1053
|
typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::Locator> LocatorPrx;
|
520
1054
|
typedef LocatorPrx LocatorPrxPtr;
|
521
|
-
|
1055
|
+
/// \cond INTERNAL
|
1056
|
+
ICE_API void _icePatchObjectPtr(LocatorPtr&, const ObjectPtr&);
|
1057
|
+
/// \endcond
|
522
1058
|
|
523
1059
|
class LocatorFinder;
|
524
|
-
|
525
|
-
|
1060
|
+
/// \cond INTERNAL
|
1061
|
+
ICE_API Object* upCast(LocatorFinder*);
|
1062
|
+
/// \endcond
|
1063
|
+
typedef ::IceInternal::Handle< LocatorFinder> LocatorFinderPtr;
|
526
1064
|
typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorFinder> LocatorFinderPrx;
|
527
1065
|
typedef LocatorFinderPrx LocatorFinderPrxPtr;
|
528
|
-
|
1066
|
+
/// \cond INTERNAL
|
1067
|
+
ICE_API void _icePatchObjectPtr(LocatorFinderPtr&, const ObjectPtr&);
|
1068
|
+
/// \endcond
|
529
1069
|
|
530
1070
|
}
|
531
1071
|
|
532
1072
|
namespace Ice
|
533
1073
|
{
|
534
1074
|
|
535
|
-
|
1075
|
+
/**
|
1076
|
+
* This exception is raised if an adapter cannot be found.
|
1077
|
+
* \headerfile Ice/Ice.h
|
1078
|
+
*/
|
1079
|
+
class ICE_API AdapterNotFoundException : public UserException
|
536
1080
|
{
|
537
1081
|
public:
|
538
1082
|
|
539
1083
|
AdapterNotFoundException() {}
|
540
1084
|
virtual ~AdapterNotFoundException() throw();
|
541
1085
|
|
1086
|
+
/**
|
1087
|
+
* Obtains the Slice type ID of this exception.
|
1088
|
+
* @return The fully-scoped type ID.
|
1089
|
+
*/
|
542
1090
|
virtual ::std::string ice_id() const;
|
1091
|
+
/**
|
1092
|
+
* Polymporphically clones this exception.
|
1093
|
+
* @return A shallow copy of this exception.
|
1094
|
+
*/
|
543
1095
|
virtual AdapterNotFoundException* ice_clone() const;
|
1096
|
+
/**
|
1097
|
+
* Throws this exception.
|
1098
|
+
*/
|
544
1099
|
virtual void ice_throw() const;
|
545
1100
|
|
546
1101
|
protected:
|
547
1102
|
|
548
|
-
|
549
|
-
virtual void
|
1103
|
+
/// \cond STREAM
|
1104
|
+
virtual void _writeImpl(OutputStream*) const;
|
1105
|
+
virtual void _readImpl(InputStream*);
|
1106
|
+
/// \endcond
|
550
1107
|
};
|
551
1108
|
|
1109
|
+
/// \cond INTERNAL
|
552
1110
|
static AdapterNotFoundException _iceS_AdapterNotFoundException_init;
|
1111
|
+
/// \endcond
|
553
1112
|
|
554
|
-
|
1113
|
+
/**
|
1114
|
+
* This exception is raised if the replica group provided by the
|
1115
|
+
* server is invalid.
|
1116
|
+
* \headerfile Ice/Ice.h
|
1117
|
+
*/
|
1118
|
+
class ICE_API InvalidReplicaGroupIdException : public UserException
|
555
1119
|
{
|
556
1120
|
public:
|
557
1121
|
|
558
1122
|
InvalidReplicaGroupIdException() {}
|
559
1123
|
virtual ~InvalidReplicaGroupIdException() throw();
|
560
1124
|
|
1125
|
+
/**
|
1126
|
+
* Obtains the Slice type ID of this exception.
|
1127
|
+
* @return The fully-scoped type ID.
|
1128
|
+
*/
|
561
1129
|
virtual ::std::string ice_id() const;
|
1130
|
+
/**
|
1131
|
+
* Polymporphically clones this exception.
|
1132
|
+
* @return A shallow copy of this exception.
|
1133
|
+
*/
|
562
1134
|
virtual InvalidReplicaGroupIdException* ice_clone() const;
|
1135
|
+
/**
|
1136
|
+
* Throws this exception.
|
1137
|
+
*/
|
563
1138
|
virtual void ice_throw() const;
|
564
1139
|
|
565
1140
|
protected:
|
566
1141
|
|
567
|
-
|
568
|
-
virtual void
|
1142
|
+
/// \cond STREAM
|
1143
|
+
virtual void _writeImpl(OutputStream*) const;
|
1144
|
+
virtual void _readImpl(InputStream*);
|
1145
|
+
/// \endcond
|
569
1146
|
};
|
570
1147
|
|
571
|
-
|
1148
|
+
/**
|
1149
|
+
* This exception is raised if a server tries to set endpoints for
|
1150
|
+
* an adapter that is already active.
|
1151
|
+
* \headerfile Ice/Ice.h
|
1152
|
+
*/
|
1153
|
+
class ICE_API AdapterAlreadyActiveException : public UserException
|
572
1154
|
{
|
573
1155
|
public:
|
574
1156
|
|
575
1157
|
AdapterAlreadyActiveException() {}
|
576
1158
|
virtual ~AdapterAlreadyActiveException() throw();
|
577
1159
|
|
1160
|
+
/**
|
1161
|
+
* Obtains the Slice type ID of this exception.
|
1162
|
+
* @return The fully-scoped type ID.
|
1163
|
+
*/
|
578
1164
|
virtual ::std::string ice_id() const;
|
1165
|
+
/**
|
1166
|
+
* Polymporphically clones this exception.
|
1167
|
+
* @return A shallow copy of this exception.
|
1168
|
+
*/
|
579
1169
|
virtual AdapterAlreadyActiveException* ice_clone() const;
|
1170
|
+
/**
|
1171
|
+
* Throws this exception.
|
1172
|
+
*/
|
580
1173
|
virtual void ice_throw() const;
|
581
1174
|
|
582
1175
|
protected:
|
583
1176
|
|
584
|
-
|
585
|
-
virtual void
|
1177
|
+
/// \cond STREAM
|
1178
|
+
virtual void _writeImpl(OutputStream*) const;
|
1179
|
+
virtual void _readImpl(InputStream*);
|
1180
|
+
/// \endcond
|
586
1181
|
};
|
587
1182
|
|
588
|
-
|
1183
|
+
/**
|
1184
|
+
* This exception is raised if an object cannot be found.
|
1185
|
+
* \headerfile Ice/Ice.h
|
1186
|
+
*/
|
1187
|
+
class ICE_API ObjectNotFoundException : public UserException
|
589
1188
|
{
|
590
1189
|
public:
|
591
1190
|
|
592
1191
|
ObjectNotFoundException() {}
|
593
1192
|
virtual ~ObjectNotFoundException() throw();
|
594
1193
|
|
1194
|
+
/**
|
1195
|
+
* Obtains the Slice type ID of this exception.
|
1196
|
+
* @return The fully-scoped type ID.
|
1197
|
+
*/
|
595
1198
|
virtual ::std::string ice_id() const;
|
1199
|
+
/**
|
1200
|
+
* Polymporphically clones this exception.
|
1201
|
+
* @return A shallow copy of this exception.
|
1202
|
+
*/
|
596
1203
|
virtual ObjectNotFoundException* ice_clone() const;
|
1204
|
+
/**
|
1205
|
+
* Throws this exception.
|
1206
|
+
*/
|
597
1207
|
virtual void ice_throw() const;
|
598
1208
|
|
599
1209
|
protected:
|
600
1210
|
|
601
|
-
|
602
|
-
virtual void
|
1211
|
+
/// \cond STREAM
|
1212
|
+
virtual void _writeImpl(OutputStream*) const;
|
1213
|
+
virtual void _readImpl(InputStream*);
|
1214
|
+
/// \endcond
|
603
1215
|
};
|
604
1216
|
|
605
|
-
|
1217
|
+
/**
|
1218
|
+
* This exception is raised if a server cannot be found.
|
1219
|
+
* \headerfile Ice/Ice.h
|
1220
|
+
*/
|
1221
|
+
class ICE_API ServerNotFoundException : public UserException
|
606
1222
|
{
|
607
1223
|
public:
|
608
1224
|
|
609
1225
|
ServerNotFoundException() {}
|
610
1226
|
virtual ~ServerNotFoundException() throw();
|
611
1227
|
|
1228
|
+
/**
|
1229
|
+
* Obtains the Slice type ID of this exception.
|
1230
|
+
* @return The fully-scoped type ID.
|
1231
|
+
*/
|
612
1232
|
virtual ::std::string ice_id() const;
|
1233
|
+
/**
|
1234
|
+
* Polymporphically clones this exception.
|
1235
|
+
* @return A shallow copy of this exception.
|
1236
|
+
*/
|
613
1237
|
virtual ServerNotFoundException* ice_clone() const;
|
1238
|
+
/**
|
1239
|
+
* Throws this exception.
|
1240
|
+
*/
|
614
1241
|
virtual void ice_throw() const;
|
615
1242
|
|
616
1243
|
protected:
|
617
1244
|
|
618
|
-
|
619
|
-
virtual void
|
1245
|
+
/// \cond STREAM
|
1246
|
+
virtual void _writeImpl(OutputStream*) const;
|
1247
|
+
virtual void _readImpl(InputStream*);
|
1248
|
+
/// \endcond
|
620
1249
|
};
|
621
1250
|
|
622
1251
|
}
|
@@ -624,56 +1253,98 @@ protected:
|
|
624
1253
|
namespace Ice
|
625
1254
|
{
|
626
1255
|
|
627
|
-
|
1256
|
+
/**
|
1257
|
+
* AMD callback class for Ice::Locator::findObjectById_async.
|
1258
|
+
* Call the ice_response method for a successful completion, or the ice_exception
|
1259
|
+
* method in the case of an error.
|
1260
|
+
*/
|
1261
|
+
class ICE_API AMD_Locator_findObjectById : public virtual AMDCallback
|
628
1262
|
{
|
629
1263
|
public:
|
630
1264
|
|
631
1265
|
virtual ~AMD_Locator_findObjectById();
|
632
1266
|
|
633
|
-
|
1267
|
+
/**
|
1268
|
+
* Call ice_response for a successful completion.
|
1269
|
+
* @param result The proxy, or null if the object is not active.
|
1270
|
+
*/
|
1271
|
+
virtual void ice_response(const ObjectPrx& result) = 0;
|
634
1272
|
};
|
635
1273
|
|
636
1274
|
typedef ::IceUtil::Handle< ::Ice::AMD_Locator_findObjectById> AMD_Locator_findObjectByIdPtr;
|
637
1275
|
|
638
|
-
|
1276
|
+
/**
|
1277
|
+
* AMD callback class for Ice::Locator::findAdapterById_async.
|
1278
|
+
* Call the ice_response method for a successful completion, or the ice_exception
|
1279
|
+
* method in the case of an error.
|
1280
|
+
*/
|
1281
|
+
class ICE_API AMD_Locator_findAdapterById : public virtual AMDCallback
|
639
1282
|
{
|
640
1283
|
public:
|
641
1284
|
|
642
1285
|
virtual ~AMD_Locator_findAdapterById();
|
643
1286
|
|
644
|
-
|
1287
|
+
/**
|
1288
|
+
* Call ice_response for a successful completion.
|
1289
|
+
* @param result The adapter proxy, or null if the adapter is not active.
|
1290
|
+
*/
|
1291
|
+
virtual void ice_response(const ObjectPrx& result) = 0;
|
645
1292
|
};
|
646
1293
|
|
647
1294
|
typedef ::IceUtil::Handle< ::Ice::AMD_Locator_findAdapterById> AMD_Locator_findAdapterByIdPtr;
|
648
1295
|
|
649
|
-
|
1296
|
+
/**
|
1297
|
+
* AMD callback class for Ice::LocatorRegistry::setAdapterDirectProxy_async.
|
1298
|
+
* Call the ice_response method for a successful completion, or the ice_exception
|
1299
|
+
* method in the case of an error.
|
1300
|
+
*/
|
1301
|
+
class ICE_API AMD_LocatorRegistry_setAdapterDirectProxy : public virtual AMDCallback
|
650
1302
|
{
|
651
1303
|
public:
|
652
1304
|
|
653
1305
|
virtual ~AMD_LocatorRegistry_setAdapterDirectProxy();
|
654
1306
|
|
1307
|
+
/**
|
1308
|
+
* Call ice_response for a successful completion.
|
1309
|
+
*/
|
655
1310
|
virtual void ice_response() = 0;
|
656
1311
|
};
|
657
1312
|
|
658
1313
|
typedef ::IceUtil::Handle< ::Ice::AMD_LocatorRegistry_setAdapterDirectProxy> AMD_LocatorRegistry_setAdapterDirectProxyPtr;
|
659
1314
|
|
660
|
-
|
1315
|
+
/**
|
1316
|
+
* AMD callback class for Ice::LocatorRegistry::setReplicatedAdapterDirectProxy_async.
|
1317
|
+
* Call the ice_response method for a successful completion, or the ice_exception
|
1318
|
+
* method in the case of an error.
|
1319
|
+
*/
|
1320
|
+
class ICE_API AMD_LocatorRegistry_setReplicatedAdapterDirectProxy : public virtual AMDCallback
|
661
1321
|
{
|
662
1322
|
public:
|
663
1323
|
|
664
1324
|
virtual ~AMD_LocatorRegistry_setReplicatedAdapterDirectProxy();
|
665
1325
|
|
1326
|
+
/**
|
1327
|
+
* Call ice_response for a successful completion.
|
1328
|
+
*/
|
666
1329
|
virtual void ice_response() = 0;
|
667
1330
|
};
|
668
1331
|
|
669
1332
|
typedef ::IceUtil::Handle< ::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxy> AMD_LocatorRegistry_setReplicatedAdapterDirectProxyPtr;
|
670
1333
|
|
671
|
-
|
1334
|
+
/**
|
1335
|
+
* AMD callback class for Ice::LocatorRegistry::setServerProcessProxy_async.
|
1336
|
+
* Call the ice_response method for a successful completion, or the ice_exception
|
1337
|
+
* method in the case of an error.
|
1338
|
+
*/
|
1339
|
+
class ICE_API AMD_LocatorRegistry_setServerProcessProxy : public virtual AMDCallback
|
672
1340
|
{
|
673
1341
|
public:
|
674
1342
|
|
675
1343
|
virtual ~AMD_LocatorRegistry_setServerProcessProxy();
|
676
1344
|
|
1345
|
+
/**
|
1346
|
+
* Call ice_response for a successful completion.
|
1347
|
+
*/
|
677
1348
|
virtual void ice_response() = 0;
|
678
1349
|
};
|
679
1350
|
|
@@ -681,6 +1352,7 @@ typedef ::IceUtil::Handle< ::Ice::AMD_LocatorRegistry_setServerProcessProxy> AMD
|
|
681
1352
|
|
682
1353
|
}
|
683
1354
|
|
1355
|
+
/// \cond INTERNAL
|
684
1356
|
namespace IceAsync
|
685
1357
|
{
|
686
1358
|
|
@@ -735,28 +1407,64 @@ public:
|
|
735
1407
|
}
|
736
1408
|
|
737
1409
|
}
|
1410
|
+
/// \endcond
|
738
1411
|
|
739
1412
|
namespace Ice
|
740
1413
|
{
|
741
1414
|
|
1415
|
+
/**
|
1416
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
1417
|
+
* IceProxy::Ice::Locator::begin_findObjectById.
|
1418
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Locator_findObjectById.
|
1419
|
+
*/
|
742
1420
|
class Callback_Locator_findObjectById_Base : public virtual ::IceInternal::CallbackBase { };
|
743
1421
|
typedef ::IceUtil::Handle< Callback_Locator_findObjectById_Base> Callback_Locator_findObjectByIdPtr;
|
744
1422
|
|
1423
|
+
/**
|
1424
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
1425
|
+
* IceProxy::Ice::Locator::begin_findAdapterById.
|
1426
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Locator_findAdapterById.
|
1427
|
+
*/
|
745
1428
|
class Callback_Locator_findAdapterById_Base : public virtual ::IceInternal::CallbackBase { };
|
746
1429
|
typedef ::IceUtil::Handle< Callback_Locator_findAdapterById_Base> Callback_Locator_findAdapterByIdPtr;
|
747
1430
|
|
1431
|
+
/**
|
1432
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
1433
|
+
* IceProxy::Ice::Locator::begin_getRegistry.
|
1434
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Locator_getRegistry.
|
1435
|
+
*/
|
748
1436
|
class Callback_Locator_getRegistry_Base : public virtual ::IceInternal::CallbackBase { };
|
749
1437
|
typedef ::IceUtil::Handle< Callback_Locator_getRegistry_Base> Callback_Locator_getRegistryPtr;
|
750
1438
|
|
1439
|
+
/**
|
1440
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
1441
|
+
* IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
|
1442
|
+
* Create a wrapper instance by calling ::Ice::newCallback_LocatorRegistry_setAdapterDirectProxy.
|
1443
|
+
*/
|
751
1444
|
class Callback_LocatorRegistry_setAdapterDirectProxy_Base : public virtual ::IceInternal::CallbackBase { };
|
752
1445
|
typedef ::IceUtil::Handle< Callback_LocatorRegistry_setAdapterDirectProxy_Base> Callback_LocatorRegistry_setAdapterDirectProxyPtr;
|
753
1446
|
|
1447
|
+
/**
|
1448
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
1449
|
+
* IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
|
1450
|
+
* Create a wrapper instance by calling ::Ice::newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy.
|
1451
|
+
*/
|
754
1452
|
class Callback_LocatorRegistry_setReplicatedAdapterDirectProxy_Base : public virtual ::IceInternal::CallbackBase { };
|
755
1453
|
typedef ::IceUtil::Handle< Callback_LocatorRegistry_setReplicatedAdapterDirectProxy_Base> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr;
|
756
1454
|
|
1455
|
+
/**
|
1456
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
1457
|
+
* IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
|
1458
|
+
* Create a wrapper instance by calling ::Ice::newCallback_LocatorRegistry_setServerProcessProxy.
|
1459
|
+
*/
|
757
1460
|
class Callback_LocatorRegistry_setServerProcessProxy_Base : public virtual ::IceInternal::CallbackBase { };
|
758
1461
|
typedef ::IceUtil::Handle< Callback_LocatorRegistry_setServerProcessProxy_Base> Callback_LocatorRegistry_setServerProcessProxyPtr;
|
759
1462
|
|
1463
|
+
/**
|
1464
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
1465
|
+
* IceProxy::Ice::LocatorFinder::begin_getLocator.
|
1466
|
+
* Create a wrapper instance by calling ::Ice::newCallback_LocatorFinder_getLocator.
|
1467
|
+
*/
|
760
1468
|
class Callback_LocatorFinder_getLocator_Base : public virtual ::IceInternal::CallbackBase { };
|
761
1469
|
typedef ::IceUtil::Handle< Callback_LocatorFinder_getLocator_Base> Callback_LocatorFinder_getLocatorPtr;
|
762
1470
|
|
@@ -772,37 +1480,100 @@ class ICE_CLASS(ICE_API) Locator : public virtual ::Ice::Proxy<Locator, ::IcePro
|
|
772
1480
|
{
|
773
1481
|
public:
|
774
1482
|
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
::Ice::
|
786
|
-
{
|
787
|
-
return _iceI_begin_findObjectById(
|
788
|
-
}
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
1483
|
+
/**
|
1484
|
+
* Find an object by identity and return a proxy that contains
|
1485
|
+
* the adapter ID or endpoints which can be used to access the
|
1486
|
+
* object.
|
1487
|
+
* @param id The identity.
|
1488
|
+
* @param context The Context map to send with the invocation.
|
1489
|
+
* @return The proxy, or null if the object is not active.
|
1490
|
+
* @throws Ice::ObjectNotFoundException Raised if the object cannot
|
1491
|
+
* be found.
|
1492
|
+
*/
|
1493
|
+
ICE_MEMBER(ICE_API) ::Ice::ObjectPrx findObjectById(const ::Ice::Identity& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1494
|
+
{
|
1495
|
+
return end_findObjectById(_iceI_begin_findObjectById(id, context, ::IceInternal::dummyCallback, 0, true));
|
1496
|
+
}
|
1497
|
+
|
1498
|
+
/**
|
1499
|
+
* Find an object by identity and return a proxy that contains
|
1500
|
+
* the adapter ID or endpoints which can be used to access the
|
1501
|
+
* object.
|
1502
|
+
* @param id The identity.
|
1503
|
+
* @param context The Context map to send with the invocation.
|
1504
|
+
* @return The asynchronous result object for the invocation.
|
1505
|
+
*/
|
1506
|
+
::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1507
|
+
{
|
1508
|
+
return _iceI_begin_findObjectById(id, context, ::IceInternal::dummyCallback, 0);
|
1509
|
+
}
|
1510
|
+
|
1511
|
+
/**
|
1512
|
+
* Find an object by identity and return a proxy that contains
|
1513
|
+
* the adapter ID or endpoints which can be used to access the
|
1514
|
+
* object.
|
1515
|
+
* @param id The identity.
|
1516
|
+
* @param cb Asynchronous callback object.
|
1517
|
+
* @param cookie User-defined data to associate with the invocation.
|
1518
|
+
* @return The asynchronous result object for the invocation.
|
1519
|
+
*/
|
1520
|
+
::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& id, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1521
|
+
{
|
1522
|
+
return _iceI_begin_findObjectById(id, ::Ice::noExplicitContext, cb, cookie);
|
1523
|
+
}
|
1524
|
+
|
1525
|
+
/**
|
1526
|
+
* Find an object by identity and return a proxy that contains
|
1527
|
+
* the adapter ID or endpoints which can be used to access the
|
1528
|
+
* object.
|
1529
|
+
* @param id The identity.
|
1530
|
+
* @param context The Context map to send with the invocation.
|
1531
|
+
* @param cb Asynchronous callback object.
|
1532
|
+
* @param cookie User-defined data to associate with the invocation.
|
1533
|
+
* @return The asynchronous result object for the invocation.
|
1534
|
+
*/
|
1535
|
+
::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& id, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1536
|
+
{
|
1537
|
+
return _iceI_begin_findObjectById(id, context, cb, cookie);
|
1538
|
+
}
|
1539
|
+
|
1540
|
+
/**
|
1541
|
+
* Find an object by identity and return a proxy that contains
|
1542
|
+
* the adapter ID or endpoints which can be used to access the
|
1543
|
+
* object.
|
1544
|
+
* @param id The identity.
|
1545
|
+
* @param cb Asynchronous callback object.
|
1546
|
+
* @param cookie User-defined data to associate with the invocation.
|
1547
|
+
* @return The asynchronous result object for the invocation.
|
1548
|
+
*/
|
1549
|
+
::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& id, const ::Ice::Callback_Locator_findObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1550
|
+
{
|
1551
|
+
return _iceI_begin_findObjectById(id, ::Ice::noExplicitContext, cb, cookie);
|
1552
|
+
}
|
1553
|
+
|
1554
|
+
/**
|
1555
|
+
* Find an object by identity and return a proxy that contains
|
1556
|
+
* the adapter ID or endpoints which can be used to access the
|
1557
|
+
* object.
|
1558
|
+
* @param id The identity.
|
1559
|
+
* @param context The Context map to send with the invocation.
|
1560
|
+
* @param cb Asynchronous callback object.
|
1561
|
+
* @param cookie User-defined data to associate with the invocation.
|
1562
|
+
* @return The asynchronous result object for the invocation.
|
1563
|
+
*/
|
1564
|
+
::Ice::AsyncResultPtr begin_findObjectById(const ::Ice::Identity& id, const ::Ice::Context& context, const ::Ice::Callback_Locator_findObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1565
|
+
{
|
1566
|
+
return _iceI_begin_findObjectById(id, context, cb, cookie);
|
1567
|
+
}
|
1568
|
+
|
1569
|
+
/**
|
1570
|
+
* Completes an invocation of begin_findObjectById.
|
1571
|
+
* @param result The asynchronous result object for the invocation.
|
1572
|
+
* @return The proxy, or null if the object is not active.
|
1573
|
+
* @throws Ice::ObjectNotFoundException Raised if the object cannot
|
1574
|
+
* be found.
|
1575
|
+
*/
|
1576
|
+
ICE_MEMBER(ICE_API) ::Ice::ObjectPrx end_findObjectById(const ::Ice::AsyncResultPtr& result);
|
806
1577
|
|
807
1578
|
private:
|
808
1579
|
|
@@ -810,37 +1581,94 @@ private:
|
|
810
1581
|
|
811
1582
|
public:
|
812
1583
|
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
1584
|
+
/**
|
1585
|
+
* Find an adapter by id and return a proxy that contains
|
1586
|
+
* its endpoints.
|
1587
|
+
* @param id The adapter id.
|
1588
|
+
* @param context The Context map to send with the invocation.
|
1589
|
+
* @return The adapter proxy, or null if the adapter is not active.
|
1590
|
+
* @throws Ice::AdapterNotFoundException Raised if the adapter cannot be
|
1591
|
+
* found.
|
1592
|
+
*/
|
1593
|
+
ICE_MEMBER(ICE_API) ::Ice::ObjectPrx findAdapterById(const ::std::string& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1594
|
+
{
|
1595
|
+
return end_findAdapterById(_iceI_begin_findAdapterById(id, context, ::IceInternal::dummyCallback, 0, true));
|
1596
|
+
}
|
1597
|
+
|
1598
|
+
/**
|
1599
|
+
* Find an adapter by id and return a proxy that contains
|
1600
|
+
* its endpoints.
|
1601
|
+
* @param id The adapter id.
|
1602
|
+
* @param context The Context map to send with the invocation.
|
1603
|
+
* @return The asynchronous result object for the invocation.
|
1604
|
+
*/
|
1605
|
+
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1606
|
+
{
|
1607
|
+
return _iceI_begin_findAdapterById(id, context, ::IceInternal::dummyCallback, 0);
|
1608
|
+
}
|
1609
|
+
|
1610
|
+
/**
|
1611
|
+
* Find an adapter by id and return a proxy that contains
|
1612
|
+
* its endpoints.
|
1613
|
+
* @param id The adapter id.
|
1614
|
+
* @param cb Asynchronous callback object.
|
1615
|
+
* @param cookie User-defined data to associate with the invocation.
|
1616
|
+
* @return The asynchronous result object for the invocation.
|
1617
|
+
*/
|
1618
|
+
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& id, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1619
|
+
{
|
1620
|
+
return _iceI_begin_findAdapterById(id, ::Ice::noExplicitContext, cb, cookie);
|
1621
|
+
}
|
1622
|
+
|
1623
|
+
/**
|
1624
|
+
* Find an adapter by id and return a proxy that contains
|
1625
|
+
* its endpoints.
|
1626
|
+
* @param id The adapter id.
|
1627
|
+
* @param context The Context map to send with the invocation.
|
1628
|
+
* @param cb Asynchronous callback object.
|
1629
|
+
* @param cookie User-defined data to associate with the invocation.
|
1630
|
+
* @return The asynchronous result object for the invocation.
|
1631
|
+
*/
|
1632
|
+
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& id, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1633
|
+
{
|
1634
|
+
return _iceI_begin_findAdapterById(id, context, cb, cookie);
|
1635
|
+
}
|
1636
|
+
|
1637
|
+
/**
|
1638
|
+
* Find an adapter by id and return a proxy that contains
|
1639
|
+
* its endpoints.
|
1640
|
+
* @param id The adapter id.
|
1641
|
+
* @param cb Asynchronous callback object.
|
1642
|
+
* @param cookie User-defined data to associate with the invocation.
|
1643
|
+
* @return The asynchronous result object for the invocation.
|
1644
|
+
*/
|
1645
|
+
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& id, const ::Ice::Callback_Locator_findAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1646
|
+
{
|
1647
|
+
return _iceI_begin_findAdapterById(id, ::Ice::noExplicitContext, cb, cookie);
|
1648
|
+
}
|
1649
|
+
|
1650
|
+
/**
|
1651
|
+
* Find an adapter by id and return a proxy that contains
|
1652
|
+
* its endpoints.
|
1653
|
+
* @param id The adapter id.
|
1654
|
+
* @param context The Context map to send with the invocation.
|
1655
|
+
* @param cb Asynchronous callback object.
|
1656
|
+
* @param cookie User-defined data to associate with the invocation.
|
1657
|
+
* @return The asynchronous result object for the invocation.
|
1658
|
+
*/
|
1659
|
+
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& id, const ::Ice::Context& context, const ::Ice::Callback_Locator_findAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1660
|
+
{
|
1661
|
+
return _iceI_begin_findAdapterById(id, context, cb, cookie);
|
1662
|
+
}
|
1663
|
+
|
1664
|
+
/**
|
1665
|
+
* Completes an invocation of begin_findAdapterById.
|
1666
|
+
* @param result The asynchronous result object for the invocation.
|
1667
|
+
* @return The adapter proxy, or null if the adapter is not active.
|
1668
|
+
* @throws Ice::AdapterNotFoundException Raised if the adapter cannot be
|
1669
|
+
* found.
|
1670
|
+
*/
|
1671
|
+
ICE_MEMBER(ICE_API) ::Ice::ObjectPrx end_findAdapterById(const ::Ice::AsyncResultPtr& result);
|
844
1672
|
|
845
1673
|
private:
|
846
1674
|
|
@@ -848,37 +1676,78 @@ private:
|
|
848
1676
|
|
849
1677
|
public:
|
850
1678
|
|
1679
|
+
/**
|
1680
|
+
* Get the locator registry.
|
1681
|
+
* @param context The Context map to send with the invocation.
|
1682
|
+
* @return The locator registry.
|
1683
|
+
*/
|
851
1684
|
ICE_MEMBER(ICE_API) ::Ice::LocatorRegistryPrx getRegistry(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
852
1685
|
{
|
853
1686
|
return end_getRegistry(_iceI_begin_getRegistry(context, ::IceInternal::dummyCallback, 0, true));
|
854
1687
|
}
|
855
1688
|
|
1689
|
+
/**
|
1690
|
+
* Get the locator registry.
|
1691
|
+
* @param context The Context map to send with the invocation.
|
1692
|
+
* @return The asynchronous result object for the invocation.
|
1693
|
+
*/
|
856
1694
|
::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
857
1695
|
{
|
858
1696
|
return _iceI_begin_getRegistry(context, ::IceInternal::dummyCallback, 0);
|
859
1697
|
}
|
860
1698
|
|
861
|
-
|
1699
|
+
/**
|
1700
|
+
* Get the locator registry.
|
1701
|
+
* @param cb Asynchronous callback object.
|
1702
|
+
* @param cookie User-defined data to associate with the invocation.
|
1703
|
+
* @return The asynchronous result object for the invocation.
|
1704
|
+
*/
|
1705
|
+
::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
862
1706
|
{
|
863
|
-
return _iceI_begin_getRegistry(::Ice::noExplicitContext,
|
1707
|
+
return _iceI_begin_getRegistry(::Ice::noExplicitContext, cb, cookie);
|
864
1708
|
}
|
865
1709
|
|
866
|
-
|
1710
|
+
/**
|
1711
|
+
* Get the locator registry.
|
1712
|
+
* @param context The Context map to send with the invocation.
|
1713
|
+
* @param cb Asynchronous callback object.
|
1714
|
+
* @param cookie User-defined data to associate with the invocation.
|
1715
|
+
* @return The asynchronous result object for the invocation.
|
1716
|
+
*/
|
1717
|
+
::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
867
1718
|
{
|
868
|
-
return _iceI_begin_getRegistry(context,
|
1719
|
+
return _iceI_begin_getRegistry(context, cb, cookie);
|
869
1720
|
}
|
870
1721
|
|
871
|
-
|
1722
|
+
/**
|
1723
|
+
* Get the locator registry.
|
1724
|
+
* @param cb Asynchronous callback object.
|
1725
|
+
* @param cookie User-defined data to associate with the invocation.
|
1726
|
+
* @return The asynchronous result object for the invocation.
|
1727
|
+
*/
|
1728
|
+
::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::Callback_Locator_getRegistryPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
872
1729
|
{
|
873
|
-
return _iceI_begin_getRegistry(::Ice::noExplicitContext,
|
1730
|
+
return _iceI_begin_getRegistry(::Ice::noExplicitContext, cb, cookie);
|
874
1731
|
}
|
875
1732
|
|
876
|
-
|
1733
|
+
/**
|
1734
|
+
* Get the locator registry.
|
1735
|
+
* @param context The Context map to send with the invocation.
|
1736
|
+
* @param cb Asynchronous callback object.
|
1737
|
+
* @param cookie User-defined data to associate with the invocation.
|
1738
|
+
* @return The asynchronous result object for the invocation.
|
1739
|
+
*/
|
1740
|
+
::Ice::AsyncResultPtr begin_getRegistry(const ::Ice::Context& context, const ::Ice::Callback_Locator_getRegistryPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
877
1741
|
{
|
878
|
-
return _iceI_begin_getRegistry(context,
|
1742
|
+
return _iceI_begin_getRegistry(context, cb, cookie);
|
879
1743
|
}
|
880
1744
|
|
881
|
-
|
1745
|
+
/**
|
1746
|
+
* Completes an invocation of begin_getRegistry.
|
1747
|
+
* @param result The asynchronous result object for the invocation.
|
1748
|
+
* @return The locator registry.
|
1749
|
+
*/
|
1750
|
+
ICE_MEMBER(ICE_API) ::Ice::LocatorRegistryPrx end_getRegistry(const ::Ice::AsyncResultPtr& result);
|
882
1751
|
|
883
1752
|
private:
|
884
1753
|
|
@@ -886,48 +1755,129 @@ private:
|
|
886
1755
|
|
887
1756
|
public:
|
888
1757
|
|
1758
|
+
/**
|
1759
|
+
* Obtains the Slice type ID corresponding to this interface.
|
1760
|
+
* @return A fully-scoped type ID.
|
1761
|
+
*/
|
889
1762
|
ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
|
890
1763
|
|
891
1764
|
protected:
|
1765
|
+
/// \cond INTERNAL
|
892
1766
|
|
893
1767
|
ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
|
1768
|
+
/// \endcond
|
894
1769
|
};
|
895
1770
|
|
896
1771
|
class ICE_CLASS(ICE_API) LocatorRegistry : public virtual ::Ice::Proxy<LocatorRegistry, ::IceProxy::Ice::Object>
|
897
1772
|
{
|
898
1773
|
public:
|
899
1774
|
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
1775
|
+
/**
|
1776
|
+
* Set the adapter endpoints with the locator registry.
|
1777
|
+
* @param id The adapter id.
|
1778
|
+
* @param proxy The adapter proxy (a dummy direct proxy created
|
1779
|
+
* by the adapter). The direct proxy contains the adapter
|
1780
|
+
* endpoints.
|
1781
|
+
* @param context The Context map to send with the invocation.
|
1782
|
+
* @throws Ice::AdapterAlreadyActiveException Raised if an adapter with the same
|
1783
|
+
* id is already active.
|
1784
|
+
* @throws Ice::AdapterNotFoundException Raised if the adapter cannot
|
1785
|
+
* be found, or if the locator only allows
|
1786
|
+
* registered adapters to set their active proxy and the
|
1787
|
+
* adapter is not registered with the locator.
|
1788
|
+
*/
|
1789
|
+
ICE_MEMBER(ICE_API) void setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1790
|
+
{
|
1791
|
+
end_setAdapterDirectProxy(_iceI_begin_setAdapterDirectProxy(id, proxy, context, ::IceInternal::dummyCallback, 0, true));
|
1792
|
+
}
|
1793
|
+
|
1794
|
+
/**
|
1795
|
+
* Set the adapter endpoints with the locator registry.
|
1796
|
+
* @param id The adapter id.
|
1797
|
+
* @param proxy The adapter proxy (a dummy direct proxy created
|
1798
|
+
* by the adapter). The direct proxy contains the adapter
|
1799
|
+
* endpoints.
|
1800
|
+
* @param context The Context map to send with the invocation.
|
1801
|
+
* @return The asynchronous result object for the invocation.
|
1802
|
+
*/
|
1803
|
+
::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1804
|
+
{
|
1805
|
+
return _iceI_begin_setAdapterDirectProxy(id, proxy, context, ::IceInternal::dummyCallback, 0);
|
1806
|
+
}
|
1807
|
+
|
1808
|
+
/**
|
1809
|
+
* Set the adapter endpoints with the locator registry.
|
1810
|
+
* @param id The adapter id.
|
1811
|
+
* @param proxy The adapter proxy (a dummy direct proxy created
|
1812
|
+
* by the adapter). The direct proxy contains the adapter
|
1813
|
+
* endpoints.
|
1814
|
+
* @param cb Asynchronous callback object.
|
1815
|
+
* @param cookie User-defined data to associate with the invocation.
|
1816
|
+
* @return The asynchronous result object for the invocation.
|
1817
|
+
*/
|
1818
|
+
::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1819
|
+
{
|
1820
|
+
return _iceI_begin_setAdapterDirectProxy(id, proxy, ::Ice::noExplicitContext, cb, cookie);
|
1821
|
+
}
|
1822
|
+
|
1823
|
+
/**
|
1824
|
+
* Set the adapter endpoints with the locator registry.
|
1825
|
+
* @param id The adapter id.
|
1826
|
+
* @param proxy The adapter proxy (a dummy direct proxy created
|
1827
|
+
* by the adapter). The direct proxy contains the adapter
|
1828
|
+
* endpoints.
|
1829
|
+
* @param context The Context map to send with the invocation.
|
1830
|
+
* @param cb Asynchronous callback object.
|
1831
|
+
* @param cookie User-defined data to associate with the invocation.
|
1832
|
+
* @return The asynchronous result object for the invocation.
|
1833
|
+
*/
|
1834
|
+
::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1835
|
+
{
|
1836
|
+
return _iceI_begin_setAdapterDirectProxy(id, proxy, context, cb, cookie);
|
1837
|
+
}
|
1838
|
+
|
1839
|
+
/**
|
1840
|
+
* Set the adapter endpoints with the locator registry.
|
1841
|
+
* @param id The adapter id.
|
1842
|
+
* @param proxy The adapter proxy (a dummy direct proxy created
|
1843
|
+
* by the adapter). The direct proxy contains the adapter
|
1844
|
+
* endpoints.
|
1845
|
+
* @param cb Asynchronous callback object.
|
1846
|
+
* @param cookie User-defined data to associate with the invocation.
|
1847
|
+
* @return The asynchronous result object for the invocation.
|
1848
|
+
*/
|
1849
|
+
::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::Callback_LocatorRegistry_setAdapterDirectProxyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1850
|
+
{
|
1851
|
+
return _iceI_begin_setAdapterDirectProxy(id, proxy, ::Ice::noExplicitContext, cb, cookie);
|
1852
|
+
}
|
1853
|
+
|
1854
|
+
/**
|
1855
|
+
* Set the adapter endpoints with the locator registry.
|
1856
|
+
* @param id The adapter id.
|
1857
|
+
* @param proxy The adapter proxy (a dummy direct proxy created
|
1858
|
+
* by the adapter). The direct proxy contains the adapter
|
1859
|
+
* endpoints.
|
1860
|
+
* @param context The Context map to send with the invocation.
|
1861
|
+
* @param cb Asynchronous callback object.
|
1862
|
+
* @param cookie User-defined data to associate with the invocation.
|
1863
|
+
* @return The asynchronous result object for the invocation.
|
1864
|
+
*/
|
1865
|
+
::Ice::AsyncResultPtr begin_setAdapterDirectProxy(const ::std::string& id, const ::Ice::ObjectPrx& proxy, const ::Ice::Context& context, const ::Ice::Callback_LocatorRegistry_setAdapterDirectProxyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1866
|
+
{
|
1867
|
+
return _iceI_begin_setAdapterDirectProxy(id, proxy, context, cb, cookie);
|
1868
|
+
}
|
1869
|
+
|
1870
|
+
/**
|
1871
|
+
* Completes an invocation of begin_setAdapterDirectProxy.
|
1872
|
+
* @param result The asynchronous result object for the invocation.
|
1873
|
+
* @throws Ice::AdapterAlreadyActiveException Raised if an adapter with the same
|
1874
|
+
* id is already active.
|
1875
|
+
* @throws Ice::AdapterNotFoundException Raised if the adapter cannot
|
1876
|
+
* be found, or if the locator only allows
|
1877
|
+
* registered adapters to set their active proxy and the
|
1878
|
+
* adapter is not registered with the locator.
|
1879
|
+
*/
|
1880
|
+
ICE_MEMBER(ICE_API) void end_setAdapterDirectProxy(const ::Ice::AsyncResultPtr& result);
|
931
1881
|
|
932
1882
|
private:
|
933
1883
|
|
@@ -935,37 +1885,124 @@ private:
|
|
935
1885
|
|
936
1886
|
public:
|
937
1887
|
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
1888
|
+
/**
|
1889
|
+
* Set the adapter endpoints with the locator registry.
|
1890
|
+
* @param adapterId The adapter id.
|
1891
|
+
* @param replicaGroupId The replica group id.
|
1892
|
+
* @param p The adapter proxy (a dummy direct proxy created
|
1893
|
+
* by the adapter). The direct proxy contains the adapter
|
1894
|
+
* endpoints.
|
1895
|
+
* @param context The Context map to send with the invocation.
|
1896
|
+
* @throws Ice::AdapterAlreadyActiveException Raised if an adapter with the same
|
1897
|
+
* id is already active.
|
1898
|
+
* @throws Ice::AdapterNotFoundException Raised if the adapter cannot
|
1899
|
+
* be found, or if the locator only allows registered adapters to
|
1900
|
+
* set their active proxy and the adapter is not registered with
|
1901
|
+
* the locator.
|
1902
|
+
* @throws Ice::InvalidReplicaGroupIdException Raised if the given
|
1903
|
+
* replica group doesn't match the one registered with the
|
1904
|
+
* locator registry for this object adapter.
|
1905
|
+
*/
|
1906
|
+
ICE_MEMBER(ICE_API) void setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1907
|
+
{
|
1908
|
+
end_setReplicatedAdapterDirectProxy(_iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, context, ::IceInternal::dummyCallback, 0, true));
|
1909
|
+
}
|
1910
|
+
|
1911
|
+
/**
|
1912
|
+
* Set the adapter endpoints with the locator registry.
|
1913
|
+
* @param adapterId The adapter id.
|
1914
|
+
* @param replicaGroupId The replica group id.
|
1915
|
+
* @param p The adapter proxy (a dummy direct proxy created
|
1916
|
+
* by the adapter). The direct proxy contains the adapter
|
1917
|
+
* endpoints.
|
1918
|
+
* @param context The Context map to send with the invocation.
|
1919
|
+
* @return The asynchronous result object for the invocation.
|
1920
|
+
*/
|
1921
|
+
::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1922
|
+
{
|
1923
|
+
return _iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, context, ::IceInternal::dummyCallback, 0);
|
1924
|
+
}
|
1925
|
+
|
1926
|
+
/**
|
1927
|
+
* Set the adapter endpoints with the locator registry.
|
1928
|
+
* @param adapterId The adapter id.
|
1929
|
+
* @param replicaGroupId The replica group id.
|
1930
|
+
* @param p The adapter proxy (a dummy direct proxy created
|
1931
|
+
* by the adapter). The direct proxy contains the adapter
|
1932
|
+
* endpoints.
|
1933
|
+
* @param cb Asynchronous callback object.
|
1934
|
+
* @param cookie User-defined data to associate with the invocation.
|
1935
|
+
* @return The asynchronous result object for the invocation.
|
1936
|
+
*/
|
1937
|
+
::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1938
|
+
{
|
1939
|
+
return _iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, ::Ice::noExplicitContext, cb, cookie);
|
1940
|
+
}
|
1941
|
+
|
1942
|
+
/**
|
1943
|
+
* Set the adapter endpoints with the locator registry.
|
1944
|
+
* @param adapterId The adapter id.
|
1945
|
+
* @param replicaGroupId The replica group id.
|
1946
|
+
* @param p The adapter proxy (a dummy direct proxy created
|
1947
|
+
* by the adapter). The direct proxy contains the adapter
|
1948
|
+
* endpoints.
|
1949
|
+
* @param context The Context map to send with the invocation.
|
1950
|
+
* @param cb Asynchronous callback object.
|
1951
|
+
* @param cookie User-defined data to associate with the invocation.
|
1952
|
+
* @return The asynchronous result object for the invocation.
|
1953
|
+
*/
|
1954
|
+
::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1955
|
+
{
|
1956
|
+
return _iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, context, cb, cookie);
|
1957
|
+
}
|
1958
|
+
|
1959
|
+
/**
|
1960
|
+
* Set the adapter endpoints with the locator registry.
|
1961
|
+
* @param adapterId The adapter id.
|
1962
|
+
* @param replicaGroupId The replica group id.
|
1963
|
+
* @param p The adapter proxy (a dummy direct proxy created
|
1964
|
+
* by the adapter). The direct proxy contains the adapter
|
1965
|
+
* endpoints.
|
1966
|
+
* @param cb Asynchronous callback object.
|
1967
|
+
* @param cookie User-defined data to associate with the invocation.
|
1968
|
+
* @return The asynchronous result object for the invocation.
|
1969
|
+
*/
|
1970
|
+
::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1971
|
+
{
|
1972
|
+
return _iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, ::Ice::noExplicitContext, cb, cookie);
|
1973
|
+
}
|
1974
|
+
|
1975
|
+
/**
|
1976
|
+
* Set the adapter endpoints with the locator registry.
|
1977
|
+
* @param adapterId The adapter id.
|
1978
|
+
* @param replicaGroupId The replica group id.
|
1979
|
+
* @param p The adapter proxy (a dummy direct proxy created
|
1980
|
+
* by the adapter). The direct proxy contains the adapter
|
1981
|
+
* endpoints.
|
1982
|
+
* @param context The Context map to send with the invocation.
|
1983
|
+
* @param cb Asynchronous callback object.
|
1984
|
+
* @param cookie User-defined data to associate with the invocation.
|
1985
|
+
* @return The asynchronous result object for the invocation.
|
1986
|
+
*/
|
1987
|
+
::Ice::AsyncResultPtr begin_setReplicatedAdapterDirectProxy(const ::std::string& adapterId, const ::std::string& replicaGroupId, const ::Ice::ObjectPrx& p, const ::Ice::Context& context, const ::Ice::Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1988
|
+
{
|
1989
|
+
return _iceI_begin_setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, context, cb, cookie);
|
1990
|
+
}
|
1991
|
+
|
1992
|
+
/**
|
1993
|
+
* Completes an invocation of begin_setReplicatedAdapterDirectProxy.
|
1994
|
+
* @param result The asynchronous result object for the invocation.
|
1995
|
+
* @throws Ice::AdapterAlreadyActiveException Raised if an adapter with the same
|
1996
|
+
* id is already active.
|
1997
|
+
* @throws Ice::AdapterNotFoundException Raised if the adapter cannot
|
1998
|
+
* be found, or if the locator only allows registered adapters to
|
1999
|
+
* set their active proxy and the adapter is not registered with
|
2000
|
+
* the locator.
|
2001
|
+
* @throws Ice::InvalidReplicaGroupIdException Raised if the given
|
2002
|
+
* replica group doesn't match the one registered with the
|
2003
|
+
* locator registry for this object adapter.
|
2004
|
+
*/
|
2005
|
+
ICE_MEMBER(ICE_API) void end_setReplicatedAdapterDirectProxy(const ::Ice::AsyncResultPtr& result);
|
969
2006
|
|
970
2007
|
private:
|
971
2008
|
|
@@ -973,37 +2010,92 @@ private:
|
|
973
2010
|
|
974
2011
|
public:
|
975
2012
|
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string&
|
997
|
-
{
|
998
|
-
return _iceI_begin_setServerProcessProxy(
|
999
|
-
}
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
2013
|
+
/**
|
2014
|
+
* Set the process proxy for a server.
|
2015
|
+
* @param id The server id.
|
2016
|
+
* @param proxy The process proxy.
|
2017
|
+
* @param context The Context map to send with the invocation.
|
2018
|
+
* @throws Ice::ServerNotFoundException Raised if the server cannot
|
2019
|
+
* be found.
|
2020
|
+
*/
|
2021
|
+
ICE_MEMBER(ICE_API) void setServerProcessProxy(const ::std::string& id, const ::Ice::ProcessPrx& proxy, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
2022
|
+
{
|
2023
|
+
end_setServerProcessProxy(_iceI_begin_setServerProcessProxy(id, proxy, context, ::IceInternal::dummyCallback, 0, true));
|
2024
|
+
}
|
2025
|
+
|
2026
|
+
/**
|
2027
|
+
* Set the process proxy for a server.
|
2028
|
+
* @param id The server id.
|
2029
|
+
* @param proxy The process proxy.
|
2030
|
+
* @param context The Context map to send with the invocation.
|
2031
|
+
* @return The asynchronous result object for the invocation.
|
2032
|
+
*/
|
2033
|
+
::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string& id, const ::Ice::ProcessPrx& proxy, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
2034
|
+
{
|
2035
|
+
return _iceI_begin_setServerProcessProxy(id, proxy, context, ::IceInternal::dummyCallback, 0);
|
2036
|
+
}
|
2037
|
+
|
2038
|
+
/**
|
2039
|
+
* Set the process proxy for a server.
|
2040
|
+
* @param id The server id.
|
2041
|
+
* @param proxy The process proxy.
|
2042
|
+
* @param cb Asynchronous callback object.
|
2043
|
+
* @param cookie User-defined data to associate with the invocation.
|
2044
|
+
* @return The asynchronous result object for the invocation.
|
2045
|
+
*/
|
2046
|
+
::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string& id, const ::Ice::ProcessPrx& proxy, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
2047
|
+
{
|
2048
|
+
return _iceI_begin_setServerProcessProxy(id, proxy, ::Ice::noExplicitContext, cb, cookie);
|
2049
|
+
}
|
2050
|
+
|
2051
|
+
/**
|
2052
|
+
* Set the process proxy for a server.
|
2053
|
+
* @param id The server id.
|
2054
|
+
* @param proxy The process proxy.
|
2055
|
+
* @param context The Context map to send with the invocation.
|
2056
|
+
* @param cb Asynchronous callback object.
|
2057
|
+
* @param cookie User-defined data to associate with the invocation.
|
2058
|
+
* @return The asynchronous result object for the invocation.
|
2059
|
+
*/
|
2060
|
+
::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string& id, const ::Ice::ProcessPrx& proxy, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
2061
|
+
{
|
2062
|
+
return _iceI_begin_setServerProcessProxy(id, proxy, context, cb, cookie);
|
2063
|
+
}
|
2064
|
+
|
2065
|
+
/**
|
2066
|
+
* Set the process proxy for a server.
|
2067
|
+
* @param id The server id.
|
2068
|
+
* @param proxy The process proxy.
|
2069
|
+
* @param cb Asynchronous callback object.
|
2070
|
+
* @param cookie User-defined data to associate with the invocation.
|
2071
|
+
* @return The asynchronous result object for the invocation.
|
2072
|
+
*/
|
2073
|
+
::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string& id, const ::Ice::ProcessPrx& proxy, const ::Ice::Callback_LocatorRegistry_setServerProcessProxyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
2074
|
+
{
|
2075
|
+
return _iceI_begin_setServerProcessProxy(id, proxy, ::Ice::noExplicitContext, cb, cookie);
|
2076
|
+
}
|
2077
|
+
|
2078
|
+
/**
|
2079
|
+
* Set the process proxy for a server.
|
2080
|
+
* @param id The server id.
|
2081
|
+
* @param proxy The process proxy.
|
2082
|
+
* @param context The Context map to send with the invocation.
|
2083
|
+
* @param cb Asynchronous callback object.
|
2084
|
+
* @param cookie User-defined data to associate with the invocation.
|
2085
|
+
* @return The asynchronous result object for the invocation.
|
2086
|
+
*/
|
2087
|
+
::Ice::AsyncResultPtr begin_setServerProcessProxy(const ::std::string& id, const ::Ice::ProcessPrx& proxy, const ::Ice::Context& context, const ::Ice::Callback_LocatorRegistry_setServerProcessProxyPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
2088
|
+
{
|
2089
|
+
return _iceI_begin_setServerProcessProxy(id, proxy, context, cb, cookie);
|
2090
|
+
}
|
2091
|
+
|
2092
|
+
/**
|
2093
|
+
* Completes an invocation of begin_setServerProcessProxy.
|
2094
|
+
* @param result The asynchronous result object for the invocation.
|
2095
|
+
* @throws Ice::ServerNotFoundException Raised if the server cannot
|
2096
|
+
* be found.
|
2097
|
+
*/
|
2098
|
+
ICE_MEMBER(ICE_API) void end_setServerProcessProxy(const ::Ice::AsyncResultPtr& result);
|
1007
2099
|
|
1008
2100
|
private:
|
1009
2101
|
|
@@ -1011,48 +2103,101 @@ private:
|
|
1011
2103
|
|
1012
2104
|
public:
|
1013
2105
|
|
2106
|
+
/**
|
2107
|
+
* Obtains the Slice type ID corresponding to this interface.
|
2108
|
+
* @return A fully-scoped type ID.
|
2109
|
+
*/
|
1014
2110
|
ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
|
1015
2111
|
|
1016
2112
|
protected:
|
2113
|
+
/// \cond INTERNAL
|
1017
2114
|
|
1018
2115
|
ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
|
2116
|
+
/// \endcond
|
1019
2117
|
};
|
1020
2118
|
|
1021
2119
|
class ICE_CLASS(ICE_API) LocatorFinder : public virtual ::Ice::Proxy<LocatorFinder, ::IceProxy::Ice::Object>
|
1022
2120
|
{
|
1023
2121
|
public:
|
1024
2122
|
|
2123
|
+
/**
|
2124
|
+
* Get the locator proxy implemented by the process hosting this
|
2125
|
+
* finder object. The proxy might point to several replicas.
|
2126
|
+
* @param context The Context map to send with the invocation.
|
2127
|
+
* @return The locator proxy.
|
2128
|
+
*/
|
1025
2129
|
ICE_MEMBER(ICE_API) ::Ice::LocatorPrx getLocator(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1026
2130
|
{
|
1027
2131
|
return end_getLocator(_iceI_begin_getLocator(context, ::IceInternal::dummyCallback, 0, true));
|
1028
2132
|
}
|
1029
2133
|
|
2134
|
+
/**
|
2135
|
+
* Get the locator proxy implemented by the process hosting this
|
2136
|
+
* finder object. The proxy might point to several replicas.
|
2137
|
+
* @param context The Context map to send with the invocation.
|
2138
|
+
* @return The asynchronous result object for the invocation.
|
2139
|
+
*/
|
1030
2140
|
::Ice::AsyncResultPtr begin_getLocator(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1031
2141
|
{
|
1032
2142
|
return _iceI_begin_getLocator(context, ::IceInternal::dummyCallback, 0);
|
1033
2143
|
}
|
1034
2144
|
|
1035
|
-
|
2145
|
+
/**
|
2146
|
+
* Get the locator proxy implemented by the process hosting this
|
2147
|
+
* finder object. The proxy might point to several replicas.
|
2148
|
+
* @param cb Asynchronous callback object.
|
2149
|
+
* @param cookie User-defined data to associate with the invocation.
|
2150
|
+
* @return The asynchronous result object for the invocation.
|
2151
|
+
*/
|
2152
|
+
::Ice::AsyncResultPtr begin_getLocator(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1036
2153
|
{
|
1037
|
-
return _iceI_begin_getLocator(::Ice::noExplicitContext,
|
2154
|
+
return _iceI_begin_getLocator(::Ice::noExplicitContext, cb, cookie);
|
1038
2155
|
}
|
1039
2156
|
|
1040
|
-
|
2157
|
+
/**
|
2158
|
+
* Get the locator proxy implemented by the process hosting this
|
2159
|
+
* finder object. The proxy might point to several replicas.
|
2160
|
+
* @param context The Context map to send with the invocation.
|
2161
|
+
* @param cb Asynchronous callback object.
|
2162
|
+
* @param cookie User-defined data to associate with the invocation.
|
2163
|
+
* @return The asynchronous result object for the invocation.
|
2164
|
+
*/
|
2165
|
+
::Ice::AsyncResultPtr begin_getLocator(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1041
2166
|
{
|
1042
|
-
return _iceI_begin_getLocator(context,
|
2167
|
+
return _iceI_begin_getLocator(context, cb, cookie);
|
1043
2168
|
}
|
1044
2169
|
|
1045
|
-
|
2170
|
+
/**
|
2171
|
+
* Get the locator proxy implemented by the process hosting this
|
2172
|
+
* finder object. The proxy might point to several replicas.
|
2173
|
+
* @param cb Asynchronous callback object.
|
2174
|
+
* @param cookie User-defined data to associate with the invocation.
|
2175
|
+
* @return The asynchronous result object for the invocation.
|
2176
|
+
*/
|
2177
|
+
::Ice::AsyncResultPtr begin_getLocator(const ::Ice::Callback_LocatorFinder_getLocatorPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1046
2178
|
{
|
1047
|
-
return _iceI_begin_getLocator(::Ice::noExplicitContext,
|
2179
|
+
return _iceI_begin_getLocator(::Ice::noExplicitContext, cb, cookie);
|
1048
2180
|
}
|
1049
2181
|
|
1050
|
-
|
2182
|
+
/**
|
2183
|
+
* Get the locator proxy implemented by the process hosting this
|
2184
|
+
* finder object. The proxy might point to several replicas.
|
2185
|
+
* @param context The Context map to send with the invocation.
|
2186
|
+
* @param cb Asynchronous callback object.
|
2187
|
+
* @param cookie User-defined data to associate with the invocation.
|
2188
|
+
* @return The asynchronous result object for the invocation.
|
2189
|
+
*/
|
2190
|
+
::Ice::AsyncResultPtr begin_getLocator(const ::Ice::Context& context, const ::Ice::Callback_LocatorFinder_getLocatorPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1051
2191
|
{
|
1052
|
-
return _iceI_begin_getLocator(context,
|
2192
|
+
return _iceI_begin_getLocator(context, cb, cookie);
|
1053
2193
|
}
|
1054
2194
|
|
1055
|
-
|
2195
|
+
/**
|
2196
|
+
* Completes an invocation of begin_getLocator.
|
2197
|
+
* @param result The asynchronous result object for the invocation.
|
2198
|
+
* @return The locator proxy.
|
2199
|
+
*/
|
2200
|
+
ICE_MEMBER(ICE_API) ::Ice::LocatorPrx end_getLocator(const ::Ice::AsyncResultPtr& result);
|
1056
2201
|
|
1057
2202
|
private:
|
1058
2203
|
|
@@ -1060,11 +2205,17 @@ private:
|
|
1060
2205
|
|
1061
2206
|
public:
|
1062
2207
|
|
2208
|
+
/**
|
2209
|
+
* Obtains the Slice type ID corresponding to this interface.
|
2210
|
+
* @return A fully-scoped type ID.
|
2211
|
+
*/
|
1063
2212
|
ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
|
1064
2213
|
|
1065
2214
|
protected:
|
2215
|
+
/// \cond INTERNAL
|
1066
2216
|
|
1067
2217
|
ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
|
2218
|
+
/// \endcond
|
1068
2219
|
};
|
1069
2220
|
|
1070
2221
|
}
|
@@ -1074,7 +2225,18 @@ protected:
|
|
1074
2225
|
namespace Ice
|
1075
2226
|
{
|
1076
2227
|
|
1077
|
-
|
2228
|
+
/**
|
2229
|
+
* The Ice locator interface. This interface is used by clients to
|
2230
|
+
* lookup adapters and objects. It is also used by servers to get the
|
2231
|
+
* locator registry proxy.
|
2232
|
+
*
|
2233
|
+
* <p class="Note">The {@link Locator} interface is intended to be used by
|
2234
|
+
* Ice internals and by locator implementations. Regular user code
|
2235
|
+
* should not attempt to use any functionality of this interface
|
2236
|
+
* directly.
|
2237
|
+
* \headerfile Ice/Ice.h
|
2238
|
+
*/
|
2239
|
+
class ICE_API Locator : public virtual Object
|
1078
2240
|
{
|
1079
2241
|
public:
|
1080
2242
|
|
@@ -1083,40 +2245,108 @@ public:
|
|
1083
2245
|
|
1084
2246
|
virtual ~Locator();
|
1085
2247
|
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
2248
|
+
/**
|
2249
|
+
* Determines whether this object supports an interface with the given Slice type ID.
|
2250
|
+
* @param id The fully-scoped Slice type ID.
|
2251
|
+
* @param current The Current object for the invocation.
|
2252
|
+
* @return True if this object supports the interface, false, otherwise.
|
2253
|
+
*/
|
2254
|
+
virtual bool ice_isA(const ::std::string& id, const Current& current = emptyCurrent) const;
|
2255
|
+
|
2256
|
+
/**
|
2257
|
+
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
2258
|
+
* @param current The Current object for the invocation.
|
2259
|
+
* @return A list of fully-scoped type IDs.
|
2260
|
+
*/
|
2261
|
+
virtual ::std::vector< ::std::string> ice_ids(const Current& current = emptyCurrent) const;
|
2262
|
+
|
2263
|
+
/**
|
2264
|
+
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
2265
|
+
* @param current The Current object for the invocation.
|
2266
|
+
* @return A fully-scoped type ID.
|
2267
|
+
*/
|
2268
|
+
virtual const ::std::string& ice_id(const Current& current = emptyCurrent) const;
|
2269
|
+
|
2270
|
+
/**
|
2271
|
+
* Obtains the Slice type ID corresponding to this class.
|
2272
|
+
* @return A fully-scoped type ID.
|
2273
|
+
*/
|
1090
2274
|
static const ::std::string& ice_staticId();
|
1091
2275
|
|
1092
|
-
|
2276
|
+
/**
|
2277
|
+
* Find an object by identity and return a proxy that contains
|
2278
|
+
* the adapter ID or endpoints which can be used to access the
|
2279
|
+
* object.
|
2280
|
+
* @param cb The AMD callback object for the invocation.
|
2281
|
+
* @param id The identity.
|
2282
|
+
* @param current The Current object for the invocation.
|
2283
|
+
* @throws Ice::ObjectNotFoundException Raised if the object cannot
|
2284
|
+
* be found.
|
2285
|
+
*/
|
2286
|
+
virtual void findObjectById_async(const ::Ice::AMD_Locator_findObjectByIdPtr& cb, const Identity& id, const Current& current = emptyCurrent) const = 0;
|
2287
|
+
/// \cond INTERNAL
|
1093
2288
|
bool _iceD_findObjectById(::IceInternal::Incoming&, const ::Ice::Current&) const;
|
1094
|
-
|
1095
|
-
|
2289
|
+
/// \endcond
|
2290
|
+
|
2291
|
+
/**
|
2292
|
+
* Find an adapter by id and return a proxy that contains
|
2293
|
+
* its endpoints.
|
2294
|
+
* @param cb The AMD callback object for the invocation.
|
2295
|
+
* @param id The adapter id.
|
2296
|
+
* @param current The Current object for the invocation.
|
2297
|
+
* @throws Ice::AdapterNotFoundException Raised if the adapter cannot be
|
2298
|
+
* found.
|
2299
|
+
*/
|
2300
|
+
virtual void findAdapterById_async(const ::Ice::AMD_Locator_findAdapterByIdPtr& cb, const ::std::string& id, const Current& current = emptyCurrent) const = 0;
|
2301
|
+
/// \cond INTERNAL
|
1096
2302
|
bool _iceD_findAdapterById(::IceInternal::Incoming&, const ::Ice::Current&) const;
|
1097
|
-
|
1098
|
-
|
2303
|
+
/// \endcond
|
2304
|
+
|
2305
|
+
/**
|
2306
|
+
* Get the locator registry.
|
2307
|
+
* @param current The Current object for the invocation.
|
2308
|
+
* @return The locator registry.
|
2309
|
+
*/
|
2310
|
+
virtual LocatorRegistryPrx getRegistry(const Current& current = emptyCurrent) const = 0;
|
2311
|
+
/// \cond INTERNAL
|
1099
2312
|
bool _iceD_getRegistry(::IceInternal::Incoming&, const ::Ice::Current&) const;
|
2313
|
+
/// \endcond
|
1100
2314
|
|
1101
|
-
|
2315
|
+
/// \cond INTERNAL
|
2316
|
+
virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&);
|
2317
|
+
/// \endcond
|
1102
2318
|
|
1103
2319
|
protected:
|
1104
2320
|
|
1105
|
-
|
1106
|
-
virtual void
|
2321
|
+
/// \cond STREAM
|
2322
|
+
virtual void _iceWriteImpl(OutputStream*) const;
|
2323
|
+
virtual void _iceReadImpl(InputStream*);
|
2324
|
+
/// \endcond
|
1107
2325
|
};
|
1108
2326
|
|
2327
|
+
/// \cond INTERNAL
|
1109
2328
|
inline bool operator==(const Locator& lhs, const Locator& rhs)
|
1110
2329
|
{
|
1111
|
-
return static_cast<const
|
2330
|
+
return static_cast<const Object&>(lhs) == static_cast<const Object&>(rhs);
|
1112
2331
|
}
|
1113
2332
|
|
1114
2333
|
inline bool operator<(const Locator& lhs, const Locator& rhs)
|
1115
2334
|
{
|
1116
|
-
return static_cast<const
|
2335
|
+
return static_cast<const Object&>(lhs) < static_cast<const Object&>(rhs);
|
1117
2336
|
}
|
2337
|
+
/// \endcond
|
1118
2338
|
|
1119
|
-
|
2339
|
+
/**
|
2340
|
+
* The Ice locator registry interface. This interface is used by
|
2341
|
+
* servers to register adapter endpoints with the locator.
|
2342
|
+
*
|
2343
|
+
* <p class="Note"> The {@link LocatorRegistry} interface is intended to be used
|
2344
|
+
* by Ice internals and by locator implementations. Regular user
|
2345
|
+
* code should not attempt to use any functionality of this interface
|
2346
|
+
* directly.
|
2347
|
+
* \headerfile Ice/Ice.h
|
2348
|
+
*/
|
2349
|
+
class ICE_API LocatorRegistry : public virtual Object
|
1120
2350
|
{
|
1121
2351
|
public:
|
1122
2352
|
|
@@ -1125,40 +2355,125 @@ public:
|
|
1125
2355
|
|
1126
2356
|
virtual ~LocatorRegistry();
|
1127
2357
|
|
1128
|
-
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
2358
|
+
/**
|
2359
|
+
* Determines whether this object supports an interface with the given Slice type ID.
|
2360
|
+
* @param id The fully-scoped Slice type ID.
|
2361
|
+
* @param current The Current object for the invocation.
|
2362
|
+
* @return True if this object supports the interface, false, otherwise.
|
2363
|
+
*/
|
2364
|
+
virtual bool ice_isA(const ::std::string& id, const Current& current = emptyCurrent) const;
|
2365
|
+
|
2366
|
+
/**
|
2367
|
+
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
2368
|
+
* @param current The Current object for the invocation.
|
2369
|
+
* @return A list of fully-scoped type IDs.
|
2370
|
+
*/
|
2371
|
+
virtual ::std::vector< ::std::string> ice_ids(const Current& current = emptyCurrent) const;
|
2372
|
+
|
2373
|
+
/**
|
2374
|
+
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
2375
|
+
* @param current The Current object for the invocation.
|
2376
|
+
* @return A fully-scoped type ID.
|
2377
|
+
*/
|
2378
|
+
virtual const ::std::string& ice_id(const Current& current = emptyCurrent) const;
|
2379
|
+
|
2380
|
+
/**
|
2381
|
+
* Obtains the Slice type ID corresponding to this class.
|
2382
|
+
* @return A fully-scoped type ID.
|
2383
|
+
*/
|
1132
2384
|
static const ::std::string& ice_staticId();
|
1133
2385
|
|
1134
|
-
|
2386
|
+
/**
|
2387
|
+
* Set the adapter endpoints with the locator registry.
|
2388
|
+
* @param cb The AMD callback object for the invocation.
|
2389
|
+
* @param id The adapter id.
|
2390
|
+
* @param proxy The adapter proxy (a dummy direct proxy created
|
2391
|
+
* by the adapter). The direct proxy contains the adapter
|
2392
|
+
* endpoints.
|
2393
|
+
* @param current The Current object for the invocation.
|
2394
|
+
* @throws Ice::AdapterAlreadyActiveException Raised if an adapter with the same
|
2395
|
+
* id is already active.
|
2396
|
+
* @throws Ice::AdapterNotFoundException Raised if the adapter cannot
|
2397
|
+
* be found, or if the locator only allows
|
2398
|
+
* registered adapters to set their active proxy and the
|
2399
|
+
* adapter is not registered with the locator.
|
2400
|
+
*/
|
2401
|
+
virtual void setAdapterDirectProxy_async(const ::Ice::AMD_LocatorRegistry_setAdapterDirectProxyPtr& cb, const ::std::string& id, const ObjectPrx& proxy, const Current& current = emptyCurrent) = 0;
|
2402
|
+
/// \cond INTERNAL
|
1135
2403
|
bool _iceD_setAdapterDirectProxy(::IceInternal::Incoming&, const ::Ice::Current&);
|
1136
|
-
|
1137
|
-
|
2404
|
+
/// \endcond
|
2405
|
+
|
2406
|
+
/**
|
2407
|
+
* Set the adapter endpoints with the locator registry.
|
2408
|
+
* @param cb The AMD callback object for the invocation.
|
2409
|
+
* @param adapterId The adapter id.
|
2410
|
+
* @param replicaGroupId The replica group id.
|
2411
|
+
* @param p The adapter proxy (a dummy direct proxy created
|
2412
|
+
* by the adapter). The direct proxy contains the adapter
|
2413
|
+
* endpoints.
|
2414
|
+
* @param current The Current object for the invocation.
|
2415
|
+
* @throws Ice::AdapterAlreadyActiveException Raised if an adapter with the same
|
2416
|
+
* id is already active.
|
2417
|
+
* @throws Ice::AdapterNotFoundException Raised if the adapter cannot
|
2418
|
+
* be found, or if the locator only allows registered adapters to
|
2419
|
+
* set their active proxy and the adapter is not registered with
|
2420
|
+
* the locator.
|
2421
|
+
* @throws Ice::InvalidReplicaGroupIdException Raised if the given
|
2422
|
+
* replica group doesn't match the one registered with the
|
2423
|
+
* locator registry for this object adapter.
|
2424
|
+
*/
|
2425
|
+
virtual void setReplicatedAdapterDirectProxy_async(const ::Ice::AMD_LocatorRegistry_setReplicatedAdapterDirectProxyPtr& cb, const ::std::string& adapterId, const ::std::string& replicaGroupId, const ObjectPrx& p, const Current& current = emptyCurrent) = 0;
|
2426
|
+
/// \cond INTERNAL
|
1138
2427
|
bool _iceD_setReplicatedAdapterDirectProxy(::IceInternal::Incoming&, const ::Ice::Current&);
|
1139
|
-
|
1140
|
-
|
2428
|
+
/// \endcond
|
2429
|
+
|
2430
|
+
/**
|
2431
|
+
* Set the process proxy for a server.
|
2432
|
+
* @param cb The AMD callback object for the invocation.
|
2433
|
+
* @param id The server id.
|
2434
|
+
* @param proxy The process proxy.
|
2435
|
+
* @param current The Current object for the invocation.
|
2436
|
+
* @throws Ice::ServerNotFoundException Raised if the server cannot
|
2437
|
+
* be found.
|
2438
|
+
*/
|
2439
|
+
virtual void setServerProcessProxy_async(const ::Ice::AMD_LocatorRegistry_setServerProcessProxyPtr& cb, const ::std::string& id, const ProcessPrx& proxy, const Current& current = emptyCurrent) = 0;
|
2440
|
+
/// \cond INTERNAL
|
1141
2441
|
bool _iceD_setServerProcessProxy(::IceInternal::Incoming&, const ::Ice::Current&);
|
2442
|
+
/// \endcond
|
1142
2443
|
|
1143
|
-
|
2444
|
+
/// \cond INTERNAL
|
2445
|
+
virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&);
|
2446
|
+
/// \endcond
|
1144
2447
|
|
1145
2448
|
protected:
|
1146
2449
|
|
1147
|
-
|
1148
|
-
virtual void
|
2450
|
+
/// \cond STREAM
|
2451
|
+
virtual void _iceWriteImpl(OutputStream*) const;
|
2452
|
+
virtual void _iceReadImpl(InputStream*);
|
2453
|
+
/// \endcond
|
1149
2454
|
};
|
1150
2455
|
|
2456
|
+
/// \cond INTERNAL
|
1151
2457
|
inline bool operator==(const LocatorRegistry& lhs, const LocatorRegistry& rhs)
|
1152
2458
|
{
|
1153
|
-
return static_cast<const
|
2459
|
+
return static_cast<const Object&>(lhs) == static_cast<const Object&>(rhs);
|
1154
2460
|
}
|
1155
2461
|
|
1156
2462
|
inline bool operator<(const LocatorRegistry& lhs, const LocatorRegistry& rhs)
|
1157
2463
|
{
|
1158
|
-
return static_cast<const
|
2464
|
+
return static_cast<const Object&>(lhs) < static_cast<const Object&>(rhs);
|
1159
2465
|
}
|
2466
|
+
/// \endcond
|
1160
2467
|
|
1161
|
-
|
2468
|
+
/**
|
2469
|
+
* This inferface should be implemented by services implementing the
|
2470
|
+
* Ice::Locator interface. It should be advertised through an Ice
|
2471
|
+
* object with the identity `Ice/LocatorFinder'. This allows clients
|
2472
|
+
* to retrieve the locator proxy with just the endpoint information of
|
2473
|
+
* the service.
|
2474
|
+
* \headerfile Ice/Ice.h
|
2475
|
+
*/
|
2476
|
+
class ICE_API LocatorFinder : public virtual Object
|
1162
2477
|
{
|
1163
2478
|
public:
|
1164
2479
|
|
@@ -1167,35 +2482,72 @@ public:
|
|
1167
2482
|
|
1168
2483
|
virtual ~LocatorFinder();
|
1169
2484
|
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
2485
|
+
/**
|
2486
|
+
* Determines whether this object supports an interface with the given Slice type ID.
|
2487
|
+
* @param id The fully-scoped Slice type ID.
|
2488
|
+
* @param current The Current object for the invocation.
|
2489
|
+
* @return True if this object supports the interface, false, otherwise.
|
2490
|
+
*/
|
2491
|
+
virtual bool ice_isA(const ::std::string& id, const Current& current = emptyCurrent) const;
|
2492
|
+
|
2493
|
+
/**
|
2494
|
+
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
2495
|
+
* @param current The Current object for the invocation.
|
2496
|
+
* @return A list of fully-scoped type IDs.
|
2497
|
+
*/
|
2498
|
+
virtual ::std::vector< ::std::string> ice_ids(const Current& current = emptyCurrent) const;
|
2499
|
+
|
2500
|
+
/**
|
2501
|
+
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
2502
|
+
* @param current The Current object for the invocation.
|
2503
|
+
* @return A fully-scoped type ID.
|
2504
|
+
*/
|
2505
|
+
virtual const ::std::string& ice_id(const Current& current = emptyCurrent) const;
|
2506
|
+
|
2507
|
+
/**
|
2508
|
+
* Obtains the Slice type ID corresponding to this class.
|
2509
|
+
* @return A fully-scoped type ID.
|
2510
|
+
*/
|
1174
2511
|
static const ::std::string& ice_staticId();
|
1175
2512
|
|
1176
|
-
|
2513
|
+
/**
|
2514
|
+
* Get the locator proxy implemented by the process hosting this
|
2515
|
+
* finder object. The proxy might point to several replicas.
|
2516
|
+
* @param current The Current object for the invocation.
|
2517
|
+
* @return The locator proxy.
|
2518
|
+
*/
|
2519
|
+
virtual LocatorPrx getLocator(const Current& current = emptyCurrent) = 0;
|
2520
|
+
/// \cond INTERNAL
|
1177
2521
|
bool _iceD_getLocator(::IceInternal::Incoming&, const ::Ice::Current&);
|
2522
|
+
/// \endcond
|
1178
2523
|
|
1179
|
-
|
2524
|
+
/// \cond INTERNAL
|
2525
|
+
virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&);
|
2526
|
+
/// \endcond
|
1180
2527
|
|
1181
2528
|
protected:
|
1182
2529
|
|
1183
|
-
|
1184
|
-
virtual void
|
2530
|
+
/// \cond STREAM
|
2531
|
+
virtual void _iceWriteImpl(OutputStream*) const;
|
2532
|
+
virtual void _iceReadImpl(InputStream*);
|
2533
|
+
/// \endcond
|
1185
2534
|
};
|
1186
2535
|
|
2536
|
+
/// \cond INTERNAL
|
1187
2537
|
inline bool operator==(const LocatorFinder& lhs, const LocatorFinder& rhs)
|
1188
2538
|
{
|
1189
|
-
return static_cast<const
|
2539
|
+
return static_cast<const Object&>(lhs) == static_cast<const Object&>(rhs);
|
1190
2540
|
}
|
1191
2541
|
|
1192
2542
|
inline bool operator<(const LocatorFinder& lhs, const LocatorFinder& rhs)
|
1193
2543
|
{
|
1194
|
-
return static_cast<const
|
2544
|
+
return static_cast<const Object&>(lhs) < static_cast<const Object&>(rhs);
|
1195
2545
|
}
|
2546
|
+
/// \endcond
|
1196
2547
|
|
1197
2548
|
}
|
1198
2549
|
|
2550
|
+
/// \cond STREAM
|
1199
2551
|
namespace Ice
|
1200
2552
|
{
|
1201
2553
|
|
@@ -1230,10 +2582,16 @@ struct StreamableTraits< ::Ice::ServerNotFoundException>
|
|
1230
2582
|
};
|
1231
2583
|
|
1232
2584
|
}
|
2585
|
+
/// \endcond
|
1233
2586
|
|
1234
2587
|
namespace Ice
|
1235
2588
|
{
|
1236
2589
|
|
2590
|
+
/**
|
2591
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
2592
|
+
* IceProxy::Ice::Locator::begin_findObjectById.
|
2593
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Locator_findObjectById.
|
2594
|
+
*/
|
1237
2595
|
template<class T>
|
1238
2596
|
class CallbackNC_Locator_findObjectById : public Callback_Locator_findObjectById_Base, public ::IceInternal::TwowayCallbackNC<T>
|
1239
2597
|
{
|
@@ -1243,17 +2601,18 @@ public:
|
|
1243
2601
|
|
1244
2602
|
typedef void (T::*Exception)(const ::Ice::Exception&);
|
1245
2603
|
typedef void (T::*Sent)(bool);
|
1246
|
-
typedef void (T::*Response)(const
|
2604
|
+
typedef void (T::*Response)(const ObjectPrx&);
|
1247
2605
|
|
1248
2606
|
CallbackNC_Locator_findObjectById(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
1249
2607
|
: ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
|
1250
2608
|
{
|
1251
2609
|
}
|
1252
2610
|
|
1253
|
-
|
2611
|
+
/// \cond INTERNAL
|
2612
|
+
virtual void completed(const AsyncResultPtr& result) const
|
1254
2613
|
{
|
1255
|
-
|
1256
|
-
|
2614
|
+
LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
|
2615
|
+
ObjectPrx ret;
|
1257
2616
|
try
|
1258
2617
|
{
|
1259
2618
|
ret = proxy->end_findObjectById(result);
|
@@ -1268,24 +2627,46 @@ public:
|
|
1268
2627
|
(::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
|
1269
2628
|
}
|
1270
2629
|
}
|
2630
|
+
/// \endcond
|
1271
2631
|
|
1272
2632
|
private:
|
1273
2633
|
|
1274
2634
|
Response _response;
|
1275
2635
|
};
|
1276
2636
|
|
2637
|
+
/**
|
2638
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2639
|
+
* @param instance The callback object.
|
2640
|
+
* @param cb The success method of the callback object.
|
2641
|
+
* @param excb The exception method of the callback object.
|
2642
|
+
* @param sentcb The sent method of the callback object.
|
2643
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_findObjectById.
|
2644
|
+
*/
|
1277
2645
|
template<class T> Callback_Locator_findObjectByIdPtr
|
1278
|
-
newCallback_Locator_findObjectById(const IceUtil::Handle<T>& instance, void (T::*cb)(const
|
2646
|
+
newCallback_Locator_findObjectById(const IceUtil::Handle<T>& instance, void (T::*cb)(const ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1279
2647
|
{
|
1280
2648
|
return new CallbackNC_Locator_findObjectById<T>(instance, cb, excb, sentcb);
|
1281
2649
|
}
|
1282
2650
|
|
2651
|
+
/**
|
2652
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2653
|
+
* @param instance The callback object.
|
2654
|
+
* @param cb The success method of the callback object.
|
2655
|
+
* @param excb The exception method of the callback object.
|
2656
|
+
* @param sentcb The sent method of the callback object.
|
2657
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_findObjectById.
|
2658
|
+
*/
|
1283
2659
|
template<class T> Callback_Locator_findObjectByIdPtr
|
1284
|
-
newCallback_Locator_findObjectById(T* instance, void (T::*cb)(const
|
2660
|
+
newCallback_Locator_findObjectById(T* instance, void (T::*cb)(const ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1285
2661
|
{
|
1286
2662
|
return new CallbackNC_Locator_findObjectById<T>(instance, cb, excb, sentcb);
|
1287
2663
|
}
|
1288
2664
|
|
2665
|
+
/**
|
2666
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
2667
|
+
* IceProxy::Ice::Locator::begin_findObjectById.
|
2668
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Locator_findObjectById.
|
2669
|
+
*/
|
1289
2670
|
template<class T, typename CT>
|
1290
2671
|
class Callback_Locator_findObjectById : public Callback_Locator_findObjectById_Base, public ::IceInternal::TwowayCallback<T, CT>
|
1291
2672
|
{
|
@@ -1295,17 +2676,18 @@ public:
|
|
1295
2676
|
|
1296
2677
|
typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
|
1297
2678
|
typedef void (T::*Sent)(bool , const CT&);
|
1298
|
-
typedef void (T::*Response)(const
|
2679
|
+
typedef void (T::*Response)(const ObjectPrx&, const CT&);
|
1299
2680
|
|
1300
2681
|
Callback_Locator_findObjectById(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
1301
2682
|
: ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
|
1302
2683
|
{
|
1303
2684
|
}
|
1304
2685
|
|
1305
|
-
|
2686
|
+
/// \cond INTERNAL
|
2687
|
+
virtual void completed(const AsyncResultPtr& result) const
|
1306
2688
|
{
|
1307
|
-
|
1308
|
-
|
2689
|
+
LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
|
2690
|
+
ObjectPrx ret;
|
1309
2691
|
try
|
1310
2692
|
{
|
1311
2693
|
ret = proxy->end_findObjectById(result);
|
@@ -1320,24 +2702,48 @@ public:
|
|
1320
2702
|
(::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
|
1321
2703
|
}
|
1322
2704
|
}
|
2705
|
+
/// \endcond
|
1323
2706
|
|
1324
2707
|
private:
|
1325
2708
|
|
1326
2709
|
Response _response;
|
1327
2710
|
};
|
1328
2711
|
|
2712
|
+
/**
|
2713
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2714
|
+
* Use this overload when your callback methods receive a cookie value.
|
2715
|
+
* @param instance The callback object.
|
2716
|
+
* @param cb The success method of the callback object.
|
2717
|
+
* @param excb The exception method of the callback object.
|
2718
|
+
* @param sentcb The sent method of the callback object.
|
2719
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_findObjectById.
|
2720
|
+
*/
|
1329
2721
|
template<class T, typename CT> Callback_Locator_findObjectByIdPtr
|
1330
|
-
newCallback_Locator_findObjectById(const IceUtil::Handle<T>& instance, void (T::*cb)(const
|
2722
|
+
newCallback_Locator_findObjectById(const IceUtil::Handle<T>& instance, void (T::*cb)(const ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1331
2723
|
{
|
1332
2724
|
return new Callback_Locator_findObjectById<T, CT>(instance, cb, excb, sentcb);
|
1333
2725
|
}
|
1334
2726
|
|
2727
|
+
/**
|
2728
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2729
|
+
* Use this overload when your callback methods receive a cookie value.
|
2730
|
+
* @param instance The callback object.
|
2731
|
+
* @param cb The success method of the callback object.
|
2732
|
+
* @param excb The exception method of the callback object.
|
2733
|
+
* @param sentcb The sent method of the callback object.
|
2734
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_findObjectById.
|
2735
|
+
*/
|
1335
2736
|
template<class T, typename CT> Callback_Locator_findObjectByIdPtr
|
1336
|
-
newCallback_Locator_findObjectById(T* instance, void (T::*cb)(const
|
2737
|
+
newCallback_Locator_findObjectById(T* instance, void (T::*cb)(const ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1337
2738
|
{
|
1338
2739
|
return new Callback_Locator_findObjectById<T, CT>(instance, cb, excb, sentcb);
|
1339
2740
|
}
|
1340
2741
|
|
2742
|
+
/**
|
2743
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
2744
|
+
* IceProxy::Ice::Locator::begin_findAdapterById.
|
2745
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Locator_findAdapterById.
|
2746
|
+
*/
|
1341
2747
|
template<class T>
|
1342
2748
|
class CallbackNC_Locator_findAdapterById : public Callback_Locator_findAdapterById_Base, public ::IceInternal::TwowayCallbackNC<T>
|
1343
2749
|
{
|
@@ -1347,17 +2753,18 @@ public:
|
|
1347
2753
|
|
1348
2754
|
typedef void (T::*Exception)(const ::Ice::Exception&);
|
1349
2755
|
typedef void (T::*Sent)(bool);
|
1350
|
-
typedef void (T::*Response)(const
|
2756
|
+
typedef void (T::*Response)(const ObjectPrx&);
|
1351
2757
|
|
1352
2758
|
CallbackNC_Locator_findAdapterById(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
1353
2759
|
: ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
|
1354
2760
|
{
|
1355
2761
|
}
|
1356
2762
|
|
1357
|
-
|
2763
|
+
/// \cond INTERNAL
|
2764
|
+
virtual void completed(const AsyncResultPtr& result) const
|
1358
2765
|
{
|
1359
|
-
|
1360
|
-
|
2766
|
+
LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
|
2767
|
+
ObjectPrx ret;
|
1361
2768
|
try
|
1362
2769
|
{
|
1363
2770
|
ret = proxy->end_findAdapterById(result);
|
@@ -1372,24 +2779,46 @@ public:
|
|
1372
2779
|
(::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
|
1373
2780
|
}
|
1374
2781
|
}
|
2782
|
+
/// \endcond
|
1375
2783
|
|
1376
2784
|
private:
|
1377
2785
|
|
1378
2786
|
Response _response;
|
1379
2787
|
};
|
1380
2788
|
|
2789
|
+
/**
|
2790
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2791
|
+
* @param instance The callback object.
|
2792
|
+
* @param cb The success method of the callback object.
|
2793
|
+
* @param excb The exception method of the callback object.
|
2794
|
+
* @param sentcb The sent method of the callback object.
|
2795
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_findAdapterById.
|
2796
|
+
*/
|
1381
2797
|
template<class T> Callback_Locator_findAdapterByIdPtr
|
1382
|
-
newCallback_Locator_findAdapterById(const IceUtil::Handle<T>& instance, void (T::*cb)(const
|
2798
|
+
newCallback_Locator_findAdapterById(const IceUtil::Handle<T>& instance, void (T::*cb)(const ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1383
2799
|
{
|
1384
2800
|
return new CallbackNC_Locator_findAdapterById<T>(instance, cb, excb, sentcb);
|
1385
2801
|
}
|
1386
2802
|
|
2803
|
+
/**
|
2804
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2805
|
+
* @param instance The callback object.
|
2806
|
+
* @param cb The success method of the callback object.
|
2807
|
+
* @param excb The exception method of the callback object.
|
2808
|
+
* @param sentcb The sent method of the callback object.
|
2809
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_findAdapterById.
|
2810
|
+
*/
|
1387
2811
|
template<class T> Callback_Locator_findAdapterByIdPtr
|
1388
|
-
newCallback_Locator_findAdapterById(T* instance, void (T::*cb)(const
|
2812
|
+
newCallback_Locator_findAdapterById(T* instance, void (T::*cb)(const ObjectPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1389
2813
|
{
|
1390
2814
|
return new CallbackNC_Locator_findAdapterById<T>(instance, cb, excb, sentcb);
|
1391
2815
|
}
|
1392
2816
|
|
2817
|
+
/**
|
2818
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
2819
|
+
* IceProxy::Ice::Locator::begin_findAdapterById.
|
2820
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Locator_findAdapterById.
|
2821
|
+
*/
|
1393
2822
|
template<class T, typename CT>
|
1394
2823
|
class Callback_Locator_findAdapterById : public Callback_Locator_findAdapterById_Base, public ::IceInternal::TwowayCallback<T, CT>
|
1395
2824
|
{
|
@@ -1399,17 +2828,18 @@ public:
|
|
1399
2828
|
|
1400
2829
|
typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
|
1401
2830
|
typedef void (T::*Sent)(bool , const CT&);
|
1402
|
-
typedef void (T::*Response)(const
|
2831
|
+
typedef void (T::*Response)(const ObjectPrx&, const CT&);
|
1403
2832
|
|
1404
2833
|
Callback_Locator_findAdapterById(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
1405
2834
|
: ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
|
1406
2835
|
{
|
1407
2836
|
}
|
1408
2837
|
|
1409
|
-
|
2838
|
+
/// \cond INTERNAL
|
2839
|
+
virtual void completed(const AsyncResultPtr& result) const
|
1410
2840
|
{
|
1411
|
-
|
1412
|
-
|
2841
|
+
LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
|
2842
|
+
ObjectPrx ret;
|
1413
2843
|
try
|
1414
2844
|
{
|
1415
2845
|
ret = proxy->end_findAdapterById(result);
|
@@ -1424,24 +2854,48 @@ public:
|
|
1424
2854
|
(::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
|
1425
2855
|
}
|
1426
2856
|
}
|
2857
|
+
/// \endcond
|
1427
2858
|
|
1428
2859
|
private:
|
1429
2860
|
|
1430
2861
|
Response _response;
|
1431
2862
|
};
|
1432
2863
|
|
2864
|
+
/**
|
2865
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2866
|
+
* Use this overload when your callback methods receive a cookie value.
|
2867
|
+
* @param instance The callback object.
|
2868
|
+
* @param cb The success method of the callback object.
|
2869
|
+
* @param excb The exception method of the callback object.
|
2870
|
+
* @param sentcb The sent method of the callback object.
|
2871
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_findAdapterById.
|
2872
|
+
*/
|
1433
2873
|
template<class T, typename CT> Callback_Locator_findAdapterByIdPtr
|
1434
|
-
newCallback_Locator_findAdapterById(const IceUtil::Handle<T>& instance, void (T::*cb)(const
|
2874
|
+
newCallback_Locator_findAdapterById(const IceUtil::Handle<T>& instance, void (T::*cb)(const ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1435
2875
|
{
|
1436
2876
|
return new Callback_Locator_findAdapterById<T, CT>(instance, cb, excb, sentcb);
|
1437
2877
|
}
|
1438
2878
|
|
2879
|
+
/**
|
2880
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2881
|
+
* Use this overload when your callback methods receive a cookie value.
|
2882
|
+
* @param instance The callback object.
|
2883
|
+
* @param cb The success method of the callback object.
|
2884
|
+
* @param excb The exception method of the callback object.
|
2885
|
+
* @param sentcb The sent method of the callback object.
|
2886
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_findAdapterById.
|
2887
|
+
*/
|
1439
2888
|
template<class T, typename CT> Callback_Locator_findAdapterByIdPtr
|
1440
|
-
newCallback_Locator_findAdapterById(T* instance, void (T::*cb)(const
|
2889
|
+
newCallback_Locator_findAdapterById(T* instance, void (T::*cb)(const ObjectPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1441
2890
|
{
|
1442
2891
|
return new Callback_Locator_findAdapterById<T, CT>(instance, cb, excb, sentcb);
|
1443
2892
|
}
|
1444
2893
|
|
2894
|
+
/**
|
2895
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
2896
|
+
* IceProxy::Ice::Locator::begin_getRegistry.
|
2897
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Locator_getRegistry.
|
2898
|
+
*/
|
1445
2899
|
template<class T>
|
1446
2900
|
class CallbackNC_Locator_getRegistry : public Callback_Locator_getRegistry_Base, public ::IceInternal::TwowayCallbackNC<T>
|
1447
2901
|
{
|
@@ -1451,17 +2905,18 @@ public:
|
|
1451
2905
|
|
1452
2906
|
typedef void (T::*Exception)(const ::Ice::Exception&);
|
1453
2907
|
typedef void (T::*Sent)(bool);
|
1454
|
-
typedef void (T::*Response)(const
|
2908
|
+
typedef void (T::*Response)(const LocatorRegistryPrx&);
|
1455
2909
|
|
1456
2910
|
CallbackNC_Locator_getRegistry(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
1457
2911
|
: ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
|
1458
2912
|
{
|
1459
2913
|
}
|
1460
2914
|
|
1461
|
-
|
2915
|
+
/// \cond INTERNAL
|
2916
|
+
virtual void completed(const AsyncResultPtr& result) const
|
1462
2917
|
{
|
1463
|
-
|
1464
|
-
|
2918
|
+
LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
|
2919
|
+
LocatorRegistryPrx ret;
|
1465
2920
|
try
|
1466
2921
|
{
|
1467
2922
|
ret = proxy->end_getRegistry(result);
|
@@ -1476,24 +2931,46 @@ public:
|
|
1476
2931
|
(::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
|
1477
2932
|
}
|
1478
2933
|
}
|
2934
|
+
/// \endcond
|
1479
2935
|
|
1480
2936
|
private:
|
1481
2937
|
|
1482
2938
|
Response _response;
|
1483
2939
|
};
|
1484
2940
|
|
2941
|
+
/**
|
2942
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2943
|
+
* @param instance The callback object.
|
2944
|
+
* @param cb The success method of the callback object.
|
2945
|
+
* @param excb The exception method of the callback object.
|
2946
|
+
* @param sentcb The sent method of the callback object.
|
2947
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_getRegistry.
|
2948
|
+
*/
|
1485
2949
|
template<class T> Callback_Locator_getRegistryPtr
|
1486
|
-
newCallback_Locator_getRegistry(const IceUtil::Handle<T>& instance, void (T::*cb)(const
|
2950
|
+
newCallback_Locator_getRegistry(const IceUtil::Handle<T>& instance, void (T::*cb)(const LocatorRegistryPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1487
2951
|
{
|
1488
2952
|
return new CallbackNC_Locator_getRegistry<T>(instance, cb, excb, sentcb);
|
1489
2953
|
}
|
1490
2954
|
|
2955
|
+
/**
|
2956
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2957
|
+
* @param instance The callback object.
|
2958
|
+
* @param cb The success method of the callback object.
|
2959
|
+
* @param excb The exception method of the callback object.
|
2960
|
+
* @param sentcb The sent method of the callback object.
|
2961
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_getRegistry.
|
2962
|
+
*/
|
1491
2963
|
template<class T> Callback_Locator_getRegistryPtr
|
1492
|
-
newCallback_Locator_getRegistry(T* instance, void (T::*cb)(const
|
2964
|
+
newCallback_Locator_getRegistry(T* instance, void (T::*cb)(const LocatorRegistryPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1493
2965
|
{
|
1494
2966
|
return new CallbackNC_Locator_getRegistry<T>(instance, cb, excb, sentcb);
|
1495
2967
|
}
|
1496
2968
|
|
2969
|
+
/**
|
2970
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
2971
|
+
* IceProxy::Ice::Locator::begin_getRegistry.
|
2972
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Locator_getRegistry.
|
2973
|
+
*/
|
1497
2974
|
template<class T, typename CT>
|
1498
2975
|
class Callback_Locator_getRegistry : public Callback_Locator_getRegistry_Base, public ::IceInternal::TwowayCallback<T, CT>
|
1499
2976
|
{
|
@@ -1503,17 +2980,18 @@ public:
|
|
1503
2980
|
|
1504
2981
|
typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
|
1505
2982
|
typedef void (T::*Sent)(bool , const CT&);
|
1506
|
-
typedef void (T::*Response)(const
|
2983
|
+
typedef void (T::*Response)(const LocatorRegistryPrx&, const CT&);
|
1507
2984
|
|
1508
2985
|
Callback_Locator_getRegistry(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
1509
2986
|
: ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
|
1510
2987
|
{
|
1511
2988
|
}
|
1512
2989
|
|
1513
|
-
|
2990
|
+
/// \cond INTERNAL
|
2991
|
+
virtual void completed(const AsyncResultPtr& result) const
|
1514
2992
|
{
|
1515
|
-
|
1516
|
-
|
2993
|
+
LocatorPrx proxy = LocatorPrx::uncheckedCast(result->getProxy());
|
2994
|
+
LocatorRegistryPrx ret;
|
1517
2995
|
try
|
1518
2996
|
{
|
1519
2997
|
ret = proxy->end_getRegistry(result);
|
@@ -1528,24 +3006,48 @@ public:
|
|
1528
3006
|
(::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
|
1529
3007
|
}
|
1530
3008
|
}
|
3009
|
+
/// \endcond
|
1531
3010
|
|
1532
3011
|
private:
|
1533
3012
|
|
1534
3013
|
Response _response;
|
1535
3014
|
};
|
1536
3015
|
|
3016
|
+
/**
|
3017
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3018
|
+
* Use this overload when your callback methods receive a cookie value.
|
3019
|
+
* @param instance The callback object.
|
3020
|
+
* @param cb The success method of the callback object.
|
3021
|
+
* @param excb The exception method of the callback object.
|
3022
|
+
* @param sentcb The sent method of the callback object.
|
3023
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_getRegistry.
|
3024
|
+
*/
|
1537
3025
|
template<class T, typename CT> Callback_Locator_getRegistryPtr
|
1538
|
-
newCallback_Locator_getRegistry(const IceUtil::Handle<T>& instance, void (T::*cb)(const
|
3026
|
+
newCallback_Locator_getRegistry(const IceUtil::Handle<T>& instance, void (T::*cb)(const LocatorRegistryPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1539
3027
|
{
|
1540
3028
|
return new Callback_Locator_getRegistry<T, CT>(instance, cb, excb, sentcb);
|
1541
3029
|
}
|
1542
3030
|
|
3031
|
+
/**
|
3032
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3033
|
+
* Use this overload when your callback methods receive a cookie value.
|
3034
|
+
* @param instance The callback object.
|
3035
|
+
* @param cb The success method of the callback object.
|
3036
|
+
* @param excb The exception method of the callback object.
|
3037
|
+
* @param sentcb The sent method of the callback object.
|
3038
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Locator::begin_getRegistry.
|
3039
|
+
*/
|
1543
3040
|
template<class T, typename CT> Callback_Locator_getRegistryPtr
|
1544
|
-
newCallback_Locator_getRegistry(T* instance, void (T::*cb)(const
|
3041
|
+
newCallback_Locator_getRegistry(T* instance, void (T::*cb)(const LocatorRegistryPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1545
3042
|
{
|
1546
3043
|
return new Callback_Locator_getRegistry<T, CT>(instance, cb, excb, sentcb);
|
1547
3044
|
}
|
1548
3045
|
|
3046
|
+
/**
|
3047
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
3048
|
+
* IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
|
3049
|
+
* Create a wrapper instance by calling ::Ice::newCallback_LocatorRegistry_setAdapterDirectProxy.
|
3050
|
+
*/
|
1549
3051
|
template<class T>
|
1550
3052
|
class CallbackNC_LocatorRegistry_setAdapterDirectProxy : public Callback_LocatorRegistry_setAdapterDirectProxy_Base, public ::IceInternal::TwowayCallbackNC<T>
|
1551
3053
|
{
|
@@ -1562,9 +3064,10 @@ public:
|
|
1562
3064
|
{
|
1563
3065
|
}
|
1564
3066
|
|
1565
|
-
|
3067
|
+
/// \cond INTERNAL
|
3068
|
+
virtual void completed(const AsyncResultPtr& result) const
|
1566
3069
|
{
|
1567
|
-
|
3070
|
+
LocatorRegistryPrx proxy = LocatorRegistryPrx::uncheckedCast(result->getProxy());
|
1568
3071
|
try
|
1569
3072
|
{
|
1570
3073
|
proxy->end_setAdapterDirectProxy(result);
|
@@ -1579,36 +3082,72 @@ public:
|
|
1579
3082
|
(::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
|
1580
3083
|
}
|
1581
3084
|
}
|
3085
|
+
/// \endcond
|
1582
3086
|
|
1583
3087
|
private:
|
1584
3088
|
|
1585
3089
|
Response _response;
|
1586
3090
|
};
|
1587
3091
|
|
3092
|
+
/**
|
3093
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3094
|
+
* @param instance The callback object.
|
3095
|
+
* @param cb The success method of the callback object.
|
3096
|
+
* @param excb The exception method of the callback object.
|
3097
|
+
* @param sentcb The sent method of the callback object.
|
3098
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
|
3099
|
+
*/
|
1588
3100
|
template<class T> Callback_LocatorRegistry_setAdapterDirectProxyPtr
|
1589
3101
|
newCallback_LocatorRegistry_setAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1590
3102
|
{
|
1591
3103
|
return new CallbackNC_LocatorRegistry_setAdapterDirectProxy<T>(instance, cb, excb, sentcb);
|
1592
3104
|
}
|
1593
3105
|
|
3106
|
+
/**
|
3107
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3108
|
+
* @param instance The callback object.
|
3109
|
+
* @param excb The exception method of the callback object.
|
3110
|
+
* @param sentcb The sent method of the callback object.
|
3111
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
|
3112
|
+
*/
|
1594
3113
|
template<class T> Callback_LocatorRegistry_setAdapterDirectProxyPtr
|
1595
3114
|
newCallback_LocatorRegistry_setAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1596
3115
|
{
|
1597
3116
|
return new CallbackNC_LocatorRegistry_setAdapterDirectProxy<T>(instance, 0, excb, sentcb);
|
1598
3117
|
}
|
1599
3118
|
|
3119
|
+
/**
|
3120
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3121
|
+
* @param instance The callback object.
|
3122
|
+
* @param cb The success method of the callback object.
|
3123
|
+
* @param excb The exception method of the callback object.
|
3124
|
+
* @param sentcb The sent method of the callback object.
|
3125
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
|
3126
|
+
*/
|
1600
3127
|
template<class T> Callback_LocatorRegistry_setAdapterDirectProxyPtr
|
1601
3128
|
newCallback_LocatorRegistry_setAdapterDirectProxy(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1602
3129
|
{
|
1603
3130
|
return new CallbackNC_LocatorRegistry_setAdapterDirectProxy<T>(instance, cb, excb, sentcb);
|
1604
3131
|
}
|
1605
3132
|
|
3133
|
+
/**
|
3134
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3135
|
+
* @param instance The callback object.
|
3136
|
+
* @param excb The exception method of the callback object.
|
3137
|
+
* @param sentcb The sent method of the callback object.
|
3138
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
|
3139
|
+
*/
|
1606
3140
|
template<class T> Callback_LocatorRegistry_setAdapterDirectProxyPtr
|
1607
3141
|
newCallback_LocatorRegistry_setAdapterDirectProxy(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1608
3142
|
{
|
1609
3143
|
return new CallbackNC_LocatorRegistry_setAdapterDirectProxy<T>(instance, 0, excb, sentcb);
|
1610
3144
|
}
|
1611
3145
|
|
3146
|
+
/**
|
3147
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
3148
|
+
* IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
|
3149
|
+
* Create a wrapper instance by calling ::Ice::newCallback_LocatorRegistry_setAdapterDirectProxy.
|
3150
|
+
*/
|
1612
3151
|
template<class T, typename CT>
|
1613
3152
|
class Callback_LocatorRegistry_setAdapterDirectProxy : public Callback_LocatorRegistry_setAdapterDirectProxy_Base, public ::IceInternal::TwowayCallback<T, CT>
|
1614
3153
|
{
|
@@ -1625,9 +3164,10 @@ public:
|
|
1625
3164
|
{
|
1626
3165
|
}
|
1627
3166
|
|
1628
|
-
|
3167
|
+
/// \cond INTERNAL
|
3168
|
+
virtual void completed(const AsyncResultPtr& result) const
|
1629
3169
|
{
|
1630
|
-
|
3170
|
+
LocatorRegistryPrx proxy = LocatorRegistryPrx::uncheckedCast(result->getProxy());
|
1631
3171
|
try
|
1632
3172
|
{
|
1633
3173
|
proxy->end_setAdapterDirectProxy(result);
|
@@ -1642,36 +3182,76 @@ public:
|
|
1642
3182
|
(::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
|
1643
3183
|
}
|
1644
3184
|
}
|
3185
|
+
/// \endcond
|
1645
3186
|
|
1646
3187
|
private:
|
1647
3188
|
|
1648
3189
|
Response _response;
|
1649
3190
|
};
|
1650
3191
|
|
3192
|
+
/**
|
3193
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3194
|
+
* Use this overload when your callback methods receive a cookie value.
|
3195
|
+
* @param instance The callback object.
|
3196
|
+
* @param cb The success method of the callback object.
|
3197
|
+
* @param excb The exception method of the callback object.
|
3198
|
+
* @param sentcb The sent method of the callback object.
|
3199
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
|
3200
|
+
*/
|
1651
3201
|
template<class T, typename CT> Callback_LocatorRegistry_setAdapterDirectProxyPtr
|
1652
3202
|
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
3203
|
{
|
1654
3204
|
return new Callback_LocatorRegistry_setAdapterDirectProxy<T, CT>(instance, cb, excb, sentcb);
|
1655
3205
|
}
|
1656
3206
|
|
3207
|
+
/**
|
3208
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3209
|
+
* Use this overload when your callback methods receive a cookie value.
|
3210
|
+
* @param instance The callback object.
|
3211
|
+
* @param excb The exception method of the callback object.
|
3212
|
+
* @param sentcb The sent method of the callback object.
|
3213
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
|
3214
|
+
*/
|
1657
3215
|
template<class T, typename CT> Callback_LocatorRegistry_setAdapterDirectProxyPtr
|
1658
3216
|
newCallback_LocatorRegistry_setAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1659
3217
|
{
|
1660
3218
|
return new Callback_LocatorRegistry_setAdapterDirectProxy<T, CT>(instance, 0, excb, sentcb);
|
1661
3219
|
}
|
1662
3220
|
|
3221
|
+
/**
|
3222
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3223
|
+
* Use this overload when your callback methods receive a cookie value.
|
3224
|
+
* @param instance The callback object.
|
3225
|
+
* @param cb The success method of the callback object.
|
3226
|
+
* @param excb The exception method of the callback object.
|
3227
|
+
* @param sentcb The sent method of the callback object.
|
3228
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
|
3229
|
+
*/
|
1663
3230
|
template<class T, typename CT> Callback_LocatorRegistry_setAdapterDirectProxyPtr
|
1664
3231
|
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
3232
|
{
|
1666
3233
|
return new Callback_LocatorRegistry_setAdapterDirectProxy<T, CT>(instance, cb, excb, sentcb);
|
1667
3234
|
}
|
1668
3235
|
|
3236
|
+
/**
|
3237
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3238
|
+
* Use this overload when your callback methods receive a cookie value.
|
3239
|
+
* @param instance The callback object.
|
3240
|
+
* @param excb The exception method of the callback object.
|
3241
|
+
* @param sentcb The sent method of the callback object.
|
3242
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setAdapterDirectProxy.
|
3243
|
+
*/
|
1669
3244
|
template<class T, typename CT> Callback_LocatorRegistry_setAdapterDirectProxyPtr
|
1670
3245
|
newCallback_LocatorRegistry_setAdapterDirectProxy(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1671
3246
|
{
|
1672
3247
|
return new Callback_LocatorRegistry_setAdapterDirectProxy<T, CT>(instance, 0, excb, sentcb);
|
1673
3248
|
}
|
1674
3249
|
|
3250
|
+
/**
|
3251
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
3252
|
+
* IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
|
3253
|
+
* Create a wrapper instance by calling ::Ice::newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy.
|
3254
|
+
*/
|
1675
3255
|
template<class T>
|
1676
3256
|
class CallbackNC_LocatorRegistry_setReplicatedAdapterDirectProxy : public Callback_LocatorRegistry_setReplicatedAdapterDirectProxy_Base, public ::IceInternal::TwowayCallbackNC<T>
|
1677
3257
|
{
|
@@ -1688,9 +3268,10 @@ public:
|
|
1688
3268
|
{
|
1689
3269
|
}
|
1690
3270
|
|
1691
|
-
|
3271
|
+
/// \cond INTERNAL
|
3272
|
+
virtual void completed(const AsyncResultPtr& result) const
|
1692
3273
|
{
|
1693
|
-
|
3274
|
+
LocatorRegistryPrx proxy = LocatorRegistryPrx::uncheckedCast(result->getProxy());
|
1694
3275
|
try
|
1695
3276
|
{
|
1696
3277
|
proxy->end_setReplicatedAdapterDirectProxy(result);
|
@@ -1705,36 +3286,72 @@ public:
|
|
1705
3286
|
(::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
|
1706
3287
|
}
|
1707
3288
|
}
|
3289
|
+
/// \endcond
|
1708
3290
|
|
1709
3291
|
private:
|
1710
3292
|
|
1711
3293
|
Response _response;
|
1712
3294
|
};
|
1713
3295
|
|
3296
|
+
/**
|
3297
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3298
|
+
* @param instance The callback object.
|
3299
|
+
* @param cb The success method of the callback object.
|
3300
|
+
* @param excb The exception method of the callback object.
|
3301
|
+
* @param sentcb The sent method of the callback object.
|
3302
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
|
3303
|
+
*/
|
1714
3304
|
template<class T> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
|
1715
3305
|
newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1716
3306
|
{
|
1717
3307
|
return new CallbackNC_LocatorRegistry_setReplicatedAdapterDirectProxy<T>(instance, cb, excb, sentcb);
|
1718
3308
|
}
|
1719
3309
|
|
3310
|
+
/**
|
3311
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3312
|
+
* @param instance The callback object.
|
3313
|
+
* @param excb The exception method of the callback object.
|
3314
|
+
* @param sentcb The sent method of the callback object.
|
3315
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
|
3316
|
+
*/
|
1720
3317
|
template<class T> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
|
1721
3318
|
newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1722
3319
|
{
|
1723
3320
|
return new CallbackNC_LocatorRegistry_setReplicatedAdapterDirectProxy<T>(instance, 0, excb, sentcb);
|
1724
3321
|
}
|
1725
3322
|
|
3323
|
+
/**
|
3324
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3325
|
+
* @param instance The callback object.
|
3326
|
+
* @param cb The success method of the callback object.
|
3327
|
+
* @param excb The exception method of the callback object.
|
3328
|
+
* @param sentcb The sent method of the callback object.
|
3329
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
|
3330
|
+
*/
|
1726
3331
|
template<class T> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
|
1727
3332
|
newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1728
3333
|
{
|
1729
3334
|
return new CallbackNC_LocatorRegistry_setReplicatedAdapterDirectProxy<T>(instance, cb, excb, sentcb);
|
1730
3335
|
}
|
1731
3336
|
|
3337
|
+
/**
|
3338
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3339
|
+
* @param instance The callback object.
|
3340
|
+
* @param excb The exception method of the callback object.
|
3341
|
+
* @param sentcb The sent method of the callback object.
|
3342
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
|
3343
|
+
*/
|
1732
3344
|
template<class T> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
|
1733
3345
|
newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1734
3346
|
{
|
1735
3347
|
return new CallbackNC_LocatorRegistry_setReplicatedAdapterDirectProxy<T>(instance, 0, excb, sentcb);
|
1736
3348
|
}
|
1737
3349
|
|
3350
|
+
/**
|
3351
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
3352
|
+
* IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
|
3353
|
+
* Create a wrapper instance by calling ::Ice::newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy.
|
3354
|
+
*/
|
1738
3355
|
template<class T, typename CT>
|
1739
3356
|
class Callback_LocatorRegistry_setReplicatedAdapterDirectProxy : public Callback_LocatorRegistry_setReplicatedAdapterDirectProxy_Base, public ::IceInternal::TwowayCallback<T, CT>
|
1740
3357
|
{
|
@@ -1751,9 +3368,10 @@ public:
|
|
1751
3368
|
{
|
1752
3369
|
}
|
1753
3370
|
|
1754
|
-
|
3371
|
+
/// \cond INTERNAL
|
3372
|
+
virtual void completed(const AsyncResultPtr& result) const
|
1755
3373
|
{
|
1756
|
-
|
3374
|
+
LocatorRegistryPrx proxy = LocatorRegistryPrx::uncheckedCast(result->getProxy());
|
1757
3375
|
try
|
1758
3376
|
{
|
1759
3377
|
proxy->end_setReplicatedAdapterDirectProxy(result);
|
@@ -1768,36 +3386,76 @@ public:
|
|
1768
3386
|
(::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
|
1769
3387
|
}
|
1770
3388
|
}
|
3389
|
+
/// \endcond
|
1771
3390
|
|
1772
3391
|
private:
|
1773
3392
|
|
1774
3393
|
Response _response;
|
1775
3394
|
};
|
1776
3395
|
|
3396
|
+
/**
|
3397
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3398
|
+
* Use this overload when your callback methods receive a cookie value.
|
3399
|
+
* @param instance The callback object.
|
3400
|
+
* @param cb The success method of the callback object.
|
3401
|
+
* @param excb The exception method of the callback object.
|
3402
|
+
* @param sentcb The sent method of the callback object.
|
3403
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
|
3404
|
+
*/
|
1777
3405
|
template<class T, typename CT> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
|
1778
3406
|
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
3407
|
{
|
1780
3408
|
return new Callback_LocatorRegistry_setReplicatedAdapterDirectProxy<T, CT>(instance, cb, excb, sentcb);
|
1781
3409
|
}
|
1782
3410
|
|
3411
|
+
/**
|
3412
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3413
|
+
* Use this overload when your callback methods receive a cookie value.
|
3414
|
+
* @param instance The callback object.
|
3415
|
+
* @param excb The exception method of the callback object.
|
3416
|
+
* @param sentcb The sent method of the callback object.
|
3417
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
|
3418
|
+
*/
|
1783
3419
|
template<class T, typename CT> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
|
1784
3420
|
newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1785
3421
|
{
|
1786
3422
|
return new Callback_LocatorRegistry_setReplicatedAdapterDirectProxy<T, CT>(instance, 0, excb, sentcb);
|
1787
3423
|
}
|
1788
3424
|
|
3425
|
+
/**
|
3426
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3427
|
+
* Use this overload when your callback methods receive a cookie value.
|
3428
|
+
* @param instance The callback object.
|
3429
|
+
* @param cb The success method of the callback object.
|
3430
|
+
* @param excb The exception method of the callback object.
|
3431
|
+
* @param sentcb The sent method of the callback object.
|
3432
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
|
3433
|
+
*/
|
1789
3434
|
template<class T, typename CT> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
|
1790
3435
|
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
3436
|
{
|
1792
3437
|
return new Callback_LocatorRegistry_setReplicatedAdapterDirectProxy<T, CT>(instance, cb, excb, sentcb);
|
1793
3438
|
}
|
1794
3439
|
|
3440
|
+
/**
|
3441
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3442
|
+
* Use this overload when your callback methods receive a cookie value.
|
3443
|
+
* @param instance The callback object.
|
3444
|
+
* @param excb The exception method of the callback object.
|
3445
|
+
* @param sentcb The sent method of the callback object.
|
3446
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setReplicatedAdapterDirectProxy.
|
3447
|
+
*/
|
1795
3448
|
template<class T, typename CT> Callback_LocatorRegistry_setReplicatedAdapterDirectProxyPtr
|
1796
3449
|
newCallback_LocatorRegistry_setReplicatedAdapterDirectProxy(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1797
3450
|
{
|
1798
3451
|
return new Callback_LocatorRegistry_setReplicatedAdapterDirectProxy<T, CT>(instance, 0, excb, sentcb);
|
1799
3452
|
}
|
1800
3453
|
|
3454
|
+
/**
|
3455
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
3456
|
+
* IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
|
3457
|
+
* Create a wrapper instance by calling ::Ice::newCallback_LocatorRegistry_setServerProcessProxy.
|
3458
|
+
*/
|
1801
3459
|
template<class T>
|
1802
3460
|
class CallbackNC_LocatorRegistry_setServerProcessProxy : public Callback_LocatorRegistry_setServerProcessProxy_Base, public ::IceInternal::TwowayCallbackNC<T>
|
1803
3461
|
{
|
@@ -1814,9 +3472,10 @@ public:
|
|
1814
3472
|
{
|
1815
3473
|
}
|
1816
3474
|
|
1817
|
-
|
3475
|
+
/// \cond INTERNAL
|
3476
|
+
virtual void completed(const AsyncResultPtr& result) const
|
1818
3477
|
{
|
1819
|
-
|
3478
|
+
LocatorRegistryPrx proxy = LocatorRegistryPrx::uncheckedCast(result->getProxy());
|
1820
3479
|
try
|
1821
3480
|
{
|
1822
3481
|
proxy->end_setServerProcessProxy(result);
|
@@ -1831,36 +3490,72 @@ public:
|
|
1831
3490
|
(::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
|
1832
3491
|
}
|
1833
3492
|
}
|
3493
|
+
/// \endcond
|
1834
3494
|
|
1835
3495
|
private:
|
1836
3496
|
|
1837
3497
|
Response _response;
|
1838
3498
|
};
|
1839
3499
|
|
3500
|
+
/**
|
3501
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3502
|
+
* @param instance The callback object.
|
3503
|
+
* @param cb The success method of the callback object.
|
3504
|
+
* @param excb The exception method of the callback object.
|
3505
|
+
* @param sentcb The sent method of the callback object.
|
3506
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
|
3507
|
+
*/
|
1840
3508
|
template<class T> Callback_LocatorRegistry_setServerProcessProxyPtr
|
1841
3509
|
newCallback_LocatorRegistry_setServerProcessProxy(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1842
3510
|
{
|
1843
3511
|
return new CallbackNC_LocatorRegistry_setServerProcessProxy<T>(instance, cb, excb, sentcb);
|
1844
3512
|
}
|
1845
3513
|
|
3514
|
+
/**
|
3515
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3516
|
+
* @param instance The callback object.
|
3517
|
+
* @param excb The exception method of the callback object.
|
3518
|
+
* @param sentcb The sent method of the callback object.
|
3519
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
|
3520
|
+
*/
|
1846
3521
|
template<class T> Callback_LocatorRegistry_setServerProcessProxyPtr
|
1847
3522
|
newCallback_LocatorRegistry_setServerProcessProxy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1848
3523
|
{
|
1849
3524
|
return new CallbackNC_LocatorRegistry_setServerProcessProxy<T>(instance, 0, excb, sentcb);
|
1850
3525
|
}
|
1851
3526
|
|
3527
|
+
/**
|
3528
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3529
|
+
* @param instance The callback object.
|
3530
|
+
* @param cb The success method of the callback object.
|
3531
|
+
* @param excb The exception method of the callback object.
|
3532
|
+
* @param sentcb The sent method of the callback object.
|
3533
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
|
3534
|
+
*/
|
1852
3535
|
template<class T> Callback_LocatorRegistry_setServerProcessProxyPtr
|
1853
3536
|
newCallback_LocatorRegistry_setServerProcessProxy(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1854
3537
|
{
|
1855
3538
|
return new CallbackNC_LocatorRegistry_setServerProcessProxy<T>(instance, cb, excb, sentcb);
|
1856
3539
|
}
|
1857
3540
|
|
3541
|
+
/**
|
3542
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3543
|
+
* @param instance The callback object.
|
3544
|
+
* @param excb The exception method of the callback object.
|
3545
|
+
* @param sentcb The sent method of the callback object.
|
3546
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
|
3547
|
+
*/
|
1858
3548
|
template<class T> Callback_LocatorRegistry_setServerProcessProxyPtr
|
1859
3549
|
newCallback_LocatorRegistry_setServerProcessProxy(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1860
3550
|
{
|
1861
3551
|
return new CallbackNC_LocatorRegistry_setServerProcessProxy<T>(instance, 0, excb, sentcb);
|
1862
3552
|
}
|
1863
3553
|
|
3554
|
+
/**
|
3555
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
3556
|
+
* IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
|
3557
|
+
* Create a wrapper instance by calling ::Ice::newCallback_LocatorRegistry_setServerProcessProxy.
|
3558
|
+
*/
|
1864
3559
|
template<class T, typename CT>
|
1865
3560
|
class Callback_LocatorRegistry_setServerProcessProxy : public Callback_LocatorRegistry_setServerProcessProxy_Base, public ::IceInternal::TwowayCallback<T, CT>
|
1866
3561
|
{
|
@@ -1877,9 +3572,10 @@ public:
|
|
1877
3572
|
{
|
1878
3573
|
}
|
1879
3574
|
|
1880
|
-
|
3575
|
+
/// \cond INTERNAL
|
3576
|
+
virtual void completed(const AsyncResultPtr& result) const
|
1881
3577
|
{
|
1882
|
-
|
3578
|
+
LocatorRegistryPrx proxy = LocatorRegistryPrx::uncheckedCast(result->getProxy());
|
1883
3579
|
try
|
1884
3580
|
{
|
1885
3581
|
proxy->end_setServerProcessProxy(result);
|
@@ -1894,36 +3590,76 @@ public:
|
|
1894
3590
|
(::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
|
1895
3591
|
}
|
1896
3592
|
}
|
3593
|
+
/// \endcond
|
1897
3594
|
|
1898
3595
|
private:
|
1899
3596
|
|
1900
3597
|
Response _response;
|
1901
3598
|
};
|
1902
3599
|
|
3600
|
+
/**
|
3601
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3602
|
+
* Use this overload when your callback methods receive a cookie value.
|
3603
|
+
* @param instance The callback object.
|
3604
|
+
* @param cb The success method of the callback object.
|
3605
|
+
* @param excb The exception method of the callback object.
|
3606
|
+
* @param sentcb The sent method of the callback object.
|
3607
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
|
3608
|
+
*/
|
1903
3609
|
template<class T, typename CT> Callback_LocatorRegistry_setServerProcessProxyPtr
|
1904
3610
|
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
3611
|
{
|
1906
3612
|
return new Callback_LocatorRegistry_setServerProcessProxy<T, CT>(instance, cb, excb, sentcb);
|
1907
3613
|
}
|
1908
3614
|
|
3615
|
+
/**
|
3616
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3617
|
+
* Use this overload when your callback methods receive a cookie value.
|
3618
|
+
* @param instance The callback object.
|
3619
|
+
* @param excb The exception method of the callback object.
|
3620
|
+
* @param sentcb The sent method of the callback object.
|
3621
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
|
3622
|
+
*/
|
1909
3623
|
template<class T, typename CT> Callback_LocatorRegistry_setServerProcessProxyPtr
|
1910
3624
|
newCallback_LocatorRegistry_setServerProcessProxy(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1911
3625
|
{
|
1912
3626
|
return new Callback_LocatorRegistry_setServerProcessProxy<T, CT>(instance, 0, excb, sentcb);
|
1913
3627
|
}
|
1914
3628
|
|
3629
|
+
/**
|
3630
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3631
|
+
* Use this overload when your callback methods receive a cookie value.
|
3632
|
+
* @param instance The callback object.
|
3633
|
+
* @param cb The success method of the callback object.
|
3634
|
+
* @param excb The exception method of the callback object.
|
3635
|
+
* @param sentcb The sent method of the callback object.
|
3636
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
|
3637
|
+
*/
|
1915
3638
|
template<class T, typename CT> Callback_LocatorRegistry_setServerProcessProxyPtr
|
1916
3639
|
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
3640
|
{
|
1918
3641
|
return new Callback_LocatorRegistry_setServerProcessProxy<T, CT>(instance, cb, excb, sentcb);
|
1919
3642
|
}
|
1920
3643
|
|
3644
|
+
/**
|
3645
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3646
|
+
* Use this overload when your callback methods receive a cookie value.
|
3647
|
+
* @param instance The callback object.
|
3648
|
+
* @param excb The exception method of the callback object.
|
3649
|
+
* @param sentcb The sent method of the callback object.
|
3650
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorRegistry::begin_setServerProcessProxy.
|
3651
|
+
*/
|
1921
3652
|
template<class T, typename CT> Callback_LocatorRegistry_setServerProcessProxyPtr
|
1922
3653
|
newCallback_LocatorRegistry_setServerProcessProxy(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1923
3654
|
{
|
1924
3655
|
return new Callback_LocatorRegistry_setServerProcessProxy<T, CT>(instance, 0, excb, sentcb);
|
1925
3656
|
}
|
1926
3657
|
|
3658
|
+
/**
|
3659
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
3660
|
+
* IceProxy::Ice::LocatorFinder::begin_getLocator.
|
3661
|
+
* Create a wrapper instance by calling ::Ice::newCallback_LocatorFinder_getLocator.
|
3662
|
+
*/
|
1927
3663
|
template<class T>
|
1928
3664
|
class CallbackNC_LocatorFinder_getLocator : public Callback_LocatorFinder_getLocator_Base, public ::IceInternal::TwowayCallbackNC<T>
|
1929
3665
|
{
|
@@ -1933,17 +3669,18 @@ public:
|
|
1933
3669
|
|
1934
3670
|
typedef void (T::*Exception)(const ::Ice::Exception&);
|
1935
3671
|
typedef void (T::*Sent)(bool);
|
1936
|
-
typedef void (T::*Response)(const
|
3672
|
+
typedef void (T::*Response)(const LocatorPrx&);
|
1937
3673
|
|
1938
3674
|
CallbackNC_LocatorFinder_getLocator(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
1939
3675
|
: ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
|
1940
3676
|
{
|
1941
3677
|
}
|
1942
3678
|
|
1943
|
-
|
3679
|
+
/// \cond INTERNAL
|
3680
|
+
virtual void completed(const AsyncResultPtr& result) const
|
1944
3681
|
{
|
1945
|
-
|
1946
|
-
|
3682
|
+
LocatorFinderPrx proxy = LocatorFinderPrx::uncheckedCast(result->getProxy());
|
3683
|
+
LocatorPrx ret;
|
1947
3684
|
try
|
1948
3685
|
{
|
1949
3686
|
ret = proxy->end_getLocator(result);
|
@@ -1958,24 +3695,46 @@ public:
|
|
1958
3695
|
(::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
|
1959
3696
|
}
|
1960
3697
|
}
|
3698
|
+
/// \endcond
|
1961
3699
|
|
1962
3700
|
private:
|
1963
3701
|
|
1964
3702
|
Response _response;
|
1965
3703
|
};
|
1966
3704
|
|
3705
|
+
/**
|
3706
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3707
|
+
* @param instance The callback object.
|
3708
|
+
* @param cb The success method of the callback object.
|
3709
|
+
* @param excb The exception method of the callback object.
|
3710
|
+
* @param sentcb The sent method of the callback object.
|
3711
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorFinder::begin_getLocator.
|
3712
|
+
*/
|
1967
3713
|
template<class T> Callback_LocatorFinder_getLocatorPtr
|
1968
|
-
newCallback_LocatorFinder_getLocator(const IceUtil::Handle<T>& instance, void (T::*cb)(const
|
3714
|
+
newCallback_LocatorFinder_getLocator(const IceUtil::Handle<T>& instance, void (T::*cb)(const LocatorPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1969
3715
|
{
|
1970
3716
|
return new CallbackNC_LocatorFinder_getLocator<T>(instance, cb, excb, sentcb);
|
1971
3717
|
}
|
1972
3718
|
|
3719
|
+
/**
|
3720
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3721
|
+
* @param instance The callback object.
|
3722
|
+
* @param cb The success method of the callback object.
|
3723
|
+
* @param excb The exception method of the callback object.
|
3724
|
+
* @param sentcb The sent method of the callback object.
|
3725
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorFinder::begin_getLocator.
|
3726
|
+
*/
|
1973
3727
|
template<class T> Callback_LocatorFinder_getLocatorPtr
|
1974
|
-
newCallback_LocatorFinder_getLocator(T* instance, void (T::*cb)(const
|
3728
|
+
newCallback_LocatorFinder_getLocator(T* instance, void (T::*cb)(const LocatorPrx&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1975
3729
|
{
|
1976
3730
|
return new CallbackNC_LocatorFinder_getLocator<T>(instance, cb, excb, sentcb);
|
1977
3731
|
}
|
1978
3732
|
|
3733
|
+
/**
|
3734
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
3735
|
+
* IceProxy::Ice::LocatorFinder::begin_getLocator.
|
3736
|
+
* Create a wrapper instance by calling ::Ice::newCallback_LocatorFinder_getLocator.
|
3737
|
+
*/
|
1979
3738
|
template<class T, typename CT>
|
1980
3739
|
class Callback_LocatorFinder_getLocator : public Callback_LocatorFinder_getLocator_Base, public ::IceInternal::TwowayCallback<T, CT>
|
1981
3740
|
{
|
@@ -1985,17 +3744,18 @@ public:
|
|
1985
3744
|
|
1986
3745
|
typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
|
1987
3746
|
typedef void (T::*Sent)(bool , const CT&);
|
1988
|
-
typedef void (T::*Response)(const
|
3747
|
+
typedef void (T::*Response)(const LocatorPrx&, const CT&);
|
1989
3748
|
|
1990
3749
|
Callback_LocatorFinder_getLocator(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
1991
3750
|
: ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
|
1992
3751
|
{
|
1993
3752
|
}
|
1994
3753
|
|
1995
|
-
|
3754
|
+
/// \cond INTERNAL
|
3755
|
+
virtual void completed(const AsyncResultPtr& result) const
|
1996
3756
|
{
|
1997
|
-
|
1998
|
-
|
3757
|
+
LocatorFinderPrx proxy = LocatorFinderPrx::uncheckedCast(result->getProxy());
|
3758
|
+
LocatorPrx ret;
|
1999
3759
|
try
|
2000
3760
|
{
|
2001
3761
|
ret = proxy->end_getLocator(result);
|
@@ -2010,20 +3770,39 @@ public:
|
|
2010
3770
|
(::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
|
2011
3771
|
}
|
2012
3772
|
}
|
3773
|
+
/// \endcond
|
2013
3774
|
|
2014
3775
|
private:
|
2015
3776
|
|
2016
3777
|
Response _response;
|
2017
3778
|
};
|
2018
3779
|
|
3780
|
+
/**
|
3781
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3782
|
+
* Use this overload when your callback methods receive a cookie value.
|
3783
|
+
* @param instance The callback object.
|
3784
|
+
* @param cb The success method of the callback object.
|
3785
|
+
* @param excb The exception method of the callback object.
|
3786
|
+
* @param sentcb The sent method of the callback object.
|
3787
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorFinder::begin_getLocator.
|
3788
|
+
*/
|
2019
3789
|
template<class T, typename CT> Callback_LocatorFinder_getLocatorPtr
|
2020
|
-
newCallback_LocatorFinder_getLocator(const IceUtil::Handle<T>& instance, void (T::*cb)(const
|
3790
|
+
newCallback_LocatorFinder_getLocator(const IceUtil::Handle<T>& instance, void (T::*cb)(const LocatorPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
2021
3791
|
{
|
2022
3792
|
return new Callback_LocatorFinder_getLocator<T, CT>(instance, cb, excb, sentcb);
|
2023
3793
|
}
|
2024
3794
|
|
3795
|
+
/**
|
3796
|
+
* Creates a callback wrapper instance that delegates to your object.
|
3797
|
+
* Use this overload when your callback methods receive a cookie value.
|
3798
|
+
* @param instance The callback object.
|
3799
|
+
* @param cb The success method of the callback object.
|
3800
|
+
* @param excb The exception method of the callback object.
|
3801
|
+
* @param sentcb The sent method of the callback object.
|
3802
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LocatorFinder::begin_getLocator.
|
3803
|
+
*/
|
2025
3804
|
template<class T, typename CT> Callback_LocatorFinder_getLocatorPtr
|
2026
|
-
newCallback_LocatorFinder_getLocator(T* instance, void (T::*cb)(const
|
3805
|
+
newCallback_LocatorFinder_getLocator(T* instance, void (T::*cb)(const LocatorPrx&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
2027
3806
|
{
|
2028
3807
|
return new Callback_LocatorFinder_getLocator<T, CT>(instance, cb, excb, sentcb);
|
2029
3808
|
}
|