zeroc-ice 3.6.5 → 3.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ICE_LICENSE +17 -17
- data/LICENSE +12 -12
- data/bin/slice2rb +1 -6
- data/ext/Communicator.cpp +223 -61
- data/ext/Communicator.h +1 -6
- data/ext/Config.h +23 -7
- data/ext/Connection.cpp +108 -76
- data/ext/Connection.h +4 -6
- data/ext/Endpoint.cpp +16 -54
- data/ext/Endpoint.h +1 -6
- data/ext/ImplicitContext.cpp +1 -10
- data/ext/ImplicitContext.h +1 -6
- data/ext/Init.cpp +4 -6
- data/ext/Logger.cpp +1 -6
- data/ext/Logger.h +1 -6
- data/ext/Operation.cpp +38 -54
- data/ext/Operation.h +1 -6
- data/ext/Properties.cpp +3 -8
- data/ext/Properties.h +1 -6
- data/ext/Proxy.cpp +111 -70
- data/ext/Proxy.h +1 -6
- data/ext/Slice.cpp +5 -20
- data/ext/Slice.h +1 -6
- data/ext/Types.cpp +313 -224
- data/ext/Types.h +118 -71
- data/ext/Util.cpp +69 -36
- data/ext/Util.h +117 -42
- data/ext/ValueFactoryManager.cpp +440 -0
- data/ext/ValueFactoryManager.h +95 -0
- data/ext/extconf.rb +52 -48
- data/ext/ice/cpp/include/Ice/Application.h +275 -105
- data/ext/ice/cpp/include/Ice/AsyncResult.h +124 -337
- data/ext/ice/cpp/include/Ice/AsyncResultF.h +4 -7
- data/ext/ice/cpp/include/Ice/BatchRequestInterceptor.h +39 -16
- data/ext/ice/cpp/include/Ice/BatchRequestQueueF.h +1 -6
- data/ext/ice/cpp/include/Ice/Buffer.h +10 -15
- data/ext/ice/cpp/include/Ice/CommunicatorAsync.h +56 -17
- data/ext/ice/cpp/include/Ice/Comparable.h +205 -0
- data/ext/ice/cpp/include/Ice/Config.h +16 -39
- data/ext/ice/cpp/include/Ice/ConnectionAsync.h +203 -16
- data/ext/ice/cpp/include/Ice/ConnectionIF.h +7 -6
- data/ext/ice/cpp/include/Ice/ConsoleUtil.h +23 -0
- data/ext/ice/cpp/include/Ice/DefaultValueFactory.h +57 -0
- data/ext/ice/cpp/include/Ice/DispatchInterceptor.h +20 -12
- data/ext/ice/cpp/include/Ice/Dispatcher.h +35 -19
- data/ext/ice/cpp/include/Ice/DynamicLibrary.h +7 -10
- data/ext/ice/cpp/include/Ice/DynamicLibraryF.h +1 -6
- data/ext/ice/cpp/include/Ice/Exception.h +110 -63
- data/ext/ice/cpp/include/Ice/ExceptionHelpers.h +74 -0
- data/ext/ice/cpp/include/Ice/FactoryTable.h +22 -18
- data/ext/ice/cpp/include/Ice/FactoryTableInit.h +28 -31
- data/ext/ice/cpp/include/Ice/Format.h +17 -18
- data/ext/ice/cpp/include/Ice/Functional.h +38 -38
- data/ext/ice/cpp/include/Ice/GCObject.h +9 -10
- data/ext/ice/cpp/include/Ice/Handle.h +6 -16
- data/ext/ice/cpp/include/Ice/Ice.h +9 -10
- data/ext/ice/cpp/include/Ice/IconvStringConverter.h +377 -0
- data/ext/ice/cpp/include/Ice/Incoming.h +132 -38
- data/ext/ice/cpp/include/Ice/IncomingAsync.h +109 -31
- data/ext/ice/cpp/include/Ice/IncomingAsyncF.h +7 -6
- data/ext/ice/cpp/include/Ice/Initialize.h +872 -60
- data/ext/ice/cpp/include/Ice/InputStream.h +1514 -0
- data/ext/ice/cpp/include/Ice/InstanceF.h +1 -7
- data/ext/ice/cpp/include/Ice/InterfaceByValue.h +57 -0
- data/ext/ice/cpp/include/Ice/LocalObject.h +13 -14
- data/ext/ice/cpp/include/Ice/LocalObjectF.h +1 -6
- data/ext/ice/cpp/include/Ice/LoggerUtil.h +56 -24
- data/ext/ice/cpp/include/Ice/MetricsAdminI.h +124 -71
- data/ext/ice/cpp/include/Ice/MetricsFunctional.h +25 -10
- data/ext/ice/cpp/include/Ice/MetricsObserverI.h +116 -32
- data/ext/ice/cpp/include/Ice/NativePropertiesAdmin.h +61 -30
- data/ext/ice/cpp/include/Ice/Object.h +413 -78
- data/ext/ice/cpp/include/Ice/ObjectF.h +12 -8
- data/ext/ice/cpp/include/Ice/ObserverHelper.h +18 -13
- data/ext/ice/cpp/include/Ice/Optional.h +1114 -0
- data/ext/ice/cpp/include/Ice/OutgoingAsync.h +684 -89
- data/ext/ice/cpp/include/Ice/OutgoingAsyncF.h +12 -11
- data/ext/ice/cpp/include/Ice/OutputStream.h +1092 -0
- data/ext/ice/cpp/include/Ice/Protocol.h +49 -17
- data/ext/ice/cpp/include/Ice/Proxy.h +3438 -745
- data/ext/ice/cpp/include/Ice/ProxyF.h +13 -38
- data/ext/ice/cpp/include/Ice/ProxyFactoryF.h +1 -6
- data/ext/ice/cpp/include/Ice/ProxyHandle.h +43 -55
- data/ext/ice/cpp/include/Ice/ReferenceF.h +1 -6
- data/ext/ice/cpp/include/Ice/RegisterPlugins.h +84 -12
- data/ext/ice/cpp/include/Ice/RequestHandlerF.h +10 -9
- data/ext/ice/cpp/include/Ice/ResponseHandlerF.h +6 -6
- data/ext/ice/cpp/include/Ice/SHA1.h +42 -0
- data/ext/ice/cpp/include/Ice/ServantManagerF.h +1 -6
- data/ext/ice/cpp/include/Ice/Service.h +273 -154
- data/ext/ice/cpp/include/Ice/SliceChecksums.h +5 -6
- data/ext/ice/cpp/include/Ice/SlicedData.h +121 -53
- data/ext/ice/cpp/include/Ice/SlicedDataF.h +17 -11
- data/ext/ice/cpp/include/Ice/StreamHelpers.h +453 -140
- data/ext/ice/cpp/include/Ice/StringConverter.h +78 -0
- data/ext/ice/cpp/include/Ice/ThreadPoolF.h +1 -6
- data/ext/ice/cpp/include/Ice/UUID.h +19 -0
- data/ext/ice/cpp/include/{IceUtil → Ice}/UniquePtr.h +22 -28
- data/ext/ice/cpp/include/Ice/UniqueRef.h +97 -0
- data/ext/ice/cpp/include/Ice/UserExceptionFactory.h +45 -13
- data/ext/ice/cpp/include/Ice/Value.h +139 -0
- data/ext/ice/cpp/include/Ice/ValueF.h +21 -0
- data/ext/ice/cpp/include/IceSSL/Config.h +8 -28
- data/ext/ice/cpp/include/IceSSL/IceSSL.h +17 -11
- data/ext/ice/cpp/include/IceSSL/OpenSSL.h +147 -0
- data/ext/ice/cpp/include/IceSSL/Plugin.h +461 -448
- data/ext/ice/cpp/include/IceSSL/SChannel.h +72 -0
- data/ext/ice/cpp/include/IceSSL/SecureTransport.h +72 -0
- data/ext/ice/cpp/include/IceSSL/UWP.h +62 -0
- data/ext/ice/cpp/include/IceUtil/Atomic.h +7 -14
- data/ext/ice/cpp/include/IceUtil/Cond.h +17 -23
- data/ext/ice/cpp/include/IceUtil/Config.h +166 -46
- data/ext/ice/cpp/include/IceUtil/ConsoleUtil.h +92 -0
- data/ext/ice/cpp/include/IceUtil/CountDownLatch.h +5 -10
- data/ext/ice/cpp/include/IceUtil/CtrlCHandler.h +63 -41
- data/ext/ice/cpp/include/IceUtil/DisableWarnings.h +5 -13
- data/ext/ice/cpp/include/IceUtil/Exception.h +284 -75
- data/ext/ice/cpp/include/IceUtil/FileUtil.h +143 -0
- data/ext/ice/cpp/include/IceUtil/Functional.h +4 -6
- data/ext/ice/cpp/include/IceUtil/Handle.h +11 -16
- data/ext/ice/cpp/include/IceUtil/IceUtil.h +4 -15
- data/ext/ice/cpp/include/IceUtil/InputUtil.h +3 -8
- data/ext/ice/cpp/include/IceUtil/Iterator.h +2 -7
- data/ext/ice/cpp/include/IceUtil/Lock.h +8 -15
- data/ext/ice/cpp/include/IceUtil/Monitor.h +1 -7
- data/ext/ice/cpp/include/IceUtil/Mutex.h +19 -23
- data/ext/ice/cpp/include/IceUtil/MutexProtocol.h +2 -7
- data/ext/ice/cpp/include/IceUtil/MutexPtrLock.h +4 -9
- data/ext/ice/cpp/include/IceUtil/MutexPtrTryLock.h +4 -9
- data/ext/ice/cpp/include/IceUtil/Optional.h +134 -23
- data/ext/ice/cpp/include/IceUtil/Options.h +17 -23
- data/ext/ice/cpp/include/IceUtil/OutputUtil.h +61 -37
- data/ext/ice/cpp/include/IceUtil/PopDisableWarnings.h +6 -11
- data/ext/ice/cpp/include/IceUtil/PushDisableWarnings.h +18 -15
- data/ext/ice/cpp/include/IceUtil/Random.h +39 -8
- data/ext/ice/cpp/include/IceUtil/RecMutex.h +7 -13
- data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +53 -0
- data/ext/ice/cpp/include/IceUtil/ScannerConfig.h +10 -15
- data/ext/ice/cpp/include/IceUtil/ScopedArray.h +8 -7
- data/ext/ice/cpp/include/IceUtil/Shared.h +5 -12
- data/ext/ice/cpp/{src → include}/IceUtil/StopWatch.h +2 -7
- data/ext/ice/cpp/include/IceUtil/StringConverter.h +146 -126
- data/ext/ice/cpp/include/IceUtil/StringUtil.h +32 -26
- data/ext/ice/cpp/include/IceUtil/Thread.h +10 -17
- data/ext/ice/cpp/include/IceUtil/ThreadException.h +33 -47
- data/ext/ice/cpp/include/IceUtil/Time.h +3 -8
- data/ext/ice/cpp/include/IceUtil/Timer.h +18 -18
- data/ext/ice/cpp/include/IceUtil/UUID.h +6 -7
- data/ext/ice/cpp/include/IceUtil/UndefSysMacros.h +1 -6
- data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +170 -0
- data/ext/ice/cpp/include/generated/Ice/Communicator.h +1156 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/CommunicatorF.h +51 -16
- data/ext/ice/cpp/include/generated/Ice/Connection.h +1660 -0
- data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +119 -0
- data/ext/ice/cpp/include/generated/Ice/Current.h +322 -0
- data/ext/ice/cpp/include/generated/Ice/Endpoint.h +943 -0
- data/ext/ice/cpp/include/generated/Ice/EndpointF.h +166 -0
- data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +118 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/FacetMap.h +31 -15
- data/ext/ice/cpp/include/generated/Ice/Identity.h +264 -0
- data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +278 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/ImplicitContextF.h +51 -16
- data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +1143 -0
- data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +128 -0
- data/ext/ice/cpp/include/generated/Ice/LocalException.h +7041 -0
- data/ext/ice/cpp/include/generated/Ice/Locator.h +3850 -0
- data/ext/ice/cpp/include/generated/Ice/LocatorF.h +147 -0
- data/ext/ice/cpp/include/generated/Ice/Logger.h +231 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/LoggerF.h +51 -16
- data/ext/ice/cpp/include/generated/Ice/Metrics.h +4717 -0
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +1175 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/ObjectAdapterF.h +51 -16
- data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +197 -0
- data/ext/ice/cpp/include/generated/Ice/Plugin.h +306 -0
- data/ext/ice/cpp/include/generated/Ice/PluginF.h +110 -0
- data/ext/ice/cpp/include/generated/Ice/Process.h +971 -0
- data/ext/ice/cpp/include/generated/Ice/ProcessF.h +125 -0
- data/ext/ice/cpp/include/generated/Ice/Properties.h +446 -0
- data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +1360 -0
- data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +134 -0
- data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +2689 -0
- data/ext/ice/cpp/include/generated/Ice/Router.h +1838 -0
- data/ext/ice/cpp/include/generated/Ice/RouterF.h +125 -0
- data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +299 -0
- data/ext/ice/cpp/include/{Ice → generated/Ice}/ServantLocatorF.h +51 -16
- data/ext/ice/cpp/include/{Ice → generated/Ice}/SliceChecksumDict.h +34 -14
- data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +318 -0
- data/ext/ice/cpp/include/generated/Ice/Version.h +357 -0
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +223 -0
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +101 -0
- data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +181 -0
- data/ext/ice/cpp/src/Ice/ACM.cpp +38 -27
- data/ext/ice/cpp/src/Ice/ACM.h +9 -7
- data/ext/ice/cpp/src/Ice/ACMF.h +30 -0
- data/ext/ice/cpp/src/Ice/Acceptor.cpp +6 -6
- data/ext/ice/cpp/src/Ice/Acceptor.h +4 -8
- data/ext/ice/cpp/src/Ice/AcceptorF.h +1 -6
- data/ext/ice/cpp/src/Ice/ArgVector.cpp +59 -0
- data/ext/ice/cpp/src/Ice/ArgVector.h +36 -0
- data/ext/ice/cpp/src/Ice/AsyncResult.cpp +15 -544
- data/ext/ice/cpp/src/Ice/Base64.cpp +22 -28
- data/ext/ice/cpp/src/Ice/Base64.h +1 -6
- data/ext/ice/cpp/src/Ice/BatchRequestQueue.cpp +41 -18
- data/ext/ice/cpp/src/Ice/BatchRequestQueue.h +15 -15
- data/ext/ice/cpp/src/Ice/Buffer.cpp +75 -18
- data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +21 -12
- data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +86 -197
- data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.h +17 -23
- data/ext/ice/cpp/src/Ice/Communicator.cpp +43 -15
- data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +28 -11
- data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +318 -117
- data/ext/ice/cpp/src/Ice/CommunicatorI.h +95 -40
- data/ext/ice/cpp/src/{IceUtil → Ice}/Cond.cpp +3 -8
- data/ext/ice/cpp/src/Ice/ConnectRequestHandler.cpp +55 -122
- data/ext/ice/cpp/src/Ice/ConnectRequestHandler.h +15 -31
- data/ext/ice/cpp/src/Ice/ConnectRequestHandlerF.h +6 -7
- data/ext/ice/cpp/src/Ice/Connection.cpp +111 -20
- data/ext/ice/cpp/src/Ice/ConnectionF.cpp +28 -11
- data/ext/ice/cpp/src/Ice/ConnectionFactory.cpp +300 -107
- data/ext/ice/cpp/src/Ice/ConnectionFactory.h +44 -28
- data/ext/ice/cpp/src/Ice/ConnectionFactoryF.h +30 -0
- data/ext/ice/cpp/src/Ice/ConnectionI.cpp +785 -713
- data/ext/ice/cpp/src/Ice/ConnectionI.h +105 -80
- data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.cpp +2 -20
- data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.h +5 -9
- data/ext/ice/cpp/src/Ice/Connector.cpp +6 -6
- data/ext/ice/cpp/src/Ice/Connector.h +4 -8
- data/ext/ice/cpp/src/Ice/ConnectorF.h +1 -6
- data/ext/ice/cpp/src/{IceUtil → Ice}/CountDownLatch.cpp +4 -9
- data/ext/ice/cpp/src/Ice/Current.cpp +30 -12
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +10 -16
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.h +1 -6
- data/ext/ice/cpp/src/Ice/DefaultsAndOverridesF.h +1 -6
- data/ext/ice/cpp/src/Ice/DispatchInterceptor.cpp +13 -25
- data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +34 -28
- data/ext/ice/cpp/src/Ice/Endpoint.cpp +107 -19
- data/ext/ice/cpp/src/Ice/EndpointF.cpp +28 -11
- data/ext/ice/cpp/src/Ice/EndpointFactory.cpp +152 -6
- data/ext/ice/cpp/src/Ice/EndpointFactory.h +72 -11
- data/ext/ice/cpp/src/Ice/EndpointFactoryF.h +1 -6
- data/ext/ice/cpp/src/Ice/EndpointFactoryManager.cpp +41 -36
- data/ext/ice/cpp/src/Ice/EndpointFactoryManager.h +10 -9
- data/ext/ice/cpp/src/Ice/EndpointFactoryManagerF.h +1 -6
- data/ext/ice/cpp/src/Ice/EndpointI.cpp +18 -7
- data/ext/ice/cpp/src/Ice/EndpointI.h +39 -18
- data/ext/ice/cpp/src/Ice/EndpointIF.h +18 -10
- data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +19 -12
- data/ext/ice/cpp/src/Ice/EventHandler.cpp +6 -9
- data/ext/ice/cpp/src/Ice/EventHandler.h +13 -13
- data/ext/ice/cpp/src/Ice/EventHandlerF.h +5 -7
- data/ext/ice/cpp/src/Ice/Exception.cpp +102 -98
- data/ext/ice/cpp/src/Ice/FacetMap.cpp +21 -12
- data/ext/ice/cpp/src/Ice/FactoryTable.cpp +37 -33
- data/ext/ice/cpp/src/Ice/FactoryTableInit.cpp +2 -9
- data/ext/ice/cpp/src/Ice/GCObject.cpp +29 -31
- data/ext/ice/cpp/src/Ice/HashUtil.h +3 -9
- data/ext/ice/cpp/src/Ice/HttpParser.cpp +1 -7
- data/ext/ice/cpp/src/Ice/HttpParser.h +1 -6
- data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +128 -111
- data/ext/ice/cpp/src/Ice/IPEndpointI.h +23 -19
- data/ext/ice/cpp/src/Ice/IPEndpointIF.h +6 -7
- data/ext/ice/cpp/src/Ice/IconvStringConverter.cpp +51 -0
- data/ext/ice/cpp/src/Ice/Identity.cpp +25 -16
- data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +41 -13
- data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +28 -11
- data/ext/ice/cpp/src/Ice/ImplicitContextI.cpp +11 -28
- data/ext/ice/cpp/src/Ice/ImplicitContextI.h +7 -10
- data/ext/ice/cpp/src/Ice/Incoming.cpp +284 -255
- data/ext/ice/cpp/src/Ice/IncomingAsync.cpp +104 -214
- data/ext/ice/cpp/src/Ice/IncomingRequest.h +5 -9
- data/ext/ice/cpp/src/Ice/Initialize.cpp +309 -193
- data/ext/ice/cpp/src/Ice/InputStream.cpp +2726 -0
- data/ext/ice/cpp/src/Ice/Instance.cpp +243 -262
- data/ext/ice/cpp/src/Ice/Instance.h +30 -23
- data/ext/ice/cpp/src/Ice/Instrumentation.cpp +137 -23
- data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +28 -11
- data/ext/ice/cpp/src/Ice/InstrumentationI.cpp +118 -105
- data/ext/ice/cpp/src/Ice/InstrumentationI.h +30 -36
- data/ext/ice/cpp/src/Ice/LocalException.cpp +1191 -422
- data/ext/ice/cpp/src/Ice/LocalObject.cpp +1 -7
- data/ext/ice/cpp/src/Ice/Locator.cpp +1282 -1222
- data/ext/ice/cpp/src/Ice/LocatorF.cpp +30 -12
- data/ext/ice/cpp/src/Ice/LocatorInfo.cpp +150 -186
- data/ext/ice/cpp/src/Ice/LocatorInfo.h +31 -36
- data/ext/ice/cpp/src/Ice/LocatorInfoF.h +1 -6
- data/ext/ice/cpp/src/Ice/Logger.cpp +39 -12
- data/ext/ice/cpp/src/Ice/LoggerAdminI.cpp +182 -88
- data/ext/ice/cpp/src/Ice/LoggerAdminI.h +4 -9
- data/ext/ice/cpp/src/Ice/LoggerF.cpp +28 -11
- data/ext/ice/cpp/src/Ice/LoggerI.cpp +26 -55
- data/ext/ice/cpp/src/Ice/LoggerI.h +7 -18
- data/ext/ice/cpp/src/Ice/LoggerUtil.cpp +10 -17
- data/ext/ice/cpp/src/Ice/Metrics.cpp +1280 -1107
- data/ext/ice/cpp/src/Ice/MetricsAdminI.cpp +58 -33
- data/ext/ice/cpp/src/Ice/MetricsObserverI.cpp +1 -7
- data/ext/ice/cpp/src/Ice/Network.cpp +753 -408
- data/ext/ice/cpp/src/Ice/Network.h +99 -36
- data/ext/ice/cpp/src/Ice/NetworkF.h +2 -7
- data/ext/ice/cpp/src/Ice/NetworkProxy.cpp +20 -19
- data/ext/ice/cpp/src/Ice/NetworkProxy.h +5 -7
- data/ext/ice/cpp/src/Ice/NetworkProxyF.h +1 -6
- data/ext/ice/cpp/src/Ice/OSLogLoggerI.cpp +57 -0
- data/ext/ice/cpp/src/Ice/OSLogLoggerI.h +40 -0
- data/ext/ice/cpp/src/Ice/Object.cpp +227 -232
- data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +45 -13
- data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +28 -11
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +83 -33
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.h +13 -12
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactoryF.h +25 -0
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +298 -191
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +44 -39
- data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +41 -13
- data/ext/ice/cpp/src/Ice/ObserverHelper.cpp +9 -37
- data/ext/ice/cpp/src/Ice/OpaqueEndpointI.cpp +67 -67
- data/ext/ice/cpp/src/Ice/OpaqueEndpointI.h +15 -11
- data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +801 -366
- data/ext/ice/cpp/src/Ice/OutputStream.cpp +1367 -0
- data/ext/ice/cpp/src/Ice/Plugin.cpp +52 -14
- data/ext/ice/cpp/src/Ice/PluginF.cpp +28 -11
- data/ext/ice/cpp/src/Ice/PluginManagerI.cpp +27 -51
- data/ext/ice/cpp/src/Ice/PluginManagerI.h +7 -13
- data/ext/ice/cpp/src/Ice/Process.cpp +294 -128
- data/ext/ice/cpp/src/Ice/ProcessF.cpp +30 -12
- data/ext/ice/cpp/src/Ice/Properties.cpp +42 -15
- data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +382 -340
- data/ext/ice/cpp/src/Ice/PropertiesAdminI.cpp +83 -24
- data/ext/ice/cpp/src/Ice/PropertiesAdminI.h +29 -10
- data/ext/ice/cpp/src/Ice/PropertiesF.cpp +30 -12
- data/ext/ice/cpp/src/Ice/PropertiesI.cpp +46 -57
- data/ext/ice/cpp/src/Ice/PropertiesI.h +18 -26
- data/ext/ice/cpp/src/Ice/PropertyNames.cpp +112 -19
- data/ext/ice/cpp/src/Ice/PropertyNames.h +4 -7
- data/ext/ice/cpp/src/Ice/Protocol.cpp +6 -19
- data/ext/ice/cpp/src/Ice/ProtocolInstance.cpp +37 -7
- data/ext/ice/cpp/src/Ice/ProtocolInstance.h +9 -25
- data/ext/ice/cpp/src/Ice/ProtocolInstanceF.h +1 -6
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +6 -6
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.h +3 -6
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacadeF.h +1 -6
- data/ext/ice/cpp/src/Ice/Proxy.cpp +729 -957
- data/ext/ice/cpp/src/Ice/ProxyFactory.cpp +33 -38
- data/ext/ice/cpp/src/Ice/ProxyFactory.h +16 -16
- data/ext/ice/cpp/src/Ice/Reference.cpp +190 -106
- data/ext/ice/cpp/src/Ice/Reference.h +39 -28
- data/ext/ice/cpp/src/Ice/ReferenceFactory.cpp +69 -118
- data/ext/ice/cpp/src/Ice/ReferenceFactory.h +12 -17
- data/ext/ice/cpp/src/Ice/ReferenceFactoryF.h +1 -6
- data/ext/ice/cpp/src/Ice/RegisterPluginsInit.cpp +19 -9
- data/ext/ice/cpp/src/Ice/RegisterPluginsInit.h +1 -6
- data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +766 -565
- data/ext/ice/cpp/src/Ice/ReplyStatus.h +1 -6
- data/ext/ice/cpp/src/Ice/RequestHandler.cpp +5 -8
- data/ext/ice/cpp/src/Ice/RequestHandler.h +10 -18
- data/ext/ice/cpp/src/Ice/RequestHandlerFactory.cpp +10 -11
- data/ext/ice/cpp/src/Ice/RequestHandlerFactory.h +2 -7
- data/ext/ice/cpp/src/Ice/ResponseHandler.cpp +3 -11
- data/ext/ice/cpp/src/Ice/ResponseHandler.h +16 -12
- data/ext/ice/cpp/src/Ice/RetryQueue.cpp +12 -20
- data/ext/ice/cpp/src/Ice/RetryQueue.h +7 -11
- data/ext/ice/cpp/src/Ice/RetryQueueF.h +1 -6
- data/ext/ice/cpp/src/Ice/Router.cpp +614 -492
- data/ext/ice/cpp/src/Ice/RouterF.cpp +30 -12
- data/ext/ice/cpp/src/Ice/RouterInfo.cpp +93 -99
- data/ext/ice/cpp/src/Ice/RouterInfo.h +42 -38
- data/ext/ice/cpp/src/Ice/RouterInfoF.h +1 -6
- data/ext/ice/cpp/src/{IceUtil → Ice}/SHA1.cpp +23 -28
- data/ext/ice/cpp/src/Ice/Selector.cpp +948 -855
- data/ext/ice/cpp/src/Ice/Selector.h +100 -152
- data/ext/ice/cpp/src/Ice/ServantLocator.cpp +41 -13
- data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +28 -11
- data/ext/ice/cpp/src/Ice/ServantManager.cpp +24 -45
- data/ext/ice/cpp/src/Ice/ServantManager.h +1 -6
- data/ext/ice/cpp/src/Ice/SharedContext.h +2 -7
- data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +21 -12
- data/ext/ice/cpp/src/Ice/SliceChecksums.cpp +2 -7
- data/ext/ice/cpp/src/Ice/SlicedData.cpp +72 -25
- data/ext/ice/cpp/src/Ice/StreamSocket.cpp +208 -76
- data/ext/ice/cpp/src/Ice/StreamSocket.h +13 -9
- data/ext/ice/cpp/src/Ice/StringConverterPlugin.cpp +57 -22
- data/ext/ice/cpp/src/Ice/StringUtil.h +30 -0
- data/ext/ice/cpp/src/Ice/SysLoggerI.cpp +6 -7
- data/ext/ice/cpp/src/Ice/SysLoggerI.h +2 -8
- data/ext/ice/cpp/src/Ice/SystemdJournalI.cpp +66 -0
- data/ext/ice/cpp/src/Ice/SystemdJournalI.h +39 -0
- data/ext/ice/cpp/src/Ice/TcpAcceptor.cpp +169 -49
- data/ext/ice/cpp/src/Ice/TcpAcceptor.h +12 -10
- data/ext/ice/cpp/src/Ice/TcpConnector.cpp +6 -12
- data/ext/ice/cpp/src/Ice/TcpConnector.h +1 -7
- data/ext/ice/cpp/src/Ice/TcpEndpointI.cpp +51 -46
- data/ext/ice/cpp/src/Ice/TcpEndpointI.h +12 -14
- data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +17 -32
- data/ext/ice/cpp/src/Ice/TcpTransceiver.h +7 -15
- data/ext/ice/cpp/src/{IceUtil → Ice}/Thread.cpp +41 -54
- data/ext/ice/cpp/src/Ice/ThreadPool.cpp +242 -274
- data/ext/ice/cpp/src/Ice/ThreadPool.h +46 -48
- data/ext/ice/cpp/src/{IceUtil → Ice}/Timer.cpp +38 -26
- data/ext/ice/cpp/src/Ice/TraceLevels.cpp +2 -7
- data/ext/ice/cpp/src/Ice/TraceLevels.h +1 -6
- data/ext/ice/cpp/src/Ice/TraceLevelsF.h +2 -7
- data/ext/ice/cpp/src/Ice/TraceUtil.cpp +53 -36
- data/ext/ice/cpp/src/Ice/TraceUtil.h +13 -11
- data/ext/ice/cpp/src/Ice/Transceiver.cpp +1 -7
- data/ext/ice/cpp/src/Ice/Transceiver.h +8 -12
- data/ext/ice/cpp/src/Ice/TransceiverF.h +3 -8
- data/ext/ice/cpp/src/Ice/UdpConnector.cpp +5 -13
- data/ext/ice/cpp/src/Ice/UdpConnector.h +1 -7
- data/ext/ice/cpp/src/Ice/UdpEndpointI.cpp +118 -60
- data/ext/ice/cpp/src/Ice/UdpEndpointI.h +13 -10
- data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +177 -236
- data/ext/ice/cpp/src/Ice/UdpTransceiver.h +15 -22
- data/ext/ice/cpp/src/Ice/Value.cpp +76 -0
- data/ext/ice/cpp/src/Ice/ValueFactory.cpp +83 -0
- data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.cpp +61 -0
- data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.h +37 -0
- data/ext/ice/cpp/src/Ice/Version.cpp +25 -20
- data/ext/ice/cpp/src/Ice/VirtualShared.h +38 -0
- data/ext/ice/cpp/src/Ice/WSAcceptor.cpp +3 -14
- data/ext/ice/cpp/src/Ice/WSAcceptor.h +3 -12
- data/ext/ice/cpp/src/Ice/WSConnector.cpp +5 -16
- data/ext/ice/cpp/src/Ice/WSConnector.h +3 -11
- data/ext/ice/cpp/src/Ice/WSEndpoint.cpp +188 -89
- data/ext/ice/cpp/src/Ice/WSEndpoint.h +22 -37
- data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +65 -66
- data/ext/ice/cpp/src/Ice/WSTransceiver.h +7 -27
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +596 -281
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +1383 -543
- data/ext/ice/cpp/src/IceDiscovery/LocatorI.cpp +89 -32
- data/ext/ice/cpp/src/IceDiscovery/LocatorI.h +59 -28
- data/ext/ice/cpp/src/IceDiscovery/LookupI.cpp +315 -66
- data/ext/ice/cpp/src/IceDiscovery/LookupI.h +83 -41
- data/ext/ice/cpp/src/IceDiscovery/PluginI.cpp +57 -64
- data/ext/ice/cpp/src/IceDiscovery/PluginI.h +3 -8
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +450 -172
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +863 -406
- data/ext/ice/cpp/src/IceLocatorDiscovery/Plugin.h +47 -0
- data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +636 -144
- data/ext/ice/cpp/src/IceSSL/AcceptorI.cpp +20 -173
- data/ext/ice/cpp/src/IceSSL/AcceptorI.h +8 -22
- data/ext/ice/cpp/src/IceSSL/CertificateI.cpp +279 -0
- data/ext/ice/cpp/src/IceSSL/CertificateI.h +64 -0
- data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +42 -17
- data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +61 -0
- data/ext/ice/cpp/src/IceSSL/ConnectorI.cpp +15 -64
- data/ext/ice/cpp/src/IceSSL/ConnectorI.h +6 -18
- data/ext/ice/cpp/src/IceSSL/EndpointI.cpp +207 -204
- data/ext/ice/cpp/src/IceSSL/EndpointI.h +43 -40
- data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +42 -16
- data/ext/ice/cpp/src/IceSSL/Instance.cpp +1 -11
- data/ext/ice/cpp/src/IceSSL/Instance.h +7 -12
- data/ext/ice/cpp/src/IceSSL/InstanceF.h +11 -12
- data/ext/ice/cpp/src/IceSSL/OpenSSLCertificateI.cpp +583 -0
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +134 -115
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.h +59 -0
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngineF.h +27 -0
- data/ext/ice/cpp/src/IceSSL/OpenSSLPluginI.cpp +127 -0
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +477 -182
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +32 -26
- data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +286 -0
- data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.h +58 -0
- data/ext/ice/cpp/src/IceSSL/PluginI.cpp +71 -46
- data/ext/ice/cpp/src/IceSSL/PluginI.h +13 -23
- data/ext/ice/cpp/src/IceSSL/RFC2253.cpp +9 -60
- data/ext/ice/cpp/src/IceSSL/RFC2253.h +7 -12
- data/ext/ice/cpp/src/IceSSL/SChannelCertificateI.cpp +580 -0
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.cpp +523 -74
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.h +123 -0
- data/ext/ice/cpp/src/IceSSL/SChannelEngineF.h +31 -0
- data/ext/ice/cpp/src/IceSSL/SChannelPluginI.cpp +73 -0
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +187 -221
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.h +24 -26
- data/ext/ice/cpp/src/IceSSL/SSLEngine.cpp +97 -94
- data/ext/ice/cpp/src/IceSSL/SSLEngine.h +26 -192
- data/ext/ice/cpp/src/IceSSL/SSLEngineF.h +4 -24
- data/ext/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +868 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +69 -201
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.h +59 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngineF.h +29 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportPluginI.cpp +75 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +174 -161
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +29 -33
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +864 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.h +45 -0
- data/ext/ice/cpp/src/IceSSL/TrustManager.cpp +12 -22
- data/ext/ice/cpp/src/IceSSL/TrustManager.h +4 -9
- data/ext/ice/cpp/src/IceSSL/TrustManagerF.h +3 -8
- data/ext/ice/cpp/src/IceSSL/UWPCertificateI.cpp +266 -0
- data/ext/ice/cpp/src/IceSSL/UWPEngine.cpp +338 -0
- data/ext/ice/cpp/src/IceSSL/UWPEngine.h +41 -0
- data/ext/ice/cpp/src/IceSSL/UWPEngineF.h +26 -0
- data/ext/ice/cpp/src/IceSSL/UWPPluginI.cpp +89 -0
- data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.cpp +383 -0
- data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.h +71 -0
- data/ext/ice/cpp/src/IceSSL/Util.cpp +71 -1260
- data/ext/ice/cpp/src/IceSSL/Util.h +48 -142
- data/ext/ice/cpp/src/IceUtil/ConsoleUtil.cpp +157 -0
- data/ext/ice/cpp/src/IceUtil/ConvertUTF.cpp +22 -27
- data/ext/ice/cpp/src/IceUtil/ConvertUTF.h +34 -31
- data/ext/ice/cpp/src/IceUtil/CtrlCHandler.cpp +22 -36
- data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +30 -126
- data/ext/ice/cpp/src/IceUtil/InputUtil.cpp +1 -6
- data/ext/ice/cpp/src/IceUtil/MutexProtocol.cpp +1 -6
- data/ext/ice/cpp/src/IceUtil/Options.cpp +20 -33
- data/ext/ice/cpp/src/IceUtil/OutputUtil.cpp +47 -21
- data/ext/ice/cpp/src/IceUtil/Random.cpp +15 -20
- data/ext/ice/cpp/src/IceUtil/RecMutex.cpp +4 -19
- data/ext/ice/cpp/src/IceUtil/Shared.cpp +8 -8
- data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +501 -269
- data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +582 -244
- data/ext/ice/cpp/src/IceUtil/ThreadException.cpp +37 -79
- data/ext/ice/cpp/src/IceUtil/Time.cpp +6 -11
- data/ext/ice/cpp/src/IceUtil/UUID.cpp +17 -22
- data/ext/ice/cpp/src/IceUtil/Unicode.cpp +97 -101
- data/ext/ice/cpp/src/IceUtil/Unicode.h +21 -40
- data/ext/ice/cpp/src/IceUtil/UtilException.cpp +839 -0
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.cpp +894 -234
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.h +72 -0
- data/ext/ice/cpp/src/Slice/Checksum.cpp +2 -7
- data/ext/ice/cpp/src/Slice/Checksum.h +21 -0
- data/ext/ice/cpp/src/Slice/FileTracker.cpp +25 -83
- data/ext/ice/cpp/{include → src}/Slice/FileTracker.h +9 -14
- data/ext/ice/cpp/src/Slice/Grammar.cpp +1981 -1944
- data/ext/ice/cpp/src/Slice/Grammar.h +39 -19
- data/ext/ice/cpp/src/Slice/GrammarUtil.h +14 -20
- data/ext/ice/cpp/src/Slice/JavaUtil.cpp +2752 -1948
- data/ext/ice/cpp/src/Slice/JavaUtil.h +398 -0
- data/ext/ice/cpp/src/Slice/MD5.cpp +1 -6
- data/ext/ice/cpp/src/Slice/MD5.h +1 -6
- data/ext/ice/cpp/src/Slice/MD5I.cpp +8 -1
- data/ext/ice/cpp/src/Slice/MD5I.h +1 -1
- data/ext/ice/cpp/src/Slice/PHPUtil.cpp +17 -20
- data/ext/ice/cpp/src/Slice/PHPUtil.h +36 -0
- data/ext/ice/cpp/src/Slice/Parser.cpp +1190 -426
- data/ext/ice/cpp/{include → src}/Slice/Parser.h +143 -91
- data/ext/ice/cpp/src/Slice/Preprocessor.cpp +67 -36
- data/ext/ice/cpp/{include → src}/Slice/Preprocessor.h +8 -18
- data/ext/ice/cpp/src/Slice/Python.cpp +218 -111
- data/ext/ice/cpp/src/Slice/PythonUtil.cpp +787 -699
- data/ext/ice/cpp/src/Slice/PythonUtil.h +70 -0
- data/ext/ice/cpp/src/Slice/Ruby.cpp +42 -43
- data/ext/ice/cpp/src/Slice/RubyUtil.cpp +175 -445
- data/ext/ice/cpp/{include → src}/Slice/RubyUtil.h +6 -11
- data/ext/ice/cpp/src/Slice/Scanner.cpp +390 -399
- data/ext/ice/cpp/src/Slice/{Util.cpp → SliceUtil.cpp} +36 -69
- data/ext/ice/cpp/src/Slice/StringLiteralUtil.cpp +456 -0
- data/ext/ice/cpp/src/Slice/Util.h +50 -0
- data/ice.gemspec +2 -9
- data/lib/Glacier2.rb +1 -6
- data/lib/Glacier2/Metrics.rb +6 -50
- data/lib/Glacier2/PermissionsVerifier.rb +23 -99
- data/lib/Glacier2/PermissionsVerifierF.rb +2 -7
- data/lib/Glacier2/Router.rb +31 -78
- data/lib/Glacier2/RouterF.rb +2 -7
- data/lib/Glacier2/SSLInfo.rb +3 -11
- data/lib/Glacier2/Session.rb +87 -311
- data/lib/Ice.rb +84 -58
- data/lib/Ice/BuiltinSequences.rb +3 -8
- data/lib/Ice/Communicator.rb +54 -61
- data/lib/Ice/CommunicatorF.rb +2 -7
- data/lib/Ice/Connection.rb +152 -166
- data/lib/Ice/ConnectionF.rb +2 -7
- data/lib/Ice/Current.rb +3 -15
- data/lib/Ice/Endpoint.rb +56 -137
- data/lib/Ice/EndpointF.rb +2 -7
- data/lib/Ice/EndpointTypes.rb +2 -11
- data/lib/Ice/FacetMap.rb +3 -8
- data/lib/Ice/Identity.rb +4 -12
- data/lib/Ice/ImplicitContext.rb +4 -38
- data/lib/Ice/ImplicitContextF.rb +2 -7
- data/lib/Ice/Instrumentation.rb +22 -279
- data/lib/Ice/InstrumentationF.rb +2 -7
- data/lib/Ice/LocalException.rb +94 -145
- data/lib/Ice/Locator.rb +50 -169
- data/lib/Ice/LocatorF.rb +2 -7
- data/lib/Ice/Logger.rb +4 -38
- data/lib/Ice/LoggerF.rb +2 -7
- data/lib/Ice/Metrics.rb +60 -420
- data/lib/Ice/ObjectAdapter.rb +29 -0
- data/lib/Ice/ObjectAdapterF.rb +2 -7
- data/lib/Ice/ObjectFactory.rb +4 -34
- data/lib/Ice/Plugin.rb +6 -64
- data/lib/Ice/PluginF.rb +2 -7
- data/lib/Ice/Process.rb +15 -56
- data/lib/Ice/ProcessF.rb +2 -7
- data/lib/Ice/Properties.rb +4 -45
- data/lib/Ice/PropertiesAdmin.rb +18 -60
- data/lib/Ice/PropertiesF.rb +2 -7
- data/lib/Ice/RemoteLogger.rb +33 -119
- data/lib/Ice/Router.rb +28 -105
- data/lib/Ice/RouterF.rb +2 -7
- data/lib/Ice/ServantLocator.rb +26 -0
- data/lib/Ice/ServantLocatorF.rb +24 -0
- data/lib/Ice/SliceChecksumDict.rb +2 -7
- data/lib/Ice/ValueFactory.rb +28 -0
- data/lib/Ice/Version.rb +4 -15
- data/lib/IceBox.rb +1 -6
- data/lib/IceBox/IceBox.rb +43 -152
- data/lib/IceGrid.rb +1 -9
- data/lib/IceGrid/Admin.rb +550 -431
- data/lib/IceGrid/Descriptor.rb +61 -533
- data/lib/IceGrid/Exception.rb +23 -49
- data/lib/IceGrid/FileParser.rb +13 -54
- data/lib/IceGrid/PluginFacade.rb +35 -0
- data/lib/IceGrid/Registry.rb +150 -62
- data/lib/IceGrid/Session.rb +24 -68
- data/lib/IceGrid/UserAccountMapper.rb +13 -54
- data/lib/IcePatch2.rb +1 -6
- data/lib/IcePatch2/FileInfo.rb +4 -15
- data/lib/IcePatch2/FileServer.rb +32 -80
- data/lib/IceStorm.rb +1 -6
- data/lib/IceStorm/IceStorm.rb +78 -210
- data/lib/IceStorm/Metrics.rb +10 -93
- data/slice/Glacier2/Metrics.ice +20 -10
- data/slice/Glacier2/PermissionsVerifier.ice +19 -12
- data/slice/Glacier2/PermissionsVerifierF.ice +16 -9
- data/slice/Glacier2/Router.ice +19 -13
- data/slice/Glacier2/RouterF.ice +16 -9
- data/slice/Glacier2/SSLInfo.ice +17 -10
- data/slice/Glacier2/Session.ice +24 -18
- data/slice/Ice/BuiltinSequences.ice +18 -9
- data/slice/Ice/Communicator.ice +180 -64
- data/slice/Ice/CommunicatorF.ice +18 -9
- data/slice/Ice/Connection.ice +208 -75
- data/slice/Ice/ConnectionF.ice +18 -9
- data/slice/Ice/Current.ice +37 -28
- data/slice/Ice/Endpoint.ice +73 -21
- data/slice/Ice/EndpointF.ice +19 -10
- data/slice/Ice/EndpointTypes.ice +21 -13
- data/slice/Ice/FacetMap.ice +19 -10
- data/slice/Ice/Identity.ice +24 -10
- data/slice/Ice/ImplicitContext.ice +41 -33
- data/slice/Ice/ImplicitContextF.ice +17 -9
- data/slice/Ice/Instrumentation.ice +37 -30
- data/slice/Ice/InstrumentationF.ice +19 -10
- data/slice/Ice/LocalException.ice +118 -112
- data/slice/Ice/Locator.ice +28 -21
- data/slice/Ice/LocatorF.ice +18 -9
- data/slice/Ice/Logger.ice +26 -18
- data/slice/Ice/LoggerF.ice +18 -9
- data/slice/Ice/Metrics.ice +42 -30
- data/slice/Ice/ObjectAdapter.ice +88 -53
- data/slice/Ice/ObjectAdapterF.ice +18 -9
- data/slice/Ice/ObjectFactory.ice +28 -17
- data/slice/Ice/Plugin.ice +25 -13
- data/slice/Ice/PluginF.ice +22 -9
- data/slice/Ice/Process.ice +20 -11
- data/slice/Ice/ProcessF.ice +18 -9
- data/slice/Ice/Properties.ice +42 -28
- data/slice/Ice/PropertiesAdmin.ice +20 -10
- data/slice/Ice/PropertiesF.ice +18 -9
- data/slice/Ice/RemoteLogger.ice +23 -19
- data/slice/Ice/Router.ice +28 -13
- data/slice/Ice/RouterF.ice +18 -9
- data/slice/Ice/ServantLocator.ice +40 -29
- data/slice/Ice/ServantLocatorF.ice +18 -9
- data/slice/Ice/SliceChecksumDict.ice +18 -9
- data/slice/Ice/ValueFactory.ice +132 -0
- data/slice/Ice/Version.ice +20 -10
- data/slice/IceBT/ConnectionInfo.ice +58 -0
- data/slice/IceBT/EndpointInfo.ice +56 -0
- data/slice/IceBT/Types.ice +44 -0
- data/slice/IceBox/IceBox.ice +45 -27
- data/slice/IceDiscovery/IceDiscovery.ice +75 -10
- data/slice/IceGrid/Admin.ice +410 -44
- data/slice/IceGrid/Descriptor.ice +47 -34
- data/slice/IceGrid/Exception.ice +43 -32
- data/slice/IceGrid/FileParser.ice +21 -12
- data/slice/IceGrid/PluginFacade.ice +26 -18
- data/slice/IceGrid/Registry.ice +150 -21
- data/slice/IceGrid/Session.ice +25 -17
- data/slice/IceGrid/UserAccountMapper.ice +23 -14
- data/slice/IceIAP/ConnectionInfo.ice +73 -0
- data/slice/IceIAP/EndpointInfo.ice +67 -0
- data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +19 -12
- data/slice/IcePatch2/FileInfo.ice +19 -13
- data/slice/IcePatch2/FileServer.ice +27 -18
- data/slice/IceSSL/ConnectionInfo.ice +27 -23
- data/slice/IceSSL/ConnectionInfoF.ice +30 -0
- data/slice/IceSSL/EndpointInfo.ice +21 -36
- data/slice/IceStorm/IceStorm.ice +33 -24
- data/slice/IceStorm/Metrics.ice +19 -11
- metadata +148 -120
- data/ext/ObjectFactory.cpp +0 -140
- data/ext/ObjectFactory.h +0 -50
- data/ext/ice/cpp/include/Ice/ACMF.h +0 -30
- data/ext/ice/cpp/include/Ice/BasicStream.h +0 -1335
- data/ext/ice/cpp/include/Ice/BuiltinSequences.h +0 -82
- data/ext/ice/cpp/include/Ice/Communicator.h +0 -200
- data/ext/ice/cpp/include/Ice/Connection.h +0 -497
- data/ext/ice/cpp/include/Ice/ConnectionF.h +0 -74
- data/ext/ice/cpp/include/Ice/ConnectionFactoryF.h +0 -30
- data/ext/ice/cpp/include/Ice/Current.h +0 -102
- data/ext/ice/cpp/include/Ice/DefaultObjectFactory.h +0 -48
- data/ext/ice/cpp/include/Ice/DeprecatedStringConverter.h +0 -62
- data/ext/ice/cpp/include/Ice/Endpoint.h +0 -341
- data/ext/ice/cpp/include/Ice/EndpointF.h +0 -93
- data/ext/ice/cpp/include/Ice/EndpointTypes.h +0 -82
- data/ext/ice/cpp/include/Ice/Identity.h +0 -168
- data/ext/ice/cpp/include/Ice/ImplicitContext.h +0 -102
- data/ext/ice/cpp/include/Ice/Instrumentation.h +0 -365
- data/ext/ice/cpp/include/Ice/InstrumentationF.h +0 -75
- data/ext/ice/cpp/include/Ice/LocalException.h +0 -1030
- data/ext/ice/cpp/include/Ice/Locator.h +0 -2193
- data/ext/ice/cpp/include/Ice/LocatorF.h +0 -93
- data/ext/ice/cpp/include/Ice/Logger.h +0 -100
- data/ext/ice/cpp/include/Ice/Metrics.h +0 -2974
- data/ext/ice/cpp/include/Ice/ObjectAdapter.h +0 -168
- data/ext/ice/cpp/include/Ice/ObjectAdapterFactoryF.h +0 -26
- data/ext/ice/cpp/include/Ice/ObjectFactory.h +0 -92
- data/ext/ice/cpp/include/Ice/ObjectFactoryF.h +0 -66
- data/ext/ice/cpp/include/Ice/ObjectFactoryManagerF.h +0 -26
- data/ext/ice/cpp/include/Ice/Outgoing.h +0 -225
- data/ext/ice/cpp/include/Ice/Plugin.h +0 -125
- data/ext/ice/cpp/include/Ice/PluginF.h +0 -70
- data/ext/ice/cpp/include/Ice/Process.h +0 -574
- data/ext/ice/cpp/include/Ice/ProcessF.h +0 -83
- data/ext/ice/cpp/include/Ice/Properties.h +0 -136
- data/ext/ice/cpp/include/Ice/PropertiesAdmin.h +0 -830
- data/ext/ice/cpp/include/Ice/PropertiesF.h +0 -87
- data/ext/ice/cpp/include/Ice/RemoteLogger.h +0 -1500
- data/ext/ice/cpp/include/Ice/Router.h +0 -1159
- data/ext/ice/cpp/include/Ice/RouterF.h +0 -83
- data/ext/ice/cpp/include/Ice/ServantLocator.h +0 -96
- data/ext/ice/cpp/include/Ice/Stream.h +0 -447
- data/ext/ice/cpp/include/Ice/StreamF.h +0 -30
- data/ext/ice/cpp/include/Ice/Version.h +0 -262
- data/ext/ice/cpp/include/IceSSL/ConnectionInfo.h +0 -158
- data/ext/ice/cpp/include/IceSSL/EndpointInfo.h +0 -142
- data/ext/ice/cpp/include/IceUtil/AbstractMutex.h +0 -119
- data/ext/ice/cpp/include/IceUtil/Cache.h +0 -362
- data/ext/ice/cpp/include/IceUtil/IconvStringConverter.h +0 -302
- data/ext/ice/cpp/include/IceUtil/SHA1.h +0 -47
- data/ext/ice/cpp/include/Slice/CPlusPlusUtil.h +0 -65
- data/ext/ice/cpp/include/Slice/Checksum.h +0 -26
- data/ext/ice/cpp/include/Slice/CsUtil.h +0 -92
- data/ext/ice/cpp/include/Slice/DotNetNames.h +0 -34
- data/ext/ice/cpp/include/Slice/JavaUtil.h +0 -279
- data/ext/ice/cpp/include/Slice/ObjCUtil.h +0 -127
- data/ext/ice/cpp/include/Slice/PHPUtil.h +0 -50
- data/ext/ice/cpp/include/Slice/PythonUtil.h +0 -64
- data/ext/ice/cpp/include/Slice/Util.h +0 -56
- data/ext/ice/cpp/src/Ice/BasicStream.cpp +0 -3428
- data/ext/ice/cpp/src/Ice/DeprecatedStringConverter.cpp +0 -62
- data/ext/ice/cpp/src/Ice/ObjectFactoryF.cpp +0 -44
- data/ext/ice/cpp/src/Ice/ObjectFactoryManager.cpp +0 -139
- data/ext/ice/cpp/src/Ice/ObjectFactoryManager.h +0 -43
- data/ext/ice/cpp/src/Ice/Outgoing.cpp +0 -694
- data/ext/ice/cpp/src/Ice/Stream.cpp +0 -53
- data/ext/ice/cpp/src/Ice/StreamI.cpp +0 -832
- data/ext/ice/cpp/src/Ice/StreamI.h +0 -198
- data/ext/ice/cpp/src/IceSSL/Certificate.cpp +0 -1336
- data/ext/ice/cpp/src/IceUtil/ArgVector.cpp +0 -64
- data/ext/ice/cpp/src/IceUtil/ArgVector.h +0 -41
- data/ext/ice/cpp/src/IceUtil/Exception.cpp +0 -792
- data/ext/ice/cpp/src/IceUtil/FileUtil.h +0 -185
- data/ext/ice/cpp/src/Slice/CsUtil.cpp +0 -2660
- data/ext/ice/cpp/src/Slice/DotNetNames.cpp +0 -146
- data/ext/ice/cpp/src/Slice/ObjCUtil.cpp +0 -1310
- data/lib/Ice/ObjectFactoryF.rb +0 -29
- data/lib/IceGrid/Locator.rb +0 -106
- data/lib/IceGrid/Observer.rb +0 -572
- data/lib/IceGrid/Query.rb +0 -169
- data/slice/Freeze/BackgroundSaveEvictor.ice +0 -111
- data/slice/Freeze/CatalogData.ice +0 -49
- data/slice/Freeze/Connection.ice +0 -121
- data/slice/Freeze/ConnectionF.ice +0 -20
- data/slice/Freeze/DB.ice +0 -37
- data/slice/Freeze/Evictor.ice +0 -346
- data/slice/Freeze/EvictorF.ice +0 -22
- data/slice/Freeze/EvictorStorage.ice +0 -72
- data/slice/Freeze/Exception.ice +0 -100
- data/slice/Freeze/Transaction.ice +0 -58
- data/slice/Freeze/TransactionalEvictor.ice +0 -50
- data/slice/Ice/ObjectFactoryF.ice +0 -21
- data/slice/IceGrid/Locator.ice +0 -57
- data/slice/IceGrid/Observer.ice +0 -395
- data/slice/IceGrid/Query.ice +0 -131
@@ -1,13 +1,8 @@
|
|
1
|
-
// **********************************************************************
|
2
1
|
//
|
3
|
-
// Copyright (c)
|
2
|
+
// Copyright (c) ZeroC, Inc. All rights reserved.
|
4
3
|
//
|
5
|
-
// This copy of Ice is licensed to you under the terms described in the
|
6
|
-
// ICE_LICENSE file included in this distribution.
|
7
4
|
//
|
8
|
-
//
|
9
|
-
//
|
10
|
-
// Ice version 3.6.5
|
5
|
+
// Ice version 3.7.4
|
11
6
|
//
|
12
7
|
// <auto-generated>
|
13
8
|
//
|
@@ -24,597 +19,1026 @@
|
|
24
19
|
#include <IceUtil/PushDisableWarnings.h>
|
25
20
|
#include <Ice/ProxyF.h>
|
26
21
|
#include <Ice/ObjectF.h>
|
22
|
+
#include <Ice/ValueF.h>
|
27
23
|
#include <Ice/Exception.h>
|
28
24
|
#include <Ice/LocalObject.h>
|
29
25
|
#include <Ice/StreamHelpers.h>
|
26
|
+
#include <Ice/Comparable.h>
|
30
27
|
#include <Ice/Proxy.h>
|
28
|
+
#include <Ice/Object.h>
|
31
29
|
#include <Ice/GCObject.h>
|
32
|
-
#include <Ice/
|
30
|
+
#include <Ice/Value.h>
|
33
31
|
#include <Ice/Incoming.h>
|
32
|
+
#include <Ice/FactoryTableInit.h>
|
34
33
|
#include <IceUtil/ScopedArray.h>
|
35
|
-
#include <
|
36
|
-
#include <Ice/StreamF.h>
|
34
|
+
#include <Ice/Optional.h>
|
37
35
|
#include <Ice/Identity.h>
|
38
36
|
#include <IceUtil/UndefSysMacros.h>
|
39
37
|
|
40
38
|
#ifndef ICE_IGNORE_VERSION
|
41
|
-
# if ICE_INT_VERSION / 100 !=
|
39
|
+
# if ICE_INT_VERSION / 100 != 307
|
42
40
|
# error Ice version mismatch!
|
43
41
|
# endif
|
44
|
-
# if ICE_INT_VERSION % 100
|
42
|
+
# if ICE_INT_VERSION % 100 >= 50
|
45
43
|
# error Beta header file detected
|
46
44
|
# endif
|
47
|
-
# if ICE_INT_VERSION % 100 <
|
45
|
+
# if ICE_INT_VERSION % 100 < 4
|
48
46
|
# error Ice patch level mismatch!
|
49
47
|
# endif
|
50
48
|
#endif
|
51
49
|
|
52
|
-
|
53
|
-
{
|
50
|
+
#ifdef ICE_CPP11_MAPPING // C++11 mapping
|
54
51
|
|
55
52
|
namespace IceDiscovery
|
56
53
|
{
|
57
54
|
|
58
55
|
class LookupReply;
|
59
|
-
|
60
|
-
::IceProxy::Ice::Object* upCast(::IceProxy::IceDiscovery::LookupReply*);
|
61
|
-
|
56
|
+
class LookupReplyPrx;
|
62
57
|
class Lookup;
|
63
|
-
|
64
|
-
::IceProxy::Ice::Object* upCast(::IceProxy::IceDiscovery::Lookup*);
|
65
|
-
|
66
|
-
}
|
58
|
+
class LookupPrx;
|
67
59
|
|
68
60
|
}
|
69
61
|
|
70
62
|
namespace IceDiscovery
|
71
63
|
{
|
72
64
|
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
65
|
+
/**
|
66
|
+
* The LookupReply interface is used by IceDiscovery clients to answer requests
|
67
|
+
* received on the Lookup interface.
|
68
|
+
* \headerfile IceDiscovery/IceDiscovery.h
|
69
|
+
*/
|
70
|
+
class LookupReply : public virtual ::Ice::Object
|
71
|
+
{
|
72
|
+
public:
|
78
73
|
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
74
|
+
using ProxyType = LookupReplyPrx;
|
75
|
+
|
76
|
+
/**
|
77
|
+
* Determines whether this object supports an interface with the given Slice type ID.
|
78
|
+
* @param id The fully-scoped Slice type ID.
|
79
|
+
* @param current The Current object for the invocation.
|
80
|
+
* @return True if this object supports the interface, false, otherwise.
|
81
|
+
*/
|
82
|
+
virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
|
83
|
+
|
84
|
+
/**
|
85
|
+
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
86
|
+
* @param current The Current object for the invocation.
|
87
|
+
* @return A list of fully-scoped type IDs.
|
88
|
+
*/
|
89
|
+
virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
|
90
|
+
|
91
|
+
/**
|
92
|
+
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
93
|
+
* @param current The Current object for the invocation.
|
94
|
+
* @return A fully-scoped type ID.
|
95
|
+
*/
|
96
|
+
virtual ::std::string ice_id(const ::Ice::Current& current) const override;
|
97
|
+
|
98
|
+
/**
|
99
|
+
* Obtains the Slice type ID corresponding to this class.
|
100
|
+
* @return A fully-scoped type ID.
|
101
|
+
*/
|
102
|
+
static const ::std::string& ice_staticId();
|
103
|
+
|
104
|
+
/**
|
105
|
+
* Reply to the findObjectById request.
|
106
|
+
* @param id The identity of the object.
|
107
|
+
* @param prx The proxy of the object.
|
108
|
+
* @param current The Current object for the invocation.
|
109
|
+
*/
|
110
|
+
virtual void foundObjectById(::Ice::Identity id, ::std::shared_ptr<::Ice::ObjectPrx> prx, const ::Ice::Current& current) = 0;
|
111
|
+
/// \cond INTERNAL
|
112
|
+
bool _iceD_foundObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
|
113
|
+
/// \endcond
|
114
|
+
|
115
|
+
/**
|
116
|
+
* Reply to the findAdpaterById request.
|
117
|
+
* @param id The adapter ID.
|
118
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
119
|
+
* The proxy provides the adapter endpoints.
|
120
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
121
|
+
* replica group.
|
122
|
+
* @param current The Current object for the invocation.
|
123
|
+
*/
|
124
|
+
virtual void foundAdapterById(::std::string id, ::std::shared_ptr<::Ice::ObjectPrx> prx, bool isReplicaGroup, const ::Ice::Current& current) = 0;
|
125
|
+
/// \cond INTERNAL
|
126
|
+
bool _iceD_foundAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);
|
127
|
+
/// \endcond
|
128
|
+
|
129
|
+
/// \cond INTERNAL
|
130
|
+
virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
|
131
|
+
/// \endcond
|
132
|
+
};
|
133
|
+
|
134
|
+
/**
|
135
|
+
* The Lookup interface is used by IceDiscovery clients to look for objects
|
136
|
+
* and adapters using UDP multicast.
|
137
|
+
* \headerfile IceDiscovery/IceDiscovery.h
|
138
|
+
*/
|
139
|
+
class Lookup : public virtual ::Ice::Object
|
140
|
+
{
|
141
|
+
public:
|
142
|
+
|
143
|
+
using ProxyType = LookupPrx;
|
144
|
+
|
145
|
+
/**
|
146
|
+
* Determines whether this object supports an interface with the given Slice type ID.
|
147
|
+
* @param id The fully-scoped Slice type ID.
|
148
|
+
* @param current The Current object for the invocation.
|
149
|
+
* @return True if this object supports the interface, false, otherwise.
|
150
|
+
*/
|
151
|
+
virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
|
152
|
+
|
153
|
+
/**
|
154
|
+
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
155
|
+
* @param current The Current object for the invocation.
|
156
|
+
* @return A list of fully-scoped type IDs.
|
157
|
+
*/
|
158
|
+
virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
|
159
|
+
|
160
|
+
/**
|
161
|
+
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
162
|
+
* @param current The Current object for the invocation.
|
163
|
+
* @return A fully-scoped type ID.
|
164
|
+
*/
|
165
|
+
virtual ::std::string ice_id(const ::Ice::Current& current) const override;
|
166
|
+
|
167
|
+
/**
|
168
|
+
* Obtains the Slice type ID corresponding to this class.
|
169
|
+
* @return A fully-scoped type ID.
|
170
|
+
*/
|
171
|
+
static const ::std::string& ice_staticId();
|
172
|
+
|
173
|
+
/**
|
174
|
+
* Request to find an Ice object
|
175
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
176
|
+
* replies to requests with a matching domain identifier.
|
177
|
+
* @param id The object identity.
|
178
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
179
|
+
* the reply if a matching object is found.
|
180
|
+
* @param current The Current object for the invocation.
|
181
|
+
*/
|
182
|
+
virtual void findObjectById(::std::string domainId, ::Ice::Identity id, ::std::shared_ptr<LookupReplyPrx> reply, const ::Ice::Current& current) = 0;
|
183
|
+
/// \cond INTERNAL
|
184
|
+
bool _iceD_findObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
|
185
|
+
/// \endcond
|
186
|
+
|
187
|
+
/**
|
188
|
+
* Request to find an object adapter
|
189
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
190
|
+
* replies to requests with a matching domain identifier.
|
191
|
+
* @param id The adapter ID.
|
192
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
193
|
+
* the reply if a matching adapter is found.
|
194
|
+
* @param current The Current object for the invocation.
|
195
|
+
*/
|
196
|
+
virtual void findAdapterById(::std::string domainId, ::std::string id, ::std::shared_ptr<LookupReplyPrx> reply, const ::Ice::Current& current) = 0;
|
197
|
+
/// \cond INTERNAL
|
198
|
+
bool _iceD_findAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);
|
199
|
+
/// \endcond
|
200
|
+
|
201
|
+
/// \cond INTERNAL
|
202
|
+
virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
|
203
|
+
/// \endcond
|
204
|
+
};
|
84
205
|
|
85
206
|
}
|
86
207
|
|
87
208
|
namespace IceDiscovery
|
88
209
|
{
|
89
210
|
|
90
|
-
|
91
|
-
|
211
|
+
/**
|
212
|
+
* The LookupReply interface is used by IceDiscovery clients to answer requests
|
213
|
+
* received on the Lookup interface.
|
214
|
+
* \headerfile IceDiscovery/IceDiscovery.h
|
215
|
+
*/
|
216
|
+
class LookupReplyPrx : public virtual ::Ice::Proxy<LookupReplyPrx, ::Ice::ObjectPrx>
|
217
|
+
{
|
218
|
+
public:
|
92
219
|
|
93
|
-
|
94
|
-
|
220
|
+
/**
|
221
|
+
* Reply to the findObjectById request.
|
222
|
+
* @param id The identity of the object.
|
223
|
+
* @param prx The proxy of the object.
|
224
|
+
* @param context The Context map to send with the invocation.
|
225
|
+
*/
|
226
|
+
void foundObjectById(const ::Ice::Identity& id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
227
|
+
{
|
228
|
+
_makePromiseOutgoing<void>(true, this, &LookupReplyPrx::_iceI_foundObjectById, id, prx, context).get();
|
229
|
+
}
|
230
|
+
|
231
|
+
/**
|
232
|
+
* Reply to the findObjectById request.
|
233
|
+
* @param id The identity of the object.
|
234
|
+
* @param prx The proxy of the object.
|
235
|
+
* @param context The Context map to send with the invocation.
|
236
|
+
* @return The future object for the invocation.
|
237
|
+
*/
|
238
|
+
template<template<typename> class P = ::std::promise>
|
239
|
+
auto foundObjectByIdAsync(const ::Ice::Identity& id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
240
|
+
-> decltype(::std::declval<P<void>>().get_future())
|
241
|
+
{
|
242
|
+
return _makePromiseOutgoing<void, P>(false, this, &LookupReplyPrx::_iceI_foundObjectById, id, prx, context);
|
243
|
+
}
|
244
|
+
|
245
|
+
/**
|
246
|
+
* Reply to the findObjectById request.
|
247
|
+
* @param id The identity of the object.
|
248
|
+
* @param prx The proxy of the object.
|
249
|
+
* @param response The response callback.
|
250
|
+
* @param ex The exception callback.
|
251
|
+
* @param sent The sent callback.
|
252
|
+
* @param context The Context map to send with the invocation.
|
253
|
+
* @return A function that can be called to cancel the invocation locally.
|
254
|
+
*/
|
255
|
+
::std::function<void()>
|
256
|
+
foundObjectByIdAsync(const ::Ice::Identity& id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx,
|
257
|
+
::std::function<void()> response,
|
258
|
+
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
259
|
+
::std::function<void(bool)> sent = nullptr,
|
260
|
+
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
261
|
+
{
|
262
|
+
return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceDiscovery::LookupReplyPrx::_iceI_foundObjectById, id, prx, context);
|
263
|
+
}
|
264
|
+
|
265
|
+
/// \cond INTERNAL
|
266
|
+
void _iceI_foundObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::Identity&, const ::std::shared_ptr<::Ice::ObjectPrx>&, const ::Ice::Context&);
|
267
|
+
/// \endcond
|
268
|
+
|
269
|
+
/**
|
270
|
+
* Reply to the findAdpaterById request.
|
271
|
+
* @param id The adapter ID.
|
272
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
273
|
+
* The proxy provides the adapter endpoints.
|
274
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
275
|
+
* replica group.
|
276
|
+
* @param context The Context map to send with the invocation.
|
277
|
+
*/
|
278
|
+
void foundAdapterById(const ::std::string& id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx, bool isReplicaGroup, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
279
|
+
{
|
280
|
+
_makePromiseOutgoing<void>(true, this, &LookupReplyPrx::_iceI_foundAdapterById, id, prx, isReplicaGroup, context).get();
|
281
|
+
}
|
282
|
+
|
283
|
+
/**
|
284
|
+
* Reply to the findAdpaterById request.
|
285
|
+
* @param id The adapter ID.
|
286
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
287
|
+
* The proxy provides the adapter endpoints.
|
288
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
289
|
+
* replica group.
|
290
|
+
* @param context The Context map to send with the invocation.
|
291
|
+
* @return The future object for the invocation.
|
292
|
+
*/
|
293
|
+
template<template<typename> class P = ::std::promise>
|
294
|
+
auto foundAdapterByIdAsync(const ::std::string& id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx, bool isReplicaGroup, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
295
|
+
-> decltype(::std::declval<P<void>>().get_future())
|
296
|
+
{
|
297
|
+
return _makePromiseOutgoing<void, P>(false, this, &LookupReplyPrx::_iceI_foundAdapterById, id, prx, isReplicaGroup, context);
|
298
|
+
}
|
299
|
+
|
300
|
+
/**
|
301
|
+
* Reply to the findAdpaterById request.
|
302
|
+
* @param id The adapter ID.
|
303
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
304
|
+
* The proxy provides the adapter endpoints.
|
305
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
306
|
+
* replica group.
|
307
|
+
* @param response The response callback.
|
308
|
+
* @param ex The exception callback.
|
309
|
+
* @param sent The sent callback.
|
310
|
+
* @param context The Context map to send with the invocation.
|
311
|
+
* @return A function that can be called to cancel the invocation locally.
|
312
|
+
*/
|
313
|
+
::std::function<void()>
|
314
|
+
foundAdapterByIdAsync(const ::std::string& id, const ::std::shared_ptr<::Ice::ObjectPrx>& prx, bool isReplicaGroup,
|
315
|
+
::std::function<void()> response,
|
316
|
+
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
317
|
+
::std::function<void(bool)> sent = nullptr,
|
318
|
+
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
319
|
+
{
|
320
|
+
return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceDiscovery::LookupReplyPrx::_iceI_foundAdapterById, id, prx, isReplicaGroup, context);
|
321
|
+
}
|
322
|
+
|
323
|
+
/// \cond INTERNAL
|
324
|
+
void _iceI_foundAdapterById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::shared_ptr<::Ice::ObjectPrx>&, bool, const ::Ice::Context&);
|
325
|
+
/// \endcond
|
326
|
+
|
327
|
+
/**
|
328
|
+
* Obtains the Slice type ID of this interface.
|
329
|
+
* @return The fully-scoped type ID.
|
330
|
+
*/
|
331
|
+
static const ::std::string& ice_staticId();
|
95
332
|
|
96
|
-
|
97
|
-
typedef ::IceUtil::Handle< Callback_Lookup_findObjectById_Base> Callback_Lookup_findObjectByIdPtr;
|
333
|
+
protected:
|
98
334
|
|
99
|
-
|
100
|
-
|
335
|
+
/// \cond INTERNAL
|
336
|
+
LookupReplyPrx() = default;
|
337
|
+
friend ::std::shared_ptr<LookupReplyPrx> IceInternal::createProxy<LookupReplyPrx>();
|
338
|
+
|
339
|
+
virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
|
340
|
+
/// \endcond
|
341
|
+
};
|
342
|
+
|
343
|
+
/**
|
344
|
+
* The Lookup interface is used by IceDiscovery clients to look for objects
|
345
|
+
* and adapters using UDP multicast.
|
346
|
+
* \headerfile IceDiscovery/IceDiscovery.h
|
347
|
+
*/
|
348
|
+
class LookupPrx : public virtual ::Ice::Proxy<LookupPrx, ::Ice::ObjectPrx>
|
349
|
+
{
|
350
|
+
public:
|
351
|
+
|
352
|
+
/**
|
353
|
+
* Request to find an Ice object
|
354
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
355
|
+
* replies to requests with a matching domain identifier.
|
356
|
+
* @param id The object identity.
|
357
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
358
|
+
* the reply if a matching object is found.
|
359
|
+
* @param context The Context map to send with the invocation.
|
360
|
+
*/
|
361
|
+
void findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::std::shared_ptr<LookupReplyPrx>& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
362
|
+
{
|
363
|
+
_makePromiseOutgoing<void>(true, this, &LookupPrx::_iceI_findObjectById, domainId, id, reply, context).get();
|
364
|
+
}
|
365
|
+
|
366
|
+
/**
|
367
|
+
* Request to find an Ice object
|
368
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
369
|
+
* replies to requests with a matching domain identifier.
|
370
|
+
* @param id The object identity.
|
371
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
372
|
+
* the reply if a matching object is found.
|
373
|
+
* @param context The Context map to send with the invocation.
|
374
|
+
* @return The future object for the invocation.
|
375
|
+
*/
|
376
|
+
template<template<typename> class P = ::std::promise>
|
377
|
+
auto findObjectByIdAsync(const ::std::string& domainId, const ::Ice::Identity& id, const ::std::shared_ptr<LookupReplyPrx>& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
378
|
+
-> decltype(::std::declval<P<void>>().get_future())
|
379
|
+
{
|
380
|
+
return _makePromiseOutgoing<void, P>(false, this, &LookupPrx::_iceI_findObjectById, domainId, id, reply, context);
|
381
|
+
}
|
382
|
+
|
383
|
+
/**
|
384
|
+
* Request to find an Ice object
|
385
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
386
|
+
* replies to requests with a matching domain identifier.
|
387
|
+
* @param id The object identity.
|
388
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
389
|
+
* the reply if a matching object is found.
|
390
|
+
* @param response The response callback.
|
391
|
+
* @param ex The exception callback.
|
392
|
+
* @param sent The sent callback.
|
393
|
+
* @param context The Context map to send with the invocation.
|
394
|
+
* @return A function that can be called to cancel the invocation locally.
|
395
|
+
*/
|
396
|
+
::std::function<void()>
|
397
|
+
findObjectByIdAsync(const ::std::string& domainId, const ::Ice::Identity& id, const ::std::shared_ptr<LookupReplyPrx>& reply,
|
398
|
+
::std::function<void()> response,
|
399
|
+
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
400
|
+
::std::function<void(bool)> sent = nullptr,
|
401
|
+
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
402
|
+
{
|
403
|
+
return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceDiscovery::LookupPrx::_iceI_findObjectById, domainId, id, reply, context);
|
404
|
+
}
|
405
|
+
|
406
|
+
/// \cond INTERNAL
|
407
|
+
void _iceI_findObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::Ice::Identity&, const ::std::shared_ptr<LookupReplyPrx>&, const ::Ice::Context&);
|
408
|
+
/// \endcond
|
409
|
+
|
410
|
+
/**
|
411
|
+
* Request to find an object adapter
|
412
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
413
|
+
* replies to requests with a matching domain identifier.
|
414
|
+
* @param id The adapter ID.
|
415
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
416
|
+
* the reply if a matching adapter is found.
|
417
|
+
* @param context The Context map to send with the invocation.
|
418
|
+
*/
|
419
|
+
void findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::std::shared_ptr<LookupReplyPrx>& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
420
|
+
{
|
421
|
+
_makePromiseOutgoing<void>(true, this, &LookupPrx::_iceI_findAdapterById, domainId, id, reply, context).get();
|
422
|
+
}
|
423
|
+
|
424
|
+
/**
|
425
|
+
* Request to find an object adapter
|
426
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
427
|
+
* replies to requests with a matching domain identifier.
|
428
|
+
* @param id The adapter ID.
|
429
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
430
|
+
* the reply if a matching adapter is found.
|
431
|
+
* @param context The Context map to send with the invocation.
|
432
|
+
* @return The future object for the invocation.
|
433
|
+
*/
|
434
|
+
template<template<typename> class P = ::std::promise>
|
435
|
+
auto findAdapterByIdAsync(const ::std::string& domainId, const ::std::string& id, const ::std::shared_ptr<LookupReplyPrx>& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
436
|
+
-> decltype(::std::declval<P<void>>().get_future())
|
437
|
+
{
|
438
|
+
return _makePromiseOutgoing<void, P>(false, this, &LookupPrx::_iceI_findAdapterById, domainId, id, reply, context);
|
439
|
+
}
|
440
|
+
|
441
|
+
/**
|
442
|
+
* Request to find an object adapter
|
443
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
444
|
+
* replies to requests with a matching domain identifier.
|
445
|
+
* @param id The adapter ID.
|
446
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
447
|
+
* the reply if a matching adapter is found.
|
448
|
+
* @param response The response callback.
|
449
|
+
* @param ex The exception callback.
|
450
|
+
* @param sent The sent callback.
|
451
|
+
* @param context The Context map to send with the invocation.
|
452
|
+
* @return A function that can be called to cancel the invocation locally.
|
453
|
+
*/
|
454
|
+
::std::function<void()>
|
455
|
+
findAdapterByIdAsync(const ::std::string& domainId, const ::std::string& id, const ::std::shared_ptr<LookupReplyPrx>& reply,
|
456
|
+
::std::function<void()> response,
|
457
|
+
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
458
|
+
::std::function<void(bool)> sent = nullptr,
|
459
|
+
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
460
|
+
{
|
461
|
+
return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceDiscovery::LookupPrx::_iceI_findAdapterById, domainId, id, reply, context);
|
462
|
+
}
|
463
|
+
|
464
|
+
/// \cond INTERNAL
|
465
|
+
void _iceI_findAdapterById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::std::string&, const ::std::shared_ptr<LookupReplyPrx>&, const ::Ice::Context&);
|
466
|
+
/// \endcond
|
467
|
+
|
468
|
+
/**
|
469
|
+
* Obtains the Slice type ID of this interface.
|
470
|
+
* @return The fully-scoped type ID.
|
471
|
+
*/
|
472
|
+
static const ::std::string& ice_staticId();
|
473
|
+
|
474
|
+
protected:
|
475
|
+
|
476
|
+
/// \cond INTERNAL
|
477
|
+
LookupPrx() = default;
|
478
|
+
friend ::std::shared_ptr<LookupPrx> IceInternal::createProxy<LookupPrx>();
|
479
|
+
|
480
|
+
virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
|
481
|
+
/// \endcond
|
482
|
+
};
|
101
483
|
|
102
484
|
}
|
103
485
|
|
104
|
-
|
486
|
+
/// \cond STREAM
|
487
|
+
namespace Ice
|
105
488
|
{
|
106
489
|
|
490
|
+
}
|
491
|
+
/// \endcond
|
492
|
+
|
493
|
+
/// \cond INTERNAL
|
107
494
|
namespace IceDiscovery
|
108
495
|
{
|
109
496
|
|
110
|
-
|
111
|
-
|
112
|
-
public:
|
497
|
+
using LookupReplyPtr = ::std::shared_ptr<LookupReply>;
|
498
|
+
using LookupReplyPrxPtr = ::std::shared_ptr<LookupReplyPrx>;
|
113
499
|
|
114
|
-
|
115
|
-
|
116
|
-
foundObjectById(__p_id, __p_prx, 0);
|
117
|
-
}
|
118
|
-
void foundObjectById(const ::Ice::Identity& __p_id, const ::Ice::ObjectPrx& __p_prx, const ::Ice::Context& __ctx)
|
119
|
-
{
|
120
|
-
foundObjectById(__p_id, __p_prx, &__ctx);
|
121
|
-
}
|
122
|
-
#ifdef ICE_CPP11
|
123
|
-
::Ice::AsyncResultPtr
|
124
|
-
begin_foundObjectById(const ::Ice::Identity& __p_id, const ::Ice::ObjectPrx& __p_prx, const ::IceInternal::Function<void ()>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
|
125
|
-
{
|
126
|
-
return begin_foundObjectById(__p_id, __p_prx, 0, new ::IceInternal::Cpp11FnOnewayCallbackNC(__response, __exception, __sent));
|
127
|
-
}
|
128
|
-
::Ice::AsyncResultPtr
|
129
|
-
begin_foundObjectById(const ::Ice::Identity& __p_id, const ::Ice::ObjectPrx& __p_prx, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
|
130
|
-
{
|
131
|
-
return begin_foundObjectById(__p_id, __p_prx, 0, ::Ice::newCallback(__completed, __sent), 0);
|
132
|
-
}
|
133
|
-
::Ice::AsyncResultPtr
|
134
|
-
begin_foundObjectById(const ::Ice::Identity& __p_id, const ::Ice::ObjectPrx& __p_prx, const ::Ice::Context& __ctx, const ::IceInternal::Function<void ()>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
|
135
|
-
{
|
136
|
-
return begin_foundObjectById(__p_id, __p_prx, &__ctx, new ::IceInternal::Cpp11FnOnewayCallbackNC(__response, __exception, __sent), 0);
|
137
|
-
}
|
138
|
-
::Ice::AsyncResultPtr
|
139
|
-
begin_foundObjectById(const ::Ice::Identity& __p_id, const ::Ice::ObjectPrx& __p_prx, const ::Ice::Context& __ctx, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
|
140
|
-
{
|
141
|
-
return begin_foundObjectById(__p_id, __p_prx, &__ctx, ::Ice::newCallback(__completed, __sent));
|
142
|
-
}
|
143
|
-
#endif
|
500
|
+
using LookupPtr = ::std::shared_ptr<Lookup>;
|
501
|
+
using LookupPrxPtr = ::std::shared_ptr<LookupPrx>;
|
144
502
|
|
145
|
-
|
146
|
-
|
147
|
-
return begin_foundObjectById(__p_id, __p_prx, 0, ::IceInternal::__dummyCallback, 0);
|
148
|
-
}
|
503
|
+
}
|
504
|
+
/// \endcond
|
149
505
|
|
150
|
-
|
151
|
-
{
|
152
|
-
return begin_foundObjectById(__p_id, __p_prx, &__ctx, ::IceInternal::__dummyCallback, 0);
|
153
|
-
}
|
506
|
+
#else // C++98 mapping
|
154
507
|
|
155
|
-
|
156
|
-
|
157
|
-
return begin_foundObjectById(__p_id, __p_prx, 0, __del, __cookie);
|
158
|
-
}
|
508
|
+
namespace IceProxy
|
509
|
+
{
|
159
510
|
|
160
|
-
|
161
|
-
|
162
|
-
return begin_foundObjectById(__p_id, __p_prx, &__ctx, __del, __cookie);
|
163
|
-
}
|
511
|
+
namespace IceDiscovery
|
512
|
+
{
|
164
513
|
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
514
|
+
class LookupReply;
|
515
|
+
/// \cond INTERNAL
|
516
|
+
void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< LookupReply>&);
|
517
|
+
::IceProxy::Ice::Object* upCast(LookupReply*);
|
518
|
+
/// \endcond
|
169
519
|
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
520
|
+
class Lookup;
|
521
|
+
/// \cond INTERNAL
|
522
|
+
void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< Lookup>&);
|
523
|
+
::IceProxy::Ice::Object* upCast(Lookup*);
|
524
|
+
/// \endcond
|
174
525
|
|
175
|
-
|
176
|
-
|
177
|
-
private:
|
526
|
+
}
|
178
527
|
|
179
|
-
|
180
|
-
::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity&, const ::Ice::ObjectPrx&, const ::Ice::Context*, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& __cookie = 0);
|
181
|
-
|
182
|
-
public:
|
528
|
+
}
|
183
529
|
|
184
|
-
|
185
|
-
|
186
|
-
foundAdapterById(__p_id, __p_prx, __p_isReplicaGroup, 0);
|
187
|
-
}
|
188
|
-
void foundAdapterById(const ::std::string& __p_id, const ::Ice::ObjectPrx& __p_prx, bool __p_isReplicaGroup, const ::Ice::Context& __ctx)
|
189
|
-
{
|
190
|
-
foundAdapterById(__p_id, __p_prx, __p_isReplicaGroup, &__ctx);
|
191
|
-
}
|
192
|
-
#ifdef ICE_CPP11
|
193
|
-
::Ice::AsyncResultPtr
|
194
|
-
begin_foundAdapterById(const ::std::string& __p_id, const ::Ice::ObjectPrx& __p_prx, bool __p_isReplicaGroup, const ::IceInternal::Function<void ()>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
|
195
|
-
{
|
196
|
-
return begin_foundAdapterById(__p_id, __p_prx, __p_isReplicaGroup, 0, new ::IceInternal::Cpp11FnOnewayCallbackNC(__response, __exception, __sent));
|
197
|
-
}
|
198
|
-
::Ice::AsyncResultPtr
|
199
|
-
begin_foundAdapterById(const ::std::string& __p_id, const ::Ice::ObjectPrx& __p_prx, bool __p_isReplicaGroup, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
|
200
|
-
{
|
201
|
-
return begin_foundAdapterById(__p_id, __p_prx, __p_isReplicaGroup, 0, ::Ice::newCallback(__completed, __sent), 0);
|
202
|
-
}
|
203
|
-
::Ice::AsyncResultPtr
|
204
|
-
begin_foundAdapterById(const ::std::string& __p_id, const ::Ice::ObjectPrx& __p_prx, bool __p_isReplicaGroup, const ::Ice::Context& __ctx, const ::IceInternal::Function<void ()>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
|
205
|
-
{
|
206
|
-
return begin_foundAdapterById(__p_id, __p_prx, __p_isReplicaGroup, &__ctx, new ::IceInternal::Cpp11FnOnewayCallbackNC(__response, __exception, __sent), 0);
|
207
|
-
}
|
208
|
-
::Ice::AsyncResultPtr
|
209
|
-
begin_foundAdapterById(const ::std::string& __p_id, const ::Ice::ObjectPrx& __p_prx, bool __p_isReplicaGroup, const ::Ice::Context& __ctx, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
|
210
|
-
{
|
211
|
-
return begin_foundAdapterById(__p_id, __p_prx, __p_isReplicaGroup, &__ctx, ::Ice::newCallback(__completed, __sent));
|
212
|
-
}
|
213
|
-
#endif
|
530
|
+
namespace IceDiscovery
|
531
|
+
{
|
214
532
|
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
533
|
+
class LookupReply;
|
534
|
+
/// \cond INTERNAL
|
535
|
+
::Ice::Object* upCast(LookupReply*);
|
536
|
+
/// \endcond
|
537
|
+
typedef ::IceInternal::Handle< LookupReply> LookupReplyPtr;
|
538
|
+
typedef ::IceInternal::ProxyHandle< ::IceProxy::IceDiscovery::LookupReply> LookupReplyPrx;
|
539
|
+
typedef LookupReplyPrx LookupReplyPrxPtr;
|
540
|
+
/// \cond INTERNAL
|
541
|
+
void _icePatchObjectPtr(LookupReplyPtr&, const ::Ice::ObjectPtr&);
|
542
|
+
/// \endcond
|
219
543
|
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
544
|
+
class Lookup;
|
545
|
+
/// \cond INTERNAL
|
546
|
+
::Ice::Object* upCast(Lookup*);
|
547
|
+
/// \endcond
|
548
|
+
typedef ::IceInternal::Handle< Lookup> LookupPtr;
|
549
|
+
typedef ::IceInternal::ProxyHandle< ::IceProxy::IceDiscovery::Lookup> LookupPrx;
|
550
|
+
typedef LookupPrx LookupPrxPtr;
|
551
|
+
/// \cond INTERNAL
|
552
|
+
void _icePatchObjectPtr(LookupPtr&, const ::Ice::ObjectPtr&);
|
553
|
+
/// \endcond
|
224
554
|
|
225
|
-
|
226
|
-
{
|
227
|
-
return begin_foundAdapterById(__p_id, __p_prx, __p_isReplicaGroup, 0, __del, __cookie);
|
228
|
-
}
|
555
|
+
}
|
229
556
|
|
230
|
-
|
231
|
-
|
232
|
-
return begin_foundAdapterById(__p_id, __p_prx, __p_isReplicaGroup, &__ctx, __del, __cookie);
|
233
|
-
}
|
557
|
+
namespace IceDiscovery
|
558
|
+
{
|
234
559
|
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
560
|
+
/**
|
561
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
562
|
+
* IceProxy::IceDiscovery::LookupReply::begin_foundObjectById.
|
563
|
+
* Create a wrapper instance by calling ::IceDiscovery::newCallback_LookupReply_foundObjectById.
|
564
|
+
*/
|
565
|
+
class Callback_LookupReply_foundObjectById_Base : public virtual ::IceInternal::CallbackBase { };
|
566
|
+
typedef ::IceUtil::Handle< Callback_LookupReply_foundObjectById_Base> Callback_LookupReply_foundObjectByIdPtr;
|
239
567
|
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
568
|
+
/**
|
569
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
570
|
+
* IceProxy::IceDiscovery::LookupReply::begin_foundAdapterById.
|
571
|
+
* Create a wrapper instance by calling ::IceDiscovery::newCallback_LookupReply_foundAdapterById.
|
572
|
+
*/
|
573
|
+
class Callback_LookupReply_foundAdapterById_Base : public virtual ::IceInternal::CallbackBase { };
|
574
|
+
typedef ::IceUtil::Handle< Callback_LookupReply_foundAdapterById_Base> Callback_LookupReply_foundAdapterByIdPtr;
|
244
575
|
|
245
|
-
|
246
|
-
|
247
|
-
|
576
|
+
/**
|
577
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
578
|
+
* IceProxy::IceDiscovery::Lookup::begin_findObjectById.
|
579
|
+
* Create a wrapper instance by calling ::IceDiscovery::newCallback_Lookup_findObjectById.
|
580
|
+
*/
|
581
|
+
class Callback_Lookup_findObjectById_Base : public virtual ::IceInternal::CallbackBase { };
|
582
|
+
typedef ::IceUtil::Handle< Callback_Lookup_findObjectById_Base> Callback_Lookup_findObjectByIdPtr;
|
248
583
|
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
return dynamic_cast<LookupReply*>(::IceProxy::Ice::Object::ice_context(__context).get());
|
257
|
-
}
|
258
|
-
|
259
|
-
::IceInternal::ProxyHandle<LookupReply> ice_adapterId(const ::std::string& __id) const
|
260
|
-
{
|
261
|
-
return dynamic_cast<LookupReply*>(::IceProxy::Ice::Object::ice_adapterId(__id).get());
|
262
|
-
}
|
263
|
-
|
264
|
-
::IceInternal::ProxyHandle<LookupReply> ice_endpoints(const ::Ice::EndpointSeq& __endpoints) const
|
265
|
-
{
|
266
|
-
return dynamic_cast<LookupReply*>(::IceProxy::Ice::Object::ice_endpoints(__endpoints).get());
|
267
|
-
}
|
268
|
-
|
269
|
-
::IceInternal::ProxyHandle<LookupReply> ice_locatorCacheTimeout(int __timeout) const
|
270
|
-
{
|
271
|
-
return dynamic_cast<LookupReply*>(::IceProxy::Ice::Object::ice_locatorCacheTimeout(__timeout).get());
|
272
|
-
}
|
273
|
-
|
274
|
-
::IceInternal::ProxyHandle<LookupReply> ice_connectionCached(bool __cached) const
|
275
|
-
{
|
276
|
-
return dynamic_cast<LookupReply*>(::IceProxy::Ice::Object::ice_connectionCached(__cached).get());
|
277
|
-
}
|
278
|
-
|
279
|
-
::IceInternal::ProxyHandle<LookupReply> ice_endpointSelection(::Ice::EndpointSelectionType __est) const
|
280
|
-
{
|
281
|
-
return dynamic_cast<LookupReply*>(::IceProxy::Ice::Object::ice_endpointSelection(__est).get());
|
282
|
-
}
|
283
|
-
|
284
|
-
::IceInternal::ProxyHandle<LookupReply> ice_secure(bool __secure) const
|
285
|
-
{
|
286
|
-
return dynamic_cast<LookupReply*>(::IceProxy::Ice::Object::ice_secure(__secure).get());
|
287
|
-
}
|
288
|
-
|
289
|
-
::IceInternal::ProxyHandle<LookupReply> ice_preferSecure(bool __preferSecure) const
|
290
|
-
{
|
291
|
-
return dynamic_cast<LookupReply*>(::IceProxy::Ice::Object::ice_preferSecure(__preferSecure).get());
|
292
|
-
}
|
293
|
-
|
294
|
-
::IceInternal::ProxyHandle<LookupReply> ice_router(const ::Ice::RouterPrx& __router) const
|
295
|
-
{
|
296
|
-
return dynamic_cast<LookupReply*>(::IceProxy::Ice::Object::ice_router(__router).get());
|
297
|
-
}
|
298
|
-
|
299
|
-
::IceInternal::ProxyHandle<LookupReply> ice_locator(const ::Ice::LocatorPrx& __locator) const
|
300
|
-
{
|
301
|
-
return dynamic_cast<LookupReply*>(::IceProxy::Ice::Object::ice_locator(__locator).get());
|
302
|
-
}
|
303
|
-
|
304
|
-
::IceInternal::ProxyHandle<LookupReply> ice_collocationOptimized(bool __co) const
|
305
|
-
{
|
306
|
-
return dynamic_cast<LookupReply*>(::IceProxy::Ice::Object::ice_collocationOptimized(__co).get());
|
307
|
-
}
|
308
|
-
|
309
|
-
::IceInternal::ProxyHandle<LookupReply> ice_invocationTimeout(int __timeout) const
|
310
|
-
{
|
311
|
-
return dynamic_cast<LookupReply*>(::IceProxy::Ice::Object::ice_invocationTimeout(__timeout).get());
|
312
|
-
}
|
313
|
-
|
314
|
-
::IceInternal::ProxyHandle<LookupReply> ice_twoway() const
|
315
|
-
{
|
316
|
-
return dynamic_cast<LookupReply*>(::IceProxy::Ice::Object::ice_twoway().get());
|
317
|
-
}
|
318
|
-
|
319
|
-
::IceInternal::ProxyHandle<LookupReply> ice_oneway() const
|
320
|
-
{
|
321
|
-
return dynamic_cast<LookupReply*>(::IceProxy::Ice::Object::ice_oneway().get());
|
322
|
-
}
|
323
|
-
|
324
|
-
::IceInternal::ProxyHandle<LookupReply> ice_batchOneway() const
|
325
|
-
{
|
326
|
-
return dynamic_cast<LookupReply*>(::IceProxy::Ice::Object::ice_batchOneway().get());
|
327
|
-
}
|
328
|
-
|
329
|
-
::IceInternal::ProxyHandle<LookupReply> ice_datagram() const
|
330
|
-
{
|
331
|
-
return dynamic_cast<LookupReply*>(::IceProxy::Ice::Object::ice_datagram().get());
|
332
|
-
}
|
333
|
-
|
334
|
-
::IceInternal::ProxyHandle<LookupReply> ice_batchDatagram() const
|
335
|
-
{
|
336
|
-
return dynamic_cast<LookupReply*>(::IceProxy::Ice::Object::ice_batchDatagram().get());
|
337
|
-
}
|
338
|
-
|
339
|
-
::IceInternal::ProxyHandle<LookupReply> ice_compress(bool __compress) const
|
340
|
-
{
|
341
|
-
return dynamic_cast<LookupReply*>(::IceProxy::Ice::Object::ice_compress(__compress).get());
|
342
|
-
}
|
343
|
-
|
344
|
-
::IceInternal::ProxyHandle<LookupReply> ice_timeout(int __timeout) const
|
345
|
-
{
|
346
|
-
return dynamic_cast<LookupReply*>(::IceProxy::Ice::Object::ice_timeout(__timeout).get());
|
347
|
-
}
|
348
|
-
|
349
|
-
::IceInternal::ProxyHandle<LookupReply> ice_connectionId(const ::std::string& __id) const
|
350
|
-
{
|
351
|
-
return dynamic_cast<LookupReply*>(::IceProxy::Ice::Object::ice_connectionId(__id).get());
|
352
|
-
}
|
353
|
-
|
354
|
-
::IceInternal::ProxyHandle<LookupReply> ice_encodingVersion(const ::Ice::EncodingVersion& __v) const
|
355
|
-
{
|
356
|
-
return dynamic_cast<LookupReply*>(::IceProxy::Ice::Object::ice_encodingVersion(__v).get());
|
357
|
-
}
|
358
|
-
|
359
|
-
static const ::std::string& ice_staticId();
|
584
|
+
/**
|
585
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
586
|
+
* IceProxy::IceDiscovery::Lookup::begin_findAdapterById.
|
587
|
+
* Create a wrapper instance by calling ::IceDiscovery::newCallback_Lookup_findAdapterById.
|
588
|
+
*/
|
589
|
+
class Callback_Lookup_findAdapterById_Base : public virtual ::IceInternal::CallbackBase { };
|
590
|
+
typedef ::IceUtil::Handle< Callback_Lookup_findAdapterById_Base> Callback_Lookup_findAdapterByIdPtr;
|
360
591
|
|
361
|
-
|
362
|
-
virtual ::IceProxy::Ice::Object* __newInstance() const;
|
363
|
-
};
|
592
|
+
}
|
364
593
|
|
365
|
-
|
594
|
+
namespace IceProxy
|
366
595
|
{
|
367
|
-
public:
|
368
596
|
|
369
|
-
|
370
|
-
|
371
|
-
findObjectById(__p_domainId, __p_id, __p_reply, 0);
|
372
|
-
}
|
373
|
-
void findObjectById(const ::std::string& __p_domainId, const ::Ice::Identity& __p_id, const ::IceDiscovery::LookupReplyPrx& __p_reply, const ::Ice::Context& __ctx)
|
374
|
-
{
|
375
|
-
findObjectById(__p_domainId, __p_id, __p_reply, &__ctx);
|
376
|
-
}
|
377
|
-
#ifdef ICE_CPP11
|
378
|
-
::Ice::AsyncResultPtr
|
379
|
-
begin_findObjectById(const ::std::string& __p_domainId, const ::Ice::Identity& __p_id, const ::IceDiscovery::LookupReplyPrx& __p_reply, const ::IceInternal::Function<void ()>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
|
380
|
-
{
|
381
|
-
return begin_findObjectById(__p_domainId, __p_id, __p_reply, 0, new ::IceInternal::Cpp11FnOnewayCallbackNC(__response, __exception, __sent));
|
382
|
-
}
|
383
|
-
::Ice::AsyncResultPtr
|
384
|
-
begin_findObjectById(const ::std::string& __p_domainId, const ::Ice::Identity& __p_id, const ::IceDiscovery::LookupReplyPrx& __p_reply, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
|
385
|
-
{
|
386
|
-
return begin_findObjectById(__p_domainId, __p_id, __p_reply, 0, ::Ice::newCallback(__completed, __sent), 0);
|
387
|
-
}
|
388
|
-
::Ice::AsyncResultPtr
|
389
|
-
begin_findObjectById(const ::std::string& __p_domainId, const ::Ice::Identity& __p_id, const ::IceDiscovery::LookupReplyPrx& __p_reply, const ::Ice::Context& __ctx, const ::IceInternal::Function<void ()>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
|
390
|
-
{
|
391
|
-
return begin_findObjectById(__p_domainId, __p_id, __p_reply, &__ctx, new ::IceInternal::Cpp11FnOnewayCallbackNC(__response, __exception, __sent), 0);
|
392
|
-
}
|
393
|
-
::Ice::AsyncResultPtr
|
394
|
-
begin_findObjectById(const ::std::string& __p_domainId, const ::Ice::Identity& __p_id, const ::IceDiscovery::LookupReplyPrx& __p_reply, const ::Ice::Context& __ctx, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
|
395
|
-
{
|
396
|
-
return begin_findObjectById(__p_domainId, __p_id, __p_reply, &__ctx, ::Ice::newCallback(__completed, __sent));
|
397
|
-
}
|
398
|
-
#endif
|
597
|
+
namespace IceDiscovery
|
598
|
+
{
|
399
599
|
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
}
|
600
|
+
class LookupReply : public virtual ::Ice::Proxy<LookupReply, ::IceProxy::Ice::Object>
|
601
|
+
{
|
602
|
+
public:
|
404
603
|
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
604
|
+
/**
|
605
|
+
* Reply to the findObjectById request.
|
606
|
+
* @param id The identity of the object.
|
607
|
+
* @param prx The proxy of the object.
|
608
|
+
* @param context The Context map to send with the invocation.
|
609
|
+
*/
|
610
|
+
void foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
611
|
+
{
|
612
|
+
end_foundObjectById(_iceI_begin_foundObjectById(id, prx, context, ::IceInternal::dummyCallback, 0, true));
|
613
|
+
}
|
614
|
+
|
615
|
+
/**
|
616
|
+
* Reply to the findObjectById request.
|
617
|
+
* @param id The identity of the object.
|
618
|
+
* @param prx The proxy of the object.
|
619
|
+
* @param context The Context map to send with the invocation.
|
620
|
+
* @return The asynchronous result object for the invocation.
|
621
|
+
*/
|
622
|
+
::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
623
|
+
{
|
624
|
+
return _iceI_begin_foundObjectById(id, prx, context, ::IceInternal::dummyCallback, 0);
|
625
|
+
}
|
626
|
+
|
627
|
+
/**
|
628
|
+
* Reply to the findObjectById request.
|
629
|
+
* @param id The identity of the object.
|
630
|
+
* @param prx The proxy of the object.
|
631
|
+
* @param cb Asynchronous callback object.
|
632
|
+
* @param cookie User-defined data to associate with the invocation.
|
633
|
+
* @return The asynchronous result object for the invocation.
|
634
|
+
*/
|
635
|
+
::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
636
|
+
{
|
637
|
+
return _iceI_begin_foundObjectById(id, prx, ::Ice::noExplicitContext, cb, cookie);
|
638
|
+
}
|
639
|
+
|
640
|
+
/**
|
641
|
+
* Reply to the findObjectById request.
|
642
|
+
* @param id The identity of the object.
|
643
|
+
* @param prx The proxy of the object.
|
644
|
+
* @param context The Context map to send with the invocation.
|
645
|
+
* @param cb Asynchronous callback object.
|
646
|
+
* @param cookie User-defined data to associate with the invocation.
|
647
|
+
* @return The asynchronous result object for the invocation.
|
648
|
+
*/
|
649
|
+
::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
650
|
+
{
|
651
|
+
return _iceI_begin_foundObjectById(id, prx, context, cb, cookie);
|
652
|
+
}
|
653
|
+
|
654
|
+
/**
|
655
|
+
* Reply to the findObjectById request.
|
656
|
+
* @param id The identity of the object.
|
657
|
+
* @param prx The proxy of the object.
|
658
|
+
* @param cb Asynchronous callback object.
|
659
|
+
* @param cookie User-defined data to associate with the invocation.
|
660
|
+
* @return The asynchronous result object for the invocation.
|
661
|
+
*/
|
662
|
+
::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::IceDiscovery::Callback_LookupReply_foundObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
663
|
+
{
|
664
|
+
return _iceI_begin_foundObjectById(id, prx, ::Ice::noExplicitContext, cb, cookie);
|
665
|
+
}
|
666
|
+
|
667
|
+
/**
|
668
|
+
* Reply to the findObjectById request.
|
669
|
+
* @param id The identity of the object.
|
670
|
+
* @param prx The proxy of the object.
|
671
|
+
* @param context The Context map to send with the invocation.
|
672
|
+
* @param cb Asynchronous callback object.
|
673
|
+
* @param cookie User-defined data to associate with the invocation.
|
674
|
+
* @return The asynchronous result object for the invocation.
|
675
|
+
*/
|
676
|
+
::Ice::AsyncResultPtr begin_foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::Context& context, const ::IceDiscovery::Callback_LookupReply_foundObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
677
|
+
{
|
678
|
+
return _iceI_begin_foundObjectById(id, prx, context, cb, cookie);
|
679
|
+
}
|
680
|
+
|
681
|
+
/**
|
682
|
+
* Completes an invocation of begin_foundObjectById.
|
683
|
+
* @param result The asynchronous result object for the invocation.
|
684
|
+
*/
|
685
|
+
void end_foundObjectById(const ::Ice::AsyncResultPtr& result);
|
409
686
|
|
410
|
-
|
411
|
-
{
|
412
|
-
return begin_findObjectById(__p_domainId, __p_id, __p_reply, 0, __del, __cookie);
|
413
|
-
}
|
687
|
+
private:
|
414
688
|
|
415
|
-
::Ice::AsyncResultPtr
|
416
|
-
{
|
417
|
-
return begin_findObjectById(__p_domainId, __p_id, __p_reply, &__ctx, __del, __cookie);
|
418
|
-
}
|
689
|
+
::Ice::AsyncResultPtr _iceI_begin_foundObjectById(const ::Ice::Identity&, const ::Ice::ObjectPrx&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
|
419
690
|
|
420
|
-
|
421
|
-
{
|
422
|
-
return begin_findObjectById(__p_domainId, __p_id, __p_reply, 0, __del, __cookie);
|
423
|
-
}
|
691
|
+
public:
|
424
692
|
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
693
|
+
/**
|
694
|
+
* Reply to the findAdpaterById request.
|
695
|
+
* @param id The adapter ID.
|
696
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
697
|
+
* The proxy provides the adapter endpoints.
|
698
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
699
|
+
* replica group.
|
700
|
+
* @param context The Context map to send with the invocation.
|
701
|
+
*/
|
702
|
+
void foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
703
|
+
{
|
704
|
+
end_foundAdapterById(_iceI_begin_foundAdapterById(id, prx, isReplicaGroup, context, ::IceInternal::dummyCallback, 0, true));
|
705
|
+
}
|
706
|
+
|
707
|
+
/**
|
708
|
+
* Reply to the findAdpaterById request.
|
709
|
+
* @param id The adapter ID.
|
710
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
711
|
+
* The proxy provides the adapter endpoints.
|
712
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
713
|
+
* replica group.
|
714
|
+
* @param context The Context map to send with the invocation.
|
715
|
+
* @return The asynchronous result object for the invocation.
|
716
|
+
*/
|
717
|
+
::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
718
|
+
{
|
719
|
+
return _iceI_begin_foundAdapterById(id, prx, isReplicaGroup, context, ::IceInternal::dummyCallback, 0);
|
720
|
+
}
|
721
|
+
|
722
|
+
/**
|
723
|
+
* Reply to the findAdpaterById request.
|
724
|
+
* @param id The adapter ID.
|
725
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
726
|
+
* The proxy provides the adapter endpoints.
|
727
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
728
|
+
* replica group.
|
729
|
+
* @param cb Asynchronous callback object.
|
730
|
+
* @param cookie User-defined data to associate with the invocation.
|
731
|
+
* @return The asynchronous result object for the invocation.
|
732
|
+
*/
|
733
|
+
::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
734
|
+
{
|
735
|
+
return _iceI_begin_foundAdapterById(id, prx, isReplicaGroup, ::Ice::noExplicitContext, cb, cookie);
|
736
|
+
}
|
737
|
+
|
738
|
+
/**
|
739
|
+
* Reply to the findAdpaterById request.
|
740
|
+
* @param id The adapter ID.
|
741
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
742
|
+
* The proxy provides the adapter endpoints.
|
743
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
744
|
+
* replica group.
|
745
|
+
* @param context The Context map to send with the invocation.
|
746
|
+
* @param cb Asynchronous callback object.
|
747
|
+
* @param cookie User-defined data to associate with the invocation.
|
748
|
+
* @return The asynchronous result object for the invocation.
|
749
|
+
*/
|
750
|
+
::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
751
|
+
{
|
752
|
+
return _iceI_begin_foundAdapterById(id, prx, isReplicaGroup, context, cb, cookie);
|
753
|
+
}
|
754
|
+
|
755
|
+
/**
|
756
|
+
* Reply to the findAdpaterById request.
|
757
|
+
* @param id The adapter ID.
|
758
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
759
|
+
* The proxy provides the adapter endpoints.
|
760
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
761
|
+
* replica group.
|
762
|
+
* @param cb Asynchronous callback object.
|
763
|
+
* @param cookie User-defined data to associate with the invocation.
|
764
|
+
* @return The asynchronous result object for the invocation.
|
765
|
+
*/
|
766
|
+
::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::IceDiscovery::Callback_LookupReply_foundAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
767
|
+
{
|
768
|
+
return _iceI_begin_foundAdapterById(id, prx, isReplicaGroup, ::Ice::noExplicitContext, cb, cookie);
|
769
|
+
}
|
770
|
+
|
771
|
+
/**
|
772
|
+
* Reply to the findAdpaterById request.
|
773
|
+
* @param id The adapter ID.
|
774
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
775
|
+
* The proxy provides the adapter endpoints.
|
776
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
777
|
+
* replica group.
|
778
|
+
* @param context The Context map to send with the invocation.
|
779
|
+
* @param cb Asynchronous callback object.
|
780
|
+
* @param cookie User-defined data to associate with the invocation.
|
781
|
+
* @return The asynchronous result object for the invocation.
|
782
|
+
*/
|
783
|
+
::Ice::AsyncResultPtr begin_foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::Context& context, const ::IceDiscovery::Callback_LookupReply_foundAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
784
|
+
{
|
785
|
+
return _iceI_begin_foundAdapterById(id, prx, isReplicaGroup, context, cb, cookie);
|
786
|
+
}
|
787
|
+
|
788
|
+
/**
|
789
|
+
* Completes an invocation of begin_foundAdapterById.
|
790
|
+
* @param result The asynchronous result object for the invocation.
|
791
|
+
*/
|
792
|
+
void end_foundAdapterById(const ::Ice::AsyncResultPtr& result);
|
429
793
|
|
430
|
-
void end_findObjectById(const ::Ice::AsyncResultPtr&);
|
431
|
-
|
432
794
|
private:
|
433
795
|
|
434
|
-
|
435
|
-
|
436
|
-
|
796
|
+
::Ice::AsyncResultPtr _iceI_begin_foundAdapterById(const ::std::string&, const ::Ice::ObjectPrx&, bool, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
|
797
|
+
|
437
798
|
public:
|
438
799
|
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
{
|
445
|
-
findAdapterById(__p_domainId, __p_id, __p_reply, &__ctx);
|
446
|
-
}
|
447
|
-
#ifdef ICE_CPP11
|
448
|
-
::Ice::AsyncResultPtr
|
449
|
-
begin_findAdapterById(const ::std::string& __p_domainId, const ::std::string& __p_id, const ::IceDiscovery::LookupReplyPrx& __p_reply, const ::IceInternal::Function<void ()>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
|
450
|
-
{
|
451
|
-
return begin_findAdapterById(__p_domainId, __p_id, __p_reply, 0, new ::IceInternal::Cpp11FnOnewayCallbackNC(__response, __exception, __sent));
|
452
|
-
}
|
453
|
-
::Ice::AsyncResultPtr
|
454
|
-
begin_findAdapterById(const ::std::string& __p_domainId, const ::std::string& __p_id, const ::IceDiscovery::LookupReplyPrx& __p_reply, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
|
455
|
-
{
|
456
|
-
return begin_findAdapterById(__p_domainId, __p_id, __p_reply, 0, ::Ice::newCallback(__completed, __sent), 0);
|
457
|
-
}
|
458
|
-
::Ice::AsyncResultPtr
|
459
|
-
begin_findAdapterById(const ::std::string& __p_domainId, const ::std::string& __p_id, const ::IceDiscovery::LookupReplyPrx& __p_reply, const ::Ice::Context& __ctx, const ::IceInternal::Function<void ()>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
|
460
|
-
{
|
461
|
-
return begin_findAdapterById(__p_domainId, __p_id, __p_reply, &__ctx, new ::IceInternal::Cpp11FnOnewayCallbackNC(__response, __exception, __sent), 0);
|
462
|
-
}
|
463
|
-
::Ice::AsyncResultPtr
|
464
|
-
begin_findAdapterById(const ::std::string& __p_domainId, const ::std::string& __p_id, const ::IceDiscovery::LookupReplyPrx& __p_reply, const ::Ice::Context& __ctx, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
|
465
|
-
{
|
466
|
-
return begin_findAdapterById(__p_domainId, __p_id, __p_reply, &__ctx, ::Ice::newCallback(__completed, __sent));
|
467
|
-
}
|
468
|
-
#endif
|
800
|
+
/**
|
801
|
+
* Obtains the Slice type ID corresponding to this interface.
|
802
|
+
* @return A fully-scoped type ID.
|
803
|
+
*/
|
804
|
+
static const ::std::string& ice_staticId();
|
469
805
|
|
470
|
-
|
471
|
-
|
472
|
-
return begin_findAdapterById(__p_domainId, __p_id, __p_reply, 0, ::IceInternal::__dummyCallback, 0);
|
473
|
-
}
|
806
|
+
protected:
|
807
|
+
/// \cond INTERNAL
|
474
808
|
|
475
|
-
::Ice::
|
476
|
-
|
477
|
-
|
478
|
-
}
|
809
|
+
virtual ::IceProxy::Ice::Object* _newInstance() const;
|
810
|
+
/// \endcond
|
811
|
+
};
|
479
812
|
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
}
|
813
|
+
class Lookup : public virtual ::Ice::Proxy<Lookup, ::IceProxy::Ice::Object>
|
814
|
+
{
|
815
|
+
public:
|
484
816
|
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
817
|
+
/**
|
818
|
+
* Request to find an Ice object
|
819
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
820
|
+
* replies to requests with a matching domain identifier.
|
821
|
+
* @param id The object identity.
|
822
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
823
|
+
* the reply if a matching object is found.
|
824
|
+
* @param context The Context map to send with the invocation.
|
825
|
+
*/
|
826
|
+
void findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
827
|
+
{
|
828
|
+
end_findObjectById(_iceI_begin_findObjectById(domainId, id, reply, context, ::IceInternal::dummyCallback, 0, true));
|
829
|
+
}
|
830
|
+
|
831
|
+
/**
|
832
|
+
* Request to find an Ice object
|
833
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
834
|
+
* replies to requests with a matching domain identifier.
|
835
|
+
* @param id The object identity.
|
836
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
837
|
+
* the reply if a matching object is found.
|
838
|
+
* @param context The Context map to send with the invocation.
|
839
|
+
* @return The asynchronous result object for the invocation.
|
840
|
+
*/
|
841
|
+
::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
842
|
+
{
|
843
|
+
return _iceI_begin_findObjectById(domainId, id, reply, context, ::IceInternal::dummyCallback, 0);
|
844
|
+
}
|
845
|
+
|
846
|
+
/**
|
847
|
+
* Request to find an Ice object
|
848
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
849
|
+
* replies to requests with a matching domain identifier.
|
850
|
+
* @param id The object identity.
|
851
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
852
|
+
* the reply if a matching object is found.
|
853
|
+
* @param cb Asynchronous callback object.
|
854
|
+
* @param cookie User-defined data to associate with the invocation.
|
855
|
+
* @return The asynchronous result object for the invocation.
|
856
|
+
*/
|
857
|
+
::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
858
|
+
{
|
859
|
+
return _iceI_begin_findObjectById(domainId, id, reply, ::Ice::noExplicitContext, cb, cookie);
|
860
|
+
}
|
861
|
+
|
862
|
+
/**
|
863
|
+
* Request to find an Ice object
|
864
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
865
|
+
* replies to requests with a matching domain identifier.
|
866
|
+
* @param id The object identity.
|
867
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
868
|
+
* the reply if a matching object is found.
|
869
|
+
* @param context The Context map to send with the invocation.
|
870
|
+
* @param cb Asynchronous callback object.
|
871
|
+
* @param cookie User-defined data to associate with the invocation.
|
872
|
+
* @return The asynchronous result object for the invocation.
|
873
|
+
*/
|
874
|
+
::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
875
|
+
{
|
876
|
+
return _iceI_begin_findObjectById(domainId, id, reply, context, cb, cookie);
|
877
|
+
}
|
878
|
+
|
879
|
+
/**
|
880
|
+
* Request to find an Ice object
|
881
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
882
|
+
* replies to requests with a matching domain identifier.
|
883
|
+
* @param id The object identity.
|
884
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
885
|
+
* the reply if a matching object is found.
|
886
|
+
* @param cb Asynchronous callback object.
|
887
|
+
* @param cookie User-defined data to associate with the invocation.
|
888
|
+
* @return The asynchronous result object for the invocation.
|
889
|
+
*/
|
890
|
+
::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::IceDiscovery::Callback_Lookup_findObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
891
|
+
{
|
892
|
+
return _iceI_begin_findObjectById(domainId, id, reply, ::Ice::noExplicitContext, cb, cookie);
|
893
|
+
}
|
894
|
+
|
895
|
+
/**
|
896
|
+
* Request to find an Ice object
|
897
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
898
|
+
* replies to requests with a matching domain identifier.
|
899
|
+
* @param id The object identity.
|
900
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
901
|
+
* the reply if a matching object is found.
|
902
|
+
* @param context The Context map to send with the invocation.
|
903
|
+
* @param cb Asynchronous callback object.
|
904
|
+
* @param cookie User-defined data to associate with the invocation.
|
905
|
+
* @return The asynchronous result object for the invocation.
|
906
|
+
*/
|
907
|
+
::Ice::AsyncResultPtr begin_findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context, const ::IceDiscovery::Callback_Lookup_findObjectByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
908
|
+
{
|
909
|
+
return _iceI_begin_findObjectById(domainId, id, reply, context, cb, cookie);
|
910
|
+
}
|
911
|
+
|
912
|
+
/**
|
913
|
+
* Completes an invocation of begin_findObjectById.
|
914
|
+
* @param result The asynchronous result object for the invocation.
|
915
|
+
*/
|
916
|
+
void end_findObjectById(const ::Ice::AsyncResultPtr& result);
|
489
917
|
|
490
|
-
|
491
|
-
{
|
492
|
-
return begin_findAdapterById(__p_domainId, __p_id, __p_reply, 0, __del, __cookie);
|
493
|
-
}
|
918
|
+
private:
|
494
919
|
|
495
|
-
::Ice::AsyncResultPtr
|
496
|
-
|
497
|
-
|
498
|
-
|
920
|
+
::Ice::AsyncResultPtr _iceI_begin_findObjectById(const ::std::string&, const ::Ice::Identity&, const ::IceDiscovery::LookupReplyPrx&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
|
921
|
+
|
922
|
+
public:
|
923
|
+
|
924
|
+
/**
|
925
|
+
* Request to find an object adapter
|
926
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
927
|
+
* replies to requests with a matching domain identifier.
|
928
|
+
* @param id The adapter ID.
|
929
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
930
|
+
* the reply if a matching adapter is found.
|
931
|
+
* @param context The Context map to send with the invocation.
|
932
|
+
*/
|
933
|
+
void findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
934
|
+
{
|
935
|
+
end_findAdapterById(_iceI_begin_findAdapterById(domainId, id, reply, context, ::IceInternal::dummyCallback, 0, true));
|
936
|
+
}
|
937
|
+
|
938
|
+
/**
|
939
|
+
* Request to find an object adapter
|
940
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
941
|
+
* replies to requests with a matching domain identifier.
|
942
|
+
* @param id The adapter ID.
|
943
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
944
|
+
* the reply if a matching adapter is found.
|
945
|
+
* @param context The Context map to send with the invocation.
|
946
|
+
* @return The asynchronous result object for the invocation.
|
947
|
+
*/
|
948
|
+
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
949
|
+
{
|
950
|
+
return _iceI_begin_findAdapterById(domainId, id, reply, context, ::IceInternal::dummyCallback, 0);
|
951
|
+
}
|
952
|
+
|
953
|
+
/**
|
954
|
+
* Request to find an object adapter
|
955
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
956
|
+
* replies to requests with a matching domain identifier.
|
957
|
+
* @param id The adapter ID.
|
958
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
959
|
+
* the reply if a matching adapter is found.
|
960
|
+
* @param cb Asynchronous callback object.
|
961
|
+
* @param cookie User-defined data to associate with the invocation.
|
962
|
+
* @return The asynchronous result object for the invocation.
|
963
|
+
*/
|
964
|
+
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
965
|
+
{
|
966
|
+
return _iceI_begin_findAdapterById(domainId, id, reply, ::Ice::noExplicitContext, cb, cookie);
|
967
|
+
}
|
968
|
+
|
969
|
+
/**
|
970
|
+
* Request to find an object adapter
|
971
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
972
|
+
* replies to requests with a matching domain identifier.
|
973
|
+
* @param id The adapter ID.
|
974
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
975
|
+
* the reply if a matching adapter is found.
|
976
|
+
* @param context The Context map to send with the invocation.
|
977
|
+
* @param cb Asynchronous callback object.
|
978
|
+
* @param cookie User-defined data to associate with the invocation.
|
979
|
+
* @return The asynchronous result object for the invocation.
|
980
|
+
*/
|
981
|
+
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
982
|
+
{
|
983
|
+
return _iceI_begin_findAdapterById(domainId, id, reply, context, cb, cookie);
|
984
|
+
}
|
985
|
+
|
986
|
+
/**
|
987
|
+
* Request to find an object adapter
|
988
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
989
|
+
* replies to requests with a matching domain identifier.
|
990
|
+
* @param id The adapter ID.
|
991
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
992
|
+
* the reply if a matching adapter is found.
|
993
|
+
* @param cb Asynchronous callback object.
|
994
|
+
* @param cookie User-defined data to associate with the invocation.
|
995
|
+
* @return The asynchronous result object for the invocation.
|
996
|
+
*/
|
997
|
+
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::IceDiscovery::Callback_Lookup_findAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
998
|
+
{
|
999
|
+
return _iceI_begin_findAdapterById(domainId, id, reply, ::Ice::noExplicitContext, cb, cookie);
|
1000
|
+
}
|
1001
|
+
|
1002
|
+
/**
|
1003
|
+
* Request to find an object adapter
|
1004
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
1005
|
+
* replies to requests with a matching domain identifier.
|
1006
|
+
* @param id The adapter ID.
|
1007
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
1008
|
+
* the reply if a matching adapter is found.
|
1009
|
+
* @param context The Context map to send with the invocation.
|
1010
|
+
* @param cb Asynchronous callback object.
|
1011
|
+
* @param cookie User-defined data to associate with the invocation.
|
1012
|
+
* @return The asynchronous result object for the invocation.
|
1013
|
+
*/
|
1014
|
+
::Ice::AsyncResultPtr begin_findAdapterById(const ::std::string& domainId, const ::std::string& id, const ::IceDiscovery::LookupReplyPrx& reply, const ::Ice::Context& context, const ::IceDiscovery::Callback_Lookup_findAdapterByIdPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1015
|
+
{
|
1016
|
+
return _iceI_begin_findAdapterById(domainId, id, reply, context, cb, cookie);
|
1017
|
+
}
|
1018
|
+
|
1019
|
+
/**
|
1020
|
+
* Completes an invocation of begin_findAdapterById.
|
1021
|
+
* @param result The asynchronous result object for the invocation.
|
1022
|
+
*/
|
1023
|
+
void end_findAdapterById(const ::Ice::AsyncResultPtr& result);
|
499
1024
|
|
500
|
-
void end_findAdapterById(const ::Ice::AsyncResultPtr&);
|
501
|
-
|
502
1025
|
private:
|
503
1026
|
|
504
|
-
|
505
|
-
|
506
|
-
|
1027
|
+
::Ice::AsyncResultPtr _iceI_begin_findAdapterById(const ::std::string&, const ::std::string&, const ::IceDiscovery::LookupReplyPrx&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
|
1028
|
+
|
507
1029
|
public:
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
::IceInternal::ProxyHandle<Lookup> ice_adapterId(const ::std::string& __id) const
|
515
|
-
{
|
516
|
-
return dynamic_cast<Lookup*>(::IceProxy::Ice::Object::ice_adapterId(__id).get());
|
517
|
-
}
|
518
|
-
|
519
|
-
::IceInternal::ProxyHandle<Lookup> ice_endpoints(const ::Ice::EndpointSeq& __endpoints) const
|
520
|
-
{
|
521
|
-
return dynamic_cast<Lookup*>(::IceProxy::Ice::Object::ice_endpoints(__endpoints).get());
|
522
|
-
}
|
523
|
-
|
524
|
-
::IceInternal::ProxyHandle<Lookup> ice_locatorCacheTimeout(int __timeout) const
|
525
|
-
{
|
526
|
-
return dynamic_cast<Lookup*>(::IceProxy::Ice::Object::ice_locatorCacheTimeout(__timeout).get());
|
527
|
-
}
|
528
|
-
|
529
|
-
::IceInternal::ProxyHandle<Lookup> ice_connectionCached(bool __cached) const
|
530
|
-
{
|
531
|
-
return dynamic_cast<Lookup*>(::IceProxy::Ice::Object::ice_connectionCached(__cached).get());
|
532
|
-
}
|
533
|
-
|
534
|
-
::IceInternal::ProxyHandle<Lookup> ice_endpointSelection(::Ice::EndpointSelectionType __est) const
|
535
|
-
{
|
536
|
-
return dynamic_cast<Lookup*>(::IceProxy::Ice::Object::ice_endpointSelection(__est).get());
|
537
|
-
}
|
538
|
-
|
539
|
-
::IceInternal::ProxyHandle<Lookup> ice_secure(bool __secure) const
|
540
|
-
{
|
541
|
-
return dynamic_cast<Lookup*>(::IceProxy::Ice::Object::ice_secure(__secure).get());
|
542
|
-
}
|
543
|
-
|
544
|
-
::IceInternal::ProxyHandle<Lookup> ice_preferSecure(bool __preferSecure) const
|
545
|
-
{
|
546
|
-
return dynamic_cast<Lookup*>(::IceProxy::Ice::Object::ice_preferSecure(__preferSecure).get());
|
547
|
-
}
|
548
|
-
|
549
|
-
::IceInternal::ProxyHandle<Lookup> ice_router(const ::Ice::RouterPrx& __router) const
|
550
|
-
{
|
551
|
-
return dynamic_cast<Lookup*>(::IceProxy::Ice::Object::ice_router(__router).get());
|
552
|
-
}
|
553
|
-
|
554
|
-
::IceInternal::ProxyHandle<Lookup> ice_locator(const ::Ice::LocatorPrx& __locator) const
|
555
|
-
{
|
556
|
-
return dynamic_cast<Lookup*>(::IceProxy::Ice::Object::ice_locator(__locator).get());
|
557
|
-
}
|
558
|
-
|
559
|
-
::IceInternal::ProxyHandle<Lookup> ice_collocationOptimized(bool __co) const
|
560
|
-
{
|
561
|
-
return dynamic_cast<Lookup*>(::IceProxy::Ice::Object::ice_collocationOptimized(__co).get());
|
562
|
-
}
|
563
|
-
|
564
|
-
::IceInternal::ProxyHandle<Lookup> ice_invocationTimeout(int __timeout) const
|
565
|
-
{
|
566
|
-
return dynamic_cast<Lookup*>(::IceProxy::Ice::Object::ice_invocationTimeout(__timeout).get());
|
567
|
-
}
|
568
|
-
|
569
|
-
::IceInternal::ProxyHandle<Lookup> ice_twoway() const
|
570
|
-
{
|
571
|
-
return dynamic_cast<Lookup*>(::IceProxy::Ice::Object::ice_twoway().get());
|
572
|
-
}
|
573
|
-
|
574
|
-
::IceInternal::ProxyHandle<Lookup> ice_oneway() const
|
575
|
-
{
|
576
|
-
return dynamic_cast<Lookup*>(::IceProxy::Ice::Object::ice_oneway().get());
|
577
|
-
}
|
578
|
-
|
579
|
-
::IceInternal::ProxyHandle<Lookup> ice_batchOneway() const
|
580
|
-
{
|
581
|
-
return dynamic_cast<Lookup*>(::IceProxy::Ice::Object::ice_batchOneway().get());
|
582
|
-
}
|
583
|
-
|
584
|
-
::IceInternal::ProxyHandle<Lookup> ice_datagram() const
|
585
|
-
{
|
586
|
-
return dynamic_cast<Lookup*>(::IceProxy::Ice::Object::ice_datagram().get());
|
587
|
-
}
|
588
|
-
|
589
|
-
::IceInternal::ProxyHandle<Lookup> ice_batchDatagram() const
|
590
|
-
{
|
591
|
-
return dynamic_cast<Lookup*>(::IceProxy::Ice::Object::ice_batchDatagram().get());
|
592
|
-
}
|
593
|
-
|
594
|
-
::IceInternal::ProxyHandle<Lookup> ice_compress(bool __compress) const
|
595
|
-
{
|
596
|
-
return dynamic_cast<Lookup*>(::IceProxy::Ice::Object::ice_compress(__compress).get());
|
597
|
-
}
|
598
|
-
|
599
|
-
::IceInternal::ProxyHandle<Lookup> ice_timeout(int __timeout) const
|
600
|
-
{
|
601
|
-
return dynamic_cast<Lookup*>(::IceProxy::Ice::Object::ice_timeout(__timeout).get());
|
602
|
-
}
|
603
|
-
|
604
|
-
::IceInternal::ProxyHandle<Lookup> ice_connectionId(const ::std::string& __id) const
|
605
|
-
{
|
606
|
-
return dynamic_cast<Lookup*>(::IceProxy::Ice::Object::ice_connectionId(__id).get());
|
607
|
-
}
|
608
|
-
|
609
|
-
::IceInternal::ProxyHandle<Lookup> ice_encodingVersion(const ::Ice::EncodingVersion& __v) const
|
610
|
-
{
|
611
|
-
return dynamic_cast<Lookup*>(::IceProxy::Ice::Object::ice_encodingVersion(__v).get());
|
612
|
-
}
|
613
|
-
|
1030
|
+
|
1031
|
+
/**
|
1032
|
+
* Obtains the Slice type ID corresponding to this interface.
|
1033
|
+
* @return A fully-scoped type ID.
|
1034
|
+
*/
|
614
1035
|
static const ::std::string& ice_staticId();
|
615
1036
|
|
616
|
-
|
617
|
-
|
1037
|
+
protected:
|
1038
|
+
/// \cond INTERNAL
|
1039
|
+
|
1040
|
+
virtual ::IceProxy::Ice::Object* _newInstance() const;
|
1041
|
+
/// \endcond
|
618
1042
|
};
|
619
1043
|
|
620
1044
|
}
|
@@ -624,85 +1048,208 @@ private:
|
|
624
1048
|
namespace IceDiscovery
|
625
1049
|
{
|
626
1050
|
|
627
|
-
|
1051
|
+
/**
|
1052
|
+
* The LookupReply interface is used by IceDiscovery clients to answer requests
|
1053
|
+
* received on the Lookup interface.
|
1054
|
+
* \headerfile IceDiscovery/IceDiscovery.h
|
1055
|
+
*/
|
1056
|
+
class LookupReply : public virtual ::Ice::Object
|
628
1057
|
{
|
629
1058
|
public:
|
630
1059
|
|
631
1060
|
typedef LookupReplyPrx ProxyType;
|
632
1061
|
typedef LookupReplyPtr PointerType;
|
633
1062
|
|
634
|
-
virtual
|
635
|
-
|
636
|
-
|
1063
|
+
virtual ~LookupReply();
|
1064
|
+
|
1065
|
+
/**
|
1066
|
+
* Determines whether this object supports an interface with the given Slice type ID.
|
1067
|
+
* @param id The fully-scoped Slice type ID.
|
1068
|
+
* @param current The Current object for the invocation.
|
1069
|
+
* @return True if this object supports the interface, false, otherwise.
|
1070
|
+
*/
|
1071
|
+
virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
|
1072
|
+
|
1073
|
+
/**
|
1074
|
+
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
1075
|
+
* @param current The Current object for the invocation.
|
1076
|
+
* @return A list of fully-scoped type IDs.
|
1077
|
+
*/
|
1078
|
+
virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
|
1079
|
+
|
1080
|
+
/**
|
1081
|
+
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
1082
|
+
* @param current The Current object for the invocation.
|
1083
|
+
* @return A fully-scoped type ID.
|
1084
|
+
*/
|
1085
|
+
virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
|
1086
|
+
|
1087
|
+
/**
|
1088
|
+
* Obtains the Slice type ID corresponding to this class.
|
1089
|
+
* @return A fully-scoped type ID.
|
1090
|
+
*/
|
637
1091
|
static const ::std::string& ice_staticId();
|
638
1092
|
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
virtual ::Ice::
|
1093
|
+
/**
|
1094
|
+
* Reply to the findObjectById request.
|
1095
|
+
* @param id The identity of the object.
|
1096
|
+
* @param prx The proxy of the object.
|
1097
|
+
* @param current The Current object for the invocation.
|
1098
|
+
*/
|
1099
|
+
virtual void foundObjectById(const ::Ice::Identity& id, const ::Ice::ObjectPrx& prx, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
|
1100
|
+
/// \cond INTERNAL
|
1101
|
+
bool _iceD_foundObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
|
1102
|
+
/// \endcond
|
1103
|
+
|
1104
|
+
/**
|
1105
|
+
* Reply to the findAdpaterById request.
|
1106
|
+
* @param id The adapter ID.
|
1107
|
+
* @param prx The adapter proxy (a dummy proxy created by the adapter).
|
1108
|
+
* The proxy provides the adapter endpoints.
|
1109
|
+
* @param isReplicaGroup True if the adapter is also a member of a
|
1110
|
+
* replica group.
|
1111
|
+
* @param current The Current object for the invocation.
|
1112
|
+
*/
|
1113
|
+
virtual void foundAdapterById(const ::std::string& id, const ::Ice::ObjectPrx& prx, bool isReplicaGroup, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
|
1114
|
+
/// \cond INTERNAL
|
1115
|
+
bool _iceD_foundAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);
|
1116
|
+
/// \endcond
|
1117
|
+
|
1118
|
+
/// \cond INTERNAL
|
1119
|
+
virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
|
1120
|
+
/// \endcond
|
646
1121
|
|
647
1122
|
protected:
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
1123
|
+
|
1124
|
+
/// \cond STREAM
|
1125
|
+
virtual void _iceWriteImpl(::Ice::OutputStream*) const;
|
1126
|
+
virtual void _iceReadImpl(::Ice::InputStream*);
|
1127
|
+
/// \endcond
|
652
1128
|
};
|
653
1129
|
|
654
|
-
|
1130
|
+
/// \cond INTERNAL
|
1131
|
+
inline bool operator==(const LookupReply& lhs, const LookupReply& rhs)
|
655
1132
|
{
|
656
|
-
return static_cast<const ::Ice::Object&>(
|
1133
|
+
return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
|
657
1134
|
}
|
658
1135
|
|
659
|
-
inline bool operator<(const LookupReply&
|
1136
|
+
inline bool operator<(const LookupReply& lhs, const LookupReply& rhs)
|
660
1137
|
{
|
661
|
-
return static_cast<const ::Ice::Object&>(
|
1138
|
+
return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
|
662
1139
|
}
|
663
|
-
|
664
|
-
|
1140
|
+
/// \endcond
|
1141
|
+
|
1142
|
+
/**
|
1143
|
+
* The Lookup interface is used by IceDiscovery clients to look for objects
|
1144
|
+
* and adapters using UDP multicast.
|
1145
|
+
* \headerfile IceDiscovery/IceDiscovery.h
|
1146
|
+
*/
|
1147
|
+
class Lookup : public virtual ::Ice::Object
|
665
1148
|
{
|
666
1149
|
public:
|
667
1150
|
|
668
1151
|
typedef LookupPrx ProxyType;
|
669
1152
|
typedef LookupPtr PointerType;
|
670
1153
|
|
671
|
-
virtual
|
672
|
-
|
673
|
-
|
1154
|
+
virtual ~Lookup();
|
1155
|
+
|
1156
|
+
/**
|
1157
|
+
* Determines whether this object supports an interface with the given Slice type ID.
|
1158
|
+
* @param id The fully-scoped Slice type ID.
|
1159
|
+
* @param current The Current object for the invocation.
|
1160
|
+
* @return True if this object supports the interface, false, otherwise.
|
1161
|
+
*/
|
1162
|
+
virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
|
1163
|
+
|
1164
|
+
/**
|
1165
|
+
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
1166
|
+
* @param current The Current object for the invocation.
|
1167
|
+
* @return A list of fully-scoped type IDs.
|
1168
|
+
*/
|
1169
|
+
virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
|
1170
|
+
|
1171
|
+
/**
|
1172
|
+
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
1173
|
+
* @param current The Current object for the invocation.
|
1174
|
+
* @return A fully-scoped type ID.
|
1175
|
+
*/
|
1176
|
+
virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
|
1177
|
+
|
1178
|
+
/**
|
1179
|
+
* Obtains the Slice type ID corresponding to this class.
|
1180
|
+
* @return A fully-scoped type ID.
|
1181
|
+
*/
|
674
1182
|
static const ::std::string& ice_staticId();
|
675
1183
|
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
1184
|
+
/**
|
1185
|
+
* Request to find an Ice object
|
1186
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
1187
|
+
* replies to requests with a matching domain identifier.
|
1188
|
+
* @param id The object identity.
|
1189
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
1190
|
+
* the reply if a matching object is found.
|
1191
|
+
* @param current The Current object for the invocation.
|
1192
|
+
*/
|
1193
|
+
virtual void findObjectById(const ::std::string& domainId, const ::Ice::Identity& id, const LookupReplyPrx& reply, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
|
1194
|
+
/// \cond INTERNAL
|
1195
|
+
bool _iceD_findObjectById(::IceInternal::Incoming&, const ::Ice::Current&);
|
1196
|
+
/// \endcond
|
1197
|
+
|
1198
|
+
/**
|
1199
|
+
* Request to find an object adapter
|
1200
|
+
* @param domainId The IceDiscovery domain identifier. An IceDiscovery client only
|
1201
|
+
* replies to requests with a matching domain identifier.
|
1202
|
+
* @param id The adapter ID.
|
1203
|
+
* @param reply The proxy of the LookupReply interface that should be used to send
|
1204
|
+
* the reply if a matching adapter is found.
|
1205
|
+
* @param current The Current object for the invocation.
|
1206
|
+
*/
|
1207
|
+
virtual void findAdapterById(const ::std::string& domainId, const ::std::string& id, const LookupReplyPrx& reply, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
|
1208
|
+
/// \cond INTERNAL
|
1209
|
+
bool _iceD_findAdapterById(::IceInternal::Incoming&, const ::Ice::Current&);
|
1210
|
+
/// \endcond
|
1211
|
+
|
1212
|
+
/// \cond INTERNAL
|
1213
|
+
virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
|
1214
|
+
/// \endcond
|
683
1215
|
|
684
1216
|
protected:
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
1217
|
+
|
1218
|
+
/// \cond STREAM
|
1219
|
+
virtual void _iceWriteImpl(::Ice::OutputStream*) const;
|
1220
|
+
virtual void _iceReadImpl(::Ice::InputStream*);
|
1221
|
+
/// \endcond
|
689
1222
|
};
|
690
1223
|
|
691
|
-
|
1224
|
+
/// \cond INTERNAL
|
1225
|
+
inline bool operator==(const Lookup& lhs, const Lookup& rhs)
|
692
1226
|
{
|
693
|
-
return static_cast<const ::Ice::Object&>(
|
1227
|
+
return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
|
694
1228
|
}
|
695
1229
|
|
696
|
-
inline bool operator<(const Lookup&
|
1230
|
+
inline bool operator<(const Lookup& lhs, const Lookup& rhs)
|
697
1231
|
{
|
698
|
-
return static_cast<const ::Ice::Object&>(
|
1232
|
+
return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
|
699
1233
|
}
|
1234
|
+
/// \endcond
|
700
1235
|
|
701
1236
|
}
|
702
1237
|
|
1238
|
+
/// \cond STREAM
|
1239
|
+
namespace Ice
|
1240
|
+
{
|
1241
|
+
|
1242
|
+
}
|
1243
|
+
/// \endcond
|
1244
|
+
|
703
1245
|
namespace IceDiscovery
|
704
1246
|
{
|
705
1247
|
|
1248
|
+
/**
|
1249
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
1250
|
+
* IceProxy::IceDiscovery::LookupReply::begin_foundObjectById.
|
1251
|
+
* Create a wrapper instance by calling ::IceDiscovery::newCallback_LookupReply_foundObjectById.
|
1252
|
+
*/
|
706
1253
|
template<class T>
|
707
1254
|
class CallbackNC_LookupReply_foundObjectById : public Callback_LookupReply_foundObjectById_Base, public ::IceInternal::OnewayCallbackNC<T>
|
708
1255
|
{
|
@@ -720,30 +1267,65 @@ public:
|
|
720
1267
|
}
|
721
1268
|
};
|
722
1269
|
|
1270
|
+
/**
|
1271
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1272
|
+
* @param instance The callback object.
|
1273
|
+
* @param cb The success method of the callback object.
|
1274
|
+
* @param excb The exception method of the callback object.
|
1275
|
+
* @param sentcb The sent method of the callback object.
|
1276
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::LookupReply::begin_foundObjectById.
|
1277
|
+
*/
|
723
1278
|
template<class T> Callback_LookupReply_foundObjectByIdPtr
|
724
1279
|
newCallback_LookupReply_foundObjectById(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
725
1280
|
{
|
726
1281
|
return new CallbackNC_LookupReply_foundObjectById<T>(instance, cb, excb, sentcb);
|
727
1282
|
}
|
728
1283
|
|
1284
|
+
/**
|
1285
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1286
|
+
* @param instance The callback object.
|
1287
|
+
* @param excb The exception method of the callback object.
|
1288
|
+
* @param sentcb The sent method of the callback object.
|
1289
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::LookupReply::begin_foundObjectById.
|
1290
|
+
*/
|
729
1291
|
template<class T> Callback_LookupReply_foundObjectByIdPtr
|
730
1292
|
newCallback_LookupReply_foundObjectById(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
731
1293
|
{
|
732
1294
|
return new CallbackNC_LookupReply_foundObjectById<T>(instance, 0, excb, sentcb);
|
733
1295
|
}
|
734
1296
|
|
1297
|
+
/**
|
1298
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1299
|
+
* @param instance The callback object.
|
1300
|
+
* @param cb The success method of the callback object.
|
1301
|
+
* @param excb The exception method of the callback object.
|
1302
|
+
* @param sentcb The sent method of the callback object.
|
1303
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::LookupReply::begin_foundObjectById.
|
1304
|
+
*/
|
735
1305
|
template<class T> Callback_LookupReply_foundObjectByIdPtr
|
736
1306
|
newCallback_LookupReply_foundObjectById(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
737
1307
|
{
|
738
1308
|
return new CallbackNC_LookupReply_foundObjectById<T>(instance, cb, excb, sentcb);
|
739
1309
|
}
|
740
1310
|
|
1311
|
+
/**
|
1312
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1313
|
+
* @param instance The callback object.
|
1314
|
+
* @param excb The exception method of the callback object.
|
1315
|
+
* @param sentcb The sent method of the callback object.
|
1316
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::LookupReply::begin_foundObjectById.
|
1317
|
+
*/
|
741
1318
|
template<class T> Callback_LookupReply_foundObjectByIdPtr
|
742
1319
|
newCallback_LookupReply_foundObjectById(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
743
1320
|
{
|
744
1321
|
return new CallbackNC_LookupReply_foundObjectById<T>(instance, 0, excb, sentcb);
|
745
1322
|
}
|
746
1323
|
|
1324
|
+
/**
|
1325
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
1326
|
+
* IceProxy::IceDiscovery::LookupReply::begin_foundObjectById.
|
1327
|
+
* Create a wrapper instance by calling ::IceDiscovery::newCallback_LookupReply_foundObjectById.
|
1328
|
+
*/
|
747
1329
|
template<class T, typename CT>
|
748
1330
|
class Callback_LookupReply_foundObjectById : public Callback_LookupReply_foundObjectById_Base, public ::IceInternal::OnewayCallback<T, CT>
|
749
1331
|
{
|
@@ -761,30 +1343,69 @@ public:
|
|
761
1343
|
}
|
762
1344
|
};
|
763
1345
|
|
1346
|
+
/**
|
1347
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1348
|
+
* Use this overload when your callback methods receive a cookie value.
|
1349
|
+
* @param instance The callback object.
|
1350
|
+
* @param cb The success method of the callback object.
|
1351
|
+
* @param excb The exception method of the callback object.
|
1352
|
+
* @param sentcb The sent method of the callback object.
|
1353
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::LookupReply::begin_foundObjectById.
|
1354
|
+
*/
|
764
1355
|
template<class T, typename CT> Callback_LookupReply_foundObjectByIdPtr
|
765
1356
|
newCallback_LookupReply_foundObjectById(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)
|
766
1357
|
{
|
767
1358
|
return new Callback_LookupReply_foundObjectById<T, CT>(instance, cb, excb, sentcb);
|
768
1359
|
}
|
769
1360
|
|
1361
|
+
/**
|
1362
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1363
|
+
* Use this overload when your callback methods receive a cookie value.
|
1364
|
+
* @param instance The callback object.
|
1365
|
+
* @param excb The exception method of the callback object.
|
1366
|
+
* @param sentcb The sent method of the callback object.
|
1367
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::LookupReply::begin_foundObjectById.
|
1368
|
+
*/
|
770
1369
|
template<class T, typename CT> Callback_LookupReply_foundObjectByIdPtr
|
771
1370
|
newCallback_LookupReply_foundObjectById(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
772
1371
|
{
|
773
1372
|
return new Callback_LookupReply_foundObjectById<T, CT>(instance, 0, excb, sentcb);
|
774
1373
|
}
|
775
1374
|
|
1375
|
+
/**
|
1376
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1377
|
+
* Use this overload when your callback methods receive a cookie value.
|
1378
|
+
* @param instance The callback object.
|
1379
|
+
* @param cb The success method of the callback object.
|
1380
|
+
* @param excb The exception method of the callback object.
|
1381
|
+
* @param sentcb The sent method of the callback object.
|
1382
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::LookupReply::begin_foundObjectById.
|
1383
|
+
*/
|
776
1384
|
template<class T, typename CT> Callback_LookupReply_foundObjectByIdPtr
|
777
1385
|
newCallback_LookupReply_foundObjectById(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
778
1386
|
{
|
779
1387
|
return new Callback_LookupReply_foundObjectById<T, CT>(instance, cb, excb, sentcb);
|
780
1388
|
}
|
781
1389
|
|
1390
|
+
/**
|
1391
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1392
|
+
* Use this overload when your callback methods receive a cookie value.
|
1393
|
+
* @param instance The callback object.
|
1394
|
+
* @param excb The exception method of the callback object.
|
1395
|
+
* @param sentcb The sent method of the callback object.
|
1396
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::LookupReply::begin_foundObjectById.
|
1397
|
+
*/
|
782
1398
|
template<class T, typename CT> Callback_LookupReply_foundObjectByIdPtr
|
783
1399
|
newCallback_LookupReply_foundObjectById(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
784
1400
|
{
|
785
1401
|
return new Callback_LookupReply_foundObjectById<T, CT>(instance, 0, excb, sentcb);
|
786
1402
|
}
|
787
1403
|
|
1404
|
+
/**
|
1405
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
1406
|
+
* IceProxy::IceDiscovery::LookupReply::begin_foundAdapterById.
|
1407
|
+
* Create a wrapper instance by calling ::IceDiscovery::newCallback_LookupReply_foundAdapterById.
|
1408
|
+
*/
|
788
1409
|
template<class T>
|
789
1410
|
class CallbackNC_LookupReply_foundAdapterById : public Callback_LookupReply_foundAdapterById_Base, public ::IceInternal::OnewayCallbackNC<T>
|
790
1411
|
{
|
@@ -802,30 +1423,65 @@ public:
|
|
802
1423
|
}
|
803
1424
|
};
|
804
1425
|
|
1426
|
+
/**
|
1427
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1428
|
+
* @param instance The callback object.
|
1429
|
+
* @param cb The success method of the callback object.
|
1430
|
+
* @param excb The exception method of the callback object.
|
1431
|
+
* @param sentcb The sent method of the callback object.
|
1432
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::LookupReply::begin_foundAdapterById.
|
1433
|
+
*/
|
805
1434
|
template<class T> Callback_LookupReply_foundAdapterByIdPtr
|
806
1435
|
newCallback_LookupReply_foundAdapterById(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
807
1436
|
{
|
808
1437
|
return new CallbackNC_LookupReply_foundAdapterById<T>(instance, cb, excb, sentcb);
|
809
1438
|
}
|
810
1439
|
|
1440
|
+
/**
|
1441
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1442
|
+
* @param instance The callback object.
|
1443
|
+
* @param excb The exception method of the callback object.
|
1444
|
+
* @param sentcb The sent method of the callback object.
|
1445
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::LookupReply::begin_foundAdapterById.
|
1446
|
+
*/
|
811
1447
|
template<class T> Callback_LookupReply_foundAdapterByIdPtr
|
812
1448
|
newCallback_LookupReply_foundAdapterById(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
813
1449
|
{
|
814
1450
|
return new CallbackNC_LookupReply_foundAdapterById<T>(instance, 0, excb, sentcb);
|
815
1451
|
}
|
816
1452
|
|
1453
|
+
/**
|
1454
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1455
|
+
* @param instance The callback object.
|
1456
|
+
* @param cb The success method of the callback object.
|
1457
|
+
* @param excb The exception method of the callback object.
|
1458
|
+
* @param sentcb The sent method of the callback object.
|
1459
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::LookupReply::begin_foundAdapterById.
|
1460
|
+
*/
|
817
1461
|
template<class T> Callback_LookupReply_foundAdapterByIdPtr
|
818
1462
|
newCallback_LookupReply_foundAdapterById(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
819
1463
|
{
|
820
1464
|
return new CallbackNC_LookupReply_foundAdapterById<T>(instance, cb, excb, sentcb);
|
821
1465
|
}
|
822
1466
|
|
1467
|
+
/**
|
1468
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1469
|
+
* @param instance The callback object.
|
1470
|
+
* @param excb The exception method of the callback object.
|
1471
|
+
* @param sentcb The sent method of the callback object.
|
1472
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::LookupReply::begin_foundAdapterById.
|
1473
|
+
*/
|
823
1474
|
template<class T> Callback_LookupReply_foundAdapterByIdPtr
|
824
1475
|
newCallback_LookupReply_foundAdapterById(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
825
1476
|
{
|
826
1477
|
return new CallbackNC_LookupReply_foundAdapterById<T>(instance, 0, excb, sentcb);
|
827
1478
|
}
|
828
1479
|
|
1480
|
+
/**
|
1481
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
1482
|
+
* IceProxy::IceDiscovery::LookupReply::begin_foundAdapterById.
|
1483
|
+
* Create a wrapper instance by calling ::IceDiscovery::newCallback_LookupReply_foundAdapterById.
|
1484
|
+
*/
|
829
1485
|
template<class T, typename CT>
|
830
1486
|
class Callback_LookupReply_foundAdapterById : public Callback_LookupReply_foundAdapterById_Base, public ::IceInternal::OnewayCallback<T, CT>
|
831
1487
|
{
|
@@ -843,30 +1499,69 @@ public:
|
|
843
1499
|
}
|
844
1500
|
};
|
845
1501
|
|
1502
|
+
/**
|
1503
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1504
|
+
* Use this overload when your callback methods receive a cookie value.
|
1505
|
+
* @param instance The callback object.
|
1506
|
+
* @param cb The success method of the callback object.
|
1507
|
+
* @param excb The exception method of the callback object.
|
1508
|
+
* @param sentcb The sent method of the callback object.
|
1509
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::LookupReply::begin_foundAdapterById.
|
1510
|
+
*/
|
846
1511
|
template<class T, typename CT> Callback_LookupReply_foundAdapterByIdPtr
|
847
1512
|
newCallback_LookupReply_foundAdapterById(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)
|
848
1513
|
{
|
849
1514
|
return new Callback_LookupReply_foundAdapterById<T, CT>(instance, cb, excb, sentcb);
|
850
1515
|
}
|
851
1516
|
|
1517
|
+
/**
|
1518
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1519
|
+
* Use this overload when your callback methods receive a cookie value.
|
1520
|
+
* @param instance The callback object.
|
1521
|
+
* @param excb The exception method of the callback object.
|
1522
|
+
* @param sentcb The sent method of the callback object.
|
1523
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::LookupReply::begin_foundAdapterById.
|
1524
|
+
*/
|
852
1525
|
template<class T, typename CT> Callback_LookupReply_foundAdapterByIdPtr
|
853
1526
|
newCallback_LookupReply_foundAdapterById(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
854
1527
|
{
|
855
1528
|
return new Callback_LookupReply_foundAdapterById<T, CT>(instance, 0, excb, sentcb);
|
856
1529
|
}
|
857
1530
|
|
1531
|
+
/**
|
1532
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1533
|
+
* Use this overload when your callback methods receive a cookie value.
|
1534
|
+
* @param instance The callback object.
|
1535
|
+
* @param cb The success method of the callback object.
|
1536
|
+
* @param excb The exception method of the callback object.
|
1537
|
+
* @param sentcb The sent method of the callback object.
|
1538
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::LookupReply::begin_foundAdapterById.
|
1539
|
+
*/
|
858
1540
|
template<class T, typename CT> Callback_LookupReply_foundAdapterByIdPtr
|
859
1541
|
newCallback_LookupReply_foundAdapterById(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
860
1542
|
{
|
861
1543
|
return new Callback_LookupReply_foundAdapterById<T, CT>(instance, cb, excb, sentcb);
|
862
1544
|
}
|
863
1545
|
|
1546
|
+
/**
|
1547
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1548
|
+
* Use this overload when your callback methods receive a cookie value.
|
1549
|
+
* @param instance The callback object.
|
1550
|
+
* @param excb The exception method of the callback object.
|
1551
|
+
* @param sentcb The sent method of the callback object.
|
1552
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::LookupReply::begin_foundAdapterById.
|
1553
|
+
*/
|
864
1554
|
template<class T, typename CT> Callback_LookupReply_foundAdapterByIdPtr
|
865
1555
|
newCallback_LookupReply_foundAdapterById(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
866
1556
|
{
|
867
1557
|
return new Callback_LookupReply_foundAdapterById<T, CT>(instance, 0, excb, sentcb);
|
868
1558
|
}
|
869
1559
|
|
1560
|
+
/**
|
1561
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
1562
|
+
* IceProxy::IceDiscovery::Lookup::begin_findObjectById.
|
1563
|
+
* Create a wrapper instance by calling ::IceDiscovery::newCallback_Lookup_findObjectById.
|
1564
|
+
*/
|
870
1565
|
template<class T>
|
871
1566
|
class CallbackNC_Lookup_findObjectById : public Callback_Lookup_findObjectById_Base, public ::IceInternal::OnewayCallbackNC<T>
|
872
1567
|
{
|
@@ -884,30 +1579,65 @@ public:
|
|
884
1579
|
}
|
885
1580
|
};
|
886
1581
|
|
1582
|
+
/**
|
1583
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1584
|
+
* @param instance The callback object.
|
1585
|
+
* @param cb The success method of the callback object.
|
1586
|
+
* @param excb The exception method of the callback object.
|
1587
|
+
* @param sentcb The sent method of the callback object.
|
1588
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::Lookup::begin_findObjectById.
|
1589
|
+
*/
|
887
1590
|
template<class T> Callback_Lookup_findObjectByIdPtr
|
888
1591
|
newCallback_Lookup_findObjectById(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
889
1592
|
{
|
890
1593
|
return new CallbackNC_Lookup_findObjectById<T>(instance, cb, excb, sentcb);
|
891
1594
|
}
|
892
1595
|
|
1596
|
+
/**
|
1597
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1598
|
+
* @param instance The callback object.
|
1599
|
+
* @param excb The exception method of the callback object.
|
1600
|
+
* @param sentcb The sent method of the callback object.
|
1601
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::Lookup::begin_findObjectById.
|
1602
|
+
*/
|
893
1603
|
template<class T> Callback_Lookup_findObjectByIdPtr
|
894
1604
|
newCallback_Lookup_findObjectById(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
895
1605
|
{
|
896
1606
|
return new CallbackNC_Lookup_findObjectById<T>(instance, 0, excb, sentcb);
|
897
1607
|
}
|
898
1608
|
|
1609
|
+
/**
|
1610
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1611
|
+
* @param instance The callback object.
|
1612
|
+
* @param cb The success method of the callback object.
|
1613
|
+
* @param excb The exception method of the callback object.
|
1614
|
+
* @param sentcb The sent method of the callback object.
|
1615
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::Lookup::begin_findObjectById.
|
1616
|
+
*/
|
899
1617
|
template<class T> Callback_Lookup_findObjectByIdPtr
|
900
1618
|
newCallback_Lookup_findObjectById(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
901
1619
|
{
|
902
1620
|
return new CallbackNC_Lookup_findObjectById<T>(instance, cb, excb, sentcb);
|
903
1621
|
}
|
904
1622
|
|
1623
|
+
/**
|
1624
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1625
|
+
* @param instance The callback object.
|
1626
|
+
* @param excb The exception method of the callback object.
|
1627
|
+
* @param sentcb The sent method of the callback object.
|
1628
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::Lookup::begin_findObjectById.
|
1629
|
+
*/
|
905
1630
|
template<class T> Callback_Lookup_findObjectByIdPtr
|
906
1631
|
newCallback_Lookup_findObjectById(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
907
1632
|
{
|
908
1633
|
return new CallbackNC_Lookup_findObjectById<T>(instance, 0, excb, sentcb);
|
909
1634
|
}
|
910
1635
|
|
1636
|
+
/**
|
1637
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
1638
|
+
* IceProxy::IceDiscovery::Lookup::begin_findObjectById.
|
1639
|
+
* Create a wrapper instance by calling ::IceDiscovery::newCallback_Lookup_findObjectById.
|
1640
|
+
*/
|
911
1641
|
template<class T, typename CT>
|
912
1642
|
class Callback_Lookup_findObjectById : public Callback_Lookup_findObjectById_Base, public ::IceInternal::OnewayCallback<T, CT>
|
913
1643
|
{
|
@@ -925,30 +1655,69 @@ public:
|
|
925
1655
|
}
|
926
1656
|
};
|
927
1657
|
|
1658
|
+
/**
|
1659
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1660
|
+
* Use this overload when your callback methods receive a cookie value.
|
1661
|
+
* @param instance The callback object.
|
1662
|
+
* @param cb The success method of the callback object.
|
1663
|
+
* @param excb The exception method of the callback object.
|
1664
|
+
* @param sentcb The sent method of the callback object.
|
1665
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::Lookup::begin_findObjectById.
|
1666
|
+
*/
|
928
1667
|
template<class T, typename CT> Callback_Lookup_findObjectByIdPtr
|
929
1668
|
newCallback_Lookup_findObjectById(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)
|
930
1669
|
{
|
931
1670
|
return new Callback_Lookup_findObjectById<T, CT>(instance, cb, excb, sentcb);
|
932
1671
|
}
|
933
1672
|
|
1673
|
+
/**
|
1674
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1675
|
+
* Use this overload when your callback methods receive a cookie value.
|
1676
|
+
* @param instance The callback object.
|
1677
|
+
* @param excb The exception method of the callback object.
|
1678
|
+
* @param sentcb The sent method of the callback object.
|
1679
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::Lookup::begin_findObjectById.
|
1680
|
+
*/
|
934
1681
|
template<class T, typename CT> Callback_Lookup_findObjectByIdPtr
|
935
1682
|
newCallback_Lookup_findObjectById(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
936
1683
|
{
|
937
1684
|
return new Callback_Lookup_findObjectById<T, CT>(instance, 0, excb, sentcb);
|
938
1685
|
}
|
939
1686
|
|
1687
|
+
/**
|
1688
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1689
|
+
* Use this overload when your callback methods receive a cookie value.
|
1690
|
+
* @param instance The callback object.
|
1691
|
+
* @param cb The success method of the callback object.
|
1692
|
+
* @param excb The exception method of the callback object.
|
1693
|
+
* @param sentcb The sent method of the callback object.
|
1694
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::Lookup::begin_findObjectById.
|
1695
|
+
*/
|
940
1696
|
template<class T, typename CT> Callback_Lookup_findObjectByIdPtr
|
941
1697
|
newCallback_Lookup_findObjectById(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
942
1698
|
{
|
943
1699
|
return new Callback_Lookup_findObjectById<T, CT>(instance, cb, excb, sentcb);
|
944
1700
|
}
|
945
1701
|
|
1702
|
+
/**
|
1703
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1704
|
+
* Use this overload when your callback methods receive a cookie value.
|
1705
|
+
* @param instance The callback object.
|
1706
|
+
* @param excb The exception method of the callback object.
|
1707
|
+
* @param sentcb The sent method of the callback object.
|
1708
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::Lookup::begin_findObjectById.
|
1709
|
+
*/
|
946
1710
|
template<class T, typename CT> Callback_Lookup_findObjectByIdPtr
|
947
1711
|
newCallback_Lookup_findObjectById(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
948
1712
|
{
|
949
1713
|
return new Callback_Lookup_findObjectById<T, CT>(instance, 0, excb, sentcb);
|
950
1714
|
}
|
951
1715
|
|
1716
|
+
/**
|
1717
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
1718
|
+
* IceProxy::IceDiscovery::Lookup::begin_findAdapterById.
|
1719
|
+
* Create a wrapper instance by calling ::IceDiscovery::newCallback_Lookup_findAdapterById.
|
1720
|
+
*/
|
952
1721
|
template<class T>
|
953
1722
|
class CallbackNC_Lookup_findAdapterById : public Callback_Lookup_findAdapterById_Base, public ::IceInternal::OnewayCallbackNC<T>
|
954
1723
|
{
|
@@ -966,30 +1735,65 @@ public:
|
|
966
1735
|
}
|
967
1736
|
};
|
968
1737
|
|
1738
|
+
/**
|
1739
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1740
|
+
* @param instance The callback object.
|
1741
|
+
* @param cb The success method of the callback object.
|
1742
|
+
* @param excb The exception method of the callback object.
|
1743
|
+
* @param sentcb The sent method of the callback object.
|
1744
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::Lookup::begin_findAdapterById.
|
1745
|
+
*/
|
969
1746
|
template<class T> Callback_Lookup_findAdapterByIdPtr
|
970
1747
|
newCallback_Lookup_findAdapterById(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
971
1748
|
{
|
972
1749
|
return new CallbackNC_Lookup_findAdapterById<T>(instance, cb, excb, sentcb);
|
973
1750
|
}
|
974
1751
|
|
1752
|
+
/**
|
1753
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1754
|
+
* @param instance The callback object.
|
1755
|
+
* @param excb The exception method of the callback object.
|
1756
|
+
* @param sentcb The sent method of the callback object.
|
1757
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::Lookup::begin_findAdapterById.
|
1758
|
+
*/
|
975
1759
|
template<class T> Callback_Lookup_findAdapterByIdPtr
|
976
1760
|
newCallback_Lookup_findAdapterById(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
977
1761
|
{
|
978
1762
|
return new CallbackNC_Lookup_findAdapterById<T>(instance, 0, excb, sentcb);
|
979
1763
|
}
|
980
1764
|
|
1765
|
+
/**
|
1766
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1767
|
+
* @param instance The callback object.
|
1768
|
+
* @param cb The success method of the callback object.
|
1769
|
+
* @param excb The exception method of the callback object.
|
1770
|
+
* @param sentcb The sent method of the callback object.
|
1771
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::Lookup::begin_findAdapterById.
|
1772
|
+
*/
|
981
1773
|
template<class T> Callback_Lookup_findAdapterByIdPtr
|
982
1774
|
newCallback_Lookup_findAdapterById(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
983
1775
|
{
|
984
1776
|
return new CallbackNC_Lookup_findAdapterById<T>(instance, cb, excb, sentcb);
|
985
1777
|
}
|
986
1778
|
|
1779
|
+
/**
|
1780
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1781
|
+
* @param instance The callback object.
|
1782
|
+
* @param excb The exception method of the callback object.
|
1783
|
+
* @param sentcb The sent method of the callback object.
|
1784
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::Lookup::begin_findAdapterById.
|
1785
|
+
*/
|
987
1786
|
template<class T> Callback_Lookup_findAdapterByIdPtr
|
988
1787
|
newCallback_Lookup_findAdapterById(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
989
1788
|
{
|
990
1789
|
return new CallbackNC_Lookup_findAdapterById<T>(instance, 0, excb, sentcb);
|
991
1790
|
}
|
992
1791
|
|
1792
|
+
/**
|
1793
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
1794
|
+
* IceProxy::IceDiscovery::Lookup::begin_findAdapterById.
|
1795
|
+
* Create a wrapper instance by calling ::IceDiscovery::newCallback_Lookup_findAdapterById.
|
1796
|
+
*/
|
993
1797
|
template<class T, typename CT>
|
994
1798
|
class Callback_Lookup_findAdapterById : public Callback_Lookup_findAdapterById_Base, public ::IceInternal::OnewayCallback<T, CT>
|
995
1799
|
{
|
@@ -1007,24 +1811,58 @@ public:
|
|
1007
1811
|
}
|
1008
1812
|
};
|
1009
1813
|
|
1814
|
+
/**
|
1815
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1816
|
+
* Use this overload when your callback methods receive a cookie value.
|
1817
|
+
* @param instance The callback object.
|
1818
|
+
* @param cb The success method of the callback object.
|
1819
|
+
* @param excb The exception method of the callback object.
|
1820
|
+
* @param sentcb The sent method of the callback object.
|
1821
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::Lookup::begin_findAdapterById.
|
1822
|
+
*/
|
1010
1823
|
template<class T, typename CT> Callback_Lookup_findAdapterByIdPtr
|
1011
1824
|
newCallback_Lookup_findAdapterById(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)
|
1012
1825
|
{
|
1013
1826
|
return new Callback_Lookup_findAdapterById<T, CT>(instance, cb, excb, sentcb);
|
1014
1827
|
}
|
1015
1828
|
|
1829
|
+
/**
|
1830
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1831
|
+
* Use this overload when your callback methods receive a cookie value.
|
1832
|
+
* @param instance The callback object.
|
1833
|
+
* @param excb The exception method of the callback object.
|
1834
|
+
* @param sentcb The sent method of the callback object.
|
1835
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::Lookup::begin_findAdapterById.
|
1836
|
+
*/
|
1016
1837
|
template<class T, typename CT> Callback_Lookup_findAdapterByIdPtr
|
1017
1838
|
newCallback_Lookup_findAdapterById(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1018
1839
|
{
|
1019
1840
|
return new Callback_Lookup_findAdapterById<T, CT>(instance, 0, excb, sentcb);
|
1020
1841
|
}
|
1021
1842
|
|
1843
|
+
/**
|
1844
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1845
|
+
* Use this overload when your callback methods receive a cookie value.
|
1846
|
+
* @param instance The callback object.
|
1847
|
+
* @param cb The success method of the callback object.
|
1848
|
+
* @param excb The exception method of the callback object.
|
1849
|
+
* @param sentcb The sent method of the callback object.
|
1850
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::Lookup::begin_findAdapterById.
|
1851
|
+
*/
|
1022
1852
|
template<class T, typename CT> Callback_Lookup_findAdapterByIdPtr
|
1023
1853
|
newCallback_Lookup_findAdapterById(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1024
1854
|
{
|
1025
1855
|
return new Callback_Lookup_findAdapterById<T, CT>(instance, cb, excb, sentcb);
|
1026
1856
|
}
|
1027
1857
|
|
1858
|
+
/**
|
1859
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1860
|
+
* Use this overload when your callback methods receive a cookie value.
|
1861
|
+
* @param instance The callback object.
|
1862
|
+
* @param excb The exception method of the callback object.
|
1863
|
+
* @param sentcb The sent method of the callback object.
|
1864
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceDiscovery::Lookup::begin_findAdapterById.
|
1865
|
+
*/
|
1028
1866
|
template<class T, typename CT> Callback_Lookup_findAdapterByIdPtr
|
1029
1867
|
newCallback_Lookup_findAdapterById(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1030
1868
|
{
|
@@ -1033,5 +1871,7 @@ newCallback_Lookup_findAdapterById(T* instance, void (T::*excb)(const ::Ice::Exc
|
|
1033
1871
|
|
1034
1872
|
}
|
1035
1873
|
|
1874
|
+
#endif
|
1875
|
+
|
1036
1876
|
#include <IceUtil/PopDisableWarnings.h>
|
1037
1877
|
#endif
|