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