zeroc-ice 3.7.0 → 3.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ICE_LICENSE +1 -1
- data/bin/slice2rb +1 -6
- data/ext/Communicator.cpp +78 -10
- data/ext/Communicator.h +1 -6
- data/ext/Config.h +35 -6
- data/ext/Connection.cpp +22 -11
- data/ext/Connection.h +4 -6
- data/ext/Endpoint.cpp +1 -10
- data/ext/Endpoint.h +1 -6
- data/ext/ImplicitContext.cpp +1 -6
- data/ext/ImplicitContext.h +1 -6
- data/ext/Init.cpp +1 -6
- data/ext/Logger.cpp +1 -6
- data/ext/Logger.h +1 -6
- data/ext/Operation.cpp +6 -11
- data/ext/Operation.h +1 -6
- data/ext/Properties.cpp +3 -8
- data/ext/Properties.h +1 -6
- data/ext/Proxy.cpp +90 -14
- data/ext/Proxy.h +1 -6
- data/ext/Slice.cpp +3 -18
- data/ext/Slice.h +1 -6
- data/ext/Types.cpp +92 -60
- data/ext/Types.h +1 -6
- data/ext/Util.cpp +61 -32
- data/ext/Util.h +108 -33
- data/ext/ValueFactoryManager.cpp +2 -7
- data/ext/ValueFactoryManager.h +2 -7
- data/ext/extconf.rb +5 -3
- data/ext/ice/cpp/include/Ice/Application.h +234 -81
- data/ext/ice/cpp/include/Ice/AsyncResult.h +77 -6
- data/ext/ice/cpp/include/Ice/AsyncResultF.h +1 -6
- data/ext/ice/cpp/include/Ice/BatchRequestInterceptor.h +35 -7
- data/ext/ice/cpp/include/Ice/BatchRequestQueueF.h +1 -6
- data/ext/ice/cpp/include/Ice/Buffer.h +1 -6
- data/ext/ice/cpp/include/Ice/CommunicatorAsync.h +43 -6
- data/ext/ice/cpp/include/Ice/Comparable.h +81 -6
- data/ext/ice/cpp/include/Ice/Config.h +12 -6
- data/ext/ice/cpp/include/Ice/ConnectionAsync.h +97 -6
- data/ext/ice/cpp/include/Ice/ConnectionIF.h +3 -6
- data/ext/ice/cpp/include/Ice/ConsoleUtil.h +1 -6
- data/ext/ice/cpp/include/Ice/DefaultValueFactory.h +1 -6
- data/ext/ice/cpp/include/Ice/DispatchInterceptor.h +17 -7
- data/ext/ice/cpp/include/Ice/Dispatcher.h +22 -7
- data/ext/ice/cpp/include/Ice/DynamicLibrary.h +1 -6
- data/ext/ice/cpp/include/Ice/DynamicLibraryF.h +1 -6
- data/ext/ice/cpp/include/Ice/Exception.h +57 -20
- data/ext/ice/cpp/include/Ice/ExceptionHelpers.h +11 -6
- data/ext/ice/cpp/include/Ice/FactoryTable.h +12 -7
- data/ext/ice/cpp/include/Ice/FactoryTableInit.h +2 -7
- data/ext/ice/cpp/include/Ice/Format.h +13 -19
- data/ext/ice/cpp/include/Ice/Functional.h +6 -6
- data/ext/ice/cpp/include/Ice/GCObject.h +1 -6
- data/ext/ice/cpp/include/Ice/Handle.h +1 -6
- data/ext/ice/cpp/include/Ice/Ice.h +1 -6
- data/ext/ice/cpp/include/Ice/IconvStringConverter.h +47 -18
- data/ext/ice/cpp/include/Ice/Incoming.h +27 -9
- data/ext/ice/cpp/include/Ice/IncomingAsync.h +47 -9
- data/ext/ice/cpp/include/Ice/IncomingAsyncF.h +1 -6
- data/ext/ice/cpp/include/Ice/Initialize.h +775 -103
- data/ext/ice/cpp/include/Ice/InputStream.h +642 -122
- data/ext/ice/cpp/include/Ice/InstanceF.h +1 -6
- data/ext/ice/cpp/include/Ice/InterfaceByValue.h +17 -6
- data/ext/ice/cpp/include/Ice/LocalObject.h +5 -6
- data/ext/ice/cpp/include/Ice/LocalObjectF.h +1 -6
- data/ext/ice/cpp/include/Ice/LoggerUtil.h +37 -11
- data/ext/ice/cpp/include/Ice/MetricsAdminI.h +11 -7
- data/ext/ice/cpp/include/Ice/MetricsFunctional.h +3 -6
- data/ext/ice/cpp/include/Ice/MetricsObserverI.h +18 -7
- data/ext/ice/cpp/include/Ice/NativePropertiesAdmin.h +46 -28
- data/ext/ice/cpp/include/Ice/Object.h +338 -52
- data/ext/ice/cpp/include/Ice/ObjectF.h +5 -6
- data/ext/ice/cpp/include/Ice/ObserverHelper.h +1 -6
- data/ext/ice/cpp/include/Ice/Optional.h +42 -12
- data/ext/ice/cpp/include/Ice/OutgoingAsync.h +32 -8
- data/ext/ice/cpp/include/Ice/OutgoingAsyncF.h +1 -6
- data/ext/ice/cpp/include/Ice/OutputStream.h +441 -102
- data/ext/ice/cpp/include/Ice/Protocol.h +31 -6
- data/ext/ice/cpp/include/Ice/Proxy.h +2288 -207
- data/ext/ice/cpp/include/Ice/ProxyF.h +3 -6
- data/ext/ice/cpp/include/Ice/ProxyFactoryF.h +1 -6
- data/ext/ice/cpp/include/Ice/ProxyHandle.h +10 -6
- data/ext/ice/cpp/include/Ice/ReferenceF.h +1 -6
- data/ext/ice/cpp/include/Ice/RegisterPlugins.h +67 -14
- data/ext/ice/cpp/include/Ice/RequestHandlerF.h +1 -6
- data/ext/ice/cpp/include/Ice/ResponseHandlerF.h +1 -6
- data/ext/ice/cpp/include/Ice/SHA1.h +1 -6
- data/ext/ice/cpp/include/Ice/ServantManagerF.h +1 -6
- data/ext/ice/cpp/include/Ice/Service.h +267 -143
- data/ext/ice/cpp/include/Ice/SliceChecksums.h +5 -6
- data/ext/ice/cpp/include/Ice/SlicedData.h +80 -38
- data/ext/ice/cpp/include/Ice/SlicedDataF.h +4 -6
- data/ext/ice/cpp/include/Ice/StreamHelpers.h +325 -122
- data/ext/ice/cpp/include/Ice/StringConverter.h +32 -6
- data/ext/ice/cpp/include/Ice/ThreadPoolF.h +1 -6
- data/ext/ice/cpp/include/Ice/UUID.h +2 -6
- data/ext/ice/cpp/include/Ice/UniquePtr.h +2 -7
- data/ext/ice/cpp/include/Ice/UniqueRef.h +6 -7
- data/ext/ice/cpp/include/Ice/UserExceptionFactory.h +6 -6
- data/ext/ice/cpp/include/Ice/Value.h +41 -6
- data/ext/ice/cpp/include/Ice/ValueF.h +3 -6
- data/ext/ice/cpp/include/IceSSL/Config.h +1 -6
- data/ext/ice/cpp/include/IceSSL/IceSSL.h +1 -6
- data/ext/ice/cpp/include/IceSSL/OpenSSL.h +75 -58
- data/ext/ice/cpp/include/IceSSL/Plugin.h +323 -223
- data/ext/ice/cpp/include/IceSSL/SChannel.h +41 -35
- data/ext/ice/cpp/include/IceSSL/SecureTransport.h +39 -33
- data/ext/ice/cpp/include/IceSSL/UWP.h +33 -29
- data/ext/ice/cpp/include/IceUtil/Atomic.h +2 -7
- data/ext/ice/cpp/include/IceUtil/Cond.h +1 -6
- data/ext/ice/cpp/include/IceUtil/Config.h +35 -14
- data/ext/ice/cpp/include/IceUtil/ConsoleUtil.h +5 -10
- data/ext/ice/cpp/include/IceUtil/CountDownLatch.h +1 -6
- data/ext/ice/cpp/include/IceUtil/CtrlCHandler.h +52 -36
- data/ext/ice/cpp/include/IceUtil/DisableWarnings.h +5 -11
- data/ext/ice/cpp/include/IceUtil/Exception.h +130 -11
- data/ext/ice/cpp/include/IceUtil/FileUtil.h +1 -6
- data/ext/ice/cpp/include/IceUtil/Functional.h +5 -6
- data/ext/ice/cpp/include/IceUtil/Handle.h +1 -6
- data/ext/ice/cpp/include/IceUtil/IceUtil.h +1 -6
- data/ext/ice/cpp/include/IceUtil/InputUtil.h +1 -6
- data/ext/ice/cpp/include/IceUtil/Iterator.h +1 -6
- data/ext/ice/cpp/include/IceUtil/Lock.h +1 -6
- data/ext/ice/cpp/include/IceUtil/Monitor.h +1 -6
- data/ext/ice/cpp/include/IceUtil/Mutex.h +3 -13
- data/ext/ice/cpp/include/IceUtil/MutexProtocol.h +1 -6
- data/ext/ice/cpp/include/IceUtil/MutexPtrLock.h +1 -6
- data/ext/ice/cpp/include/IceUtil/MutexPtrTryLock.h +1 -6
- data/ext/ice/cpp/include/IceUtil/Optional.h +103 -6
- data/ext/ice/cpp/include/IceUtil/Options.h +1 -6
- data/ext/ice/cpp/include/IceUtil/OutputUtil.h +18 -20
- data/ext/ice/cpp/include/IceUtil/PopDisableWarnings.h +1 -6
- data/ext/ice/cpp/include/IceUtil/PushDisableWarnings.h +8 -6
- data/ext/ice/cpp/include/IceUtil/Random.h +37 -6
- data/ext/ice/cpp/include/IceUtil/RecMutex.h +1 -6
- data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +4 -9
- data/ext/ice/cpp/include/IceUtil/ScannerConfig.h +12 -9
- data/ext/ice/cpp/include/IceUtil/ScopedArray.h +1 -6
- data/ext/ice/cpp/include/IceUtil/Shared.h +1 -6
- data/ext/ice/cpp/include/IceUtil/StopWatch.h +1 -6
- data/ext/ice/cpp/include/IceUtil/StringConverter.h +107 -92
- data/ext/ice/cpp/include/IceUtil/StringUtil.h +1 -6
- data/ext/ice/cpp/include/IceUtil/Thread.h +1 -6
- data/ext/ice/cpp/include/IceUtil/ThreadException.h +1 -6
- data/ext/ice/cpp/include/IceUtil/Time.h +1 -6
- data/ext/ice/cpp/include/IceUtil/Timer.h +5 -6
- data/ext/ice/cpp/include/IceUtil/UUID.h +5 -6
- data/ext/ice/cpp/include/IceUtil/UndefSysMacros.h +1 -6
- data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +81 -26
- data/ext/ice/cpp/include/generated/Ice/Communicator.h +928 -136
- data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +14 -11
- data/ext/ice/cpp/include/generated/Ice/Connection.h +968 -180
- data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +22 -15
- data/ext/ice/cpp/include/generated/Ice/Current.h +166 -9
- data/ext/ice/cpp/include/generated/Ice/Endpoint.h +476 -115
- data/ext/ice/cpp/include/generated/Ice/EndpointF.h +42 -23
- data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +30 -9
- data/ext/ice/cpp/include/generated/Ice/FacetMap.h +12 -11
- data/ext/ice/cpp/include/generated/Ice/Identity.h +56 -13
- data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +151 -34
- data/ext/ice/cpp/include/generated/Ice/ImplicitContextF.h +14 -11
- data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +630 -89
- data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +20 -13
- data/ext/ice/cpp/include/generated/Ice/LocalException.h +5009 -770
- data/ext/ice/cpp/include/generated/Ice/Locator.h +2255 -441
- data/ext/ice/cpp/include/generated/Ice/LocatorF.h +32 -19
- data/ext/ice/cpp/include/generated/Ice/Logger.h +105 -32
- data/ext/ice/cpp/include/generated/Ice/LoggerF.h +14 -11
- data/ext/ice/cpp/include/generated/Ice/Metrics.h +2539 -471
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +1005 -132
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapterF.h +14 -11
- data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +73 -18
- data/ext/ice/cpp/include/generated/Ice/Plugin.h +143 -34
- data/ext/ice/cpp/include/generated/Ice/PluginF.h +18 -13
- data/ext/ice/cpp/include/generated/Ice/Process.h +514 -79
- data/ext/ice/cpp/include/generated/Ice/ProcessF.h +21 -14
- data/ext/ice/cpp/include/generated/Ice/Properties.h +307 -64
- data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +738 -127
- data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +25 -16
- data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +1524 -284
- data/ext/ice/cpp/include/generated/Ice/Router.h +1007 -201
- data/ext/ice/cpp/include/generated/Ice/RouterF.h +21 -14
- data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +175 -24
- data/ext/ice/cpp/include/generated/Ice/ServantLocatorF.h +14 -11
- data/ext/ice/cpp/include/generated/Ice/SliceChecksumDict.h +14 -9
- data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +178 -29
- data/ext/ice/cpp/include/generated/Ice/Version.h +32 -9
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +72 -21
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +14 -11
- data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +40 -15
- data/ext/ice/cpp/src/Ice/ACM.cpp +21 -14
- data/ext/ice/cpp/src/Ice/ACM.h +1 -6
- data/ext/ice/cpp/src/Ice/ACMF.h +1 -6
- data/ext/ice/cpp/src/Ice/Acceptor.cpp +1 -6
- data/ext/ice/cpp/src/Ice/Acceptor.h +1 -6
- data/ext/ice/cpp/src/Ice/AcceptorF.h +1 -6
- data/ext/ice/cpp/src/Ice/ArgVector.cpp +8 -13
- data/ext/ice/cpp/src/Ice/ArgVector.h +1 -6
- data/ext/ice/cpp/src/Ice/AsyncResult.cpp +1 -7
- data/ext/ice/cpp/src/Ice/Base64.cpp +12 -18
- data/ext/ice/cpp/src/Ice/Base64.h +1 -6
- data/ext/ice/cpp/src/Ice/BatchRequestQueue.cpp +2 -7
- data/ext/ice/cpp/src/Ice/BatchRequestQueue.h +1 -6
- data/ext/ice/cpp/src/Ice/Buffer.cpp +3 -8
- data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +4 -9
- data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +2 -8
- data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.h +1 -6
- data/ext/ice/cpp/src/Ice/Communicator.cpp +7 -10
- data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +4 -9
- data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +56 -22
- data/ext/ice/cpp/src/Ice/CommunicatorI.h +15 -16
- data/ext/ice/cpp/src/Ice/Cond.cpp +1 -6
- data/ext/ice/cpp/src/Ice/ConnectRequestHandler.cpp +11 -11
- data/ext/ice/cpp/src/Ice/ConnectRequestHandler.h +5 -10
- data/ext/ice/cpp/src/Ice/ConnectRequestHandlerF.h +1 -6
- data/ext/ice/cpp/src/Ice/Connection.cpp +28 -17
- data/ext/ice/cpp/src/Ice/ConnectionF.cpp +4 -9
- data/ext/ice/cpp/src/Ice/ConnectionFactory.cpp +167 -52
- data/ext/ice/cpp/src/Ice/ConnectionFactory.h +4 -6
- data/ext/ice/cpp/src/Ice/ConnectionFactoryF.h +1 -6
- data/ext/ice/cpp/src/Ice/ConnectionI.cpp +78 -60
- data/ext/ice/cpp/src/Ice/ConnectionI.h +10 -13
- data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.cpp +1 -6
- data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.h +2 -7
- data/ext/ice/cpp/src/Ice/Connector.cpp +1 -6
- data/ext/ice/cpp/src/Ice/Connector.h +1 -6
- data/ext/ice/cpp/src/Ice/ConnectorF.h +1 -6
- data/ext/ice/cpp/src/Ice/CountDownLatch.cpp +1 -6
- data/ext/ice/cpp/src/Ice/Current.cpp +4 -9
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +5 -12
- 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 +14 -6
- data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +7 -11
- data/ext/ice/cpp/src/Ice/Endpoint.cpp +25 -16
- data/ext/ice/cpp/src/Ice/EndpointF.cpp +4 -9
- data/ext/ice/cpp/src/Ice/EndpointFactory.cpp +1 -6
- data/ext/ice/cpp/src/Ice/EndpointFactory.h +1 -6
- data/ext/ice/cpp/src/Ice/EndpointFactoryF.h +1 -6
- data/ext/ice/cpp/src/Ice/EndpointFactoryManager.cpp +7 -18
- data/ext/ice/cpp/src/Ice/EndpointFactoryManager.h +1 -6
- data/ext/ice/cpp/src/Ice/EndpointFactoryManagerF.h +1 -6
- data/ext/ice/cpp/src/Ice/EndpointI.cpp +2 -7
- data/ext/ice/cpp/src/Ice/EndpointI.h +5 -10
- data/ext/ice/cpp/src/Ice/EndpointIF.h +1 -6
- data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +4 -9
- data/ext/ice/cpp/src/Ice/EventHandler.cpp +1 -6
- data/ext/ice/cpp/src/Ice/EventHandler.h +1 -6
- data/ext/ice/cpp/src/Ice/EventHandlerF.h +1 -6
- data/ext/ice/cpp/src/Ice/Exception.cpp +8 -13
- data/ext/ice/cpp/src/Ice/FacetMap.cpp +4 -9
- data/ext/ice/cpp/src/Ice/FactoryTable.cpp +1 -6
- data/ext/ice/cpp/src/Ice/FactoryTableInit.cpp +1 -6
- data/ext/ice/cpp/src/Ice/GCObject.cpp +2 -7
- data/ext/ice/cpp/src/Ice/HashUtil.h +2 -7
- data/ext/ice/cpp/src/Ice/HttpParser.cpp +1 -6
- data/ext/ice/cpp/src/Ice/HttpParser.h +1 -6
- data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +37 -59
- data/ext/ice/cpp/src/Ice/IPEndpointI.h +5 -10
- data/ext/ice/cpp/src/Ice/IPEndpointIF.h +1 -6
- data/ext/ice/cpp/src/Ice/IconvStringConverter.cpp +1 -6
- data/ext/ice/cpp/src/Ice/Identity.cpp +4 -9
- data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +7 -10
- data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +4 -9
- data/ext/ice/cpp/src/Ice/ImplicitContextI.cpp +3 -20
- data/ext/ice/cpp/src/Ice/ImplicitContextI.h +1 -6
- data/ext/ice/cpp/src/Ice/Incoming.cpp +11 -13
- data/ext/ice/cpp/src/Ice/IncomingAsync.cpp +1 -6
- data/ext/ice/cpp/src/Ice/IncomingRequest.h +1 -6
- data/ext/ice/cpp/src/Ice/Initialize.cpp +15 -26
- data/ext/ice/cpp/src/Ice/InputStream.cpp +45 -77
- data/ext/ice/cpp/src/Ice/Instance.cpp +70 -46
- data/ext/ice/cpp/src/Ice/Instance.h +3 -6
- data/ext/ice/cpp/src/Ice/Instrumentation.cpp +34 -19
- data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +4 -9
- data/ext/ice/cpp/src/Ice/InstrumentationI.cpp +2 -7
- data/ext/ice/cpp/src/Ice/InstrumentationI.h +1 -6
- data/ext/ice/cpp/src/Ice/LocalException.cpp +280 -285
- data/ext/ice/cpp/src/Ice/LocalObject.cpp +1 -6
- data/ext/ice/cpp/src/Ice/Locator.cpp +274 -166
- data/ext/ice/cpp/src/Ice/LocatorF.cpp +4 -9
- data/ext/ice/cpp/src/Ice/LocatorInfo.cpp +28 -30
- data/ext/ice/cpp/src/Ice/LocatorInfo.h +3 -8
- data/ext/ice/cpp/src/Ice/LocatorInfoF.h +1 -6
- data/ext/ice/cpp/src/Ice/Logger.cpp +7 -10
- data/ext/ice/cpp/src/Ice/LoggerAdminI.cpp +8 -19
- data/ext/ice/cpp/src/Ice/LoggerAdminI.h +1 -6
- data/ext/ice/cpp/src/Ice/LoggerF.cpp +4 -9
- data/ext/ice/cpp/src/Ice/LoggerI.cpp +13 -12
- data/ext/ice/cpp/src/Ice/LoggerI.h +1 -6
- data/ext/ice/cpp/src/Ice/LoggerUtil.cpp +1 -6
- data/ext/ice/cpp/src/Ice/Metrics.cpp +296 -113
- data/ext/ice/cpp/src/Ice/MetricsAdminI.cpp +10 -15
- data/ext/ice/cpp/src/Ice/MetricsObserverI.cpp +1 -6
- data/ext/ice/cpp/src/Ice/Network.cpp +252 -271
- data/ext/ice/cpp/src/Ice/Network.h +6 -20
- data/ext/ice/cpp/src/Ice/NetworkF.h +1 -6
- data/ext/ice/cpp/src/Ice/NetworkProxy.cpp +2 -8
- data/ext/ice/cpp/src/Ice/NetworkProxy.h +1 -6
- 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 +16 -17
- data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +7 -10
- data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +4 -9
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +53 -24
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.h +1 -6
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactoryF.h +1 -6
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +137 -156
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +15 -16
- data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +7 -10
- data/ext/ice/cpp/src/Ice/ObserverHelper.cpp +1 -6
- data/ext/ice/cpp/src/Ice/OpaqueEndpointI.cpp +29 -51
- data/ext/ice/cpp/src/Ice/OpaqueEndpointI.h +2 -7
- data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +6 -9
- data/ext/ice/cpp/src/Ice/OutputStream.cpp +29 -61
- data/ext/ice/cpp/src/Ice/Plugin.cpp +10 -11
- data/ext/ice/cpp/src/Ice/PluginF.cpp +4 -9
- data/ext/ice/cpp/src/Ice/PluginManagerI.cpp +15 -39
- data/ext/ice/cpp/src/Ice/PluginManagerI.h +3 -8
- data/ext/ice/cpp/src/Ice/Process.cpp +66 -42
- data/ext/ice/cpp/src/Ice/ProcessF.cpp +4 -9
- data/ext/ice/cpp/src/Ice/Properties.cpp +7 -10
- data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +84 -54
- data/ext/ice/cpp/src/Ice/PropertiesAdminI.cpp +3 -8
- data/ext/ice/cpp/src/Ice/PropertiesAdminI.h +1 -6
- data/ext/ice/cpp/src/Ice/PropertiesF.cpp +4 -9
- data/ext/ice/cpp/src/Ice/PropertiesI.cpp +25 -35
- data/ext/ice/cpp/src/Ice/PropertiesI.h +10 -15
- data/ext/ice/cpp/src/Ice/PropertyNames.cpp +45 -8
- data/ext/ice/cpp/src/Ice/PropertyNames.h +2 -7
- data/ext/ice/cpp/src/Ice/Protocol.cpp +5 -18
- data/ext/ice/cpp/src/Ice/ProtocolInstance.cpp +1 -6
- data/ext/ice/cpp/src/Ice/ProtocolInstance.h +1 -6
- data/ext/ice/cpp/src/Ice/ProtocolInstanceF.h +1 -6
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +1 -6
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.h +1 -6
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacadeF.h +1 -6
- data/ext/ice/cpp/src/Ice/Proxy.cpp +54 -8
- data/ext/ice/cpp/src/Ice/ProxyFactory.cpp +11 -7
- data/ext/ice/cpp/src/Ice/ProxyFactory.h +1 -6
- data/ext/ice/cpp/src/Ice/Reference.cpp +116 -38
- data/ext/ice/cpp/src/Ice/Reference.h +13 -7
- data/ext/ice/cpp/src/Ice/ReferenceFactory.cpp +52 -98
- data/ext/ice/cpp/src/Ice/ReferenceFactory.h +1 -6
- data/ext/ice/cpp/src/Ice/ReferenceFactoryF.h +1 -6
- data/ext/ice/cpp/src/Ice/RegisterPluginsInit.cpp +4 -8
- data/ext/ice/cpp/src/Ice/RegisterPluginsInit.h +1 -6
- data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +194 -113
- data/ext/ice/cpp/src/Ice/ReplyStatus.h +1 -6
- data/ext/ice/cpp/src/Ice/RequestHandler.cpp +1 -6
- data/ext/ice/cpp/src/Ice/RequestHandler.h +1 -6
- data/ext/ice/cpp/src/Ice/RequestHandlerFactory.cpp +1 -6
- data/ext/ice/cpp/src/Ice/RequestHandlerFactory.h +1 -6
- data/ext/ice/cpp/src/Ice/ResponseHandler.cpp +1 -6
- data/ext/ice/cpp/src/Ice/ResponseHandler.h +1 -6
- data/ext/ice/cpp/src/Ice/RetryQueue.cpp +7 -9
- data/ext/ice/cpp/src/Ice/RetryQueue.h +1 -6
- data/ext/ice/cpp/src/Ice/RetryQueueF.h +1 -6
- data/ext/ice/cpp/src/Ice/Router.cpp +160 -87
- data/ext/ice/cpp/src/Ice/RouterF.cpp +4 -9
- data/ext/ice/cpp/src/Ice/RouterInfo.cpp +8 -35
- data/ext/ice/cpp/src/Ice/RouterInfo.h +1 -8
- data/ext/ice/cpp/src/Ice/RouterInfoF.h +1 -6
- data/ext/ice/cpp/src/Ice/SHA1.cpp +3 -8
- data/ext/ice/cpp/src/Ice/Selector.cpp +76 -49
- data/ext/ice/cpp/src/Ice/Selector.h +1 -6
- data/ext/ice/cpp/src/Ice/ServantLocator.cpp +7 -10
- data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +4 -9
- data/ext/ice/cpp/src/Ice/ServantManager.cpp +21 -42
- data/ext/ice/cpp/src/Ice/ServantManager.h +1 -6
- data/ext/ice/cpp/src/Ice/SharedContext.h +1 -6
- data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +4 -9
- data/ext/ice/cpp/src/Ice/SliceChecksums.cpp +1 -6
- data/ext/ice/cpp/src/Ice/SlicedData.cpp +1 -6
- data/ext/ice/cpp/src/Ice/StreamSocket.cpp +46 -69
- data/ext/ice/cpp/src/Ice/StreamSocket.h +1 -6
- data/ext/ice/cpp/src/Ice/StringConverterPlugin.cpp +10 -6
- data/ext/ice/cpp/src/Ice/StringUtil.h +1 -6
- data/ext/ice/cpp/src/Ice/SysLoggerI.cpp +3 -8
- data/ext/ice/cpp/src/Ice/SysLoggerI.h +1 -6
- 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 +13 -19
- data/ext/ice/cpp/src/Ice/TcpAcceptor.h +1 -6
- data/ext/ice/cpp/src/Ice/TcpConnector.cpp +6 -6
- data/ext/ice/cpp/src/Ice/TcpConnector.h +1 -6
- data/ext/ice/cpp/src/Ice/TcpEndpointI.cpp +13 -16
- data/ext/ice/cpp/src/Ice/TcpEndpointI.h +2 -7
- data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +6 -6
- data/ext/ice/cpp/src/Ice/TcpTransceiver.h +1 -6
- data/ext/ice/cpp/src/Ice/Thread.cpp +18 -14
- data/ext/ice/cpp/src/Ice/ThreadPool.cpp +79 -19
- data/ext/ice/cpp/src/Ice/ThreadPool.h +11 -12
- data/ext/ice/cpp/src/Ice/Timer.cpp +11 -6
- data/ext/ice/cpp/src/Ice/TraceLevels.cpp +1 -6
- data/ext/ice/cpp/src/Ice/TraceLevels.h +1 -6
- data/ext/ice/cpp/src/Ice/TraceLevelsF.h +1 -6
- data/ext/ice/cpp/src/Ice/TraceUtil.cpp +1 -6
- data/ext/ice/cpp/src/Ice/TraceUtil.h +1 -6
- data/ext/ice/cpp/src/Ice/Transceiver.cpp +1 -6
- data/ext/ice/cpp/src/Ice/Transceiver.h +1 -6
- data/ext/ice/cpp/src/Ice/TransceiverF.h +3 -8
- data/ext/ice/cpp/src/Ice/UdpConnector.cpp +4 -6
- data/ext/ice/cpp/src/Ice/UdpConnector.h +1 -6
- data/ext/ice/cpp/src/Ice/UdpEndpointI.cpp +30 -33
- data/ext/ice/cpp/src/Ice/UdpEndpointI.h +2 -7
- data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +49 -79
- data/ext/ice/cpp/src/Ice/UdpTransceiver.h +1 -6
- data/ext/ice/cpp/src/Ice/Value.cpp +1 -6
- data/ext/ice/cpp/src/Ice/ValueFactory.cpp +10 -11
- data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.cpp +3 -12
- data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.h +2 -7
- data/ext/ice/cpp/src/Ice/Version.cpp +4 -9
- data/ext/ice/cpp/src/Ice/VirtualShared.h +1 -6
- data/ext/ice/cpp/src/Ice/WSAcceptor.cpp +1 -6
- data/ext/ice/cpp/src/Ice/WSAcceptor.h +1 -6
- data/ext/ice/cpp/src/Ice/WSConnector.cpp +1 -6
- data/ext/ice/cpp/src/Ice/WSConnector.h +1 -6
- data/ext/ice/cpp/src/Ice/WSEndpoint.cpp +4 -10
- data/ext/ice/cpp/src/Ice/WSEndpoint.h +2 -7
- data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +25 -30
- data/ext/ice/cpp/src/Ice/WSTransceiver.h +1 -7
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +86 -33
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +1083 -129
- data/ext/ice/cpp/src/IceDiscovery/LocatorI.cpp +4 -7
- data/ext/ice/cpp/src/IceDiscovery/LocatorI.h +1 -6
- data/ext/ice/cpp/src/IceDiscovery/LookupI.cpp +5 -10
- data/ext/ice/cpp/src/IceDiscovery/LookupI.h +1 -6
- data/ext/ice/cpp/src/IceDiscovery/PluginI.cpp +1 -6
- data/ext/ice/cpp/src/IceDiscovery/PluginI.h +1 -6
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +71 -30
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +640 -79
- data/ext/ice/cpp/src/IceLocatorDiscovery/Plugin.h +1 -6
- data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +122 -25
- data/ext/ice/cpp/src/IceSSL/AcceptorI.cpp +2 -9
- data/ext/ice/cpp/src/IceSSL/AcceptorI.h +1 -6
- data/ext/ice/cpp/src/IceSSL/CertificateI.cpp +4 -9
- data/ext/ice/cpp/src/IceSSL/CertificateI.h +1 -6
- data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +7 -10
- data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +4 -9
- data/ext/ice/cpp/src/IceSSL/ConnectorI.cpp +2 -9
- data/ext/ice/cpp/src/IceSSL/ConnectorI.h +1 -6
- data/ext/ice/cpp/src/IceSSL/EndpointI.cpp +9 -14
- data/ext/ice/cpp/src/IceSSL/EndpointI.h +3 -8
- data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +7 -10
- data/ext/ice/cpp/src/IceSSL/Instance.cpp +1 -6
- data/ext/ice/cpp/src/IceSSL/Instance.h +1 -6
- data/ext/ice/cpp/src/IceSSL/InstanceF.h +1 -6
- data/ext/ice/cpp/src/IceSSL/OpenSSLCertificateI.cpp +11 -19
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +100 -46
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.h +3 -8
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngineF.h +1 -6
- data/ext/ice/cpp/src/IceSSL/OpenSSLPluginI.cpp +1 -6
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +190 -206
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +2 -11
- data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +1 -6
- data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.h +1 -6
- data/ext/ice/cpp/src/IceSSL/PluginI.cpp +1 -6
- data/ext/ice/cpp/src/IceSSL/PluginI.h +1 -6
- data/ext/ice/cpp/src/IceSSL/RFC2253.cpp +1 -7
- data/ext/ice/cpp/src/IceSSL/RFC2253.h +1 -6
- data/ext/ice/cpp/src/IceSSL/SChannelCertificateI.cpp +5 -10
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.cpp +69 -36
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.h +5 -8
- data/ext/ice/cpp/src/IceSSL/SChannelEngineF.h +5 -6
- data/ext/ice/cpp/src/IceSSL/SChannelPluginI.cpp +1 -6
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +71 -62
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.h +7 -6
- data/ext/ice/cpp/src/IceSSL/SSLEngine.cpp +26 -28
- data/ext/ice/cpp/src/IceSSL/SSLEngine.h +3 -6
- data/ext/ice/cpp/src/IceSSL/SSLEngineF.h +1 -6
- data/ext/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +37 -31
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +44 -18
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.h +5 -6
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngineF.h +4 -6
- data/ext/ice/cpp/src/IceSSL/SecureTransportPluginI.cpp +1 -6
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +47 -27
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +6 -7
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +41 -34
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.h +5 -6
- data/ext/ice/cpp/src/IceSSL/TrustManager.cpp +4 -10
- data/ext/ice/cpp/src/IceSSL/TrustManager.h +1 -6
- data/ext/ice/cpp/src/IceSSL/TrustManagerF.h +1 -6
- data/ext/ice/cpp/src/IceSSL/UWPCertificateI.cpp +4 -9
- data/ext/ice/cpp/src/IceSSL/UWPEngine.cpp +4 -9
- data/ext/ice/cpp/src/IceSSL/UWPEngine.h +1 -6
- data/ext/ice/cpp/src/IceSSL/UWPEngineF.h +1 -6
- data/ext/ice/cpp/src/IceSSL/UWPPluginI.cpp +1 -6
- data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.cpp +5 -10
- data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.h +1 -6
- data/ext/ice/cpp/src/IceSSL/Util.cpp +12 -11
- data/ext/ice/cpp/src/IceSSL/Util.h +1 -6
- data/ext/ice/cpp/src/IceUtil/ConsoleUtil.cpp +1 -6
- data/ext/ice/cpp/src/IceUtil/ConvertUTF.cpp +1 -6
- data/ext/ice/cpp/src/IceUtil/ConvertUTF.h +1 -6
- data/ext/ice/cpp/src/IceUtil/CtrlCHandler.cpp +3 -6
- data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +6 -11
- 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 +25 -15
- data/ext/ice/cpp/src/IceUtil/OutputUtil.cpp +41 -16
- data/ext/ice/cpp/src/IceUtil/Random.cpp +3 -8
- data/ext/ice/cpp/src/IceUtil/RecMutex.cpp +2 -11
- data/ext/ice/cpp/src/IceUtil/Shared.cpp +1 -6
- data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +6 -11
- data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +45 -12
- data/ext/ice/cpp/src/IceUtil/ThreadException.cpp +1 -6
- data/ext/ice/cpp/src/IceUtil/Time.cpp +10 -17
- data/ext/ice/cpp/src/IceUtil/UUID.cpp +8 -13
- data/ext/ice/cpp/src/IceUtil/Unicode.cpp +1 -6
- data/ext/ice/cpp/src/IceUtil/Unicode.h +1 -6
- data/ext/ice/cpp/src/IceUtil/UtilException.cpp +17 -16
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.cpp +178 -170
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.h +8 -12
- data/ext/ice/cpp/src/Slice/Checksum.cpp +1 -6
- data/ext/ice/cpp/src/Slice/Checksum.h +1 -6
- data/ext/ice/cpp/src/Slice/FileTracker.cpp +1 -6
- data/ext/ice/cpp/src/Slice/FileTracker.h +1 -6
- data/ext/ice/cpp/src/Slice/Grammar.cpp +424 -438
- data/ext/ice/cpp/src/Slice/Grammar.h +7 -7
- data/ext/ice/cpp/src/Slice/GrammarUtil.h +1 -7
- data/ext/ice/cpp/src/Slice/JavaUtil.cpp +195 -122
- data/ext/ice/cpp/src/Slice/JavaUtil.h +12 -12
- 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 -0
- data/ext/ice/cpp/src/Slice/PHPUtil.cpp +6 -6
- data/ext/ice/cpp/src/Slice/PHPUtil.h +1 -6
- data/ext/ice/cpp/src/Slice/Parser.cpp +535 -266
- data/ext/ice/cpp/src/Slice/Parser.h +72 -12
- data/ext/ice/cpp/src/Slice/Preprocessor.cpp +26 -17
- data/ext/ice/cpp/src/Slice/Preprocessor.h +2 -7
- data/ext/ice/cpp/src/Slice/Python.cpp +28 -42
- data/ext/ice/cpp/src/Slice/PythonUtil.cpp +137 -53
- data/ext/ice/cpp/src/Slice/PythonUtil.h +2 -7
- data/ext/ice/cpp/src/Slice/Ruby.cpp +5 -10
- data/ext/ice/cpp/src/Slice/RubyUtil.cpp +13 -15
- data/ext/ice/cpp/src/Slice/RubyUtil.h +1 -6
- data/ext/ice/cpp/src/Slice/Scanner.cpp +296 -217
- data/ext/ice/cpp/src/Slice/SliceUtil.cpp +2 -8
- data/ext/ice/cpp/src/Slice/StringLiteralUtil.cpp +109 -27
- data/ext/ice/cpp/src/Slice/Util.h +5 -9
- data/ext/ice/mcpp/Makefile +2 -5
- data/ice.gemspec +3 -5
- data/lib/Glacier2.rb +1 -6
- data/lib/Glacier2/Metrics.rb +3 -8
- data/lib/Glacier2/PermissionsVerifier.rb +3 -8
- data/lib/Glacier2/PermissionsVerifierF.rb +3 -8
- data/lib/Glacier2/Router.rb +3 -8
- data/lib/Glacier2/RouterF.rb +3 -8
- data/lib/Glacier2/SSLInfo.rb +3 -8
- data/lib/Glacier2/Session.rb +3 -8
- data/lib/Ice.rb +2 -7
- data/lib/Ice/BuiltinSequences.rb +3 -8
- data/lib/Ice/Communicator.rb +3 -8
- data/lib/Ice/CommunicatorF.rb +3 -8
- data/lib/Ice/Connection.rb +3 -8
- data/lib/Ice/ConnectionF.rb +3 -8
- data/lib/Ice/Current.rb +3 -8
- data/lib/Ice/Endpoint.rb +3 -8
- data/lib/Ice/EndpointF.rb +3 -8
- data/lib/Ice/EndpointTypes.rb +3 -8
- data/lib/Ice/FacetMap.rb +3 -8
- data/lib/Ice/Identity.rb +3 -8
- data/lib/Ice/ImplicitContext.rb +3 -8
- data/lib/Ice/ImplicitContextF.rb +3 -8
- data/lib/Ice/Instrumentation.rb +3 -8
- data/lib/Ice/InstrumentationF.rb +3 -8
- data/lib/Ice/LocalException.rb +3 -8
- data/lib/Ice/Locator.rb +3 -8
- data/lib/Ice/LocatorF.rb +3 -8
- data/lib/Ice/Logger.rb +3 -8
- data/lib/Ice/LoggerF.rb +3 -8
- data/lib/Ice/Metrics.rb +3 -8
- data/lib/Ice/ObjectAdapter.rb +3 -8
- data/lib/Ice/ObjectAdapterF.rb +3 -8
- data/lib/Ice/ObjectFactory.rb +3 -8
- data/lib/Ice/Plugin.rb +3 -8
- data/lib/Ice/PluginF.rb +3 -8
- data/lib/Ice/Process.rb +3 -8
- data/lib/Ice/ProcessF.rb +3 -8
- data/lib/Ice/Properties.rb +3 -8
- data/lib/Ice/PropertiesAdmin.rb +3 -8
- data/lib/Ice/PropertiesF.rb +3 -8
- data/lib/Ice/RemoteLogger.rb +3 -8
- data/lib/Ice/Router.rb +3 -8
- data/lib/Ice/RouterF.rb +3 -8
- data/lib/Ice/ServantLocator.rb +3 -8
- data/lib/Ice/ServantLocatorF.rb +3 -8
- data/lib/Ice/SliceChecksumDict.rb +3 -8
- data/lib/Ice/ValueFactory.rb +3 -8
- data/lib/Ice/Version.rb +3 -8
- data/lib/IceBox.rb +1 -6
- data/lib/IceBox/IceBox.rb +3 -8
- data/lib/IceGrid.rb +1 -6
- data/lib/IceGrid/Admin.rb +3 -8
- data/lib/IceGrid/Descriptor.rb +3 -8
- data/lib/IceGrid/Exception.rb +3 -8
- data/lib/IceGrid/FileParser.rb +3 -8
- data/lib/IceGrid/PluginFacade.rb +3 -8
- data/lib/IceGrid/Registry.rb +3 -8
- data/lib/IceGrid/Session.rb +3 -8
- data/lib/IceGrid/UserAccountMapper.rb +3 -8
- data/lib/IcePatch2.rb +1 -6
- data/lib/IcePatch2/FileInfo.rb +3 -8
- data/lib/IcePatch2/FileServer.rb +3 -8
- data/lib/IceStorm.rb +1 -6
- data/lib/IceStorm/IceStorm.rb +3 -8
- data/lib/IceStorm/Metrics.rb +3 -8
- data/slice/Glacier2/Metrics.ice +14 -8
- data/slice/Glacier2/PermissionsVerifier.ice +11 -7
- data/slice/Glacier2/PermissionsVerifierF.ice +11 -7
- data/slice/Glacier2/Router.ice +12 -8
- data/slice/Glacier2/RouterF.ice +11 -7
- data/slice/Glacier2/SSLInfo.ice +11 -7
- data/slice/Glacier2/Session.ice +11 -7
- data/slice/Ice/BuiltinSequences.ice +13 -7
- data/slice/Ice/Communicator.ice +143 -102
- data/slice/Ice/CommunicatorF.ice +13 -7
- data/slice/Ice/Connection.ice +65 -29
- data/slice/Ice/ConnectionF.ice +13 -7
- data/slice/Ice/Current.ice +31 -26
- data/slice/Ice/Endpoint.ice +24 -21
- data/slice/Ice/EndpointF.ice +14 -8
- data/slice/Ice/EndpointTypes.ice +15 -9
- data/slice/Ice/FacetMap.ice +14 -8
- data/slice/Ice/Identity.ice +13 -7
- data/slice/Ice/ImplicitContext.ice +31 -25
- data/slice/Ice/ImplicitContextF.ice +12 -7
- data/slice/Ice/Instrumentation.ice +19 -13
- data/slice/Ice/InstrumentationF.ice +13 -7
- data/slice/Ice/LocalException.ice +35 -29
- data/slice/Ice/Locator.ice +14 -8
- data/slice/Ice/LocatorF.ice +13 -7
- data/slice/Ice/Logger.ice +19 -13
- data/slice/Ice/LoggerF.ice +13 -7
- data/slice/Ice/Metrics.ice +26 -18
- data/slice/Ice/ObjectAdapter.ice +63 -45
- data/slice/Ice/ObjectAdapterF.ice +13 -7
- data/slice/Ice/ObjectFactory.ice +20 -12
- data/slice/Ice/Plugin.ice +19 -10
- data/slice/Ice/PluginF.ice +17 -7
- data/slice/Ice/Process.ice +13 -7
- data/slice/Ice/ProcessF.ice +13 -7
- data/slice/Ice/Properties.ice +35 -24
- data/slice/Ice/PropertiesAdmin.ice +13 -7
- data/slice/Ice/PropertiesF.ice +13 -7
- data/slice/Ice/RemoteLogger.ice +23 -28
- data/slice/Ice/Router.ice +14 -8
- data/slice/Ice/RouterF.ice +13 -7
- data/slice/Ice/ServantLocator.ice +31 -23
- data/slice/Ice/ServantLocatorF.ice +13 -7
- data/slice/Ice/SliceChecksumDict.ice +13 -7
- data/slice/Ice/ValueFactory.ice +31 -26
- data/slice/Ice/Version.ice +13 -7
- data/slice/IceBT/ConnectionInfo.ice +12 -7
- data/slice/IceBT/EndpointInfo.ice +13 -8
- data/slice/IceBT/Types.ice +12 -7
- data/slice/IceBox/IceBox.ice +30 -11
- data/slice/IceDiscovery/IceDiscovery.ice +68 -7
- data/slice/IceGrid/Admin.ice +41 -35
- data/slice/IceGrid/Descriptor.ice +15 -10
- data/slice/IceGrid/Exception.ice +15 -10
- data/slice/IceGrid/FileParser.ice +14 -8
- data/slice/IceGrid/PluginFacade.ice +17 -11
- data/slice/IceGrid/Registry.ice +13 -7
- data/slice/IceGrid/Session.ice +18 -12
- data/slice/IceGrid/UserAccountMapper.ice +16 -10
- data/slice/IceIAP/ConnectionInfo.ice +11 -8
- data/slice/IceIAP/EndpointInfo.ice +11 -8
- data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +12 -7
- data/slice/IcePatch2/FileInfo.ice +12 -7
- data/slice/IcePatch2/FileServer.ice +13 -8
- data/slice/IceSSL/ConnectionInfo.ice +16 -9
- data/slice/IceSSL/ConnectionInfoF.ice +14 -8
- data/slice/IceSSL/EndpointInfo.ice +14 -8
- data/slice/IceStorm/IceStorm.ice +20 -15
- data/slice/IceStorm/Metrics.ice +12 -8
- metadata +7 -13
- data/BZIP2_LICENSE +0 -42
- data/ext/ice/bzip2/blocksort.c +0 -1094
- data/ext/ice/bzip2/bzlib.c +0 -1572
- data/ext/ice/bzip2/bzlib.h +0 -282
- data/ext/ice/bzip2/bzlib_private.h +0 -509
- data/ext/ice/bzip2/compress.c +0 -672
- data/ext/ice/bzip2/crctable.c +0 -104
- data/ext/ice/bzip2/decompress.c +0 -646
- data/ext/ice/bzip2/huffman.c +0 -205
- data/ext/ice/bzip2/randtable.c +0 -84
@@ -1,11 +1,6 @@
|
|
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
|
-
//
|
8
|
-
// **********************************************************************
|
9
4
|
|
10
5
|
#ifndef ICE_PROTOCOL_H
|
11
6
|
#define ICE_PROTOCOL_H
|
@@ -116,34 +111,64 @@ const ::Ice::Byte FLAG_IS_LAST_SLICE = (1<<5);
|
|
116
111
|
namespace Ice
|
117
112
|
{
|
118
113
|
|
114
|
+
/** Identifies protocol version 1.0. */
|
119
115
|
ICE_API extern const ProtocolVersion Protocol_1_0;
|
120
116
|
|
117
|
+
/** Identifies encoding version 1.0. */
|
121
118
|
ICE_API extern const EncodingVersion Encoding_1_0;
|
119
|
+
|
120
|
+
/** Identifies encoding version 1.1. */
|
122
121
|
ICE_API extern const EncodingVersion Encoding_1_1;
|
123
122
|
|
123
|
+
/** Identifies the latest protocol version. */
|
124
124
|
ICE_API extern const ProtocolVersion currentProtocol;
|
125
|
+
|
126
|
+
/** Identifies the latest protocol encoding version. */
|
125
127
|
ICE_API extern const EncodingVersion currentProtocolEncoding;
|
126
128
|
|
129
|
+
/** Identifies the latest encoding version. */
|
127
130
|
ICE_API extern const EncodingVersion currentEncoding;
|
128
131
|
|
132
|
+
/**
|
133
|
+
* Converts a protocol version into a string.
|
134
|
+
* @param v The protocol version.
|
135
|
+
* @return A string representing the protocol version.
|
136
|
+
*/
|
129
137
|
inline ::std::string
|
130
138
|
protocolVersionToString(const Ice::ProtocolVersion& v)
|
131
139
|
{
|
132
140
|
return IceInternal::versionToString<ProtocolVersion>(v);
|
133
141
|
}
|
134
142
|
|
143
|
+
/**
|
144
|
+
* Converts a string into a protocol version.
|
145
|
+
* @param v The string containing a stringified protocol version.
|
146
|
+
* @return The protocol version.
|
147
|
+
* @throws VersionParseException If the given string is not in the X.Y format.
|
148
|
+
*/
|
135
149
|
inline ::Ice::ProtocolVersion
|
136
150
|
stringToProtocolVersion(const ::std::string& v)
|
137
151
|
{
|
138
152
|
return IceInternal::stringToVersion<ProtocolVersion>(v);
|
139
153
|
}
|
140
154
|
|
155
|
+
/**
|
156
|
+
* Converts an encoding version into a string.
|
157
|
+
* @param v The encoding version.
|
158
|
+
* @return A string representing the encoding version.
|
159
|
+
*/
|
141
160
|
inline ::std::string
|
142
161
|
encodingVersionToString(const Ice::EncodingVersion& v)
|
143
162
|
{
|
144
163
|
return IceInternal::versionToString<EncodingVersion>(v);
|
145
164
|
}
|
146
165
|
|
166
|
+
/**
|
167
|
+
* Converts a string into an encoding version.
|
168
|
+
* @param v The string containing a stringified encoding version.
|
169
|
+
* @return The encoding version.
|
170
|
+
* @throws VersionParseException If the given string is not in the X.Y format.
|
171
|
+
*/
|
147
172
|
inline ::Ice::EncodingVersion
|
148
173
|
stringToEncodingVersion(const ::std::string& v)
|
149
174
|
{
|
@@ -1,11 +1,6 @@
|
|
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
|
-
//
|
8
|
-
// **********************************************************************
|
9
4
|
|
10
5
|
#ifndef ICE_PROXY_H
|
11
6
|
#define ICE_PROXY_H
|
@@ -34,13 +29,14 @@
|
|
34
29
|
namespace Ice
|
35
30
|
{
|
36
31
|
|
32
|
+
/** Marker value used to indicate that no explicit context was passed to a proxy invocation. */
|
37
33
|
ICE_API extern const Context noExplicitContext;
|
38
34
|
|
39
35
|
}
|
40
36
|
|
41
37
|
#if defined(_MSC_VER) && (_MSC_VER <= 1600)
|
42
38
|
//
|
43
|
-
// COMPILERFIX
|
39
|
+
// COMPILERFIX v90 and v100 get confused with namespaces and complains that
|
44
40
|
// ::Ice::noExplicitContext isn't defined in IceProxy namespace.
|
45
41
|
//
|
46
42
|
namespace IceProxy
|
@@ -49,6 +45,7 @@ namespace IceProxy
|
|
49
45
|
namespace Ice
|
50
46
|
{
|
51
47
|
|
48
|
+
/** Marker value used to indicate that no explicit context was passed to a proxy invocation. */
|
52
49
|
ICE_API extern const ::Ice::Context noExplicitContext;
|
53
50
|
|
54
51
|
}
|
@@ -181,7 +178,12 @@ public:
|
|
181
178
|
{
|
182
179
|
if(response)
|
183
180
|
{
|
181
|
+
#if ICE_CPLUSPLUS >= 201402L
|
182
|
+
// Move capture with C++14
|
183
|
+
_response = [this, response = std::move(response)](bool ok)
|
184
|
+
#else
|
184
185
|
_response = [this, response](bool ok)
|
186
|
+
#endif
|
185
187
|
{
|
186
188
|
if(this->_is.b.empty())
|
187
189
|
{
|
@@ -238,7 +240,11 @@ public:
|
|
238
240
|
::std::function<void(bool)> sent) :
|
239
241
|
ProxyGetConnection(proxy), LambdaInvoke(::std::move(ex), ::std::move(sent))
|
240
242
|
{
|
243
|
+
#if ICE_CPLUSPLUS >= 201402L
|
244
|
+
_response = [&, response = std::move(response)](bool)
|
245
|
+
#else
|
241
246
|
_response = [&, response](bool)
|
247
|
+
#endif
|
242
248
|
{
|
243
249
|
response(getConnection());
|
244
250
|
};
|
@@ -291,14 +297,22 @@ namespace Ice
|
|
291
297
|
{
|
292
298
|
|
293
299
|
class RouterPrx;
|
300
|
+
/// \cond INTERNAL
|
294
301
|
using RouterPrxPtr = ::std::shared_ptr<::Ice::RouterPrx>;
|
302
|
+
/// \endcond
|
295
303
|
|
296
304
|
class LocatorPrx;
|
305
|
+
/// \cond INTERNAL
|
297
306
|
using LocatorPrxPtr = ::std::shared_ptr<::Ice::LocatorPrx>;
|
307
|
+
/// \endcond
|
298
308
|
|
299
309
|
class LocalException;
|
300
310
|
class OutputStream;
|
301
311
|
|
312
|
+
/**
|
313
|
+
* Base class of all object proxies.
|
314
|
+
* \headerfile Ice/Ice.h
|
315
|
+
*/
|
302
316
|
class ICE_API ObjectPrx : public ::std::enable_shared_from_this<ObjectPrx>
|
303
317
|
{
|
304
318
|
public:
|
@@ -308,16 +322,40 @@ public:
|
|
308
322
|
friend ICE_API bool operator<(const ObjectPrx&, const ObjectPrx&);
|
309
323
|
friend ICE_API bool operator==(const ObjectPrx&, const ObjectPrx&);
|
310
324
|
|
325
|
+
/**
|
326
|
+
* Obtains the communicator that created this proxy.
|
327
|
+
* @return The communicator that created this proxy.
|
328
|
+
*/
|
311
329
|
::std::shared_ptr<::Ice::Communicator> ice_getCommunicator() const;
|
312
330
|
|
331
|
+
/**
|
332
|
+
* Obtains a stringified version of this proxy.
|
333
|
+
* @return A stringified proxy.
|
334
|
+
*/
|
313
335
|
::std::string ice_toString() const;
|
314
336
|
|
337
|
+
/**
|
338
|
+
* Tests whether this object supports a specific Slice interface.
|
339
|
+
* @param typeId The type ID of the Slice interface to test against.
|
340
|
+
* @param context The context map for the invocation.
|
341
|
+
* @return true if the target object has the interface
|
342
|
+
* specified by id or derives from the interface specified by id.
|
343
|
+
*/
|
315
344
|
bool
|
316
345
|
ice_isA(const ::std::string& typeId, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
317
346
|
{
|
318
347
|
return _makePromiseOutgoing<bool>(true, this, &ObjectPrx::_iceI_isA, typeId, context).get();
|
319
348
|
}
|
320
349
|
|
350
|
+
/**
|
351
|
+
* Tests whether this object supports a specific Slice interface.
|
352
|
+
* @param typeId The type ID of the Slice interface to test against.
|
353
|
+
* @param response The response callback.
|
354
|
+
* @param ex The exception callback.
|
355
|
+
* @param sent The sent callback.
|
356
|
+
* @param context The context map for the invocation.
|
357
|
+
* @return A function that can be called to cancel the invocation locally.
|
358
|
+
*/
|
321
359
|
::std::function<void()>
|
322
360
|
ice_isAAsync(const ::std::string& typeId,
|
323
361
|
::std::function<void(bool)> response,
|
@@ -325,9 +363,16 @@ public:
|
|
325
363
|
::std::function<void(bool)> sent = nullptr,
|
326
364
|
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
327
365
|
{
|
328
|
-
return _makeLamdaOutgoing<bool>(response, ex, sent, this,
|
366
|
+
return _makeLamdaOutgoing<bool>(std::move(response), std::move(ex), std::move(sent), this,
|
367
|
+
&ObjectPrx::_iceI_isA, typeId, context);
|
329
368
|
}
|
330
369
|
|
370
|
+
/**
|
371
|
+
* Tests whether this object supports a specific Slice interface.
|
372
|
+
* @param typeId The type ID of the Slice interface to test against.
|
373
|
+
* @param context The context map for the invocation.
|
374
|
+
* @return The future object for the invocation.
|
375
|
+
*/
|
331
376
|
template<template<typename> class P = std::promise> auto
|
332
377
|
ice_isAAsync(const ::std::string& typeId, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
333
378
|
-> decltype(std::declval<P<bool>>().get_future())
|
@@ -335,24 +380,44 @@ public:
|
|
335
380
|
return _makePromiseOutgoing<bool, P>(false, this, &ObjectPrx::_iceI_isA, typeId, context);
|
336
381
|
}
|
337
382
|
|
383
|
+
/// \cond INTERNAL
|
338
384
|
void
|
339
385
|
_iceI_isA(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<bool>>&, const ::std::string&, const ::Ice::Context&);
|
386
|
+
/// \endcond
|
340
387
|
|
388
|
+
/**
|
389
|
+
* Tests whether the target object of this proxy can be reached.
|
390
|
+
* @param context The context map for the invocation.
|
391
|
+
*/
|
341
392
|
void
|
342
393
|
ice_ping(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
343
394
|
{
|
344
395
|
_makePromiseOutgoing<void>(true, this, &ObjectPrx::_iceI_ping, context).get();
|
345
396
|
}
|
346
397
|
|
398
|
+
/**
|
399
|
+
* Tests whether the target object of this proxy can be reached.
|
400
|
+
* @param response The response callback.
|
401
|
+
* @param ex The exception callback.
|
402
|
+
* @param sent The sent callback.
|
403
|
+
* @param context The context map for the invocation.
|
404
|
+
* @return A function that can be called to cancel the invocation locally.
|
405
|
+
*/
|
347
406
|
::std::function<void()>
|
348
407
|
ice_pingAsync(::std::function<void()> response,
|
349
408
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
350
409
|
::std::function<void(bool)> sent = nullptr,
|
351
410
|
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
352
411
|
{
|
353
|
-
return _makeLamdaOutgoing<void>(response, ex, sent, this,
|
412
|
+
return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this,
|
413
|
+
&ObjectPrx::_iceI_ping, context);
|
354
414
|
}
|
355
415
|
|
416
|
+
/**
|
417
|
+
* Tests whether the target object of this proxy can be reached.
|
418
|
+
* @param context The context map for the invocation.
|
419
|
+
* @return The future object for the invocation.
|
420
|
+
*/
|
356
421
|
template<template<typename> class P = std::promise>
|
357
422
|
auto ice_pingAsync(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
358
423
|
-> decltype(std::declval<P<void>>().get_future())
|
@@ -360,24 +425,46 @@ public:
|
|
360
425
|
return _makePromiseOutgoing<void, P>(false, this, &ObjectPrx::_iceI_ping, context);
|
361
426
|
}
|
362
427
|
|
428
|
+
/// \cond INTERNAL
|
363
429
|
void
|
364
430
|
_iceI_ping(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::Context&);
|
365
|
-
|
431
|
+
/// \endcond
|
432
|
+
|
433
|
+
/**
|
434
|
+
* Returns the Slice type IDs of the interfaces supported by the target object of this proxy.
|
435
|
+
* @param context The context map for the invocation.
|
436
|
+
* @return The Slice type IDs of the interfaces supported by the target object, in base-to-derived
|
437
|
+
* order. The first element of the returned array is always "::Ice::Object".
|
438
|
+
*/
|
366
439
|
::std::vector<::std::string>
|
367
440
|
ice_ids(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
368
441
|
{
|
369
442
|
return _makePromiseOutgoing<::std::vector<::std::string>>(true, this, &ObjectPrx::_iceI_ids, context).get();
|
370
443
|
}
|
371
444
|
|
445
|
+
/**
|
446
|
+
* Returns the Slice type IDs of the interfaces supported by the target object of this proxy.
|
447
|
+
* @param response The response callback.
|
448
|
+
* @param ex The exception callback.
|
449
|
+
* @param sent The sent callback.
|
450
|
+
* @param context The context map for the invocation.
|
451
|
+
* @return A function that can be called to cancel the invocation locally.
|
452
|
+
*/
|
372
453
|
::std::function<void()>
|
373
454
|
ice_idsAsync(::std::function<void(::std::vector<::std::string>)> response,
|
374
455
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
375
456
|
::std::function<void(bool)> sent = nullptr,
|
376
457
|
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
377
458
|
{
|
378
|
-
return _makeLamdaOutgoing<::std::vector<::std::string>>(response, ex, sent,
|
459
|
+
return _makeLamdaOutgoing<::std::vector<::std::string>>(std::move(response), std::move(ex), std::move(sent),
|
460
|
+
this, &ObjectPrx::_iceI_ids, context);
|
379
461
|
}
|
380
462
|
|
463
|
+
/**
|
464
|
+
* Returns the Slice type IDs of the interfaces supported by the target object of this proxy.
|
465
|
+
* @param context The context map for the invocation.
|
466
|
+
* @return The future object for the invocation.
|
467
|
+
*/
|
381
468
|
template<template<typename> class P = std::promise> auto
|
382
469
|
ice_idsAsync(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
383
470
|
-> decltype(std::declval<P<::std::vector<::std::string>>>().get_future())
|
@@ -385,24 +472,45 @@ public:
|
|
385
472
|
return _makePromiseOutgoing<::std::vector<::std::string>, P>(false, this, &ObjectPrx::_iceI_ids, context);
|
386
473
|
}
|
387
474
|
|
475
|
+
/// \cond INTERNAL
|
388
476
|
void
|
389
477
|
_iceI_ids(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::vector<::std::string>>>&, const ::Ice::Context&);
|
478
|
+
/// \endcond
|
390
479
|
|
480
|
+
/**
|
481
|
+
* Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.
|
482
|
+
* @param context The context map for the invocation.
|
483
|
+
* @return The Slice type ID of the most-derived interface.
|
484
|
+
*/
|
391
485
|
::std::string
|
392
486
|
ice_id(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
393
487
|
{
|
394
488
|
return _makePromiseOutgoing<::std::string>(true, this, &ObjectPrx::_iceI_id, context).get();
|
395
489
|
}
|
396
490
|
|
491
|
+
/**
|
492
|
+
* Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.
|
493
|
+
* @param response The response callback.
|
494
|
+
* @param ex The exception callback.
|
495
|
+
* @param sent The sent callback.
|
496
|
+
* @param context The context map for the invocation.
|
497
|
+
* @return A function that can be called to cancel the invocation locally.
|
498
|
+
*/
|
397
499
|
::std::function<void()>
|
398
500
|
ice_idAsync(::std::function<void(::std::string)> response,
|
399
501
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
400
502
|
::std::function<void(bool)> sent = nullptr,
|
401
503
|
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
402
504
|
{
|
403
|
-
return _makeLamdaOutgoing<::std::string>(response, ex, sent, this,
|
505
|
+
return _makeLamdaOutgoing<::std::string>(std::move(response), std::move(ex), std::move(sent), this,
|
506
|
+
&ObjectPrx::_iceI_id, context);
|
404
507
|
}
|
405
508
|
|
509
|
+
/**
|
510
|
+
* Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.
|
511
|
+
* @param context The context map for the invocation.
|
512
|
+
* @return The future object for the invocation.
|
513
|
+
*/
|
406
514
|
template<template<typename> class P = std::promise>
|
407
515
|
auto ice_idAsync(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
408
516
|
-> decltype(std::declval<P<::std::string>>().get_future())
|
@@ -410,42 +518,75 @@ public:
|
|
410
518
|
return _makePromiseOutgoing<::std::string, P>(false, this, &ObjectPrx::_iceI_id, context);
|
411
519
|
}
|
412
520
|
|
521
|
+
/// \cond INTERNAL
|
413
522
|
void
|
414
523
|
_iceI_id(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::string>>&, const ::Ice::Context&);
|
524
|
+
/// \endcond
|
415
525
|
|
526
|
+
/**
|
527
|
+
* Returns the Slice type ID associated with this type.
|
528
|
+
* @return The Slice type ID.
|
529
|
+
*/
|
416
530
|
static const ::std::string& ice_staticId()
|
417
531
|
{
|
418
532
|
return ::Ice::Object::ice_staticId();
|
419
533
|
}
|
420
534
|
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
535
|
+
/**
|
536
|
+
* Invokes an operation dynamically.
|
537
|
+
* @param operation The name of the operation to invoke.
|
538
|
+
* @param mode The operation mode (normal or idempotent).
|
539
|
+
* @param inParams An encapsulation containing the encoded in-parameters for the operation.
|
540
|
+
* @param outParams An encapsulation containing the encoded results.
|
541
|
+
* @param context The context map for the invocation.
|
542
|
+
* @return True if the operation completed successfully, in which case outParams contains
|
543
|
+
* the encoded out parameters. False if the operation raised a user exception, in which
|
544
|
+
* case outParams contains the encoded user exception. If the operation raises a run-time
|
545
|
+
* exception, it throws it directly.
|
546
|
+
*/
|
425
547
|
bool
|
426
548
|
ice_invoke(const ::std::string& operation,
|
427
549
|
::Ice::OperationMode mode,
|
428
|
-
const ::std::vector<Byte>&
|
550
|
+
const ::std::vector<Byte>& inParams,
|
429
551
|
::std::vector<::Ice::Byte>& outParams,
|
430
552
|
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
431
553
|
{
|
432
|
-
return ice_invoke(operation, mode, ::IceInternal::makePair(
|
554
|
+
return ice_invoke(operation, mode, ::IceInternal::makePair(inParams), outParams, context);
|
433
555
|
}
|
434
556
|
|
557
|
+
/**
|
558
|
+
* Invokes an operation dynamically.
|
559
|
+
* @param operation The name of the operation to invoke.
|
560
|
+
* @param mode The operation mode (normal or idempotent).
|
561
|
+
* @param inParams An encapsulation containing the encoded in-parameters for the operation.
|
562
|
+
* @param context The context map for the invocation.
|
563
|
+
* @return The future object for the invocation.
|
564
|
+
*/
|
435
565
|
template<template<typename> class P = std::promise> auto
|
436
566
|
ice_invokeAsync(const ::std::string& operation,
|
437
567
|
::Ice::OperationMode mode,
|
438
|
-
const ::std::vector<Byte>&
|
568
|
+
const ::std::vector<Byte>& inParams,
|
439
569
|
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
440
570
|
-> decltype(std::declval<P<::Ice::Object::Ice_invokeResult>>().get_future())
|
441
571
|
{
|
442
|
-
return ice_invokeAsync<P>(operation, mode, ::IceInternal::makePair(
|
572
|
+
return ice_invokeAsync<P>(operation, mode, ::IceInternal::makePair(inParams), context);
|
443
573
|
}
|
444
574
|
|
575
|
+
/**
|
576
|
+
* Invokes an operation dynamically.
|
577
|
+
* @param operation The name of the operation to invoke.
|
578
|
+
* @param mode The operation mode (normal or idempotent).
|
579
|
+
* @param inParams An encapsulation containing the encoded in-parameters for the operation.
|
580
|
+
* @param response The response callback.
|
581
|
+
* @param ex The exception callback.
|
582
|
+
* @param sent The sent callback.
|
583
|
+
* @param context The context map for the invocation.
|
584
|
+
* @return A function that can be called to cancel the invocation locally.
|
585
|
+
*/
|
445
586
|
::std::function<void()>
|
446
587
|
ice_invokeAsync(const ::std::string& operation,
|
447
588
|
::Ice::OperationMode mode,
|
448
|
-
const ::std::vector<::Ice::Byte>&
|
589
|
+
const ::std::vector<::Ice::Byte>& inParams,
|
449
590
|
::std::function<void(bool, ::std::vector<::Ice::Byte>)> response,
|
450
591
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
451
592
|
::std::function<void(bool)> sent = nullptr,
|
@@ -455,54 +596,85 @@ public:
|
|
455
596
|
::std::function<void(::Ice::Object::Ice_invokeResult&&)> r;
|
456
597
|
if(response)
|
457
598
|
{
|
599
|
+
#if ICE_CPLUSPLUS >= 201402L
|
600
|
+
r = [response = std::move(response)](::Ice::Object::Ice_invokeResult&& result)
|
601
|
+
#else
|
458
602
|
r = [response](::Ice::Object::Ice_invokeResult&& result)
|
603
|
+
#endif
|
459
604
|
{
|
460
605
|
response(result.returnValue, std::move(result.outParams));
|
461
606
|
};
|
462
607
|
}
|
463
|
-
auto outAsync = ::std::make_shared<Outgoing>(shared_from_this(), r, ex, sent);
|
464
|
-
outAsync->invoke(operation, mode, ::IceInternal::makePair(
|
608
|
+
auto outAsync = ::std::make_shared<Outgoing>(shared_from_this(), std::move(r), std::move(ex), std::move(sent));
|
609
|
+
outAsync->invoke(operation, mode, ::IceInternal::makePair(inParams), context);
|
465
610
|
return [outAsync]() { outAsync->cancel(); };
|
466
611
|
}
|
467
612
|
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
613
|
+
/**
|
614
|
+
* Invokes an operation dynamically.
|
615
|
+
* @param operation The name of the operation to invoke.
|
616
|
+
* @param mode The operation mode (normal or idempotent).
|
617
|
+
* @param inParams An encapsulation containing the encoded in-parameters for the operation.
|
618
|
+
* @param outParams An encapsulation containing the encoded results.
|
619
|
+
* @param context The context map for the invocation.
|
620
|
+
* @return True if the operation completed successfully, in which case outParams contains
|
621
|
+
* the encoded out parameters. False if the operation raised a user exception, in which
|
622
|
+
* case outParams contains the encoded user exception. If the operation raises a run-time
|
623
|
+
* exception, it throws it directly.
|
624
|
+
*/
|
472
625
|
bool
|
473
626
|
ice_invoke(const ::std::string& operation,
|
474
627
|
::Ice::OperationMode mode,
|
475
|
-
const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&
|
628
|
+
const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
|
476
629
|
::std::vector<::Ice::Byte>& outParams,
|
477
630
|
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
478
631
|
{
|
479
632
|
using Outgoing = ::IceInternal::InvokePromiseOutgoing<
|
480
633
|
::std::promise<::Ice::Object::Ice_invokeResult>, ::Ice::Object::Ice_invokeResult>;
|
481
634
|
auto outAsync = ::std::make_shared<Outgoing>(shared_from_this(), true);
|
482
|
-
outAsync->invoke(operation, mode,
|
635
|
+
outAsync->invoke(operation, mode, inParams, context);
|
483
636
|
auto result = outAsync->getFuture().get();
|
484
637
|
outParams.swap(result.outParams);
|
485
638
|
return result.returnValue;
|
486
639
|
}
|
487
640
|
|
641
|
+
/**
|
642
|
+
* Invokes an operation dynamically.
|
643
|
+
* @param operation The name of the operation to invoke.
|
644
|
+
* @param mode The operation mode (normal or idempotent).
|
645
|
+
* @param inParams An encapsulation containing the encoded in-parameters for the operation.
|
646
|
+
* @param context The context map for the invocation.
|
647
|
+
* @return The future object for the invocation.
|
648
|
+
*/
|
488
649
|
template<template<typename> class P = std::promise> auto
|
489
650
|
ice_invokeAsync(const ::std::string& operation,
|
490
651
|
::Ice::OperationMode mode,
|
491
|
-
const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&
|
652
|
+
const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
|
492
653
|
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
493
654
|
-> decltype(std::declval<P<::Ice::Object::Ice_invokeResult>>().get_future())
|
494
655
|
{
|
495
656
|
using Outgoing =
|
496
657
|
::IceInternal::InvokePromiseOutgoing<P<::Ice::Object::Ice_invokeResult>, ::Ice::Object::Ice_invokeResult>;
|
497
658
|
auto outAsync = ::std::make_shared<Outgoing>(shared_from_this(), false);
|
498
|
-
outAsync->invoke(operation, mode,
|
659
|
+
outAsync->invoke(operation, mode, inParams, context);
|
499
660
|
return outAsync->getFuture();
|
500
661
|
}
|
501
662
|
|
663
|
+
/**
|
664
|
+
* Invokes an operation dynamically.
|
665
|
+
* @param operation The name of the operation to invoke.
|
666
|
+
* @param mode The operation mode (normal or idempotent).
|
667
|
+
* @param inParams An encapsulation containing the encoded in-parameters for the operation.
|
668
|
+
* @param response The response callback.
|
669
|
+
* @param ex The exception callback.
|
670
|
+
* @param sent The sent callback.
|
671
|
+
* @param context The context map for the invocation.
|
672
|
+
* @return A function that can be called to cancel the invocation locally.
|
673
|
+
*/
|
502
674
|
::std::function<void()>
|
503
675
|
ice_invokeAsync(const ::std::string& operation,
|
504
676
|
::Ice::OperationMode mode,
|
505
|
-
const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&
|
677
|
+
const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
|
506
678
|
::std::function<void(bool, ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>)> response,
|
507
679
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
508
680
|
::std::function<void(bool)> sent = nullptr,
|
@@ -514,95 +686,374 @@ public:
|
|
514
686
|
::std::function<void(Result&&)> r;
|
515
687
|
if(response)
|
516
688
|
{
|
689
|
+
#if ICE_CPLUSPLUS >= 201402L
|
690
|
+
r = [response = std::move(response)](Result&& result)
|
691
|
+
#else
|
517
692
|
r = [response](Result&& result)
|
693
|
+
#endif
|
518
694
|
{
|
519
695
|
response(::std::get<0>(result), ::std::move(::std::get<1>(result)));
|
520
696
|
};
|
521
697
|
}
|
522
|
-
auto outAsync = ::std::make_shared<Outgoing>(shared_from_this(), r, ex, sent);
|
523
|
-
outAsync->invoke(operation, mode,
|
698
|
+
auto outAsync = ::std::make_shared<Outgoing>(shared_from_this(), std::move(r), std::move(ex), std::move(sent));
|
699
|
+
outAsync->invoke(operation, mode, inParams, context);
|
524
700
|
return [outAsync]() { outAsync->cancel(); };
|
525
701
|
}
|
526
702
|
|
703
|
+
/**
|
704
|
+
* Obtains the identity embedded in this proxy.
|
705
|
+
* @return The identity of the target object.
|
706
|
+
*/
|
527
707
|
::Ice::Identity ice_getIdentity() const;
|
528
|
-
::std::shared_ptr<::Ice::ObjectPrx> ice_identity(const ::Ice::Identity&) const;
|
529
708
|
|
709
|
+
/**
|
710
|
+
* Obtains a proxy that is identical to this proxy, except for the identity.
|
711
|
+
* @param id The identity for the new proxy.
|
712
|
+
* @return A proxy with the new identity.
|
713
|
+
*/
|
714
|
+
::std::shared_ptr<::Ice::ObjectPrx> ice_identity(const ::Ice::Identity& id) const;
|
715
|
+
|
716
|
+
/**
|
717
|
+
* Obtains the per-proxy context for this proxy.
|
718
|
+
* @return The per-proxy context.
|
719
|
+
*/
|
530
720
|
::Ice::Context ice_getContext() const;
|
531
|
-
::std::shared_ptr<::Ice::ObjectPrx> ice_context(const ::Ice::Context&) const;
|
532
721
|
|
722
|
+
/**
|
723
|
+
* Obtains a proxy that is identical to this proxy, except for the per-proxy context.
|
724
|
+
* @param context The context for the new proxy.
|
725
|
+
* @return A proxy with the new per-proxy context.
|
726
|
+
*/
|
727
|
+
::std::shared_ptr<::Ice::ObjectPrx> ice_context(const ::Ice::Context& context) const;
|
728
|
+
|
729
|
+
/**
|
730
|
+
* Obtains the facet for this proxy.
|
731
|
+
* @return The facet for this proxy. If the proxy uses the default facet, the return value is the empty string.
|
732
|
+
*/
|
533
733
|
const ::std::string& ice_getFacet() const;
|
534
|
-
::std::shared_ptr<::Ice::ObjectPrx> ice_facet(const ::std::string&) const;
|
535
734
|
|
735
|
+
/**
|
736
|
+
* Obtains a proxy that is identical to this proxy, except for the facet.
|
737
|
+
* @param facet The facet for the new proxy.
|
738
|
+
* @return A proxy with the new facet.
|
739
|
+
*/
|
740
|
+
::std::shared_ptr<::Ice::ObjectPrx> ice_facet(const ::std::string& facet) const;
|
741
|
+
|
742
|
+
/**
|
743
|
+
* Obtains the adapter ID for this proxy.
|
744
|
+
* @return The adapter ID. If the proxy does not have an adapter ID, the return value is the empty string.
|
745
|
+
*/
|
536
746
|
::std::string ice_getAdapterId() const;
|
537
|
-
::std::shared_ptr<::Ice::ObjectPrx> ice_adapterId(const ::std::string&) const;
|
538
747
|
|
748
|
+
/**
|
749
|
+
* Obtains a proxy that is identical to this proxy, except for the adapter ID.
|
750
|
+
* @param id The adapter ID for the new proxy.
|
751
|
+
* @return A proxy with the new adapter ID.
|
752
|
+
*/
|
753
|
+
::std::shared_ptr<::Ice::ObjectPrx> ice_adapterId(const ::std::string& id) const;
|
754
|
+
|
755
|
+
/**
|
756
|
+
* Obtains the endpoints used by this proxy.
|
757
|
+
* @return The endpoints used by this proxy.
|
758
|
+
*/
|
539
759
|
::Ice::EndpointSeq ice_getEndpoints() const;
|
540
|
-
::std::shared_ptr<::Ice::ObjectPrx> ice_endpoints(const ::Ice::EndpointSeq&) const;
|
541
760
|
|
761
|
+
/**
|
762
|
+
* Obtains a proxy that is identical to this proxy, except for the endpoints.
|
763
|
+
* @param endpoints The endpoints for the new proxy.
|
764
|
+
* @return A proxy with the new endpoints.
|
765
|
+
*/
|
766
|
+
::std::shared_ptr<::Ice::ObjectPrx> ice_endpoints(const ::Ice::EndpointSeq& endpoints) const;
|
767
|
+
|
768
|
+
/**
|
769
|
+
* Obtains the locator cache timeout of this proxy.
|
770
|
+
* @return The locator cache timeout value (in seconds).
|
771
|
+
*/
|
542
772
|
::Ice::Int ice_getLocatorCacheTimeout() const;
|
543
|
-
::std::shared_ptr<::Ice::ObjectPrx> ice_locatorCacheTimeout(::Ice::Int) const;
|
544
773
|
|
774
|
+
/**
|
775
|
+
* Obtains a proxy that is identical to this proxy, except for the locator cache timeout.
|
776
|
+
* @param timeout The new locator cache timeout (in seconds).
|
777
|
+
* @return A proxy with the new timeout.
|
778
|
+
*/
|
779
|
+
::std::shared_ptr<::Ice::ObjectPrx> ice_locatorCacheTimeout(::Ice::Int timeout) const;
|
780
|
+
|
781
|
+
/**
|
782
|
+
* Determines whether this proxy caches connections.
|
783
|
+
* @return True if this proxy caches connections, false otherwise.
|
784
|
+
*/
|
545
785
|
bool ice_isConnectionCached() const;
|
546
|
-
::std::shared_ptr<::Ice::ObjectPrx> ice_connectionCached(bool) const;
|
547
786
|
|
787
|
+
/**
|
788
|
+
* Obtains a proxy that is identical to this proxy, except for connection caching.
|
789
|
+
* @param b True if the new proxy should cache connections, false otherwise.
|
790
|
+
* @return A proxy with the specified caching policy.
|
791
|
+
*/
|
792
|
+
::std::shared_ptr<::Ice::ObjectPrx> ice_connectionCached(bool b) const;
|
793
|
+
|
794
|
+
/**
|
795
|
+
* Obtains the endpoint selection policy for this proxy (randomly or ordered).
|
796
|
+
* @return The endpoint selection policy.
|
797
|
+
*/
|
548
798
|
::Ice::EndpointSelectionType ice_getEndpointSelection() const;
|
549
|
-
::std::shared_ptr<::Ice::ObjectPrx> ice_endpointSelection(::Ice::EndpointSelectionType) const;
|
550
799
|
|
800
|
+
/**
|
801
|
+
* Obtains a proxy that is identical to this proxy, except for the endpoint selection policy.
|
802
|
+
* @param type The new endpoint selection policy.
|
803
|
+
* @return A proxy with the specified endpoint selection policy.
|
804
|
+
*/
|
805
|
+
::std::shared_ptr<::Ice::ObjectPrx> ice_endpointSelection(::Ice::EndpointSelectionType type) const;
|
806
|
+
|
807
|
+
/**
|
808
|
+
* Determines whether this proxy uses only secure endpoints.
|
809
|
+
* @return True if this proxy communicates only via secure endpoints, false otherwise.
|
810
|
+
*/
|
551
811
|
bool ice_isSecure() const;
|
552
|
-
::std::shared_ptr<::Ice::ObjectPrx> ice_secure(bool) const;
|
553
812
|
|
813
|
+
/**
|
814
|
+
* Obtains a proxy that is identical to this proxy, except for how it selects endpoints.
|
815
|
+
* @param b If true, only endpoints that use a secure transport are used by the new proxy.
|
816
|
+
* If false, the returned proxy uses both secure and insecure endpoints.
|
817
|
+
* @return A proxy with the specified security policy.
|
818
|
+
*/
|
819
|
+
::std::shared_ptr<::Ice::ObjectPrx> ice_secure(bool b) const;
|
820
|
+
|
821
|
+
/**
|
822
|
+
* Obtains the encoding version used to marshal request parameters.
|
823
|
+
* @return The encoding version.
|
824
|
+
*/
|
554
825
|
::Ice::EncodingVersion ice_getEncodingVersion() const;
|
555
|
-
::std::shared_ptr<::Ice::ObjectPrx> ice_encodingVersion(const ::Ice::EncodingVersion&) const;
|
556
826
|
|
827
|
+
/**
|
828
|
+
* Obtains a proxy that is identical to this proxy, except for the encoding used to marshal
|
829
|
+
* parameters.
|
830
|
+
* @param version The encoding version to use to marshal request parameters.
|
831
|
+
* @return A proxy with the specified encoding version.
|
832
|
+
*/
|
833
|
+
::std::shared_ptr<::Ice::ObjectPrx> ice_encodingVersion(const ::Ice::EncodingVersion& version) const;
|
834
|
+
|
835
|
+
/**
|
836
|
+
* Determines whether this proxy prefers secure endpoints.
|
837
|
+
* @return True if the proxy always attempts to invoke via secure endpoints before it
|
838
|
+
* attempts to use insecure endpoints, false otherwise.
|
839
|
+
*/
|
557
840
|
bool ice_isPreferSecure() const;
|
558
|
-
::std::shared_ptr<::Ice::ObjectPrx> ice_preferSecure(bool) const;
|
559
841
|
|
842
|
+
/**
|
843
|
+
* Obtains a proxy that is identical to this proxy, except for its endpoint selection policy.
|
844
|
+
* @param b If true, the new proxy will use secure endpoints for invocations and only use
|
845
|
+
* insecure endpoints if an invocation cannot be made via secure endpoints. If false, the
|
846
|
+
* proxy prefers insecure endpoints to secure ones.
|
847
|
+
* @return A proxy with the specified selection policy.
|
848
|
+
*/
|
849
|
+
::std::shared_ptr<::Ice::ObjectPrx> ice_preferSecure(bool b) const;
|
850
|
+
|
851
|
+
/**
|
852
|
+
* Obtains the router for this proxy.
|
853
|
+
* @return The router for the proxy. If no router is configured for the proxy, the return value
|
854
|
+
* is nil.
|
855
|
+
*/
|
560
856
|
::std::shared_ptr<::Ice::RouterPrx> ice_getRouter() const;
|
561
|
-
::std::shared_ptr<::Ice::ObjectPrx> ice_router(const ::std::shared_ptr<::Ice::RouterPrx>&) const;
|
562
857
|
|
858
|
+
/**
|
859
|
+
* Obtains a proxy that is identical to this proxy, except for the router.
|
860
|
+
* @param router The router for the new proxy.
|
861
|
+
* @return A proxy with the specified router.
|
862
|
+
*/
|
863
|
+
::std::shared_ptr<::Ice::ObjectPrx> ice_router(const ::std::shared_ptr<::Ice::RouterPrx>& router) const;
|
864
|
+
|
865
|
+
/**
|
866
|
+
* Obtains the locator for this proxy.
|
867
|
+
* @return The locator for this proxy. If no locator is configured, the return value is nil.
|
868
|
+
*/
|
563
869
|
::std::shared_ptr<::Ice::LocatorPrx> ice_getLocator() const;
|
564
|
-
::std::shared_ptr<::Ice::ObjectPrx> ice_locator(const ::std::shared_ptr<::Ice::LocatorPrx>&) const;
|
565
870
|
|
871
|
+
/**
|
872
|
+
* Obtains a proxy that is identical to this proxy, except for the locator.
|
873
|
+
* @param locator The locator for the new proxy.
|
874
|
+
* @return A proxy with the specified locator.
|
875
|
+
*/
|
876
|
+
::std::shared_ptr<::Ice::ObjectPrx> ice_locator(const ::std::shared_ptr<::Ice::LocatorPrx>& locator) const;
|
877
|
+
|
878
|
+
/**
|
879
|
+
* Determines whether this proxy uses collocation optimization.
|
880
|
+
* @return True if the proxy uses collocation optimization, false otherwise.
|
881
|
+
*/
|
566
882
|
bool ice_isCollocationOptimized() const;
|
567
|
-
::std::shared_ptr<::Ice::ObjectPrx> ice_collocationOptimized(bool) const;
|
568
883
|
|
884
|
+
/**
|
885
|
+
* Obtains a proxy that is identical to this proxy, except for collocation optimization.
|
886
|
+
* @param b True if the new proxy enables collocation optimization, false otherwise.
|
887
|
+
* @return A proxy with the specified collocation optimization.
|
888
|
+
*/
|
889
|
+
::std::shared_ptr<::Ice::ObjectPrx> ice_collocationOptimized(bool b) const;
|
890
|
+
|
891
|
+
/**
|
892
|
+
* Obtains the invocation timeout of this proxy.
|
893
|
+
* @return The invocation timeout value (in milliseconds).
|
894
|
+
*/
|
569
895
|
::Ice::Int ice_getInvocationTimeout() const;
|
570
|
-
::std::shared_ptr<::Ice::ObjectPrx> ice_invocationTimeout(::Ice::Int) const;
|
571
896
|
|
897
|
+
/**
|
898
|
+
* Obtains a proxy that is identical to this proxy, except for the invocation timeout.
|
899
|
+
* @param timeout The new invocation timeout (in milliseconds).
|
900
|
+
* @return A proxy with the new timeout.
|
901
|
+
*/
|
902
|
+
::std::shared_ptr<::Ice::ObjectPrx> ice_invocationTimeout(::Ice::Int timeout) const;
|
903
|
+
|
904
|
+
/**
|
905
|
+
* Obtains a proxy that is identical to this proxy, but uses twoway invocations.
|
906
|
+
* @return A proxy that uses twoway invocations.
|
907
|
+
*/
|
572
908
|
::std::shared_ptr<::Ice::ObjectPrx> ice_twoway() const;
|
909
|
+
|
910
|
+
/**
|
911
|
+
* Determines whether this proxy uses twoway invocations.
|
912
|
+
* @return True if this proxy uses twoway invocations, false otherwise.
|
913
|
+
*/
|
573
914
|
bool ice_isTwoway() const;
|
915
|
+
|
916
|
+
/**
|
917
|
+
* Obtains a proxy that is identical to this proxy, but uses oneway invocations.
|
918
|
+
* @return A proxy that uses oneway invocations.
|
919
|
+
*/
|
574
920
|
::std::shared_ptr<::Ice::ObjectPrx> ice_oneway() const;
|
921
|
+
|
922
|
+
/**
|
923
|
+
* Determines whether this proxy uses oneway invocations.
|
924
|
+
* @return True if this proxy uses oneway invocations, false otherwise.
|
925
|
+
*/
|
575
926
|
bool ice_isOneway() const;
|
927
|
+
|
928
|
+
/**
|
929
|
+
* Obtains a proxy that is identical to this proxy, but uses batch oneway invocations.
|
930
|
+
* @return A proxy that uses batch oneway invocations.
|
931
|
+
*/
|
576
932
|
::std::shared_ptr<::Ice::ObjectPrx> ice_batchOneway() const;
|
933
|
+
|
934
|
+
/**
|
935
|
+
* Determines whether this proxy uses batch oneway invocations.
|
936
|
+
* @return True if this proxy uses batch oneway invocations, false otherwise.
|
937
|
+
*/
|
577
938
|
bool ice_isBatchOneway() const;
|
939
|
+
|
940
|
+
/**
|
941
|
+
* Obtains a proxy that is identical to this proxy, but uses datagram invocations.
|
942
|
+
* @return A proxy that uses datagram invocations.
|
943
|
+
*/
|
578
944
|
::std::shared_ptr<::Ice::ObjectPrx> ice_datagram() const;
|
945
|
+
|
946
|
+
/**
|
947
|
+
* Determines whether this proxy uses datagram invocations.
|
948
|
+
* @return True if this proxy uses datagram invocations, false otherwise.
|
949
|
+
*/
|
579
950
|
bool ice_isDatagram() const;
|
951
|
+
|
952
|
+
/**
|
953
|
+
* Obtains a proxy that is identical to this proxy, but uses batch datagram invocations.
|
954
|
+
* @return A proxy that uses batch datagram invocations.
|
955
|
+
*/
|
580
956
|
::std::shared_ptr<::Ice::ObjectPrx> ice_batchDatagram() const;
|
581
|
-
bool ice_isBatchDatagram() const;
|
582
957
|
|
583
|
-
|
584
|
-
|
958
|
+
/**
|
959
|
+
* Determines whether this proxy uses batch datagram invocations.
|
960
|
+
* @return True if this proxy uses batch datagram invocations, false otherwise.
|
961
|
+
*/
|
962
|
+
bool ice_isBatchDatagram() const;
|
585
963
|
|
586
|
-
|
964
|
+
/**
|
965
|
+
* Obtains a proxy that is identical to this proxy, except for its compression setting which
|
966
|
+
* overrides the compression setting from the proxy endpoints.
|
967
|
+
* @param b True enables compression for the new proxy, false disables compression.
|
968
|
+
* @return A proxy with the specified compression override setting.
|
969
|
+
*/
|
970
|
+
::std::shared_ptr<::Ice::ObjectPrx> ice_compress(bool b) const;
|
971
|
+
|
972
|
+
/**
|
973
|
+
* Obtains the compression override setting of this proxy.
|
974
|
+
* @return The compression override setting. If nullopt is returned, no override is set. Otherwise, true
|
975
|
+
* if compression is enabled, false otherwise.
|
976
|
+
*/
|
977
|
+
::Ice::optional<bool> ice_getCompress() const;
|
978
|
+
|
979
|
+
/**
|
980
|
+
* Obtains a proxy that is identical to this proxy, except for its connection timeout setting
|
981
|
+
* which overrides the timeot setting from the proxy endpoints.
|
982
|
+
* @param timeout The connection timeout override for the proxy (in milliseconds).
|
983
|
+
* @return A proxy with the specified timeout override.
|
984
|
+
*/
|
985
|
+
::std::shared_ptr<::Ice::ObjectPrx> ice_timeout(int timeout) const;
|
986
|
+
|
987
|
+
/**
|
988
|
+
* Obtains the timeout override of this proxy.
|
989
|
+
* @return The timeout override. If nullopt is returned, no override is set. Otherwise, returns
|
990
|
+
* the timeout override value.
|
991
|
+
*/
|
992
|
+
::Ice::optional<int> ice_getTimeout() const;
|
993
|
+
|
994
|
+
/**
|
995
|
+
* Obtains a proxy that is identical to this proxy, except for its connection ID.
|
996
|
+
* @param id The connection ID for the new proxy. An empty string removes the
|
997
|
+
* connection ID.
|
998
|
+
* @return A proxy with the specified connection ID.
|
999
|
+
*/
|
1000
|
+
::std::shared_ptr<::Ice::ObjectPrx> ice_connectionId(const ::std::string& id) const;
|
1001
|
+
|
1002
|
+
/**
|
1003
|
+
* Obtains the connection ID of this proxy.
|
1004
|
+
* @return The connection ID.
|
1005
|
+
*/
|
587
1006
|
::std::string ice_getConnectionId() const;
|
588
1007
|
|
1008
|
+
/**
|
1009
|
+
* Obtains a proxy that is identical to this proxy, except it's a fixed proxy bound
|
1010
|
+
* the given connection.
|
1011
|
+
* @param connection The fixed proxy connection.
|
1012
|
+
* @return A fixed proxy bound to the given connection.
|
1013
|
+
*/
|
1014
|
+
::std::shared_ptr<::Ice::ObjectPrx> ice_fixed(const ::std::shared_ptr<::Ice::Connection>& connection) const;
|
1015
|
+
|
1016
|
+
/**
|
1017
|
+
* Determines whether this proxy is a fixed proxy.
|
1018
|
+
* @return True if this proxy is a fixed proxy, false otherwise.
|
1019
|
+
*/
|
1020
|
+
bool ice_isFixed() const;
|
1021
|
+
|
1022
|
+
/**
|
1023
|
+
* Obtains the Connection for this proxy. If the proxy does not yet have an established connection,
|
1024
|
+
* it first attempts to create a connection.
|
1025
|
+
* @return The connection for this proxy.
|
1026
|
+
*/
|
589
1027
|
::std::shared_ptr<::Ice::Connection>
|
590
1028
|
ice_getConnection()
|
591
1029
|
{
|
592
1030
|
return ice_getConnectionAsync().get();
|
593
1031
|
}
|
594
1032
|
|
1033
|
+
/**
|
1034
|
+
* Obtains the Connection for this proxy. If the proxy does not yet have an established connection,
|
1035
|
+
* it first attempts to create a connection.
|
1036
|
+
* @param response The response callback.
|
1037
|
+
* @param ex The exception callback.
|
1038
|
+
* @param sent The sent callback.
|
1039
|
+
* @return A function that can be called to cancel the invocation locally.
|
1040
|
+
*/
|
595
1041
|
::std::function<void()>
|
596
1042
|
ice_getConnectionAsync(::std::function<void(::std::shared_ptr<::Ice::Connection>)> response,
|
597
1043
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
598
1044
|
::std::function<void(bool)> sent = nullptr)
|
599
1045
|
{
|
600
1046
|
using LambdaOutgoing = ::IceInternal::ProxyGetConnectionLambda;
|
601
|
-
auto outAsync = ::std::make_shared<LambdaOutgoing>(shared_from_this(), response, ex, sent);
|
1047
|
+
auto outAsync = ::std::make_shared<LambdaOutgoing>(shared_from_this(), std::move(response), std::move(ex), std::move(sent));
|
602
1048
|
_iceI_getConnection(outAsync);
|
603
1049
|
return [outAsync]() { outAsync->cancel(); };
|
604
1050
|
}
|
605
1051
|
|
1052
|
+
/**
|
1053
|
+
* Obtains the Connection for this proxy. If the proxy does not yet have an established connection,
|
1054
|
+
* it first attempts to create a connection.
|
1055
|
+
* @return The future object for the invocation.
|
1056
|
+
*/
|
606
1057
|
template<template<typename> class P = std::promise> auto
|
607
1058
|
ice_getConnectionAsync() -> decltype(std::declval<P<::std::shared_ptr<::Ice::Connection>>>().get_future())
|
608
1059
|
{
|
@@ -612,25 +1063,46 @@ public:
|
|
612
1063
|
return outAsync->getFuture();
|
613
1064
|
}
|
614
1065
|
|
1066
|
+
/// \cond INTERNAL
|
615
1067
|
void _iceI_getConnection(const ::std::shared_ptr<::IceInternal::ProxyGetConnection>&);
|
616
|
-
|
1068
|
+
/// \endcond
|
1069
|
+
|
1070
|
+
/**
|
1071
|
+
* Obtains the cached Connection for this proxy. If the proxy does not yet have an established
|
1072
|
+
* connection, it does not attempt to create a connection.
|
1073
|
+
* @return The cached connection for this proxy, or nil if the proxy does not have
|
1074
|
+
* an established connection.
|
1075
|
+
*/
|
617
1076
|
::std::shared_ptr<::Ice::Connection> ice_getCachedConnection() const;
|
618
1077
|
|
1078
|
+
/**
|
1079
|
+
* Flushes any pending batched requests for this communicator. The call blocks until the flush is complete.
|
1080
|
+
*/
|
619
1081
|
void ice_flushBatchRequests()
|
620
1082
|
{
|
621
1083
|
return ice_flushBatchRequestsAsync().get();
|
622
1084
|
}
|
623
1085
|
|
1086
|
+
/**
|
1087
|
+
* Flushes asynchronously any pending batched requests for this communicator.
|
1088
|
+
* @param ex The exception callback.
|
1089
|
+
* @param sent The sent callback.
|
1090
|
+
* @return A function that can be called to cancel the invocation locally.
|
1091
|
+
*/
|
624
1092
|
std::function<void()>
|
625
1093
|
ice_flushBatchRequestsAsync(::std::function<void(::std::exception_ptr)> ex,
|
626
1094
|
::std::function<void(bool)> sent = nullptr)
|
627
1095
|
{
|
628
1096
|
using LambdaOutgoing = ::IceInternal::ProxyFlushBatchLambda;
|
629
|
-
auto outAsync = ::std::make_shared<LambdaOutgoing>(shared_from_this(), ex, sent);
|
1097
|
+
auto outAsync = ::std::make_shared<LambdaOutgoing>(shared_from_this(), std::move(ex), std::move(sent));
|
630
1098
|
_iceI_flushBatchRequests(outAsync);
|
631
1099
|
return [outAsync]() { outAsync->cancel(); };
|
632
1100
|
}
|
633
1101
|
|
1102
|
+
/**
|
1103
|
+
* Flushes asynchronously any pending batched requests for this communicator.
|
1104
|
+
* @return The future object for the invocation.
|
1105
|
+
*/
|
634
1106
|
template<template<typename> class P = std::promise> auto
|
635
1107
|
ice_flushBatchRequestsAsync() -> decltype(std::declval<P<void>>().get_future())
|
636
1108
|
{
|
@@ -640,6 +1112,7 @@ public:
|
|
640
1112
|
return outAsync->getFuture();
|
641
1113
|
}
|
642
1114
|
|
1115
|
+
/// \cond INTERNAL
|
643
1116
|
void _iceI_flushBatchRequests(const ::std::shared_ptr<::IceInternal::ProxyFlushBatchAsync>&);
|
644
1117
|
|
645
1118
|
const ::IceInternal::ReferencePtr& _getReference() const { return _reference; }
|
@@ -659,9 +1132,11 @@ public:
|
|
659
1132
|
int _hash() const;
|
660
1133
|
|
661
1134
|
void _write(OutputStream&) const;
|
1135
|
+
/// \endcond
|
662
1136
|
|
663
1137
|
protected:
|
664
1138
|
|
1139
|
+
/// \cond INTERNAL
|
665
1140
|
template<typename R, template<typename> class P = ::std::promise, typename Obj, typename Fn, typename... Args>
|
666
1141
|
auto _makePromiseOutgoing(bool sync, Obj obj, Fn fn, Args&&... args)
|
667
1142
|
-> decltype(std::declval<P<R>>().get_future())
|
@@ -674,7 +1149,8 @@ protected:
|
|
674
1149
|
template<typename R, typename Re, typename E, typename S, typename Obj, typename Fn, typename... Args>
|
675
1150
|
::std::function<void()> _makeLamdaOutgoing(Re r, E e, S s, Obj obj, Fn fn, Args&&... args)
|
676
1151
|
{
|
677
|
-
auto outAsync = ::std::make_shared<::IceInternal::LambdaOutgoing<R>>(shared_from_this(),
|
1152
|
+
auto outAsync = ::std::make_shared<::IceInternal::LambdaOutgoing<R>>(shared_from_this(),
|
1153
|
+
std::move(r), std::move(e), std::move(s));
|
678
1154
|
(obj->*fn)(outAsync, std::forward<Args>(args)...);
|
679
1155
|
return [outAsync]() { outAsync->cancel(); };
|
680
1156
|
}
|
@@ -682,6 +1158,7 @@ protected:
|
|
682
1158
|
virtual ::std::shared_ptr<ObjectPrx> _newInstance() const;
|
683
1159
|
ObjectPrx() = default;
|
684
1160
|
friend ::std::shared_ptr<ObjectPrx> IceInternal::createProxy<ObjectPrx>();
|
1161
|
+
/// \endcond
|
685
1162
|
|
686
1163
|
private:
|
687
1164
|
|
@@ -718,111 +1195,233 @@ operator!=(const ObjectPrx& lhs, const ObjectPrx& rhs)
|
|
718
1195
|
return !(lhs == rhs);
|
719
1196
|
}
|
720
1197
|
|
1198
|
+
/**
|
1199
|
+
* Helper template that supplies proxy factory functions.
|
1200
|
+
* \headerfile Ice/Ice.h
|
1201
|
+
*/
|
721
1202
|
template<typename Prx, typename... Bases>
|
722
1203
|
class Proxy : public virtual Bases...
|
723
1204
|
{
|
724
1205
|
public:
|
725
1206
|
|
1207
|
+
/**
|
1208
|
+
* Obtains a proxy that is identical to this proxy, except for the per-proxy context.
|
1209
|
+
* @param context The context for the new proxy.
|
1210
|
+
* @return A proxy with the new per-proxy context.
|
1211
|
+
*/
|
726
1212
|
::std::shared_ptr<Prx> ice_context(const ::Ice::Context& context) const
|
727
1213
|
{
|
728
1214
|
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_context(context));
|
729
1215
|
}
|
730
1216
|
|
1217
|
+
/**
|
1218
|
+
* Obtains a proxy that is identical to this proxy, except for the adapter ID.
|
1219
|
+
* @param id The adapter ID for the new proxy.
|
1220
|
+
* @return A proxy with the new adapter ID.
|
1221
|
+
*/
|
731
1222
|
::std::shared_ptr<Prx> ice_adapterId(const ::std::string& id) const
|
732
1223
|
{
|
733
1224
|
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_adapterId(id));
|
734
1225
|
}
|
735
1226
|
|
1227
|
+
/**
|
1228
|
+
* Obtains a proxy that is identical to this proxy, except for the endpoints.
|
1229
|
+
* @param endpoints The endpoints for the new proxy.
|
1230
|
+
* @return A proxy with the new endpoints.
|
1231
|
+
*/
|
736
1232
|
::std::shared_ptr<Prx> ice_endpoints(const ::Ice::EndpointSeq& endpoints) const
|
737
1233
|
{
|
738
1234
|
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_endpoints(endpoints));
|
739
1235
|
}
|
740
1236
|
|
1237
|
+
/**
|
1238
|
+
* Obtains a proxy that is identical to this proxy, except for the locator cache timeout.
|
1239
|
+
* @param timeout The new locator cache timeout (in seconds).
|
1240
|
+
* @return A proxy with the new timeout.
|
1241
|
+
*/
|
741
1242
|
::std::shared_ptr<Prx> ice_locatorCacheTimeout(int timeout) const
|
742
1243
|
{
|
743
1244
|
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_locatorCacheTimeout(timeout));
|
744
1245
|
}
|
745
1246
|
|
746
|
-
|
1247
|
+
/**
|
1248
|
+
* Obtains a proxy that is identical to this proxy, except for connection caching.
|
1249
|
+
* @param b True if the new proxy should cache connections, false otherwise.
|
1250
|
+
* @return A proxy with the specified caching policy.
|
1251
|
+
*/
|
1252
|
+
::std::shared_ptr<Prx> ice_connectionCached(bool b) const
|
747
1253
|
{
|
748
|
-
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_connectionCached(
|
1254
|
+
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_connectionCached(b));
|
749
1255
|
}
|
750
1256
|
|
751
|
-
|
1257
|
+
/**
|
1258
|
+
* Obtains a proxy that is identical to this proxy, except for the endpoint selection policy.
|
1259
|
+
* @param type The new endpoint selection policy.
|
1260
|
+
* @return A proxy with the specified endpoint selection policy.
|
1261
|
+
*/
|
1262
|
+
::std::shared_ptr<Prx> ice_endpointSelection(::Ice::EndpointSelectionType type) const
|
752
1263
|
{
|
753
|
-
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_endpointSelection(
|
1264
|
+
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_endpointSelection(type));
|
754
1265
|
}
|
755
1266
|
|
756
|
-
|
1267
|
+
/**
|
1268
|
+
* Obtains a proxy that is identical to this proxy, except for how it selects endpoints.
|
1269
|
+
* @param b If true, only endpoints that use a secure transport are used by the new proxy.
|
1270
|
+
* If false, the returned proxy uses both secure and insecure endpoints.
|
1271
|
+
* @return A proxy with the specified security policy.
|
1272
|
+
*/
|
1273
|
+
::std::shared_ptr<Prx> ice_secure(bool b) const
|
757
1274
|
{
|
758
|
-
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_secure(
|
1275
|
+
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_secure(b));
|
759
1276
|
}
|
760
1277
|
|
761
|
-
|
1278
|
+
/**
|
1279
|
+
* Obtains a proxy that is identical to this proxy, except for its endpoint selection policy.
|
1280
|
+
* @param b If true, the new proxy will use secure endpoints for invocations and only use
|
1281
|
+
* insecure endpoints if an invocation cannot be made via secure endpoints. If false, the
|
1282
|
+
* proxy prefers insecure endpoints to secure ones.
|
1283
|
+
* @return A proxy with the specified selection policy.
|
1284
|
+
*/
|
1285
|
+
::std::shared_ptr<Prx> ice_preferSecure(bool b) const
|
762
1286
|
{
|
763
|
-
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_preferSecure(
|
1287
|
+
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_preferSecure(b));
|
764
1288
|
}
|
765
1289
|
|
1290
|
+
/**
|
1291
|
+
* Obtains a proxy that is identical to this proxy, except for the router.
|
1292
|
+
* @param router The router for the new proxy.
|
1293
|
+
* @return A proxy with the specified router.
|
1294
|
+
*/
|
766
1295
|
::std::shared_ptr<Prx> ice_router(const ::std::shared_ptr<::Ice::RouterPrx>& router) const
|
767
1296
|
{
|
768
1297
|
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_router(router));
|
769
1298
|
}
|
770
1299
|
|
1300
|
+
/**
|
1301
|
+
* Obtains a proxy that is identical to this proxy, except for the locator.
|
1302
|
+
* @param locator The locator for the new proxy.
|
1303
|
+
* @return A proxy with the specified locator.
|
1304
|
+
*/
|
771
1305
|
::std::shared_ptr<Prx> ice_locator(const ::std::shared_ptr<::Ice::LocatorPrx>& locator) const
|
772
1306
|
{
|
773
1307
|
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_locator(locator));
|
774
1308
|
}
|
775
1309
|
|
776
|
-
|
1310
|
+
/**
|
1311
|
+
* Obtains a proxy that is identical to this proxy, except for collocation optimization.
|
1312
|
+
* @param b True if the new proxy enables collocation optimization, false otherwise.
|
1313
|
+
* @return A proxy with the specified collocation optimization.
|
1314
|
+
*/
|
1315
|
+
::std::shared_ptr<Prx> ice_collocationOptimized(bool b) const
|
777
1316
|
{
|
778
|
-
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_collocationOptimized(
|
1317
|
+
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_collocationOptimized(b));
|
779
1318
|
}
|
780
1319
|
|
1320
|
+
/**
|
1321
|
+
* Obtains a proxy that is identical to this proxy, except for the invocation timeout.
|
1322
|
+
* @param timeout The new invocation timeout (in milliseconds).
|
1323
|
+
* @return A proxy with the new timeout.
|
1324
|
+
*/
|
781
1325
|
::std::shared_ptr<Prx> ice_invocationTimeout(int timeout) const
|
782
1326
|
{
|
783
1327
|
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_invocationTimeout(timeout));
|
784
1328
|
}
|
785
1329
|
|
1330
|
+
/**
|
1331
|
+
* Obtains a proxy that is identical to this proxy, but uses twoway invocations.
|
1332
|
+
* @return A proxy that uses twoway invocations.
|
1333
|
+
*/
|
786
1334
|
::std::shared_ptr<Prx> ice_twoway() const
|
787
1335
|
{
|
788
1336
|
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_twoway());
|
789
1337
|
}
|
790
1338
|
|
1339
|
+
/**
|
1340
|
+
* Obtains a proxy that is identical to this proxy, but uses oneway invocations.
|
1341
|
+
* @return A proxy that uses oneway invocations.
|
1342
|
+
*/
|
791
1343
|
::std::shared_ptr<Prx> ice_oneway() const
|
792
1344
|
{
|
793
1345
|
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_oneway());
|
794
1346
|
}
|
795
1347
|
|
1348
|
+
/**
|
1349
|
+
* Obtains a proxy that is identical to this proxy, but uses batch oneway invocations.
|
1350
|
+
* @return A proxy that uses batch oneway invocations.
|
1351
|
+
*/
|
796
1352
|
::std::shared_ptr<Prx> ice_batchOneway() const
|
797
1353
|
{
|
798
1354
|
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_batchOneway());
|
799
1355
|
}
|
800
1356
|
|
1357
|
+
/**
|
1358
|
+
* Obtains a proxy that is identical to this proxy, but uses datagram invocations.
|
1359
|
+
* @return A proxy that uses datagram invocations.
|
1360
|
+
*/
|
801
1361
|
::std::shared_ptr<Prx> ice_datagram() const
|
802
1362
|
{
|
803
1363
|
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_datagram());
|
804
1364
|
}
|
805
1365
|
|
1366
|
+
/**
|
1367
|
+
* Obtains a proxy that is identical to this proxy, but uses batch datagram invocations.
|
1368
|
+
* @return A proxy that uses batch datagram invocations.
|
1369
|
+
*/
|
806
1370
|
::std::shared_ptr<Prx> ice_batchDatagram() const
|
807
1371
|
{
|
808
1372
|
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_batchDatagram());
|
809
1373
|
}
|
810
1374
|
|
811
|
-
|
1375
|
+
/**
|
1376
|
+
* Obtains a proxy that is identical to this proxy, except for its compression setting which
|
1377
|
+
* overrides the compression setting from the proxy endpoints.
|
1378
|
+
* @param b True enables compression for the new proxy, false disables compression.
|
1379
|
+
* @return A proxy with the specified compression override setting.
|
1380
|
+
*/
|
1381
|
+
::std::shared_ptr<Prx> ice_compress(bool b) const
|
812
1382
|
{
|
813
|
-
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_compress(
|
1383
|
+
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_compress(b));
|
814
1384
|
}
|
815
1385
|
|
1386
|
+
/**
|
1387
|
+
* Obtains a proxy that is identical to this proxy, except for its connection timeout setting
|
1388
|
+
* which overrides the timeot setting from the proxy endpoints.
|
1389
|
+
* @param timeout The connection timeout override for the proxy (in milliseconds).
|
1390
|
+
* @return A proxy with the specified timeout override.
|
1391
|
+
*/
|
816
1392
|
::std::shared_ptr<Prx> ice_timeout(int timeout) const
|
817
1393
|
{
|
818
1394
|
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_timeout(timeout));
|
819
1395
|
}
|
820
1396
|
|
1397
|
+
/**
|
1398
|
+
* Obtains a proxy that is identical to this proxy, except for its connection ID.
|
1399
|
+
* @param id The connection ID for the new proxy. An empty string removes the
|
1400
|
+
* connection ID.
|
1401
|
+
* @return A proxy with the specified connection ID.
|
1402
|
+
*/
|
821
1403
|
::std::shared_ptr<Prx> ice_connectionId(const ::std::string& id) const
|
822
1404
|
{
|
823
1405
|
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_connectionId(id));
|
824
1406
|
}
|
825
1407
|
|
1408
|
+
/**
|
1409
|
+
* Obtains a proxy that is identical to this proxy, except it's a fixed proxy bound
|
1410
|
+
* the given connection.
|
1411
|
+
* @param connection The fixed proxy connection.
|
1412
|
+
* @return A fixed proxy bound to the given connection.
|
1413
|
+
*/
|
1414
|
+
::std::shared_ptr<Prx> ice_fixed(const ::std::shared_ptr<::Ice::Connection>& connection) const
|
1415
|
+
{
|
1416
|
+
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_fixed(connection));
|
1417
|
+
}
|
1418
|
+
|
1419
|
+
/**
|
1420
|
+
* Obtains a proxy that is identical to this proxy, except for the encoding used to marshal
|
1421
|
+
* parameters.
|
1422
|
+
* @param version The encoding version to use to marshal request parameters.
|
1423
|
+
* @return A proxy with the specified encoding version.
|
1424
|
+
*/
|
826
1425
|
::std::shared_ptr<Prx> ice_encodingVersion(const ::Ice::EncodingVersion& version) const
|
827
1426
|
{
|
828
1427
|
return ::std::dynamic_pointer_cast<Prx>(ObjectPrx::ice_encodingVersion(version));
|
@@ -830,18 +1429,59 @@ public:
|
|
830
1429
|
|
831
1430
|
protected:
|
832
1431
|
|
1432
|
+
/// \cond INTERNAL
|
833
1433
|
virtual ::std::shared_ptr<ObjectPrx> _newInstance() const = 0;
|
1434
|
+
/// \endcond
|
834
1435
|
};
|
835
1436
|
|
836
1437
|
ICE_API ::std::ostream& operator<<(::std::ostream&, const ::Ice::ObjectPrx&);
|
837
1438
|
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
1439
|
+
/**
|
1440
|
+
* Compares the object identities of two proxies.
|
1441
|
+
* @param lhs A proxy.
|
1442
|
+
* @param rhs A proxy.
|
1443
|
+
* @return True if the identity in lhs compares less than the identity in rhs, false otherwise.
|
1444
|
+
*/
|
1445
|
+
ICE_API bool proxyIdentityLess(const ::std::shared_ptr<ObjectPrx>& lhs, const ::std::shared_ptr<ObjectPrx>& rhs);
|
1446
|
+
|
1447
|
+
/**
|
1448
|
+
* Compares the object identities of two proxies.
|
1449
|
+
* @param lhs A proxy.
|
1450
|
+
* @param rhs A proxy.
|
1451
|
+
* @return True if the identity in lhs compares equal to the identity in rhs, false otherwise.
|
1452
|
+
*/
|
1453
|
+
ICE_API bool proxyIdentityEqual(const ::std::shared_ptr<ObjectPrx>& lhs, const ::std::shared_ptr<ObjectPrx>& rhs);
|
1454
|
+
|
1455
|
+
/**
|
1456
|
+
* Compares the object identities and facets of two proxies.
|
1457
|
+
* @param lhs A proxy.
|
1458
|
+
* @param rhs A proxy.
|
1459
|
+
* @return True if the identity and facet in lhs compare less than the identity and facet
|
1460
|
+
* in rhs, false otherwise.
|
1461
|
+
*/
|
1462
|
+
ICE_API bool proxyIdentityAndFacetLess(const ::std::shared_ptr<ObjectPrx>& lhs,
|
1463
|
+
const ::std::shared_ptr<ObjectPrx>& rhs);
|
1464
|
+
|
1465
|
+
/**
|
1466
|
+
* Compares the object identities and facets of two proxies.
|
1467
|
+
* @param lhs A proxy.
|
1468
|
+
* @param rhs A proxy.
|
1469
|
+
* @return True if the identity and facet in lhs compare equal to the identity and facet
|
1470
|
+
* in rhs, false otherwise.
|
1471
|
+
*/
|
1472
|
+
ICE_API bool proxyIdentityAndFacetEqual(const ::std::shared_ptr<ObjectPrx>& lhs,
|
1473
|
+
const ::std::shared_ptr<ObjectPrx>& rhs);
|
1474
|
+
|
1475
|
+
/**
|
1476
|
+
* A functor that compares the object identities of two proxies. Evaluates true if the identity in lhs
|
1477
|
+
* compares less than the identity in rhs, false otherwise.
|
1478
|
+
* \headerfile Ice/Ice.h
|
1479
|
+
*/
|
1480
|
+
#if (ICE_CPLUSPLUS >= 201703L)
|
1481
|
+
struct ProxyIdentityLess
|
1482
|
+
#else
|
844
1483
|
struct ProxyIdentityLess : std::binary_function<bool, ::std::shared_ptr<ObjectPrx>&, ::std::shared_ptr<ObjectPrx>&>
|
1484
|
+
#endif
|
845
1485
|
{
|
846
1486
|
bool operator()(const ::std::shared_ptr<ObjectPrx>& lhs, const ::std::shared_ptr<ObjectPrx>& rhs) const
|
847
1487
|
{
|
@@ -849,7 +1489,16 @@ struct ProxyIdentityLess : std::binary_function<bool, ::std::shared_ptr<ObjectPr
|
|
849
1489
|
}
|
850
1490
|
};
|
851
1491
|
|
1492
|
+
/**
|
1493
|
+
* A functor that compares the object identities of two proxies. Evaluates true if the identity in lhs
|
1494
|
+
* compares equal to the identity in rhs, false otherwise.
|
1495
|
+
* \headerfile Ice/Ice.h
|
1496
|
+
*/
|
1497
|
+
#if (ICE_CPLUSPLUS >= 201703L)
|
1498
|
+
struct ProxyIdentityEqual
|
1499
|
+
#else
|
852
1500
|
struct ProxyIdentityEqual : std::binary_function<bool, ::std::shared_ptr<ObjectPrx>&, ::std::shared_ptr<ObjectPrx>&>
|
1501
|
+
#endif
|
853
1502
|
{
|
854
1503
|
bool operator()(const ::std::shared_ptr<ObjectPrx>& lhs, const ::std::shared_ptr<ObjectPrx>& rhs) const
|
855
1504
|
{
|
@@ -857,7 +1506,16 @@ struct ProxyIdentityEqual : std::binary_function<bool, ::std::shared_ptr<ObjectP
|
|
857
1506
|
}
|
858
1507
|
};
|
859
1508
|
|
1509
|
+
/**
|
1510
|
+
* A functor that compares the object identities and facets of two proxies. Evaluates true if the identity
|
1511
|
+
* and facet in lhs compare less than the identity and facet in rhs, false otherwise.
|
1512
|
+
* \headerfile Ice/Ice.h
|
1513
|
+
*/
|
1514
|
+
#if (ICE_CPLUSPLUS >= 201703L)
|
1515
|
+
struct ProxyIdentityAndFacetLess
|
1516
|
+
#else
|
860
1517
|
struct ProxyIdentityAndFacetLess : std::binary_function<bool, ::std::shared_ptr<ObjectPrx>&, ::std::shared_ptr<ObjectPrx>&>
|
1518
|
+
#endif
|
861
1519
|
{
|
862
1520
|
bool operator()(const ::std::shared_ptr<ObjectPrx>& lhs, const ::std::shared_ptr<ObjectPrx>& rhs) const
|
863
1521
|
{
|
@@ -865,7 +1523,16 @@ struct ProxyIdentityAndFacetLess : std::binary_function<bool, ::std::shared_ptr<
|
|
865
1523
|
}
|
866
1524
|
};
|
867
1525
|
|
1526
|
+
/**
|
1527
|
+
* A functor that compares the object identities and facets of two proxies. Evaluates true if the identity
|
1528
|
+
* and facet in lhs compare equal to the identity and facet in rhs, false otherwise.
|
1529
|
+
* \headerfile Ice/Ice.h
|
1530
|
+
*/
|
1531
|
+
#if (ICE_CPLUSPLUS >= 201703L)
|
1532
|
+
struct ProxyIdentityAndFacetEqual
|
1533
|
+
#else
|
868
1534
|
struct ProxyIdentityAndFacetEqual : std::binary_function<bool, ::std::shared_ptr<ObjectPrx>&, ::std::shared_ptr<ObjectPrx>&>
|
1535
|
+
#endif
|
869
1536
|
{
|
870
1537
|
bool operator()(const ::std::shared_ptr<ObjectPrx>& lhs, const ::std::shared_ptr<ObjectPrx>& rhs) const
|
871
1538
|
{
|
@@ -873,6 +1540,11 @@ struct ProxyIdentityAndFacetEqual : std::binary_function<bool, ::std::shared_ptr
|
|
873
1540
|
}
|
874
1541
|
};
|
875
1542
|
|
1543
|
+
/**
|
1544
|
+
* Downcasts a proxy without confirming the target object's type via a remote invocation.
|
1545
|
+
* @param b The target proxy.
|
1546
|
+
* @return A proxy with the requested type.
|
1547
|
+
*/
|
876
1548
|
template<typename P,
|
877
1549
|
typename T,
|
878
1550
|
typename ::std::enable_if<::std::is_base_of<::Ice::ObjectPrx, P>::value>::type* = nullptr,
|
@@ -892,6 +1564,12 @@ uncheckedCast(const ::std::shared_ptr<T>& b)
|
|
892
1564
|
return r;
|
893
1565
|
}
|
894
1566
|
|
1567
|
+
/**
|
1568
|
+
* Downcasts a proxy without confirming the target object's type via a remote invocation.
|
1569
|
+
* @param b The target proxy.
|
1570
|
+
* @param f A facet name.
|
1571
|
+
* @return A proxy with the requested type and facet.
|
1572
|
+
*/
|
895
1573
|
template<typename P,
|
896
1574
|
typename T,
|
897
1575
|
typename ::std::enable_if<::std::is_base_of<::Ice::ObjectPrx, P>::value>::type* = nullptr,
|
@@ -907,6 +1585,13 @@ uncheckedCast(const ::std::shared_ptr<T>& b, const std::string& f)
|
|
907
1585
|
return r;
|
908
1586
|
}
|
909
1587
|
|
1588
|
+
/**
|
1589
|
+
* Downcasts a proxy after confirming the target object's type via a remote invocation.
|
1590
|
+
* @param b The target proxy.
|
1591
|
+
* @param context The context map for the invocation.
|
1592
|
+
* @return A proxy with the requested type, or nil if the target proxy is nil or the target
|
1593
|
+
* object does not support the requested type.
|
1594
|
+
*/
|
910
1595
|
template<typename P,
|
911
1596
|
typename T,
|
912
1597
|
typename ::std::enable_if<::std::is_base_of<::Ice::ObjectPrx, P>::value>::type* = nullptr,
|
@@ -925,6 +1610,14 @@ checkedCast(const ::std::shared_ptr<T>& b, const ::Ice::Context& context = Ice::
|
|
925
1610
|
return r;
|
926
1611
|
}
|
927
1612
|
|
1613
|
+
/**
|
1614
|
+
* Downcasts a proxy after confirming the target object's type via a remote invocation.
|
1615
|
+
* @param b The target proxy.
|
1616
|
+
* @param f A facet name.
|
1617
|
+
* @param context The context map for the invocation.
|
1618
|
+
* @return A proxy with the requested type and facet, or nil if the target proxy is nil or the target
|
1619
|
+
* object does not support the requested type.
|
1620
|
+
*/
|
928
1621
|
template<typename P,
|
929
1622
|
typename T,
|
930
1623
|
typename ::std::enable_if<::std::is_base_of<::Ice::ObjectPrx, P>::value>::type* = nullptr,
|
@@ -950,8 +1643,6 @@ checkedCast(const ::std::shared_ptr<T>& b, const std::string& f, const ::Ice::Co
|
|
950
1643
|
return r;
|
951
1644
|
}
|
952
1645
|
|
953
|
-
ICE_API ::std::ostream& operator<<(::std::ostream&, const Ice::ObjectPrx&);
|
954
|
-
|
955
1646
|
}
|
956
1647
|
|
957
1648
|
#else // C++98 mapping
|
@@ -962,11 +1653,13 @@ namespace IceProxy
|
|
962
1653
|
namespace Ice
|
963
1654
|
{
|
964
1655
|
|
1656
|
+
/// \cond INTERNAL
|
965
1657
|
class Locator;
|
966
1658
|
ICE_API ::IceProxy::Ice::Object* upCast(::IceProxy::Ice::Locator*);
|
967
1659
|
|
968
1660
|
class Router;
|
969
1661
|
ICE_API ::IceProxy::Ice::Object* upCast(::IceProxy::Ice::Router*);
|
1662
|
+
/// \endcond
|
970
1663
|
|
971
1664
|
}
|
972
1665
|
|
@@ -983,24 +1676,66 @@ typedef LocatorPrx LocatorPrxPtr;
|
|
983
1676
|
class LocalException;
|
984
1677
|
class OutputStream;
|
985
1678
|
|
1679
|
+
/**
|
1680
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
1681
|
+
* IceProxy::Ice::Object::begin_ice_isA.
|
1682
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Object_ice_isA.
|
1683
|
+
* \headerfile Ice/Ice.h
|
1684
|
+
*/
|
986
1685
|
class Callback_Object_ice_isA_Base : public virtual ::IceInternal::CallbackBase { };
|
987
1686
|
typedef ::IceUtil::Handle< Callback_Object_ice_isA_Base> Callback_Object_ice_isAPtr;
|
988
1687
|
|
1688
|
+
/**
|
1689
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
1690
|
+
* IceProxy::Ice::Object::begin_ice_ping.
|
1691
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Object_ice_ping.
|
1692
|
+
* \headerfile Ice/Ice.h
|
1693
|
+
*/
|
989
1694
|
class Callback_Object_ice_ping_Base : public virtual ::IceInternal::CallbackBase { };
|
990
1695
|
typedef ::IceUtil::Handle< Callback_Object_ice_ping_Base> Callback_Object_ice_pingPtr;
|
991
1696
|
|
1697
|
+
/**
|
1698
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
1699
|
+
* IceProxy::Ice::Object::begin_ice_ids.
|
1700
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Object_ice_ids.
|
1701
|
+
* \headerfile Ice/Ice.h
|
1702
|
+
*/
|
992
1703
|
class Callback_Object_ice_ids_Base : public virtual ::IceInternal::CallbackBase { };
|
993
1704
|
typedef ::IceUtil::Handle< Callback_Object_ice_ids_Base> Callback_Object_ice_idsPtr;
|
994
1705
|
|
1706
|
+
/**
|
1707
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
1708
|
+
* IceProxy::Ice::Object::begin_ice_id.
|
1709
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Object_ice_id.
|
1710
|
+
* \headerfile Ice/Ice.h
|
1711
|
+
*/
|
995
1712
|
class Callback_Object_ice_id_Base : public virtual ::IceInternal::CallbackBase { };
|
996
1713
|
typedef ::IceUtil::Handle< Callback_Object_ice_id_Base> Callback_Object_ice_idPtr;
|
997
1714
|
|
1715
|
+
/**
|
1716
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
1717
|
+
* IceProxy::Ice::Object::begin_ice_invoke.
|
1718
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Object_ice_invoke.
|
1719
|
+
* \headerfile Ice/Ice.h
|
1720
|
+
*/
|
998
1721
|
class Callback_Object_ice_invoke_Base : public virtual ::IceInternal::CallbackBase { };
|
999
1722
|
typedef ::IceUtil::Handle< Callback_Object_ice_invoke_Base> Callback_Object_ice_invokePtr;
|
1000
1723
|
|
1724
|
+
/**
|
1725
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
1726
|
+
* IceProxy::Ice::Object::begin_ice_flushBatchRequests.
|
1727
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Object_ice_flushBatchRequests.
|
1728
|
+
* \headerfile Ice/Ice.h
|
1729
|
+
*/
|
1001
1730
|
class Callback_Object_ice_flushBatchRequests_Base : public virtual ::IceInternal::CallbackBase { };
|
1002
1731
|
typedef ::IceUtil::Handle< Callback_Object_ice_flushBatchRequests_Base> Callback_Object_ice_flushBatchRequestsPtr;
|
1003
1732
|
|
1733
|
+
/**
|
1734
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
1735
|
+
* IceProxy::Ice::Object::begin_ice_getConnection.
|
1736
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Object_ice_getConnection.
|
1737
|
+
* \headerfile Ice/Ice.h
|
1738
|
+
*/
|
1004
1739
|
class Callback_Object_ice_getConnection_Base : public virtual ::IceInternal::CallbackBase { };
|
1005
1740
|
typedef ::IceUtil::Handle< Callback_Object_ice_getConnection_Base> Callback_Object_ice_getConnectionPtr;
|
1006
1741
|
|
@@ -1009,6 +1744,10 @@ typedef ::IceUtil::Handle< Callback_Object_ice_getConnection_Base> Callback_Obje
|
|
1009
1744
|
namespace IceProxy { namespace Ice
|
1010
1745
|
{
|
1011
1746
|
|
1747
|
+
/**
|
1748
|
+
* Base class of all object proxies.
|
1749
|
+
* \headerfile Ice/Ice.h
|
1750
|
+
*/
|
1012
1751
|
class ICE_API Object : public ::IceUtil::Shared
|
1013
1752
|
{
|
1014
1753
|
public:
|
@@ -1016,408 +1755,1053 @@ public:
|
|
1016
1755
|
bool operator==(const Object&) const;
|
1017
1756
|
bool operator<(const Object&) const;
|
1018
1757
|
|
1758
|
+
/**
|
1759
|
+
* Obtains the communicator that created this proxy.
|
1760
|
+
* @return The communicator that created this proxy.
|
1761
|
+
*/
|
1019
1762
|
::Ice::CommunicatorPtr ice_getCommunicator() const;
|
1020
1763
|
|
1764
|
+
/**
|
1765
|
+
* Obtains a stringified version of this proxy.
|
1766
|
+
* @return A stringified proxy.
|
1767
|
+
*/
|
1021
1768
|
::std::string ice_toString() const;
|
1022
1769
|
|
1770
|
+
/**
|
1771
|
+
* Tests whether this object supports a specific Slice interface.
|
1772
|
+
* @param typeId The type ID of the Slice interface to test against.
|
1773
|
+
* @param context The context map for the invocation.
|
1774
|
+
* @return True if the target object has the interface
|
1775
|
+
* specified by id or derives from the interface specified by id.
|
1776
|
+
*/
|
1023
1777
|
bool ice_isA(const ::std::string& typeId, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1024
1778
|
{
|
1025
1779
|
return end_ice_isA(_iceI_begin_ice_isA(typeId, context, ::IceInternal::dummyCallback, 0, true));
|
1026
1780
|
}
|
1027
1781
|
|
1782
|
+
/**
|
1783
|
+
* Tests whether this object supports a specific Slice interface.
|
1784
|
+
* @param typeId The type ID of the Slice interface to test against.
|
1785
|
+
* @param context The context map for the invocation.
|
1786
|
+
* @return The asynchronous result object for the invocation.
|
1787
|
+
*/
|
1028
1788
|
::Ice::AsyncResultPtr begin_ice_isA(const ::std::string& typeId,
|
1029
1789
|
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1030
1790
|
{
|
1031
1791
|
return _iceI_begin_ice_isA(typeId, context, ::IceInternal::dummyCallback, 0);
|
1032
1792
|
}
|
1033
1793
|
|
1794
|
+
/**
|
1795
|
+
* Tests whether this object supports a specific Slice interface.
|
1796
|
+
* @param typeId The type ID of the Slice interface to test against.
|
1797
|
+
* @param cb Asynchronous callback object.
|
1798
|
+
* @param cookie User-defined data to associate with the invocation.
|
1799
|
+
* @return The asynchronous result object for the invocation.
|
1800
|
+
*/
|
1034
1801
|
::Ice::AsyncResultPtr begin_ice_isA(const ::std::string& typeId,
|
1035
|
-
const ::Ice::CallbackPtr&
|
1802
|
+
const ::Ice::CallbackPtr& cb,
|
1036
1803
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1037
1804
|
{
|
1038
|
-
return _iceI_begin_ice_isA(typeId, ::Ice::noExplicitContext,
|
1805
|
+
return _iceI_begin_ice_isA(typeId, ::Ice::noExplicitContext, cb, cookie);
|
1039
1806
|
}
|
1040
1807
|
|
1808
|
+
/**
|
1809
|
+
* Tests whether this object supports a specific Slice interface.
|
1810
|
+
* @param typeId The type ID of the Slice interface to test against.
|
1811
|
+
* @param context The context map for the invocation.
|
1812
|
+
* @param cb Asynchronous callback object.
|
1813
|
+
* @param cookie User-defined data to associate with the invocation.
|
1814
|
+
* @return The asynchronous result object for the invocation.
|
1815
|
+
*/
|
1041
1816
|
::Ice::AsyncResultPtr begin_ice_isA(const ::std::string& typeId,
|
1042
1817
|
const ::Ice::Context& context,
|
1043
|
-
const ::Ice::CallbackPtr&
|
1818
|
+
const ::Ice::CallbackPtr& cb,
|
1044
1819
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1045
1820
|
{
|
1046
|
-
return _iceI_begin_ice_isA(typeId, context,
|
1821
|
+
return _iceI_begin_ice_isA(typeId, context, cb, cookie);
|
1047
1822
|
}
|
1048
1823
|
|
1824
|
+
/**
|
1825
|
+
* Tests whether this object supports a specific Slice interface.
|
1826
|
+
* @param typeId The type ID of the Slice interface to test against.
|
1827
|
+
* @param cb Asynchronous callback object.
|
1828
|
+
* @param cookie User-defined data to associate with the invocation.
|
1829
|
+
* @return The asynchronous result object for the invocation.
|
1830
|
+
*/
|
1049
1831
|
::Ice::AsyncResultPtr begin_ice_isA(const ::std::string& typeId,
|
1050
|
-
const ::Ice::Callback_Object_ice_isAPtr&
|
1832
|
+
const ::Ice::Callback_Object_ice_isAPtr& cb,
|
1051
1833
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1052
1834
|
{
|
1053
|
-
return _iceI_begin_ice_isA(typeId, ::Ice::noExplicitContext,
|
1835
|
+
return _iceI_begin_ice_isA(typeId, ::Ice::noExplicitContext, cb, cookie);
|
1054
1836
|
}
|
1055
1837
|
|
1838
|
+
/**
|
1839
|
+
* Tests whether this object supports a specific Slice interface.
|
1840
|
+
* @param typeId The type ID of the Slice interface to test against.
|
1841
|
+
* @param context The context map for the invocation.
|
1842
|
+
* @param cb Asynchronous callback object.
|
1843
|
+
* @param cookie User-defined data to associate with the invocation.
|
1844
|
+
* @return The asynchronous result object for the invocation.
|
1845
|
+
*/
|
1056
1846
|
::Ice::AsyncResultPtr begin_ice_isA(const ::std::string& typeId,
|
1057
1847
|
const ::Ice::Context& context,
|
1058
|
-
const ::Ice::Callback_Object_ice_isAPtr&
|
1848
|
+
const ::Ice::Callback_Object_ice_isAPtr& cb,
|
1059
1849
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1060
1850
|
{
|
1061
|
-
return _iceI_begin_ice_isA(typeId, context,
|
1851
|
+
return _iceI_begin_ice_isA(typeId, context, cb, cookie);
|
1062
1852
|
}
|
1063
1853
|
|
1064
|
-
|
1854
|
+
/**
|
1855
|
+
* Completes an invocation of begin_ice_isA.
|
1856
|
+
* @param result The asynchronous result object for the invocation.
|
1857
|
+
* @return True if the target object has the interface
|
1858
|
+
* specified by id or derives from the interface specified by id.
|
1859
|
+
*/
|
1860
|
+
bool end_ice_isA(const ::Ice::AsyncResultPtr& result);
|
1065
1861
|
|
1862
|
+
/**
|
1863
|
+
* Tests whether the target object of this proxy can be reached.
|
1864
|
+
* @param context The context map for the invocation.
|
1865
|
+
*/
|
1066
1866
|
void ice_ping(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1067
1867
|
{
|
1068
1868
|
end_ice_ping(_iceI_begin_ice_ping(context, ::IceInternal::dummyCallback, 0, true));
|
1069
1869
|
}
|
1070
1870
|
|
1871
|
+
/**
|
1872
|
+
* Tests whether the target object of this proxy can be reached.
|
1873
|
+
* @param context The context map for the invocation.
|
1874
|
+
* @return The asynchronous result object for the invocation.
|
1875
|
+
*/
|
1071
1876
|
::Ice::AsyncResultPtr begin_ice_ping(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1072
1877
|
{
|
1073
1878
|
return _iceI_begin_ice_ping(context, ::IceInternal::dummyCallback, 0);
|
1074
1879
|
}
|
1075
1880
|
|
1076
|
-
|
1881
|
+
/**
|
1882
|
+
* Tests whether the target object of this proxy can be reached.
|
1883
|
+
* @param cb Asynchronous callback object.
|
1884
|
+
* @param cookie User-defined data to associate with the invocation.
|
1885
|
+
* @return The asynchronous result object for the invocation.
|
1886
|
+
*/
|
1887
|
+
::Ice::AsyncResultPtr begin_ice_ping(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1077
1888
|
{
|
1078
|
-
return _iceI_begin_ice_ping(::Ice::noExplicitContext,
|
1889
|
+
return _iceI_begin_ice_ping(::Ice::noExplicitContext, cb, cookie);
|
1079
1890
|
}
|
1080
1891
|
|
1081
|
-
|
1892
|
+
/**
|
1893
|
+
* Tests whether the target object of this proxy can be reached.
|
1894
|
+
* @param context The context map for the invocation.
|
1895
|
+
* @param cb Asynchronous callback object.
|
1896
|
+
* @param cookie User-defined data to associate with the invocation.
|
1897
|
+
* @return The asynchronous result object for the invocation.
|
1898
|
+
*/
|
1899
|
+
::Ice::AsyncResultPtr begin_ice_ping(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb,
|
1082
1900
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1083
1901
|
{
|
1084
|
-
return _iceI_begin_ice_ping(context,
|
1902
|
+
return _iceI_begin_ice_ping(context, cb, cookie);
|
1085
1903
|
}
|
1086
1904
|
|
1087
|
-
|
1905
|
+
/**
|
1906
|
+
* Tests whether the target object of this proxy can be reached.
|
1907
|
+
* @param cb Asynchronous callback object.
|
1908
|
+
* @param cookie User-defined data to associate with the invocation.
|
1909
|
+
* @return The asynchronous result object for the invocation.
|
1910
|
+
*/
|
1911
|
+
::Ice::AsyncResultPtr begin_ice_ping(const ::Ice::Callback_Object_ice_pingPtr& cb,
|
1088
1912
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1089
1913
|
{
|
1090
|
-
return _iceI_begin_ice_ping(::Ice::noExplicitContext,
|
1914
|
+
return _iceI_begin_ice_ping(::Ice::noExplicitContext, cb, cookie);
|
1091
1915
|
}
|
1092
1916
|
|
1093
|
-
|
1917
|
+
/**
|
1918
|
+
* Tests whether the target object of this proxy can be reached.
|
1919
|
+
* @param context The context map for the invocation.
|
1920
|
+
* @param cb Asynchronous callback object.
|
1921
|
+
* @param cookie User-defined data to associate with the invocation.
|
1922
|
+
* @return The asynchronous result object for the invocation.
|
1923
|
+
*/
|
1924
|
+
::Ice::AsyncResultPtr begin_ice_ping(const ::Ice::Context& context, const ::Ice::Callback_Object_ice_pingPtr& cb,
|
1094
1925
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1095
1926
|
{
|
1096
|
-
return _iceI_begin_ice_ping(context,
|
1927
|
+
return _iceI_begin_ice_ping(context, cb, cookie);
|
1097
1928
|
}
|
1098
1929
|
|
1099
|
-
|
1930
|
+
/**
|
1931
|
+
* Completes an invocation of begin_ice_ping.
|
1932
|
+
* @param result The asynchronous result object for the invocation.
|
1933
|
+
*/
|
1934
|
+
void end_ice_ping(const ::Ice::AsyncResultPtr& result);
|
1100
1935
|
|
1936
|
+
/**
|
1937
|
+
* Returns the Slice type IDs of the interfaces supported by the target object of this proxy.
|
1938
|
+
* @param context The context map for the invocation.
|
1939
|
+
* @return The Slice type IDs of the interfaces supported by the target object, in base-to-derived
|
1940
|
+
* order. The first element of the returned array is always "::Ice::Object".
|
1941
|
+
*/
|
1101
1942
|
::std::vector< ::std::string> ice_ids(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1102
1943
|
{
|
1103
1944
|
return end_ice_ids(_iceI_begin_ice_ids(context, ::IceInternal::dummyCallback, 0, true));
|
1104
1945
|
}
|
1105
1946
|
|
1947
|
+
/**
|
1948
|
+
* Returns the Slice type IDs of the interfaces supported by the target object of this proxy.
|
1949
|
+
* @param context The context map for the invocation.
|
1950
|
+
* @return The asynchronous result object for the invocation.
|
1951
|
+
*/
|
1106
1952
|
::Ice::AsyncResultPtr begin_ice_ids(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1107
1953
|
{
|
1108
1954
|
return _iceI_begin_ice_ids(context, ::IceInternal::dummyCallback, 0);
|
1109
1955
|
}
|
1110
1956
|
|
1111
|
-
|
1957
|
+
/**
|
1958
|
+
* Returns the Slice type IDs of the interfaces supported by the target object of this proxy.
|
1959
|
+
* @param cb Asynchronous callback object.
|
1960
|
+
* @param cookie User-defined data to associate with the invocation.
|
1961
|
+
* @return The asynchronous result object for the invocation.
|
1962
|
+
*/
|
1963
|
+
::Ice::AsyncResultPtr begin_ice_ids(const ::Ice::CallbackPtr& cb,
|
1112
1964
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1113
1965
|
{
|
1114
|
-
return _iceI_begin_ice_ids(::Ice::noExplicitContext,
|
1966
|
+
return _iceI_begin_ice_ids(::Ice::noExplicitContext, cb, cookie);
|
1115
1967
|
}
|
1116
1968
|
|
1969
|
+
/**
|
1970
|
+
* Returns the Slice type IDs of the interfaces supported by the target object of this proxy.
|
1971
|
+
* @param context The context map for the invocation.
|
1972
|
+
* @param cb Asynchronous callback object.
|
1973
|
+
* @param cookie User-defined data to associate with the invocation.
|
1974
|
+
* @return The asynchronous result object for the invocation.
|
1975
|
+
*/
|
1117
1976
|
::Ice::AsyncResultPtr begin_ice_ids(const ::Ice::Context& context,
|
1118
|
-
const ::Ice::CallbackPtr&
|
1977
|
+
const ::Ice::CallbackPtr& cb,
|
1119
1978
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1120
1979
|
{
|
1121
|
-
return _iceI_begin_ice_ids(context,
|
1980
|
+
return _iceI_begin_ice_ids(context, cb, cookie);
|
1122
1981
|
}
|
1123
1982
|
|
1124
|
-
|
1983
|
+
/**
|
1984
|
+
* Returns the Slice type IDs of the interfaces supported by the target object of this proxy.
|
1985
|
+
* @param cb Asynchronous callback object.
|
1986
|
+
* @param cookie User-defined data to associate with the invocation.
|
1987
|
+
* @return The asynchronous result object for the invocation.
|
1988
|
+
*/
|
1989
|
+
::Ice::AsyncResultPtr begin_ice_ids(const ::Ice::Callback_Object_ice_idsPtr& cb,
|
1125
1990
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1126
1991
|
{
|
1127
|
-
return _iceI_begin_ice_ids(::Ice::noExplicitContext,
|
1992
|
+
return _iceI_begin_ice_ids(::Ice::noExplicitContext, cb, cookie);
|
1128
1993
|
}
|
1129
1994
|
|
1995
|
+
/**
|
1996
|
+
* Returns the Slice type IDs of the interfaces supported by the target object of this proxy.
|
1997
|
+
* @param context The context map for the invocation.
|
1998
|
+
* @param cb Asynchronous callback object.
|
1999
|
+
* @param cookie User-defined data to associate with the invocation.
|
2000
|
+
* @return The asynchronous result object for the invocation.
|
2001
|
+
*/
|
1130
2002
|
::Ice::AsyncResultPtr begin_ice_ids(const ::Ice::Context& context,
|
1131
|
-
const ::Ice::Callback_Object_ice_idsPtr&
|
2003
|
+
const ::Ice::Callback_Object_ice_idsPtr& cb,
|
1132
2004
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1133
2005
|
{
|
1134
|
-
return _iceI_begin_ice_ids(context,
|
2006
|
+
return _iceI_begin_ice_ids(context, cb, cookie);
|
1135
2007
|
}
|
1136
2008
|
|
1137
|
-
|
2009
|
+
/**
|
2010
|
+
* Completes an invocation of begin_ice_ids.
|
2011
|
+
* @param result The asynchronous result object for the invocation.
|
2012
|
+
* @return The Slice type IDs of the interfaces supported by the target object, in base-to-derived
|
2013
|
+
* order. The first element of the returned array is always "::Ice::Object".
|
2014
|
+
*/
|
2015
|
+
::std::vector< ::std::string> end_ice_ids(const ::Ice::AsyncResultPtr& result);
|
1138
2016
|
|
2017
|
+
/**
|
2018
|
+
* Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.
|
2019
|
+
* @param context The context map for the invocation.
|
2020
|
+
* @return The Slice type ID of the most-derived interface.
|
2021
|
+
*/
|
1139
2022
|
::std::string ice_id(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1140
2023
|
{
|
1141
2024
|
return end_ice_id(_iceI_begin_ice_id(context, ::IceInternal::dummyCallback, 0, true));
|
1142
2025
|
}
|
1143
2026
|
|
2027
|
+
/**
|
2028
|
+
* Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.
|
2029
|
+
* @param context The context map for the invocation.
|
2030
|
+
* @return The asynchronous result object for the invocation.
|
2031
|
+
*/
|
1144
2032
|
::Ice::AsyncResultPtr begin_ice_id(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1145
2033
|
{
|
1146
2034
|
return _iceI_begin_ice_id(context, ::IceInternal::dummyCallback, 0);
|
1147
2035
|
}
|
1148
2036
|
|
1149
|
-
|
2037
|
+
/**
|
2038
|
+
* Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.
|
2039
|
+
* @param cb Asynchronous callback object.
|
2040
|
+
* @param cookie User-defined data to associate with the invocation.
|
2041
|
+
* @return The asynchronous result object for the invocation.
|
2042
|
+
*/
|
2043
|
+
::Ice::AsyncResultPtr begin_ice_id(const ::Ice::CallbackPtr& cb,
|
1150
2044
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1151
2045
|
{
|
1152
|
-
return _iceI_begin_ice_id(::Ice::noExplicitContext,
|
2046
|
+
return _iceI_begin_ice_id(::Ice::noExplicitContext, cb, cookie);
|
1153
2047
|
}
|
1154
2048
|
|
2049
|
+
/**
|
2050
|
+
* Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.
|
2051
|
+
* @param context The context map for the invocation.
|
2052
|
+
* @param cb Asynchronous callback object.
|
2053
|
+
* @param cookie User-defined data to associate with the invocation.
|
2054
|
+
* @return The asynchronous result object for the invocation.
|
2055
|
+
*/
|
1155
2056
|
::Ice::AsyncResultPtr begin_ice_id(const ::Ice::Context& context,
|
1156
|
-
const ::Ice::CallbackPtr&
|
2057
|
+
const ::Ice::CallbackPtr& cb,
|
1157
2058
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1158
2059
|
{
|
1159
|
-
return _iceI_begin_ice_id(context,
|
2060
|
+
return _iceI_begin_ice_id(context, cb, cookie);
|
1160
2061
|
}
|
1161
2062
|
|
1162
|
-
|
2063
|
+
/**
|
2064
|
+
* Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.
|
2065
|
+
* @param cb Asynchronous callback object.
|
2066
|
+
* @param cookie User-defined data to associate with the invocation.
|
2067
|
+
* @return The asynchronous result object for the invocation.
|
2068
|
+
*/
|
2069
|
+
::Ice::AsyncResultPtr begin_ice_id(const ::Ice::Callback_Object_ice_idPtr& cb,
|
1163
2070
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1164
2071
|
{
|
1165
|
-
return _iceI_begin_ice_id(::Ice::noExplicitContext,
|
2072
|
+
return _iceI_begin_ice_id(::Ice::noExplicitContext, cb, cookie);
|
1166
2073
|
}
|
1167
2074
|
|
2075
|
+
/**
|
2076
|
+
* Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.
|
2077
|
+
* @param context The context map for the invocation.
|
2078
|
+
* @param cb Asynchronous callback object.
|
2079
|
+
* @param cookie User-defined data to associate with the invocation.
|
2080
|
+
* @return The asynchronous result object for the invocation.
|
2081
|
+
*/
|
1168
2082
|
::Ice::AsyncResultPtr begin_ice_id(const ::Ice::Context& context,
|
1169
|
-
const ::Ice::Callback_Object_ice_idPtr&
|
2083
|
+
const ::Ice::Callback_Object_ice_idPtr& cb,
|
1170
2084
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1171
2085
|
{
|
1172
|
-
return _iceI_begin_ice_id(context,
|
2086
|
+
return _iceI_begin_ice_id(context, cb, cookie);
|
1173
2087
|
}
|
1174
2088
|
|
1175
|
-
|
2089
|
+
/**
|
2090
|
+
* Completes an invocation of begin_ice_id.
|
2091
|
+
* @param result The asynchronous result object for the invocation.
|
2092
|
+
* @return The Slice type ID of the most-derived interface.
|
2093
|
+
*/
|
2094
|
+
::std::string end_ice_id(const ::Ice::AsyncResultPtr& result);
|
1176
2095
|
|
2096
|
+
/**
|
2097
|
+
* Returns the Slice type ID associated with this type.
|
2098
|
+
* @return The Slice type ID.
|
2099
|
+
*/
|
1177
2100
|
static const ::std::string& ice_staticId()
|
1178
2101
|
{
|
1179
2102
|
return ::Ice::Object::ice_staticId();
|
1180
2103
|
}
|
1181
2104
|
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
2105
|
+
/**
|
2106
|
+
* Invokes an operation dynamically.
|
2107
|
+
* @param operation The name of the operation to invoke.
|
2108
|
+
* @param mode The operation mode (normal or idempotent).
|
2109
|
+
* @param inParams An encapsulation containing the encoded in-parameters for the operation.
|
2110
|
+
* @param outParams An encapsulation containing the encoded results.
|
2111
|
+
* @param context The context map for the invocation.
|
2112
|
+
* @return True if the operation completed successfully, in which case outParams contains
|
2113
|
+
* the encoded out parameters. False if the operation raised a user exception, in which
|
2114
|
+
* case outParams contains the encoded user exception. If the operation raises a run-time
|
2115
|
+
* exception, it throws it directly.
|
2116
|
+
*/
|
2117
|
+
bool ice_invoke(const ::std::string& operation,
|
2118
|
+
::Ice::OperationMode mode,
|
2119
|
+
const ::std::vector< ::Ice::Byte>& inParams,
|
2120
|
+
::std::vector< ::Ice::Byte>& outParams,
|
2121
|
+
const ::Ice::Context& context = ::Ice::noExplicitContext);
|
2122
|
+
|
2123
|
+
/**
|
2124
|
+
* Invokes an operation dynamically.
|
2125
|
+
* @param operation The name of the operation to invoke.
|
2126
|
+
* @param mode The operation mode (normal or idempotent).
|
2127
|
+
* @param inParams An encapsulation containing the encoded in-parameters for the operation.
|
2128
|
+
* @return The asynchronous result object for the invocation.
|
2129
|
+
*/
|
2130
|
+
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
|
1190
2131
|
::Ice::OperationMode mode,
|
1191
2132
|
const ::std::vector< ::Ice::Byte>& inParams)
|
1192
2133
|
{
|
1193
|
-
return _iceI_begin_ice_invoke(
|
2134
|
+
return _iceI_begin_ice_invoke(operation, mode, inParams, ::Ice::noExplicitContext,
|
2135
|
+
::IceInternal::dummyCallback, 0);
|
1194
2136
|
}
|
1195
2137
|
|
1196
|
-
|
2138
|
+
/**
|
2139
|
+
* Invokes an operation dynamically.
|
2140
|
+
* @param operation The name of the operation to invoke.
|
2141
|
+
* @param mode The operation mode (normal or idempotent).
|
2142
|
+
* @param inParams An encapsulation containing the encoded in-parameters for the operation.
|
2143
|
+
* @param context The context map for the invocation.
|
2144
|
+
* @return The asynchronous result object for the invocation.
|
2145
|
+
*/
|
2146
|
+
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
|
1197
2147
|
::Ice::OperationMode mode,
|
1198
2148
|
const ::std::vector< ::Ice::Byte>& inParams,
|
1199
2149
|
const ::Ice::Context& context)
|
1200
2150
|
{
|
1201
|
-
return _iceI_begin_ice_invoke(
|
2151
|
+
return _iceI_begin_ice_invoke(operation, mode, inParams, context, ::IceInternal::dummyCallback, 0);
|
1202
2152
|
}
|
1203
2153
|
|
1204
|
-
|
2154
|
+
/**
|
2155
|
+
* Invokes an operation dynamically.
|
2156
|
+
* @param operation The name of the operation to invoke.
|
2157
|
+
* @param mode The operation mode (normal or idempotent).
|
2158
|
+
* @param inParams An encapsulation containing the encoded in-parameters for the operation.
|
2159
|
+
* @param cb Asynchronous callback object.
|
2160
|
+
* @param cookie User-defined data to associate with the invocation.
|
2161
|
+
* @return The asynchronous result object for the invocation.
|
2162
|
+
*/
|
2163
|
+
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
|
1205
2164
|
::Ice::OperationMode mode,
|
1206
2165
|
const ::std::vector< ::Ice::Byte>& inParams,
|
1207
|
-
const ::Ice::CallbackPtr&
|
2166
|
+
const ::Ice::CallbackPtr& cb,
|
1208
2167
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1209
2168
|
{
|
1210
|
-
return _iceI_begin_ice_invoke(
|
2169
|
+
return _iceI_begin_ice_invoke(operation, mode, inParams, ::Ice::noExplicitContext, cb, cookie);
|
1211
2170
|
}
|
1212
2171
|
|
1213
|
-
|
2172
|
+
/**
|
2173
|
+
* Invokes an operation dynamically.
|
2174
|
+
* @param operation The name of the operation to invoke.
|
2175
|
+
* @param mode The operation mode (normal or idempotent).
|
2176
|
+
* @param inParams An encapsulation containing the encoded in-parameters for the operation.
|
2177
|
+
* @param context The context map for the invocation.
|
2178
|
+
* @param cb Asynchronous callback object.
|
2179
|
+
* @param cookie User-defined data to associate with the invocation.
|
2180
|
+
* @return The asynchronous result object for the invocation.
|
2181
|
+
*/
|
2182
|
+
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
|
1214
2183
|
::Ice::OperationMode mode,
|
1215
2184
|
const ::std::vector< ::Ice::Byte>& inParams,
|
1216
2185
|
const ::Ice::Context& context,
|
1217
|
-
const ::Ice::CallbackPtr&
|
2186
|
+
const ::Ice::CallbackPtr& cb,
|
1218
2187
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1219
2188
|
{
|
1220
|
-
return _iceI_begin_ice_invoke(
|
2189
|
+
return _iceI_begin_ice_invoke(operation, mode, inParams, context, cb, cookie);
|
1221
2190
|
}
|
1222
2191
|
|
1223
|
-
|
2192
|
+
/**
|
2193
|
+
* Invokes an operation dynamically.
|
2194
|
+
* @param operation The name of the operation to invoke.
|
2195
|
+
* @param mode The operation mode (normal or idempotent).
|
2196
|
+
* @param inParams An encapsulation containing the encoded in-parameters for the operation.
|
2197
|
+
* @param cb Asynchronous callback object.
|
2198
|
+
* @param cookie User-defined data to associate with the invocation.
|
2199
|
+
* @return The asynchronous result object for the invocation.
|
2200
|
+
*/
|
2201
|
+
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
|
1224
2202
|
::Ice::OperationMode mode,
|
1225
2203
|
const ::std::vector< ::Ice::Byte>& inParams,
|
1226
|
-
const ::Ice::Callback_Object_ice_invokePtr&
|
2204
|
+
const ::Ice::Callback_Object_ice_invokePtr& cb,
|
1227
2205
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1228
2206
|
{
|
1229
|
-
return _iceI_begin_ice_invoke(
|
2207
|
+
return _iceI_begin_ice_invoke(operation, mode, inParams, ::Ice::noExplicitContext, cb, cookie);
|
1230
2208
|
}
|
1231
2209
|
|
1232
|
-
|
2210
|
+
/**
|
2211
|
+
* Invokes an operation dynamically.
|
2212
|
+
* @param operation The name of the operation to invoke.
|
2213
|
+
* @param mode The operation mode (normal or idempotent).
|
2214
|
+
* @param inParams An encapsulation containing the encoded in-parameters for the operation.
|
2215
|
+
* @param context The context map for the invocation.
|
2216
|
+
* @param cb Asynchronous callback object.
|
2217
|
+
* @param cookie User-defined data to associate with the invocation.
|
2218
|
+
* @return The asynchronous result object for the invocation.
|
2219
|
+
*/
|
2220
|
+
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
|
1233
2221
|
::Ice::OperationMode mode,
|
1234
2222
|
const ::std::vector< ::Ice::Byte>& inParams,
|
1235
2223
|
const ::Ice::Context& context,
|
1236
|
-
const ::Ice::Callback_Object_ice_invokePtr&
|
2224
|
+
const ::Ice::Callback_Object_ice_invokePtr& cb,
|
1237
2225
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1238
2226
|
{
|
1239
|
-
return _iceI_begin_ice_invoke(
|
1240
|
-
}
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1244
|
-
|
2227
|
+
return _iceI_begin_ice_invoke(operation, mode, inParams, context, cb, cookie);
|
2228
|
+
}
|
2229
|
+
|
2230
|
+
/**
|
2231
|
+
* Invokes an operation dynamically.
|
2232
|
+
* @param outParams An encapsulation containing the encoded results.
|
2233
|
+
* @param result The asynchronous result object for the invocation.
|
2234
|
+
* @return True if the operation completed successfully, in which case outParams contains
|
2235
|
+
* the encoded out parameters. False if the operation raised a user exception, in which
|
2236
|
+
* case outParams contains the encoded user exception. If the operation raises a run-time
|
2237
|
+
* exception, it throws it directly.
|
2238
|
+
*/
|
2239
|
+
bool end_ice_invoke(::std::vector< ::Ice::Byte>& outParams, const ::Ice::AsyncResultPtr& result);
|
2240
|
+
|
2241
|
+
/**
|
2242
|
+
* Invokes an operation dynamically.
|
2243
|
+
* @param operation The name of the operation to invoke.
|
2244
|
+
* @param mode The operation mode (normal or idempotent).
|
2245
|
+
* @param inParams An encapsulation containing the encoded in-parameters for the operation.
|
2246
|
+
* @param outParams An encapsulation containing the encoded results.
|
2247
|
+
* @param context The context map for the invocation.
|
2248
|
+
* @return True if the operation completed successfully, in which case outParams contains
|
2249
|
+
* the encoded out parameters. False if the operation raised a user exception, in which
|
2250
|
+
* case outParams contains the encoded user exception. If the operation raises a run-time
|
2251
|
+
* exception, it throws it directly.
|
2252
|
+
*/
|
2253
|
+
bool ice_invoke(const ::std::string& operation,
|
1245
2254
|
::Ice::OperationMode mode,
|
1246
|
-
const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&
|
1247
|
-
::std::vector< ::Ice::Byte>&
|
2255
|
+
const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
|
2256
|
+
::std::vector< ::Ice::Byte>& outParams,
|
1248
2257
|
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1249
2258
|
{
|
1250
|
-
return end_ice_invoke(
|
2259
|
+
return end_ice_invoke(outParams, _iceI_begin_ice_invoke(operation, mode, inParams, context,
|
2260
|
+
::IceInternal::dummyCallback, 0, true));
|
1251
2261
|
}
|
1252
2262
|
|
1253
|
-
|
2263
|
+
/**
|
2264
|
+
* Invokes an operation dynamically.
|
2265
|
+
* @param operation The name of the operation to invoke.
|
2266
|
+
* @param mode The operation mode (normal or idempotent).
|
2267
|
+
* @param inParams An encapsulation containing the encoded in-parameters for the operation.
|
2268
|
+
* @return The asynchronous result object for the invocation.
|
2269
|
+
*/
|
2270
|
+
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
|
1254
2271
|
::Ice::OperationMode mode,
|
1255
2272
|
const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams)
|
1256
2273
|
{
|
1257
|
-
return _iceI_begin_ice_invoke(
|
2274
|
+
return _iceI_begin_ice_invoke(operation, mode, inParams, ::Ice::noExplicitContext,
|
2275
|
+
::IceInternal::dummyCallback, 0);
|
1258
2276
|
}
|
1259
2277
|
|
1260
|
-
|
2278
|
+
/**
|
2279
|
+
* Invokes an operation dynamically.
|
2280
|
+
* @param operation The name of the operation to invoke.
|
2281
|
+
* @param mode The operation mode (normal or idempotent).
|
2282
|
+
* @param inParams An encapsulation containing the encoded in-parameters for the operation.
|
2283
|
+
* @param context The context map for the invocation.
|
2284
|
+
* @param cookie User-defined data to associate with the invocation.
|
2285
|
+
* @return The asynchronous result object for the invocation.
|
2286
|
+
*/
|
2287
|
+
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
|
1261
2288
|
::Ice::OperationMode mode,
|
1262
2289
|
const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
|
1263
2290
|
const ::Ice::Context& context,
|
1264
2291
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1265
2292
|
{
|
1266
|
-
return _iceI_begin_ice_invoke(
|
2293
|
+
return _iceI_begin_ice_invoke(operation, mode, inParams, context, ::IceInternal::dummyCallback, cookie);
|
1267
2294
|
}
|
1268
2295
|
|
1269
|
-
|
2296
|
+
/**
|
2297
|
+
* Invokes an operation dynamically.
|
2298
|
+
* @param operation The name of the operation to invoke.
|
2299
|
+
* @param mode The operation mode (normal or idempotent).
|
2300
|
+
* @param inParams An encapsulation containing the encoded in-parameters for the operation.
|
2301
|
+
* @param cb Asynchronous callback object.
|
2302
|
+
* @param cookie User-defined data to associate with the invocation.
|
2303
|
+
* @return The asynchronous result object for the invocation.
|
2304
|
+
*/
|
2305
|
+
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
|
1270
2306
|
::Ice::OperationMode mode,
|
1271
2307
|
const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
|
1272
|
-
const ::Ice::CallbackPtr&
|
2308
|
+
const ::Ice::CallbackPtr& cb,
|
1273
2309
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1274
2310
|
{
|
1275
|
-
return _iceI_begin_ice_invoke(
|
2311
|
+
return _iceI_begin_ice_invoke(operation, mode, inParams, ::Ice::noExplicitContext, cb, cookie);
|
1276
2312
|
}
|
1277
2313
|
|
1278
|
-
|
2314
|
+
/**
|
2315
|
+
* Invokes an operation dynamically.
|
2316
|
+
* @param operation The name of the operation to invoke.
|
2317
|
+
* @param mode The operation mode (normal or idempotent).
|
2318
|
+
* @param inParams An encapsulation containing the encoded in-parameters for the operation.
|
2319
|
+
* @param context The context map for the invocation.
|
2320
|
+
* @param cb Asynchronous callback object.
|
2321
|
+
* @param cookie User-defined data to associate with the invocation.
|
2322
|
+
* @return The asynchronous result object for the invocation.
|
2323
|
+
*/
|
2324
|
+
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
|
1279
2325
|
::Ice::OperationMode mode,
|
1280
2326
|
const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
|
1281
2327
|
const ::Ice::Context& context,
|
1282
|
-
const ::Ice::CallbackPtr&
|
2328
|
+
const ::Ice::CallbackPtr& cb,
|
1283
2329
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1284
2330
|
{
|
1285
|
-
return _iceI_begin_ice_invoke(
|
2331
|
+
return _iceI_begin_ice_invoke(operation, mode, inParams, context, cb, cookie);
|
1286
2332
|
}
|
1287
2333
|
|
1288
|
-
|
2334
|
+
/**
|
2335
|
+
* Invokes an operation dynamically.
|
2336
|
+
* @param operation The name of the operation to invoke.
|
2337
|
+
* @param mode The operation mode (normal or idempotent).
|
2338
|
+
* @param inParams An encapsulation containing the encoded in-parameters for the operation.
|
2339
|
+
* @param cb Asynchronous callback object.
|
2340
|
+
* @param cookie User-defined data to associate with the invocation.
|
2341
|
+
* @return The asynchronous result object for the invocation.
|
2342
|
+
*/
|
2343
|
+
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
|
1289
2344
|
::Ice::OperationMode mode,
|
1290
2345
|
const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
|
1291
|
-
const ::Ice::Callback_Object_ice_invokePtr&
|
2346
|
+
const ::Ice::Callback_Object_ice_invokePtr& cb,
|
1292
2347
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1293
2348
|
{
|
1294
|
-
return _iceI_begin_ice_invoke(
|
2349
|
+
return _iceI_begin_ice_invoke(operation, mode, inParams, ::Ice::noExplicitContext, cb, cookie);
|
1295
2350
|
}
|
1296
2351
|
|
1297
|
-
|
2352
|
+
/**
|
2353
|
+
* Invokes an operation dynamically.
|
2354
|
+
* @param operation The name of the operation to invoke.
|
2355
|
+
* @param mode The operation mode (normal or idempotent).
|
2356
|
+
* @param inParams An encapsulation containing the encoded in-parameters for the operation.
|
2357
|
+
* @param context The context map for the invocation.
|
2358
|
+
* @param cb Asynchronous callback object.
|
2359
|
+
* @param cookie User-defined data to associate with the invocation.
|
2360
|
+
* @return The asynchronous result object for the invocation.
|
2361
|
+
*/
|
2362
|
+
::Ice::AsyncResultPtr begin_ice_invoke(const ::std::string& operation,
|
1298
2363
|
::Ice::OperationMode mode,
|
1299
2364
|
const ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>& inParams,
|
1300
2365
|
const ::Ice::Context& context,
|
1301
|
-
const ::Ice::Callback_Object_ice_invokePtr&
|
2366
|
+
const ::Ice::Callback_Object_ice_invokePtr& cb,
|
1302
2367
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1303
2368
|
{
|
1304
|
-
return _iceI_begin_ice_invoke(
|
2369
|
+
return _iceI_begin_ice_invoke(operation, mode, inParams, context, cb, cookie);
|
1305
2370
|
}
|
1306
2371
|
|
2372
|
+
/// \cond INTERNAL
|
1307
2373
|
bool _iceI_end_ice_invoke(::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&, const ::Ice::AsyncResultPtr&);
|
2374
|
+
/// \endcond
|
1308
2375
|
|
2376
|
+
/**
|
2377
|
+
* Obtains the identity embedded in this proxy.
|
2378
|
+
* @return The identity of the target object.
|
2379
|
+
*/
|
1309
2380
|
::Ice::Identity ice_getIdentity() const;
|
1310
|
-
::Ice::ObjectPrx ice_identity(const ::Ice::Identity&) const;
|
1311
2381
|
|
2382
|
+
/**
|
2383
|
+
* Obtains a proxy that is identical to this proxy, except for the identity.
|
2384
|
+
* @param id The identity for the new proxy.
|
2385
|
+
* @return A proxy with the new identity.
|
2386
|
+
*/
|
2387
|
+
::Ice::ObjectPrx ice_identity(const ::Ice::Identity& id) const;
|
2388
|
+
|
2389
|
+
/**
|
2390
|
+
* Obtains the per-proxy context for this proxy.
|
2391
|
+
* @return The per-proxy context.
|
2392
|
+
*/
|
1312
2393
|
::Ice::Context ice_getContext() const;
|
1313
|
-
::Ice::ObjectPrx ice_context(const ::Ice::Context&) const;
|
1314
2394
|
|
2395
|
+
/**
|
2396
|
+
* Obtains a proxy that is identical to this proxy, except for the per-proxy context.
|
2397
|
+
* @param context The context for the new proxy.
|
2398
|
+
* @return A proxy with the new per-proxy context.
|
2399
|
+
*/
|
2400
|
+
::Ice::ObjectPrx ice_context(const ::Ice::Context& context) const;
|
2401
|
+
|
2402
|
+
/**
|
2403
|
+
* Obtains the facet for this proxy.
|
2404
|
+
* @return The facet for this proxy. If the proxy uses the default facet, the return value is the empty string.
|
2405
|
+
*/
|
1315
2406
|
const ::std::string& ice_getFacet() const;
|
1316
|
-
::Ice::ObjectPrx ice_facet(const ::std::string&) const;
|
1317
2407
|
|
2408
|
+
/**
|
2409
|
+
* Obtains a proxy that is identical to this proxy, except for the facet.
|
2410
|
+
* @param facet The facet for the new proxy.
|
2411
|
+
* @return A proxy with the new facet.
|
2412
|
+
*/
|
2413
|
+
::Ice::ObjectPrx ice_facet(const ::std::string& facet) const;
|
2414
|
+
|
2415
|
+
/**
|
2416
|
+
* Obtains the adapter ID for this proxy.
|
2417
|
+
* @return The adapter ID. If the proxy does not have an adapter ID, the return value is the empty string.
|
2418
|
+
*/
|
1318
2419
|
::std::string ice_getAdapterId() const;
|
1319
|
-
::Ice::ObjectPrx ice_adapterId(const ::std::string&) const;
|
1320
2420
|
|
2421
|
+
/**
|
2422
|
+
* Obtains a proxy that is identical to this proxy, except for the adapter ID.
|
2423
|
+
* @param id The adapter ID for the new proxy.
|
2424
|
+
* @return A proxy with the new adapter ID.
|
2425
|
+
*/
|
2426
|
+
::Ice::ObjectPrx ice_adapterId(const ::std::string& id) const;
|
2427
|
+
|
2428
|
+
/**
|
2429
|
+
* Obtains the endpoints used by this proxy.
|
2430
|
+
* @return The endpoints used by this proxy.
|
2431
|
+
*/
|
1321
2432
|
::Ice::EndpointSeq ice_getEndpoints() const;
|
1322
|
-
::Ice::ObjectPrx ice_endpoints(const ::Ice::EndpointSeq&) const;
|
1323
2433
|
|
2434
|
+
/**
|
2435
|
+
* Obtains a proxy that is identical to this proxy, except for the endpoints.
|
2436
|
+
* @param endpoints The endpoints for the new proxy.
|
2437
|
+
* @return A proxy with the new endpoints.
|
2438
|
+
*/
|
2439
|
+
::Ice::ObjectPrx ice_endpoints(const ::Ice::EndpointSeq& endpoints) const;
|
2440
|
+
|
2441
|
+
/**
|
2442
|
+
* Obtains the locator cache timeout of this proxy.
|
2443
|
+
* @return The locator cache timeout value (in seconds).
|
2444
|
+
*/
|
1324
2445
|
::Ice::Int ice_getLocatorCacheTimeout() const;
|
1325
|
-
::Ice::ObjectPrx ice_locatorCacheTimeout(::Ice::Int) const;
|
1326
2446
|
|
2447
|
+
/**
|
2448
|
+
* Obtains a proxy that is identical to this proxy, except for the locator cache timeout.
|
2449
|
+
* @param timeout The new locator cache timeout (in seconds).
|
2450
|
+
* @return A proxy with the new timeout.
|
2451
|
+
*/
|
2452
|
+
::Ice::ObjectPrx ice_locatorCacheTimeout(::Ice::Int timeout) const;
|
2453
|
+
|
2454
|
+
/**
|
2455
|
+
* Determines whether this proxy caches connections.
|
2456
|
+
* @return True if this proxy caches connections, false otherwise.
|
2457
|
+
*/
|
1327
2458
|
bool ice_isConnectionCached() const;
|
1328
|
-
::Ice::ObjectPrx ice_connectionCached(bool) const;
|
1329
2459
|
|
2460
|
+
/**
|
2461
|
+
* Obtains a proxy that is identical to this proxy, except for connection caching.
|
2462
|
+
* @param b True if the new proxy should cache connections, false otherwise.
|
2463
|
+
* @return A proxy with the specified caching policy.
|
2464
|
+
*/
|
2465
|
+
::Ice::ObjectPrx ice_connectionCached(bool b) const;
|
2466
|
+
|
2467
|
+
/**
|
2468
|
+
* Obtains the endpoint selection policy for this proxy (randomly or ordered).
|
2469
|
+
* @return The endpoint selection policy.
|
2470
|
+
*/
|
1330
2471
|
::Ice::EndpointSelectionType ice_getEndpointSelection() const;
|
1331
|
-
::Ice::ObjectPrx ice_endpointSelection(::Ice::EndpointSelectionType) const;
|
1332
2472
|
|
2473
|
+
/**
|
2474
|
+
* Obtains a proxy that is identical to this proxy, except for the endpoint selection policy.
|
2475
|
+
* @param type The new endpoint selection policy.
|
2476
|
+
* @return A proxy with the specified endpoint selection policy.
|
2477
|
+
*/
|
2478
|
+
::Ice::ObjectPrx ice_endpointSelection(::Ice::EndpointSelectionType type) const;
|
2479
|
+
|
2480
|
+
/**
|
2481
|
+
* Determines whether this proxy uses only secure endpoints.
|
2482
|
+
* @return True if this proxy communicates only via secure endpoints, false otherwise.
|
2483
|
+
*/
|
1333
2484
|
bool ice_isSecure() const;
|
1334
|
-
::Ice::ObjectPrx ice_secure(bool) const;
|
1335
2485
|
|
2486
|
+
/**
|
2487
|
+
* Obtains a proxy that is identical to this proxy, except for how it selects endpoints.
|
2488
|
+
* @param b If true, only endpoints that use a secure transport are used by the new proxy.
|
2489
|
+
* If false, the returned proxy uses both secure and insecure endpoints.
|
2490
|
+
* @return A proxy with the specified security policy.
|
2491
|
+
*/
|
2492
|
+
::Ice::ObjectPrx ice_secure(bool b) const;
|
2493
|
+
|
2494
|
+
/**
|
2495
|
+
* Obtains the encoding version used to marshal request parameters.
|
2496
|
+
* @return The encoding version.
|
2497
|
+
*/
|
1336
2498
|
::Ice::EncodingVersion ice_getEncodingVersion() const;
|
1337
|
-
::Ice::ObjectPrx ice_encodingVersion(const ::Ice::EncodingVersion&) const;
|
1338
2499
|
|
2500
|
+
/**
|
2501
|
+
* Obtains a proxy that is identical to this proxy, except for the encoding used to marshal
|
2502
|
+
* parameters.
|
2503
|
+
* @param version The encoding version to use to marshal request parameters.
|
2504
|
+
* @return A proxy with the specified encoding version.
|
2505
|
+
*/
|
2506
|
+
::Ice::ObjectPrx ice_encodingVersion(const ::Ice::EncodingVersion& version) const;
|
2507
|
+
|
2508
|
+
/**
|
2509
|
+
* Determines whether this proxy prefers secure endpoints.
|
2510
|
+
* @return True if the proxy always attempts to invoke via secure endpoints before it
|
2511
|
+
* attempts to use insecure endpoints, false otherwise.
|
2512
|
+
*/
|
1339
2513
|
bool ice_isPreferSecure() const;
|
1340
|
-
::Ice::ObjectPrx ice_preferSecure(bool) const;
|
1341
2514
|
|
2515
|
+
/**
|
2516
|
+
* Obtains a proxy that is identical to this proxy, except for its endpoint selection policy.
|
2517
|
+
* @param b If true, the new proxy will use secure endpoints for invocations and only use
|
2518
|
+
* insecure endpoints if an invocation cannot be made via secure endpoints. If false, the
|
2519
|
+
* proxy prefers insecure endpoints to secure ones.
|
2520
|
+
* @return A proxy with the specified selection policy.
|
2521
|
+
*/
|
2522
|
+
::Ice::ObjectPrx ice_preferSecure(bool b) const;
|
2523
|
+
|
2524
|
+
/**
|
2525
|
+
* Obtains the router for this proxy.
|
2526
|
+
* @return The router for the proxy. If no router is configured for the proxy, the return value
|
2527
|
+
* is nil.
|
2528
|
+
*/
|
1342
2529
|
::Ice::RouterPrx ice_getRouter() const;
|
1343
|
-
::Ice::ObjectPrx ice_router(const ::Ice::RouterPrx&) const;
|
1344
2530
|
|
2531
|
+
/**
|
2532
|
+
* Obtains a proxy that is identical to this proxy, except for the router.
|
2533
|
+
* @param router The router for the new proxy.
|
2534
|
+
* @return A proxy with the specified router.
|
2535
|
+
*/
|
2536
|
+
::Ice::ObjectPrx ice_router(const ::Ice::RouterPrx& router) const;
|
2537
|
+
|
2538
|
+
/**
|
2539
|
+
* Obtains the locator for this proxy.
|
2540
|
+
* @return The locator for this proxy. If no locator is configured, the return value is nil.
|
2541
|
+
*/
|
1345
2542
|
::Ice::LocatorPrx ice_getLocator() const;
|
1346
|
-
::Ice::ObjectPrx ice_locator(const ::Ice::LocatorPrx&) const;
|
1347
2543
|
|
2544
|
+
/**
|
2545
|
+
* Obtains a proxy that is identical to this proxy, except for the locator.
|
2546
|
+
* @param locator The locator for the new proxy.
|
2547
|
+
* @return A proxy with the specified locator.
|
2548
|
+
*/
|
2549
|
+
::Ice::ObjectPrx ice_locator(const ::Ice::LocatorPrx& locator) const;
|
2550
|
+
|
2551
|
+
/**
|
2552
|
+
* Determines whether this proxy uses collocation optimization.
|
2553
|
+
* @return True if the proxy uses collocation optimization, false otherwise.
|
2554
|
+
*/
|
1348
2555
|
bool ice_isCollocationOptimized() const;
|
1349
|
-
::Ice::ObjectPrx ice_collocationOptimized(bool) const;
|
1350
2556
|
|
2557
|
+
/**
|
2558
|
+
* Obtains a proxy that is identical to this proxy, except for collocation optimization.
|
2559
|
+
* @param b True if the new proxy enables collocation optimization, false otherwise.
|
2560
|
+
* @return A proxy with the specified collocation optimization.
|
2561
|
+
*/
|
2562
|
+
::Ice::ObjectPrx ice_collocationOptimized(bool b) const;
|
2563
|
+
|
2564
|
+
/**
|
2565
|
+
* Obtains the invocation timeout of this proxy.
|
2566
|
+
* @return The invocation timeout value (in milliseconds).
|
2567
|
+
*/
|
1351
2568
|
::Ice::Int ice_getInvocationTimeout() const;
|
1352
|
-
::Ice::ObjectPrx ice_invocationTimeout(::Ice::Int) const;
|
1353
2569
|
|
2570
|
+
/**
|
2571
|
+
* Obtains a proxy that is identical to this proxy, except for the invocation timeout.
|
2572
|
+
* @param timeout The new invocation timeout (in milliseconds).
|
2573
|
+
* @return A proxy with the new timeout.
|
2574
|
+
*/
|
2575
|
+
::Ice::ObjectPrx ice_invocationTimeout(::Ice::Int timeout) const;
|
2576
|
+
|
2577
|
+
/**
|
2578
|
+
* Obtains a proxy that is identical to this proxy, but uses twoway invocations.
|
2579
|
+
* @return A proxy that uses twoway invocations.
|
2580
|
+
*/
|
1354
2581
|
::Ice::ObjectPrx ice_twoway() const;
|
2582
|
+
|
2583
|
+
/**
|
2584
|
+
* Determines whether this proxy uses twoway invocations.
|
2585
|
+
* @return True if this proxy uses twoway invocations, false otherwise.
|
2586
|
+
*/
|
1355
2587
|
bool ice_isTwoway() const;
|
2588
|
+
|
2589
|
+
/**
|
2590
|
+
* Obtains a proxy that is identical to this proxy, but uses oneway invocations.
|
2591
|
+
* @return A proxy that uses oneway invocations.
|
2592
|
+
*/
|
1356
2593
|
::Ice::ObjectPrx ice_oneway() const;
|
2594
|
+
|
2595
|
+
/**
|
2596
|
+
* Determines whether this proxy uses oneway invocations.
|
2597
|
+
* @return True if this proxy uses oneway invocations, false otherwise.
|
2598
|
+
*/
|
1357
2599
|
bool ice_isOneway() const;
|
2600
|
+
|
2601
|
+
/**
|
2602
|
+
* Obtains a proxy that is identical to this proxy, but uses batch oneway invocations.
|
2603
|
+
* @return A proxy that uses batch oneway invocations.
|
2604
|
+
*/
|
1358
2605
|
::Ice::ObjectPrx ice_batchOneway() const;
|
2606
|
+
|
2607
|
+
/**
|
2608
|
+
* Determines whether this proxy uses batch oneway invocations.
|
2609
|
+
* @return True if this proxy uses batch oneway invocations, false otherwise.
|
2610
|
+
*/
|
1359
2611
|
bool ice_isBatchOneway() const;
|
2612
|
+
|
2613
|
+
/**
|
2614
|
+
* Obtains a proxy that is identical to this proxy, but uses datagram invocations.
|
2615
|
+
* @return A proxy that uses datagram invocations.
|
2616
|
+
*/
|
1360
2617
|
::Ice::ObjectPrx ice_datagram() const;
|
2618
|
+
|
2619
|
+
/**
|
2620
|
+
* Determines whether this proxy uses datagram invocations.
|
2621
|
+
* @return True if this proxy uses datagram invocations, false otherwise.
|
2622
|
+
*/
|
1361
2623
|
bool ice_isDatagram() const;
|
2624
|
+
|
2625
|
+
/**
|
2626
|
+
* Obtains a proxy that is identical to this proxy, but uses batch datagram invocations.
|
2627
|
+
* @return A proxy that uses batch datagram invocations.
|
2628
|
+
*/
|
1362
2629
|
::Ice::ObjectPrx ice_batchDatagram() const;
|
1363
|
-
bool ice_isBatchDatagram() const;
|
1364
2630
|
|
1365
|
-
|
1366
|
-
|
2631
|
+
/**
|
2632
|
+
* Determines whether this proxy uses batch datagram invocations.
|
2633
|
+
* @return True if this proxy uses batch datagram invocations, false otherwise.
|
2634
|
+
*/
|
2635
|
+
bool ice_isBatchDatagram() const;
|
1367
2636
|
|
1368
|
-
|
2637
|
+
/**
|
2638
|
+
* Obtains a proxy that is identical to this proxy, except for its compression setting which
|
2639
|
+
* overrides the compression setting from the proxy endpoints.
|
2640
|
+
* @param b True enables compression for the new proxy, false disables compression.
|
2641
|
+
* @return A proxy with the specified compression override setting.
|
2642
|
+
*/
|
2643
|
+
::Ice::ObjectPrx ice_compress(bool b) const;
|
2644
|
+
|
2645
|
+
/**
|
2646
|
+
* Obtains the compression override setting of this proxy.
|
2647
|
+
* @return The compression override setting. If nullopt is returned, no override is set. Otherwise, true
|
2648
|
+
* if compression is enabled, false otherwise.
|
2649
|
+
*/
|
2650
|
+
::IceUtil::Optional<bool> ice_getCompress() const;
|
2651
|
+
|
2652
|
+
/**
|
2653
|
+
* Obtains a proxy that is identical to this proxy, except for its connection timeout setting
|
2654
|
+
* which overrides the timeot setting from the proxy endpoints.
|
2655
|
+
* @param timeout The connection timeout override for the proxy (in milliseconds).
|
2656
|
+
* @return A proxy with the specified timeout override.
|
2657
|
+
*/
|
2658
|
+
::Ice::ObjectPrx ice_timeout(int timeout) const;
|
2659
|
+
|
2660
|
+
/**
|
2661
|
+
* Obtains the timeout override of this proxy.
|
2662
|
+
* @return The timeout override. If nullopt is returned, no override is set. Otherwise, returns
|
2663
|
+
* the timeout override value.
|
2664
|
+
*/
|
2665
|
+
::IceUtil::Optional<int> ice_getTimeout() const;
|
2666
|
+
|
2667
|
+
/**
|
2668
|
+
* Obtains a proxy that is identical to this proxy, except for its connection ID.
|
2669
|
+
* @param id The connection ID for the new proxy. An empty string removes the
|
2670
|
+
* connection ID.
|
2671
|
+
* @return A proxy with the specified connection ID.
|
2672
|
+
*/
|
2673
|
+
::Ice::ObjectPrx ice_connectionId(const ::std::string& id) const;
|
2674
|
+
|
2675
|
+
/**
|
2676
|
+
* Obtains the connection ID of this proxy.
|
2677
|
+
* @return The connection ID.
|
2678
|
+
*/
|
1369
2679
|
::std::string ice_getConnectionId() const;
|
1370
2680
|
|
2681
|
+
/**
|
2682
|
+
* Obtains a proxy that is identical to this proxy, except it's a fixed proxy bound
|
2683
|
+
* the given connection.
|
2684
|
+
* @param connection The fixed proxy connection.
|
2685
|
+
* @return A fixed proxy bound to the given connection.
|
2686
|
+
*/
|
2687
|
+
::Ice::ObjectPrx ice_fixed(const ::Ice::ConnectionPtr& connection) const;
|
2688
|
+
|
2689
|
+
/**
|
2690
|
+
* Determines whether this proxy is a fixed proxy.
|
2691
|
+
* @return True if this proxy is a fixed proxy, false otherwise.
|
2692
|
+
*/
|
2693
|
+
bool ice_isFixed() const;
|
2694
|
+
|
2695
|
+
/**
|
2696
|
+
* Obtains the Connection for this proxy. If the proxy does not yet have an established connection,
|
2697
|
+
* it first attempts to create a connection.
|
2698
|
+
* @return The connection for this proxy.
|
2699
|
+
*/
|
1371
2700
|
::Ice::ConnectionPtr ice_getConnection()
|
1372
2701
|
{
|
1373
2702
|
return end_ice_getConnection(begin_ice_getConnection());
|
1374
2703
|
}
|
1375
2704
|
|
2705
|
+
/**
|
2706
|
+
* Obtains the Connection for this proxy. If the proxy does not yet have an established connection,
|
2707
|
+
* it first attempts to create a connection.
|
2708
|
+
* @return The asynchronous result object for the invocation.
|
2709
|
+
*/
|
1376
2710
|
::Ice::AsyncResultPtr begin_ice_getConnection()
|
1377
2711
|
{
|
1378
2712
|
return _iceI_begin_ice_getConnection(::IceInternal::dummyCallback, 0);
|
1379
2713
|
}
|
1380
2714
|
|
1381
|
-
|
2715
|
+
/**
|
2716
|
+
* Obtains the Connection for this proxy. If the proxy does not yet have an established connection,
|
2717
|
+
* it first attempts to create a connection.
|
2718
|
+
* @param cb Asynchronous callback object.
|
2719
|
+
* @param cookie User-defined data to associate with the invocation.
|
2720
|
+
* @return The asynchronous result object for the invocation.
|
2721
|
+
*/
|
2722
|
+
::Ice::AsyncResultPtr begin_ice_getConnection(const ::Ice::CallbackPtr& cb,
|
1382
2723
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1383
2724
|
{
|
1384
|
-
return _iceI_begin_ice_getConnection(
|
2725
|
+
return _iceI_begin_ice_getConnection(cb, cookie);
|
1385
2726
|
}
|
1386
2727
|
|
1387
|
-
|
2728
|
+
/**
|
2729
|
+
* Obtains the Connection for this proxy. If the proxy does not yet have an established connection,
|
2730
|
+
* it first attempts to create a connection.
|
2731
|
+
* @param cb Asynchronous callback object.
|
2732
|
+
* @param cookie User-defined data to associate with the invocation.
|
2733
|
+
* @return The asynchronous result object for the invocation.
|
2734
|
+
*/
|
2735
|
+
::Ice::AsyncResultPtr begin_ice_getConnection(const ::Ice::Callback_Object_ice_getConnectionPtr& cb,
|
1388
2736
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1389
2737
|
{
|
1390
|
-
return _iceI_begin_ice_getConnection(
|
2738
|
+
return _iceI_begin_ice_getConnection(cb, cookie);
|
1391
2739
|
}
|
1392
2740
|
|
1393
|
-
|
2741
|
+
/**
|
2742
|
+
* Completes an invocation of begin_ice_getConnection.
|
2743
|
+
* @param result The asynchronous result object for the invocation.
|
2744
|
+
* @return The connection for this proxy.
|
2745
|
+
*/
|
2746
|
+
::Ice::ConnectionPtr end_ice_getConnection(const ::Ice::AsyncResultPtr& result);
|
1394
2747
|
|
2748
|
+
/**
|
2749
|
+
* Returns the cached connection for this proxy. If the proxy does not yet have an established
|
2750
|
+
* connection, it does not attempt to create a connection.
|
2751
|
+
*
|
2752
|
+
* @return The cached connection for this proxy, or nil if the proxy does not have
|
2753
|
+
* an established connection.
|
2754
|
+
*/
|
1395
2755
|
::Ice::ConnectionPtr ice_getCachedConnection() const;
|
1396
2756
|
|
2757
|
+
/**
|
2758
|
+
* Flushes any pending batched requests for this proxy. The call blocks until the flush is complete.
|
2759
|
+
*/
|
1397
2760
|
void ice_flushBatchRequests()
|
1398
2761
|
{
|
1399
2762
|
return end_ice_flushBatchRequests(begin_ice_flushBatchRequests());
|
1400
2763
|
}
|
1401
2764
|
|
2765
|
+
/**
|
2766
|
+
* Flushes asynchronously any pending batched requests for this proxy.
|
2767
|
+
* @return The asynchronous result object for the invocation.
|
2768
|
+
*/
|
1402
2769
|
::Ice::AsyncResultPtr begin_ice_flushBatchRequests()
|
1403
2770
|
{
|
1404
2771
|
return _iceI_begin_ice_flushBatchRequests(::IceInternal::dummyCallback, 0);
|
1405
2772
|
}
|
1406
2773
|
|
1407
|
-
|
2774
|
+
/**
|
2775
|
+
* Flushes asynchronously any pending batched requests for this proxy.
|
2776
|
+
* @param cb Asynchronous callback object.
|
2777
|
+
* @param cookie User-defined data to associate with the invocation.
|
2778
|
+
* @return The asynchronous result object for the invocation.
|
2779
|
+
*/
|
2780
|
+
::Ice::AsyncResultPtr begin_ice_flushBatchRequests(const ::Ice::CallbackPtr& cb,
|
1408
2781
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1409
2782
|
{
|
1410
|
-
return _iceI_begin_ice_flushBatchRequests(
|
2783
|
+
return _iceI_begin_ice_flushBatchRequests(cb, cookie);
|
1411
2784
|
}
|
1412
2785
|
|
1413
|
-
|
2786
|
+
/**
|
2787
|
+
* Flushes asynchronously any pending batched requests for this proxy.
|
2788
|
+
* @param cb Asynchronous callback object.
|
2789
|
+
* @param cookie User-defined data to associate with the invocation.
|
2790
|
+
* @return The asynchronous result object for the invocation.
|
2791
|
+
*/
|
2792
|
+
::Ice::AsyncResultPtr begin_ice_flushBatchRequests(const ::Ice::Callback_Object_ice_flushBatchRequestsPtr& cb,
|
1414
2793
|
const ::Ice::LocalObjectPtr& cookie = 0)
|
1415
2794
|
{
|
1416
|
-
return _iceI_begin_ice_flushBatchRequests(
|
2795
|
+
return _iceI_begin_ice_flushBatchRequests(cb, cookie);
|
1417
2796
|
}
|
1418
2797
|
|
1419
|
-
|
2798
|
+
/**
|
2799
|
+
* Completes an invocation of begin_ice_flushBatchRequests.
|
2800
|
+
* @param result The asynchronous result object for the invocation.
|
2801
|
+
*/
|
2802
|
+
void end_ice_flushBatchRequests(const ::Ice::AsyncResultPtr& result);
|
1420
2803
|
|
2804
|
+
/// \cond INTERNAL
|
1421
2805
|
const ::IceInternal::ReferencePtr& _getReference() const { return _reference; }
|
1422
2806
|
|
1423
2807
|
::Ice::Int _hash() const;
|
@@ -1437,10 +2821,13 @@ public:
|
|
1437
2821
|
void _updateRequestHandler(const ::IceInternal::RequestHandlerPtr&, const ::IceInternal::RequestHandlerPtr&);
|
1438
2822
|
|
1439
2823
|
void _write(::Ice::OutputStream&) const;
|
2824
|
+
/// \endcond
|
1440
2825
|
|
1441
2826
|
protected:
|
1442
2827
|
|
2828
|
+
/// \cond INTERNAL
|
1443
2829
|
virtual Object* _newInstance() const;
|
2830
|
+
/// \endcond
|
1444
2831
|
|
1445
2832
|
private:
|
1446
2833
|
|
@@ -1503,111 +2890,233 @@ ICE_API ::std::ostream& operator<<(::std::ostream&, const ::IceProxy::Ice::Objec
|
|
1503
2890
|
namespace Ice
|
1504
2891
|
{
|
1505
2892
|
|
2893
|
+
/**
|
2894
|
+
* Helper template that supplies proxy factory functions.
|
2895
|
+
* \headerfile Ice/Ice.h
|
2896
|
+
*/
|
1506
2897
|
template<typename Prx, typename Base>
|
1507
2898
|
class Proxy : public virtual Base
|
1508
2899
|
{
|
1509
2900
|
public:
|
1510
2901
|
|
2902
|
+
/**
|
2903
|
+
* Obtains a proxy that is identical to this proxy, except for the per-proxy context.
|
2904
|
+
* @param context The context for the new proxy.
|
2905
|
+
* @return A proxy with the new per-proxy context.
|
2906
|
+
*/
|
1511
2907
|
IceInternal::ProxyHandle<Prx> ice_context(const ::Ice::Context& context) const
|
1512
2908
|
{
|
1513
2909
|
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_context(context).get());
|
1514
2910
|
}
|
1515
2911
|
|
2912
|
+
/**
|
2913
|
+
* Obtains a proxy that is identical to this proxy, except for the adapter ID.
|
2914
|
+
* @param id The adapter ID for the new proxy.
|
2915
|
+
* @return A proxy with the new adapter ID.
|
2916
|
+
*/
|
1516
2917
|
IceInternal::ProxyHandle<Prx> ice_adapterId(const ::std::string& id) const
|
1517
2918
|
{
|
1518
2919
|
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_adapterId(id).get());
|
1519
2920
|
}
|
1520
2921
|
|
2922
|
+
/**
|
2923
|
+
* Obtains a proxy that is identical to this proxy, except for the endpoints.
|
2924
|
+
* @param endpoints The endpoints for the new proxy.
|
2925
|
+
* @return A proxy with the new endpoints.
|
2926
|
+
*/
|
1521
2927
|
IceInternal::ProxyHandle<Prx> ice_endpoints(const ::Ice::EndpointSeq& endpoints) const
|
1522
2928
|
{
|
1523
2929
|
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_endpoints(endpoints).get());
|
1524
2930
|
}
|
1525
2931
|
|
2932
|
+
/**
|
2933
|
+
* Obtains a proxy that is identical to this proxy, except for the locator cache timeout.
|
2934
|
+
* @param timeout The new locator cache timeout (in seconds).
|
2935
|
+
* @return A proxy with the new timeout.
|
2936
|
+
*/
|
1526
2937
|
IceInternal::ProxyHandle<Prx> ice_locatorCacheTimeout(int timeout) const
|
1527
2938
|
{
|
1528
2939
|
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_locatorCacheTimeout(timeout).get());
|
1529
2940
|
}
|
1530
2941
|
|
1531
|
-
|
2942
|
+
/**
|
2943
|
+
* Obtains a proxy that is identical to this proxy, except for connection caching.
|
2944
|
+
* @param b True if the new proxy should cache connections, false otherwise.
|
2945
|
+
* @return A proxy with the specified caching policy.
|
2946
|
+
*/
|
2947
|
+
IceInternal::ProxyHandle<Prx> ice_connectionCached(bool b) const
|
1532
2948
|
{
|
1533
|
-
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_connectionCached(
|
2949
|
+
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_connectionCached(b).get());
|
1534
2950
|
}
|
1535
2951
|
|
1536
|
-
|
2952
|
+
/**
|
2953
|
+
* Obtains a proxy that is identical to this proxy, except for the endpoint selection policy.
|
2954
|
+
* @param type The new endpoint selection policy.
|
2955
|
+
* @return A proxy with the specified endpoint selection policy.
|
2956
|
+
*/
|
2957
|
+
IceInternal::ProxyHandle<Prx> ice_endpointSelection(::Ice::EndpointSelectionType type) const
|
1537
2958
|
{
|
1538
|
-
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_endpointSelection(
|
2959
|
+
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_endpointSelection(type).get());
|
1539
2960
|
}
|
1540
2961
|
|
1541
|
-
|
2962
|
+
/**
|
2963
|
+
* Obtains a proxy that is identical to this proxy, except for how it selects endpoints.
|
2964
|
+
* @param b If true, only endpoints that use a secure transport are used by the new proxy.
|
2965
|
+
* If false, the returned proxy uses both secure and insecure endpoints.
|
2966
|
+
* @return A proxy with the specified security policy.
|
2967
|
+
*/
|
2968
|
+
IceInternal::ProxyHandle<Prx> ice_secure(bool b) const
|
1542
2969
|
{
|
1543
|
-
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_secure(
|
2970
|
+
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_secure(b).get());
|
1544
2971
|
}
|
1545
2972
|
|
1546
|
-
|
2973
|
+
/**
|
2974
|
+
* Obtains a proxy that is identical to this proxy, except for its endpoint selection policy.
|
2975
|
+
* @param b If true, the new proxy will use secure endpoints for invocations and only use
|
2976
|
+
* insecure endpoints if an invocation cannot be made via secure endpoints. If false, the
|
2977
|
+
* proxy prefers insecure endpoints to secure ones.
|
2978
|
+
* @return A proxy with the specified selection policy.
|
2979
|
+
*/
|
2980
|
+
IceInternal::ProxyHandle<Prx> ice_preferSecure(bool b) const
|
1547
2981
|
{
|
1548
|
-
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_preferSecure(
|
2982
|
+
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_preferSecure(b).get());
|
1549
2983
|
}
|
1550
2984
|
|
2985
|
+
/**
|
2986
|
+
* Obtains a proxy that is identical to this proxy, except for the router.
|
2987
|
+
* @param router The router for the new proxy.
|
2988
|
+
* @return A proxy with the specified router.
|
2989
|
+
*/
|
1551
2990
|
IceInternal::ProxyHandle<Prx> ice_router(const ::Ice::RouterPrx& router) const
|
1552
2991
|
{
|
1553
2992
|
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_router(router).get());
|
1554
2993
|
}
|
1555
2994
|
|
2995
|
+
/**
|
2996
|
+
* Obtains a proxy that is identical to this proxy, except for the locator.
|
2997
|
+
* @param locator The locator for the new proxy.
|
2998
|
+
* @return A proxy with the specified locator.
|
2999
|
+
*/
|
1556
3000
|
IceInternal::ProxyHandle<Prx> ice_locator(const ::Ice::LocatorPrx& locator) const
|
1557
3001
|
{
|
1558
3002
|
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_locator(locator).get());
|
1559
3003
|
}
|
1560
3004
|
|
1561
|
-
|
3005
|
+
/**
|
3006
|
+
* Obtains a proxy that is identical to this proxy, except for collocation optimization.
|
3007
|
+
* @param b True if the new proxy enables collocation optimization, false otherwise.
|
3008
|
+
* @return A proxy with the specified collocation optimization.
|
3009
|
+
*/
|
3010
|
+
IceInternal::ProxyHandle<Prx> ice_collocationOptimized(bool b) const
|
1562
3011
|
{
|
1563
|
-
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_collocationOptimized(
|
3012
|
+
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_collocationOptimized(b).get());
|
1564
3013
|
}
|
1565
3014
|
|
3015
|
+
/**
|
3016
|
+
* Obtains a proxy that is identical to this proxy, except for the invocation timeout.
|
3017
|
+
* @param timeout The new invocation timeout (in milliseconds).
|
3018
|
+
* @return A proxy with the new timeout.
|
3019
|
+
*/
|
1566
3020
|
IceInternal::ProxyHandle<Prx> ice_invocationTimeout(int timeout) const
|
1567
3021
|
{
|
1568
3022
|
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_invocationTimeout(timeout).get());
|
1569
3023
|
}
|
1570
3024
|
|
3025
|
+
/**
|
3026
|
+
* Obtains a proxy that is identical to this proxy, but uses twoway invocations.
|
3027
|
+
* @return A proxy that uses twoway invocations.
|
3028
|
+
*/
|
1571
3029
|
IceInternal::ProxyHandle<Prx> ice_twoway() const
|
1572
3030
|
{
|
1573
3031
|
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_twoway().get());
|
1574
3032
|
}
|
1575
3033
|
|
3034
|
+
/**
|
3035
|
+
* Obtains a proxy that is identical to this proxy, but uses oneway invocations.
|
3036
|
+
* @return A proxy that uses oneway invocations.
|
3037
|
+
*/
|
1576
3038
|
IceInternal::ProxyHandle<Prx> ice_oneway() const
|
1577
3039
|
{
|
1578
3040
|
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_oneway().get());
|
1579
3041
|
}
|
1580
3042
|
|
3043
|
+
/**
|
3044
|
+
* Obtains a proxy that is identical to this proxy, but uses batch oneway invocations.
|
3045
|
+
* @return A proxy that uses batch oneway invocations.
|
3046
|
+
*/
|
1581
3047
|
IceInternal::ProxyHandle<Prx> ice_batchOneway() const
|
1582
3048
|
{
|
1583
3049
|
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_batchOneway().get());
|
1584
3050
|
}
|
1585
3051
|
|
3052
|
+
/**
|
3053
|
+
* Obtains a proxy that is identical to this proxy, but uses datagram invocations.
|
3054
|
+
* @return A proxy that uses datagram invocations.
|
3055
|
+
*/
|
1586
3056
|
IceInternal::ProxyHandle<Prx> ice_datagram() const
|
1587
3057
|
{
|
1588
3058
|
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_datagram().get());
|
1589
3059
|
}
|
1590
3060
|
|
3061
|
+
/**
|
3062
|
+
* Obtains a proxy that is identical to this proxy, but uses batch datagram invocations.
|
3063
|
+
* @return A proxy that uses batch datagram invocations.
|
3064
|
+
*/
|
1591
3065
|
IceInternal::ProxyHandle<Prx> ice_batchDatagram() const
|
1592
3066
|
{
|
1593
3067
|
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_batchDatagram().get());
|
1594
3068
|
}
|
1595
3069
|
|
1596
|
-
|
3070
|
+
/**
|
3071
|
+
* Obtains a proxy that is identical to this proxy, except for its compression setting which
|
3072
|
+
* overrides the compression setting from the proxy endpoints.
|
3073
|
+
* @param b True enables compression for the new proxy, false disables compression.
|
3074
|
+
* @return A proxy with the specified compression override setting.
|
3075
|
+
*/
|
3076
|
+
IceInternal::ProxyHandle<Prx> ice_compress(bool b) const
|
1597
3077
|
{
|
1598
|
-
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_compress(
|
3078
|
+
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_compress(b).get());
|
1599
3079
|
}
|
1600
3080
|
|
3081
|
+
/**
|
3082
|
+
* Obtains a proxy that is identical to this proxy, except for its connection timeout setting
|
3083
|
+
* which overrides the timeot setting from the proxy endpoints.
|
3084
|
+
* @param timeout The connection timeout override for the proxy (in milliseconds).
|
3085
|
+
* @return A proxy with the specified timeout override.
|
3086
|
+
*/
|
1601
3087
|
IceInternal::ProxyHandle<Prx> ice_timeout(int timeout) const
|
1602
3088
|
{
|
1603
3089
|
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_timeout(timeout).get());
|
1604
3090
|
}
|
1605
3091
|
|
3092
|
+
/**
|
3093
|
+
* Obtains a proxy that is identical to this proxy, except for its connection ID.
|
3094
|
+
* @param id The connection ID for the new proxy. An empty string removes the
|
3095
|
+
* connection ID.
|
3096
|
+
* @return A proxy with the specified connection ID.
|
3097
|
+
*/
|
1606
3098
|
IceInternal::ProxyHandle<Prx> ice_connectionId(const ::std::string& id) const
|
1607
3099
|
{
|
1608
3100
|
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_connectionId(id).get());
|
1609
3101
|
}
|
1610
3102
|
|
3103
|
+
/**
|
3104
|
+
* Obtains a proxy that is identical to this proxy, except it's a fixed proxy bound
|
3105
|
+
* the given connection.
|
3106
|
+
* @param connection The fixed proxy connection.
|
3107
|
+
* @return A fixed proxy bound to the given connection.
|
3108
|
+
*/
|
3109
|
+
IceInternal::ProxyHandle<Prx> ice_fixed(const ::Ice::ConnectionPtr& connection) const
|
3110
|
+
{
|
3111
|
+
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_fixed(connection).get());
|
3112
|
+
}
|
3113
|
+
|
3114
|
+
/**
|
3115
|
+
* Obtains a proxy that is identical to this proxy, except for the encoding used to marshal
|
3116
|
+
* parameters.
|
3117
|
+
* @param version The encoding version to use to marshal request parameters.
|
3118
|
+
* @return A proxy with the specified encoding version.
|
3119
|
+
*/
|
1611
3120
|
IceInternal::ProxyHandle<Prx> ice_encodingVersion(const ::Ice::EncodingVersion& version) const
|
1612
3121
|
{
|
1613
3122
|
return dynamic_cast<Prx*>(::IceProxy::Ice::Object::ice_encodingVersion(version).get());
|
@@ -1615,15 +3124,50 @@ public:
|
|
1615
3124
|
|
1616
3125
|
protected:
|
1617
3126
|
|
3127
|
+
/// \cond INTERNAL
|
1618
3128
|
virtual ::IceProxy::Ice::Object* _newInstance() const = 0;
|
3129
|
+
/// \endcond
|
1619
3130
|
};
|
1620
3131
|
|
1621
|
-
|
1622
|
-
|
1623
|
-
|
1624
|
-
|
1625
|
-
|
1626
|
-
|
3132
|
+
/**
|
3133
|
+
* Compares the object identities of two proxies.
|
3134
|
+
* @param lhs A proxy.
|
3135
|
+
* @param rhs A proxy.
|
3136
|
+
* @return True if the identity in lhs compares less than the identity in rhs, false otherwise.
|
3137
|
+
*/
|
3138
|
+
ICE_API bool proxyIdentityLess(const ObjectPrx& lhs, const ObjectPrx& rhs);
|
3139
|
+
|
3140
|
+
/**
|
3141
|
+
* Compares the object identities of two proxies.
|
3142
|
+
* @param lhs A proxy.
|
3143
|
+
* @param rhs A proxy.
|
3144
|
+
* @return True if the identity in lhs compares equal to the identity in rhs, false otherwise.
|
3145
|
+
*/
|
3146
|
+
ICE_API bool proxyIdentityEqual(const ObjectPrx& lhs, const ObjectPrx& rhs);
|
3147
|
+
|
3148
|
+
/**
|
3149
|
+
* Compares the object identities and facets of two proxies.
|
3150
|
+
* @param lhs A proxy.
|
3151
|
+
* @param rhs A proxy.
|
3152
|
+
* @return True if the identity and facet in lhs compare less than the identity and facet
|
3153
|
+
* in rhs, false otherwise.
|
3154
|
+
*/
|
3155
|
+
ICE_API bool proxyIdentityAndFacetLess(const ObjectPrx& lhs, const ObjectPrx& rhs);
|
3156
|
+
|
3157
|
+
/**
|
3158
|
+
* Compares the object identities and facets of two proxies.
|
3159
|
+
* @param lhs A proxy.
|
3160
|
+
* @param rhs A proxy.
|
3161
|
+
* @return True if the identity and facet in lhs compare equal to the identity and facet
|
3162
|
+
* in rhs, false otherwise.
|
3163
|
+
*/
|
3164
|
+
ICE_API bool proxyIdentityAndFacetEqual(const ObjectPrx& lhs, const ObjectPrx& rhs);
|
3165
|
+
|
3166
|
+
/**
|
3167
|
+
* A functor that compares the object identities of two proxies. Evaluates true if the identity in lhs
|
3168
|
+
* compares less than the identity in rhs, false otherwise.
|
3169
|
+
* \headerfile Ice/Ice.h
|
3170
|
+
*/
|
1627
3171
|
struct ProxyIdentityLess : std::binary_function<bool, ObjectPrx&, ObjectPrx&>
|
1628
3172
|
{
|
1629
3173
|
bool operator()(const ObjectPrx& lhs, const ObjectPrx& rhs) const
|
@@ -1632,6 +3176,11 @@ struct ProxyIdentityLess : std::binary_function<bool, ObjectPrx&, ObjectPrx&>
|
|
1632
3176
|
}
|
1633
3177
|
};
|
1634
3178
|
|
3179
|
+
/**
|
3180
|
+
* A functor that compares the object identities of two proxies. Evaluates true if the identity in lhs
|
3181
|
+
* compares equal to the identity in rhs, false otherwise.
|
3182
|
+
* \headerfile Ice/Ice.h
|
3183
|
+
*/
|
1635
3184
|
struct ProxyIdentityEqual : std::binary_function<bool, ObjectPrx&, ObjectPrx&>
|
1636
3185
|
{
|
1637
3186
|
bool operator()(const ObjectPrx& lhs, const ObjectPrx& rhs) const
|
@@ -1640,6 +3189,11 @@ struct ProxyIdentityEqual : std::binary_function<bool, ObjectPrx&, ObjectPrx&>
|
|
1640
3189
|
}
|
1641
3190
|
};
|
1642
3191
|
|
3192
|
+
/**
|
3193
|
+
* A functor that compares the object identities and facets of two proxies. Evaluates true if the identity
|
3194
|
+
* and facet in lhs compare less than the identity and facet in rhs, false otherwise.
|
3195
|
+
* \headerfile Ice/Ice.h
|
3196
|
+
*/
|
1643
3197
|
struct ProxyIdentityAndFacetLess : std::binary_function<bool, ObjectPrx&, ObjectPrx&>
|
1644
3198
|
{
|
1645
3199
|
bool operator()(const ObjectPrx& lhs, const ObjectPrx& rhs) const
|
@@ -1648,6 +3202,11 @@ struct ProxyIdentityAndFacetLess : std::binary_function<bool, ObjectPrx&, Object
|
|
1648
3202
|
}
|
1649
3203
|
};
|
1650
3204
|
|
3205
|
+
/**
|
3206
|
+
* A functor that compares the object identities and facets of two proxies. Evaluates true if the identity
|
3207
|
+
* and facet in lhs compare equal to the identity and facet in rhs, false otherwise.
|
3208
|
+
* \headerfile Ice/Ice.h
|
3209
|
+
*/
|
1651
3210
|
struct ProxyIdentityAndFacetEqual : std::binary_function<bool, ObjectPrx&, ObjectPrx&>
|
1652
3211
|
{
|
1653
3212
|
bool operator()(const ObjectPrx& lhs, const ObjectPrx& rhs) const
|
@@ -1826,6 +3385,13 @@ uncheckedCastImpl(const ::Ice::ObjectPrx& b, const std::string& f)
|
|
1826
3385
|
namespace Ice
|
1827
3386
|
{
|
1828
3387
|
|
3388
|
+
/**
|
3389
|
+
* Downcasts a proxy after confirming the target object's type via a remote invocation.
|
3390
|
+
* @param b The target proxy.
|
3391
|
+
* @param context The context map for the invocation.
|
3392
|
+
* @return A proxy with the requested type, or nil if the target proxy is nil or the target
|
3393
|
+
* object does not support the requested type.
|
3394
|
+
*/
|
1829
3395
|
template<typename P, typename Y> inline P
|
1830
3396
|
checkedCast(const ::IceInternal::ProxyHandle<Y>& b, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1831
3397
|
{
|
@@ -1833,6 +3399,11 @@ checkedCast(const ::IceInternal::ProxyHandle<Y>& b, const ::Ice::Context& contex
|
|
1833
3399
|
return ::IceInternal::checkedCastHelper<typename P::element_type>(b, tag, context);
|
1834
3400
|
}
|
1835
3401
|
|
3402
|
+
/**
|
3403
|
+
* Downcasts a proxy without confirming the target object's type via a remote invocation.
|
3404
|
+
* @param b The target proxy.
|
3405
|
+
* @return A proxy with the requested type.
|
3406
|
+
*/
|
1836
3407
|
template<typename P, typename Y> inline P
|
1837
3408
|
uncheckedCast(const ::IceInternal::ProxyHandle<Y>& b)
|
1838
3409
|
{
|
@@ -1840,12 +3411,26 @@ uncheckedCast(const ::IceInternal::ProxyHandle<Y>& b)
|
|
1840
3411
|
return ::IceInternal::uncheckedCastHelper<typename P::element_type>(b, tag);
|
1841
3412
|
}
|
1842
3413
|
|
3414
|
+
/**
|
3415
|
+
* Downcasts a proxy after confirming the target object's type via a remote invocation.
|
3416
|
+
* @param b The target proxy.
|
3417
|
+
* @param f A facet name.
|
3418
|
+
* @param context The context map for the invocation.
|
3419
|
+
* @return A proxy with the requested type and facet, or nil if the target proxy is nil or the target
|
3420
|
+
* object does not support the requested type.
|
3421
|
+
*/
|
1843
3422
|
template<typename P> inline P
|
1844
3423
|
checkedCast(const ::Ice::ObjectPrx& b, const std::string& f, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1845
3424
|
{
|
1846
3425
|
return ::IceInternal::checkedCastImpl<P>(b, f, context);
|
1847
3426
|
}
|
1848
3427
|
|
3428
|
+
/**
|
3429
|
+
* Downcasts a proxy without confirming the target object's type via a remote invocation.
|
3430
|
+
* @param b The target proxy.
|
3431
|
+
* @param f A facet name.
|
3432
|
+
* @return A proxy with the requested type and facet.
|
3433
|
+
*/
|
1849
3434
|
template<typename P> inline P
|
1850
3435
|
uncheckedCast(const ::Ice::ObjectPrx& b, const std::string& f)
|
1851
3436
|
{
|
@@ -2094,6 +3679,12 @@ private:
|
|
2094
3679
|
namespace Ice
|
2095
3680
|
{
|
2096
3681
|
|
3682
|
+
/**
|
3683
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
3684
|
+
* IceProxy::Ice::Object::begin_ice_isA.
|
3685
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Object_ice_isA.
|
3686
|
+
* \headerfile Ice/Ice.h
|
3687
|
+
*/
|
2097
3688
|
template<class T>
|
2098
3689
|
class CallbackNC_Object_ice_isA : public Callback_Object_ice_isA_Base, public ::IceInternal::TwowayCallbackNC<T>
|
2099
3690
|
{
|
@@ -2110,6 +3701,7 @@ public:
|
|
2110
3701
|
{
|
2111
3702
|
}
|
2112
3703
|
|
3704
|
+
/// \cond INTERNAL
|
2113
3705
|
virtual void completed(const ::Ice::AsyncResultPtr& result) const
|
2114
3706
|
{
|
2115
3707
|
bool ret;
|
@@ -2127,12 +3719,19 @@ public:
|
|
2127
3719
|
(::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
|
2128
3720
|
}
|
2129
3721
|
}
|
3722
|
+
/// \endcond
|
2130
3723
|
|
2131
3724
|
private:
|
2132
3725
|
|
2133
3726
|
Response _response;
|
2134
3727
|
};
|
2135
3728
|
|
3729
|
+
/**
|
3730
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
3731
|
+
* IceProxy::Ice::Object::begin_ice_isA.
|
3732
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Object_ice_isA.
|
3733
|
+
* \headerfile Ice/Ice.h
|
3734
|
+
*/
|
2136
3735
|
template<class T, typename CT>
|
2137
3736
|
class Callback_Object_ice_isA : public Callback_Object_ice_isA_Base, public ::IceInternal::TwowayCallback<T, CT>
|
2138
3737
|
{
|
@@ -2149,6 +3748,7 @@ public:
|
|
2149
3748
|
{
|
2150
3749
|
}
|
2151
3750
|
|
3751
|
+
/// \cond INTERNAL
|
2152
3752
|
virtual void completed(const ::Ice::AsyncResultPtr& result) const
|
2153
3753
|
{
|
2154
3754
|
bool ret;
|
@@ -2167,12 +3767,19 @@ public:
|
|
2167
3767
|
CT::dynamicCast(result->getCookie()));
|
2168
3768
|
}
|
2169
3769
|
}
|
3770
|
+
/// \endcond
|
2170
3771
|
|
2171
3772
|
private:
|
2172
3773
|
|
2173
3774
|
Response _response;
|
2174
3775
|
};
|
2175
3776
|
|
3777
|
+
/**
|
3778
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
3779
|
+
* IceProxy::Ice::Object::begin_ice_ping.
|
3780
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Object_ice_ping.
|
3781
|
+
* \headerfile Ice/Ice.h
|
3782
|
+
*/
|
2176
3783
|
template<class T>
|
2177
3784
|
class CallbackNC_Object_ice_ping : public Callback_Object_ice_ping_Base, public ::IceInternal::OnewayCallbackNC<T>
|
2178
3785
|
{
|
@@ -2190,6 +3797,12 @@ public:
|
|
2190
3797
|
}
|
2191
3798
|
};
|
2192
3799
|
|
3800
|
+
/**
|
3801
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
3802
|
+
* IceProxy::Ice::Object::begin_ice_ping.
|
3803
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Object_ice_ping.
|
3804
|
+
* \headerfile Ice/Ice.h
|
3805
|
+
*/
|
2193
3806
|
template<class T, typename CT>
|
2194
3807
|
class Callback_Object_ice_ping : public Callback_Object_ice_ping_Base, public ::IceInternal::OnewayCallback<T, CT>
|
2195
3808
|
{
|
@@ -2207,6 +3820,12 @@ public:
|
|
2207
3820
|
}
|
2208
3821
|
};
|
2209
3822
|
|
3823
|
+
/**
|
3824
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
3825
|
+
* IceProxy::Ice::Object::begin_ice_ids.
|
3826
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Object_ice_ids.
|
3827
|
+
* \headerfile Ice/Ice.h
|
3828
|
+
*/
|
2210
3829
|
template<class T>
|
2211
3830
|
class CallbackNC_Object_ice_ids : public Callback_Object_ice_ids_Base, public ::IceInternal::TwowayCallbackNC<T>
|
2212
3831
|
{
|
@@ -2223,6 +3842,7 @@ public:
|
|
2223
3842
|
{
|
2224
3843
|
}
|
2225
3844
|
|
3845
|
+
/// \cond INTERNAL
|
2226
3846
|
virtual void completed(const ::Ice::AsyncResultPtr& result) const
|
2227
3847
|
{
|
2228
3848
|
::std::vector< ::std::string> ret;
|
@@ -2240,12 +3860,19 @@ public:
|
|
2240
3860
|
(::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
|
2241
3861
|
}
|
2242
3862
|
}
|
3863
|
+
/// \endcond
|
2243
3864
|
|
2244
3865
|
private:
|
2245
3866
|
|
2246
3867
|
Response _response;
|
2247
3868
|
};
|
2248
3869
|
|
3870
|
+
/**
|
3871
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
3872
|
+
* IceProxy::Ice::Object::begin_ice_ids.
|
3873
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Object_ice_ids.
|
3874
|
+
* \headerfile Ice/Ice.h
|
3875
|
+
*/
|
2249
3876
|
template<class T, typename CT>
|
2250
3877
|
class Callback_Object_ice_ids : public Callback_Object_ice_ids_Base, public ::IceInternal::TwowayCallback<T, CT>
|
2251
3878
|
{
|
@@ -2262,6 +3889,7 @@ public:
|
|
2262
3889
|
{
|
2263
3890
|
}
|
2264
3891
|
|
3892
|
+
/// \cond INTERNAL
|
2265
3893
|
virtual void completed(const ::Ice::AsyncResultPtr& result) const
|
2266
3894
|
{
|
2267
3895
|
::std::vector< ::std::string> ret;
|
@@ -2280,12 +3908,19 @@ public:
|
|
2280
3908
|
CT::dynamicCast(result->getCookie()));
|
2281
3909
|
}
|
2282
3910
|
}
|
3911
|
+
/// \endcond
|
2283
3912
|
|
2284
3913
|
private:
|
2285
3914
|
|
2286
3915
|
Response _response;
|
2287
3916
|
};
|
2288
3917
|
|
3918
|
+
/**
|
3919
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
3920
|
+
* IceProxy::Ice::Object::begin_ice_id.
|
3921
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Object_ice_id.
|
3922
|
+
* \headerfile Ice/Ice.h
|
3923
|
+
*/
|
2289
3924
|
template<class T>
|
2290
3925
|
class CallbackNC_Object_ice_id : public Callback_Object_ice_id_Base, public ::IceInternal::TwowayCallbackNC<T>
|
2291
3926
|
{
|
@@ -2302,6 +3937,7 @@ public:
|
|
2302
3937
|
{
|
2303
3938
|
}
|
2304
3939
|
|
3940
|
+
/// \cond INTERNAL
|
2305
3941
|
virtual void completed(const ::Ice::AsyncResultPtr& result) const
|
2306
3942
|
{
|
2307
3943
|
::std::string ret;
|
@@ -2319,12 +3955,19 @@ public:
|
|
2319
3955
|
(::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
|
2320
3956
|
}
|
2321
3957
|
}
|
3958
|
+
/// \endcond
|
2322
3959
|
|
2323
3960
|
private:
|
2324
3961
|
|
2325
3962
|
Response _response;
|
2326
3963
|
};
|
2327
3964
|
|
3965
|
+
/**
|
3966
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
3967
|
+
* IceProxy::Ice::Object::begin_ice_id.
|
3968
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Object_ice_id.
|
3969
|
+
* \headerfile Ice/Ice.h
|
3970
|
+
*/
|
2328
3971
|
template<class T, typename CT>
|
2329
3972
|
class Callback_Object_ice_id : public Callback_Object_ice_id_Base, public ::IceInternal::TwowayCallback<T, CT>
|
2330
3973
|
{
|
@@ -2341,6 +3984,7 @@ public:
|
|
2341
3984
|
{
|
2342
3985
|
}
|
2343
3986
|
|
3987
|
+
/// \cond INTERNAL
|
2344
3988
|
virtual void completed(const ::Ice::AsyncResultPtr& result) const
|
2345
3989
|
{
|
2346
3990
|
::std::string ret;
|
@@ -2359,12 +4003,19 @@ public:
|
|
2359
4003
|
CT::dynamicCast(result->getCookie()));
|
2360
4004
|
}
|
2361
4005
|
}
|
4006
|
+
/// \endcond
|
2362
4007
|
|
2363
4008
|
private:
|
2364
4009
|
|
2365
4010
|
Response _response;
|
2366
4011
|
};
|
2367
4012
|
|
4013
|
+
/**
|
4014
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
4015
|
+
* IceProxy::Ice::Object::begin_ice_invoke.
|
4016
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Object_ice_invoke.
|
4017
|
+
* \headerfile Ice/Ice.h
|
4018
|
+
*/
|
2368
4019
|
template<class T>
|
2369
4020
|
class CallbackNC_Object_ice_invoke : public Callback_Object_ice_invoke_Base, public ::IceInternal::TwowayCallbackNC<T>
|
2370
4021
|
{
|
@@ -2387,6 +4038,7 @@ public:
|
|
2387
4038
|
{
|
2388
4039
|
}
|
2389
4040
|
|
4041
|
+
/// \cond INTERNAL
|
2390
4042
|
virtual void completed(const ::Ice::AsyncResultPtr& result) const
|
2391
4043
|
{
|
2392
4044
|
if(_response)
|
@@ -2423,6 +4075,7 @@ public:
|
|
2423
4075
|
}
|
2424
4076
|
}
|
2425
4077
|
}
|
4078
|
+
/// \endcond
|
2426
4079
|
|
2427
4080
|
private:
|
2428
4081
|
|
@@ -2430,6 +4083,12 @@ private:
|
|
2430
4083
|
ResponseArray _responseArray;
|
2431
4084
|
};
|
2432
4085
|
|
4086
|
+
/**
|
4087
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
4088
|
+
* IceProxy::Ice::Object::begin_ice_invoke.
|
4089
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Object_ice_invoke.
|
4090
|
+
* \headerfile Ice/Ice.h
|
4091
|
+
*/
|
2433
4092
|
template<class T, typename CT>
|
2434
4093
|
class Callback_Object_ice_invoke : public Callback_Object_ice_invoke_Base, public ::IceInternal::TwowayCallback<T, CT>
|
2435
4094
|
{
|
@@ -2452,6 +4111,7 @@ public:
|
|
2452
4111
|
{
|
2453
4112
|
}
|
2454
4113
|
|
4114
|
+
/// \cond INTERNAL
|
2455
4115
|
virtual void completed(const ::Ice::AsyncResultPtr& result) const
|
2456
4116
|
{
|
2457
4117
|
if(_response)
|
@@ -2493,6 +4153,7 @@ public:
|
|
2493
4153
|
}
|
2494
4154
|
}
|
2495
4155
|
}
|
4156
|
+
/// \endcond
|
2496
4157
|
|
2497
4158
|
private:
|
2498
4159
|
|
@@ -2500,6 +4161,12 @@ private:
|
|
2500
4161
|
ResponseArray _responseArray;
|
2501
4162
|
};
|
2502
4163
|
|
4164
|
+
/**
|
4165
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
4166
|
+
* IceProxy::Ice::Object::begin_ice_getConnection.
|
4167
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Object_ice_getConnection.
|
4168
|
+
* \headerfile Ice/Ice.h
|
4169
|
+
*/
|
2503
4170
|
template<class T>
|
2504
4171
|
class CallbackNC_Object_ice_getConnection : public Callback_Object_ice_getConnection_Base,
|
2505
4172
|
public ::IceInternal::CallbackNC<T>
|
@@ -2517,6 +4184,7 @@ public:
|
|
2517
4184
|
{
|
2518
4185
|
}
|
2519
4186
|
|
4187
|
+
/// \cond INTERNAL
|
2520
4188
|
virtual void completed(const ::Ice::AsyncResultPtr& result) const
|
2521
4189
|
{
|
2522
4190
|
::Ice::ConnectionPtr ret;
|
@@ -2534,12 +4202,19 @@ public:
|
|
2534
4202
|
(::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
|
2535
4203
|
}
|
2536
4204
|
}
|
4205
|
+
/// \endcond
|
2537
4206
|
|
2538
4207
|
private:
|
2539
4208
|
|
2540
4209
|
Response _response;
|
2541
4210
|
};
|
2542
4211
|
|
4212
|
+
/**
|
4213
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
4214
|
+
* IceProxy::Ice::Object::begin_ice_getConnection.
|
4215
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Object_ice_getConnection.
|
4216
|
+
* \headerfile Ice/Ice.h
|
4217
|
+
*/
|
2543
4218
|
template<class T, typename CT>
|
2544
4219
|
class Callback_Object_ice_getConnection : public Callback_Object_ice_getConnection_Base,
|
2545
4220
|
public ::IceInternal::Callback<T, CT>
|
@@ -2557,6 +4232,7 @@ public:
|
|
2557
4232
|
{
|
2558
4233
|
}
|
2559
4234
|
|
4235
|
+
/// \cond INTERNAL
|
2560
4236
|
virtual void completed(const ::Ice::AsyncResultPtr& result) const
|
2561
4237
|
{
|
2562
4238
|
::Ice::ConnectionPtr ret;
|
@@ -2575,12 +4251,19 @@ public:
|
|
2575
4251
|
CT::dynamicCast(result->getCookie()));
|
2576
4252
|
}
|
2577
4253
|
}
|
4254
|
+
/// \endcond
|
2578
4255
|
|
2579
4256
|
private:
|
2580
4257
|
|
2581
4258
|
Response _response;
|
2582
4259
|
};
|
2583
4260
|
|
4261
|
+
/**
|
4262
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
4263
|
+
* IceProxy::Ice::Object::begin_ice_flushBatchRequests.
|
4264
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Object_ice_flushBatchRequests.
|
4265
|
+
* \headerfile Ice/Ice.h
|
4266
|
+
*/
|
2584
4267
|
template<class T>
|
2585
4268
|
class CallbackNC_Object_ice_flushBatchRequests : public Callback_Object_ice_flushBatchRequests_Base,
|
2586
4269
|
public ::IceInternal::OnewayCallbackNC<T>
|
@@ -2598,6 +4281,12 @@ public:
|
|
2598
4281
|
}
|
2599
4282
|
};
|
2600
4283
|
|
4284
|
+
/**
|
4285
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
4286
|
+
* IceProxy::Ice::Object::begin_ice_flushBatchRequests.
|
4287
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Object_ice_flushBatchRequests.
|
4288
|
+
* \headerfile Ice/Ice.h
|
4289
|
+
*/
|
2601
4290
|
template<class T, typename CT>
|
2602
4291
|
class Callback_Object_ice_flushBatchRequests : public Callback_Object_ice_flushBatchRequests_Base,
|
2603
4292
|
public ::IceInternal::OnewayCallback<T, CT>
|
@@ -2615,6 +4304,14 @@ public:
|
|
2615
4304
|
}
|
2616
4305
|
};
|
2617
4306
|
|
4307
|
+
/**
|
4308
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4309
|
+
* @param instance The callback object.
|
4310
|
+
* @param cb The success method of the callback object.
|
4311
|
+
* @param excb The exception method of the callback object.
|
4312
|
+
* @param sentcb The sent method of the callback object.
|
4313
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_isA.
|
4314
|
+
*/
|
2618
4315
|
template<class T> Callback_Object_ice_isAPtr
|
2619
4316
|
newCallback_Object_ice_isA(const IceUtil::Handle<T>& instance,
|
2620
4317
|
void (T::*cb)(bool),
|
@@ -2624,6 +4321,14 @@ newCallback_Object_ice_isA(const IceUtil::Handle<T>& instance,
|
|
2624
4321
|
return new CallbackNC_Object_ice_isA<T>(instance, cb, excb, sentcb);
|
2625
4322
|
}
|
2626
4323
|
|
4324
|
+
/**
|
4325
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4326
|
+
* @param instance The callback object.
|
4327
|
+
* @param cb The success method of the callback object.
|
4328
|
+
* @param excb The exception method of the callback object.
|
4329
|
+
* @param sentcb The sent method of the callback object.
|
4330
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_isA.
|
4331
|
+
*/
|
2627
4332
|
template<class T, typename CT> Callback_Object_ice_isAPtr
|
2628
4333
|
newCallback_Object_ice_isA(const IceUtil::Handle<T>& instance,
|
2629
4334
|
void (T::*cb)(bool, const CT&),
|
@@ -2633,6 +4338,13 @@ newCallback_Object_ice_isA(const IceUtil::Handle<T>& instance,
|
|
2633
4338
|
return new Callback_Object_ice_isA<T, CT>(instance, cb, excb, sentcb);
|
2634
4339
|
}
|
2635
4340
|
|
4341
|
+
/**
|
4342
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4343
|
+
* @param instance The callback object.
|
4344
|
+
* @param excb The exception method of the callback object.
|
4345
|
+
* @param sentcb The sent method of the callback object.
|
4346
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_isA.
|
4347
|
+
*/
|
2636
4348
|
template<class T> Callback_Object_ice_isAPtr
|
2637
4349
|
newCallback_Object_ice_isA(const IceUtil::Handle<T>& instance,
|
2638
4350
|
void (T::*excb)(const ::Ice::Exception&),
|
@@ -2641,6 +4353,13 @@ newCallback_Object_ice_isA(const IceUtil::Handle<T>& instance,
|
|
2641
4353
|
return new CallbackNC_Object_ice_isA<T>(instance, 0, excb, sentcb);
|
2642
4354
|
}
|
2643
4355
|
|
4356
|
+
/**
|
4357
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4358
|
+
* @param instance The callback object.
|
4359
|
+
* @param excb The exception method of the callback object.
|
4360
|
+
* @param sentcb The sent method of the callback object.
|
4361
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_isA.
|
4362
|
+
*/
|
2644
4363
|
template<class T, typename CT> Callback_Object_ice_isAPtr
|
2645
4364
|
newCallback_Object_ice_isA(const IceUtil::Handle<T>& instance,
|
2646
4365
|
void (T::*excb)(const ::Ice::Exception&, const CT&),
|
@@ -2649,6 +4368,14 @@ newCallback_Object_ice_isA(const IceUtil::Handle<T>& instance,
|
|
2649
4368
|
return new Callback_Object_ice_isA<T, CT>(instance, 0, excb, sentcb);
|
2650
4369
|
}
|
2651
4370
|
|
4371
|
+
/**
|
4372
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4373
|
+
* @param instance The callback object.
|
4374
|
+
* @param cb The success method of the callback object.
|
4375
|
+
* @param excb The exception method of the callback object.
|
4376
|
+
* @param sentcb The sent method of the callback object.
|
4377
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_isA.
|
4378
|
+
*/
|
2652
4379
|
template<class T> Callback_Object_ice_isAPtr
|
2653
4380
|
newCallback_Object_ice_isA(T* instance,
|
2654
4381
|
void (T::*cb)(bool),
|
@@ -2658,6 +4385,14 @@ newCallback_Object_ice_isA(T* instance,
|
|
2658
4385
|
return new CallbackNC_Object_ice_isA<T>(instance, cb, excb, sentcb);
|
2659
4386
|
}
|
2660
4387
|
|
4388
|
+
/**
|
4389
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4390
|
+
* @param instance The callback object.
|
4391
|
+
* @param cb The success method of the callback object.
|
4392
|
+
* @param excb The exception method of the callback object.
|
4393
|
+
* @param sentcb The sent method of the callback object.
|
4394
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_isA.
|
4395
|
+
*/
|
2661
4396
|
template<class T, typename CT> Callback_Object_ice_isAPtr
|
2662
4397
|
newCallback_Object_ice_isA(T* instance,
|
2663
4398
|
void (T::*cb)(bool, const CT&),
|
@@ -2667,6 +4402,13 @@ newCallback_Object_ice_isA(T* instance,
|
|
2667
4402
|
return new Callback_Object_ice_isA<T, CT>(instance, cb, excb, sentcb);
|
2668
4403
|
}
|
2669
4404
|
|
4405
|
+
/**
|
4406
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4407
|
+
* @param instance The callback object.
|
4408
|
+
* @param excb The exception method of the callback object.
|
4409
|
+
* @param sentcb The sent method of the callback object.
|
4410
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_isA.
|
4411
|
+
*/
|
2670
4412
|
template<class T> Callback_Object_ice_isAPtr
|
2671
4413
|
newCallback_Object_ice_isA(T* instance,
|
2672
4414
|
void (T::*excb)(const ::Ice::Exception&),
|
@@ -2675,6 +4417,13 @@ newCallback_Object_ice_isA(T* instance,
|
|
2675
4417
|
return new CallbackNC_Object_ice_isA<T>(instance, 0, excb, sentcb);
|
2676
4418
|
}
|
2677
4419
|
|
4420
|
+
/**
|
4421
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4422
|
+
* @param instance The callback object.
|
4423
|
+
* @param excb The exception method of the callback object.
|
4424
|
+
* @param sentcb The sent method of the callback object.
|
4425
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_isA.
|
4426
|
+
*/
|
2678
4427
|
template<class T, typename CT> Callback_Object_ice_isAPtr
|
2679
4428
|
newCallback_Object_ice_isA(T* instance,
|
2680
4429
|
void (T::*excb)(const ::Ice::Exception&, const CT&),
|
@@ -2683,6 +4432,14 @@ newCallback_Object_ice_isA(T* instance,
|
|
2683
4432
|
return new Callback_Object_ice_isA<T, CT>(instance, 0, excb, sentcb);
|
2684
4433
|
}
|
2685
4434
|
|
4435
|
+
/**
|
4436
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4437
|
+
* @param instance The callback object.
|
4438
|
+
* @param cb The success method of the callback object.
|
4439
|
+
* @param excb The exception method of the callback object.
|
4440
|
+
* @param sentcb The sent method of the callback object.
|
4441
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_ping.
|
4442
|
+
*/
|
2686
4443
|
template<class T> Callback_Object_ice_pingPtr
|
2687
4444
|
newCallback_Object_ice_ping(const IceUtil::Handle<T>& instance,
|
2688
4445
|
void (T::*cb)(),
|
@@ -2692,6 +4449,14 @@ newCallback_Object_ice_ping(const IceUtil::Handle<T>& instance,
|
|
2692
4449
|
return new CallbackNC_Object_ice_ping<T>(instance, cb, excb, sentcb);
|
2693
4450
|
}
|
2694
4451
|
|
4452
|
+
/**
|
4453
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4454
|
+
* @param instance The callback object.
|
4455
|
+
* @param cb The success method of the callback object.
|
4456
|
+
* @param excb The exception method of the callback object.
|
4457
|
+
* @param sentcb The sent method of the callback object.
|
4458
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_ping.
|
4459
|
+
*/
|
2695
4460
|
template<class T, typename CT> Callback_Object_ice_pingPtr
|
2696
4461
|
newCallback_Object_ice_ping(const IceUtil::Handle<T>& instance,
|
2697
4462
|
void (T::*cb)(const CT&),
|
@@ -2701,6 +4466,13 @@ newCallback_Object_ice_ping(const IceUtil::Handle<T>& instance,
|
|
2701
4466
|
return new Callback_Object_ice_ping<T, CT>(instance, cb, excb, sentcb);
|
2702
4467
|
}
|
2703
4468
|
|
4469
|
+
/**
|
4470
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4471
|
+
* @param instance The callback object.
|
4472
|
+
* @param excb The exception method of the callback object.
|
4473
|
+
* @param sentcb The sent method of the callback object.
|
4474
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_ping.
|
4475
|
+
*/
|
2704
4476
|
template<class T> Callback_Object_ice_pingPtr
|
2705
4477
|
newCallback_Object_ice_ping(const IceUtil::Handle<T>& instance,
|
2706
4478
|
void (T::*excb)(const ::Ice::Exception&),
|
@@ -2709,6 +4481,13 @@ newCallback_Object_ice_ping(const IceUtil::Handle<T>& instance,
|
|
2709
4481
|
return new CallbackNC_Object_ice_ping<T>(instance, 0, excb, sentcb);
|
2710
4482
|
}
|
2711
4483
|
|
4484
|
+
/**
|
4485
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4486
|
+
* @param instance The callback object.
|
4487
|
+
* @param excb The exception method of the callback object.
|
4488
|
+
* @param sentcb The sent method of the callback object.
|
4489
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_ping.
|
4490
|
+
*/
|
2712
4491
|
template<class T, typename CT> Callback_Object_ice_pingPtr
|
2713
4492
|
newCallback_Object_ice_ping(const IceUtil::Handle<T>& instance,
|
2714
4493
|
void (T::*excb)(const ::Ice::Exception&, const CT&),
|
@@ -2717,6 +4496,14 @@ newCallback_Object_ice_ping(const IceUtil::Handle<T>& instance,
|
|
2717
4496
|
return new Callback_Object_ice_ping<T, CT>(instance, 0, excb, sentcb);
|
2718
4497
|
}
|
2719
4498
|
|
4499
|
+
/**
|
4500
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4501
|
+
* @param instance The callback object.
|
4502
|
+
* @param cb The success method of the callback object.
|
4503
|
+
* @param excb The exception method of the callback object.
|
4504
|
+
* @param sentcb The sent method of the callback object.
|
4505
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_ping.
|
4506
|
+
*/
|
2720
4507
|
template<class T> Callback_Object_ice_pingPtr
|
2721
4508
|
newCallback_Object_ice_ping(T* instance,
|
2722
4509
|
void (T::*cb)(),
|
@@ -2726,6 +4513,14 @@ newCallback_Object_ice_ping(T* instance,
|
|
2726
4513
|
return new CallbackNC_Object_ice_ping<T>(instance, cb, excb, sentcb);
|
2727
4514
|
}
|
2728
4515
|
|
4516
|
+
/**
|
4517
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4518
|
+
* @param instance The callback object.
|
4519
|
+
* @param cb The success method of the callback object.
|
4520
|
+
* @param excb The exception method of the callback object.
|
4521
|
+
* @param sentcb The sent method of the callback object.
|
4522
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_ping.
|
4523
|
+
*/
|
2729
4524
|
template<class T, typename CT> Callback_Object_ice_pingPtr
|
2730
4525
|
newCallback_Object_ice_ping(T* instance,
|
2731
4526
|
void (T::*cb)(const CT&),
|
@@ -2735,6 +4530,13 @@ newCallback_Object_ice_ping(T* instance,
|
|
2735
4530
|
return new Callback_Object_ice_ping<T, CT>(instance, cb, excb, sentcb);
|
2736
4531
|
}
|
2737
4532
|
|
4533
|
+
/**
|
4534
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4535
|
+
* @param instance The callback object.
|
4536
|
+
* @param excb The exception method of the callback object.
|
4537
|
+
* @param sentcb The sent method of the callback object.
|
4538
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_ping.
|
4539
|
+
*/
|
2738
4540
|
template<class T> Callback_Object_ice_pingPtr
|
2739
4541
|
newCallback_Object_ice_ping(T* instance,
|
2740
4542
|
void (T::*excb)(const ::Ice::Exception&),
|
@@ -2743,6 +4545,13 @@ newCallback_Object_ice_ping(T* instance,
|
|
2743
4545
|
return new CallbackNC_Object_ice_ping<T>(instance, 0, excb, sentcb);
|
2744
4546
|
}
|
2745
4547
|
|
4548
|
+
/**
|
4549
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4550
|
+
* @param instance The callback object.
|
4551
|
+
* @param excb The exception method of the callback object.
|
4552
|
+
* @param sentcb The sent method of the callback object.
|
4553
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_ping.
|
4554
|
+
*/
|
2746
4555
|
template<class T, typename CT> Callback_Object_ice_pingPtr
|
2747
4556
|
newCallback_Object_ice_ping(T* instance,
|
2748
4557
|
void (T::*excb)(const ::Ice::Exception&, const CT&),
|
@@ -2751,6 +4560,14 @@ newCallback_Object_ice_ping(T* instance,
|
|
2751
4560
|
return new Callback_Object_ice_ping<T, CT>(instance, 0, excb, sentcb);
|
2752
4561
|
}
|
2753
4562
|
|
4563
|
+
/**
|
4564
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4565
|
+
* @param instance The callback object.
|
4566
|
+
* @param cb The success method of the callback object.
|
4567
|
+
* @param excb The exception method of the callback object.
|
4568
|
+
* @param sentcb The sent method of the callback object.
|
4569
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_ids.
|
4570
|
+
*/
|
2754
4571
|
template<class T> Callback_Object_ice_idsPtr
|
2755
4572
|
newCallback_Object_ice_ids(const IceUtil::Handle<T>& instance,
|
2756
4573
|
void (T::*cb)(const ::std::vector< ::std::string>&),
|
@@ -2760,6 +4577,14 @@ newCallback_Object_ice_ids(const IceUtil::Handle<T>& instance,
|
|
2760
4577
|
return new CallbackNC_Object_ice_ids<T>(instance, cb, excb, sentcb);
|
2761
4578
|
}
|
2762
4579
|
|
4580
|
+
/**
|
4581
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4582
|
+
* @param instance The callback object.
|
4583
|
+
* @param cb The success method of the callback object.
|
4584
|
+
* @param excb The exception method of the callback object.
|
4585
|
+
* @param sentcb The sent method of the callback object.
|
4586
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_ids.
|
4587
|
+
*/
|
2763
4588
|
template<class T, typename CT> Callback_Object_ice_idsPtr
|
2764
4589
|
newCallback_Object_ice_ids(const IceUtil::Handle<T>& instance,
|
2765
4590
|
void (T::*cb)(const ::std::vector< ::std::string>&, const CT&),
|
@@ -2769,6 +4594,13 @@ newCallback_Object_ice_ids(const IceUtil::Handle<T>& instance,
|
|
2769
4594
|
return new Callback_Object_ice_ids<T, CT>(instance, cb, excb, sentcb);
|
2770
4595
|
}
|
2771
4596
|
|
4597
|
+
/**
|
4598
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4599
|
+
* @param instance The callback object.
|
4600
|
+
* @param excb The exception method of the callback object.
|
4601
|
+
* @param sentcb The sent method of the callback object.
|
4602
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_ids.
|
4603
|
+
*/
|
2772
4604
|
template<class T> Callback_Object_ice_idsPtr
|
2773
4605
|
newCallback_Object_ice_ids(const IceUtil::Handle<T>& instance,
|
2774
4606
|
void (T::*excb)(const ::Ice::Exception&),
|
@@ -2777,6 +4609,13 @@ newCallback_Object_ice_ids(const IceUtil::Handle<T>& instance,
|
|
2777
4609
|
return new CallbackNC_Object_ice_ids<T>(instance, 0, excb, sentcb);
|
2778
4610
|
}
|
2779
4611
|
|
4612
|
+
/**
|
4613
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4614
|
+
* @param instance The callback object.
|
4615
|
+
* @param excb The exception method of the callback object.
|
4616
|
+
* @param sentcb The sent method of the callback object.
|
4617
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_ids.
|
4618
|
+
*/
|
2780
4619
|
template<class T, typename CT> Callback_Object_ice_idsPtr
|
2781
4620
|
newCallback_Object_ice_ids(const IceUtil::Handle<T>& instance,
|
2782
4621
|
void (T::*excb)(const ::Ice::Exception&, const CT&),
|
@@ -2785,6 +4624,14 @@ newCallback_Object_ice_ids(const IceUtil::Handle<T>& instance,
|
|
2785
4624
|
return new Callback_Object_ice_ids<T, CT>(instance, 0, excb, sentcb);
|
2786
4625
|
}
|
2787
4626
|
|
4627
|
+
/**
|
4628
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4629
|
+
* @param instance The callback object.
|
4630
|
+
* @param cb The success method of the callback object.
|
4631
|
+
* @param excb The exception method of the callback object.
|
4632
|
+
* @param sentcb The sent method of the callback object.
|
4633
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_ids.
|
4634
|
+
*/
|
2788
4635
|
template<class T> Callback_Object_ice_idsPtr
|
2789
4636
|
newCallback_Object_ice_ids(T* instance,
|
2790
4637
|
void (T::*cb)(const ::std::vector< ::std::string>&),
|
@@ -2794,6 +4641,14 @@ newCallback_Object_ice_ids(T* instance,
|
|
2794
4641
|
return new CallbackNC_Object_ice_ids<T>(instance, cb, excb, sentcb);
|
2795
4642
|
}
|
2796
4643
|
|
4644
|
+
/**
|
4645
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4646
|
+
* @param instance The callback object.
|
4647
|
+
* @param cb The success method of the callback object.
|
4648
|
+
* @param excb The exception method of the callback object.
|
4649
|
+
* @param sentcb The sent method of the callback object.
|
4650
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_ids.
|
4651
|
+
*/
|
2797
4652
|
template<class T, typename CT> Callback_Object_ice_idsPtr
|
2798
4653
|
newCallback_Object_ice_ids(T* instance,
|
2799
4654
|
void (T::*cb)(const ::std::vector< ::std::string>&, const CT&),
|
@@ -2803,6 +4658,13 @@ newCallback_Object_ice_ids(T* instance,
|
|
2803
4658
|
return new Callback_Object_ice_ids<T, CT>(instance, cb, excb, sentcb);
|
2804
4659
|
}
|
2805
4660
|
|
4661
|
+
/**
|
4662
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4663
|
+
* @param instance The callback object.
|
4664
|
+
* @param excb The exception method of the callback object.
|
4665
|
+
* @param sentcb The sent method of the callback object.
|
4666
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_ids.
|
4667
|
+
*/
|
2806
4668
|
template<class T> Callback_Object_ice_idsPtr
|
2807
4669
|
newCallback_Object_ice_ids(T* instance,
|
2808
4670
|
void (T::*excb)(const ::Ice::Exception&),
|
@@ -2811,6 +4673,13 @@ newCallback_Object_ice_ids(T* instance,
|
|
2811
4673
|
return new CallbackNC_Object_ice_ids<T>(instance, 0, excb, sentcb);
|
2812
4674
|
}
|
2813
4675
|
|
4676
|
+
/**
|
4677
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4678
|
+
* @param instance The callback object.
|
4679
|
+
* @param excb The exception method of the callback object.
|
4680
|
+
* @param sentcb The sent method of the callback object.
|
4681
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_ids.
|
4682
|
+
*/
|
2814
4683
|
template<class T, typename CT> Callback_Object_ice_idsPtr
|
2815
4684
|
newCallback_Object_ice_ids(T* instance,
|
2816
4685
|
void (T::*excb)(const ::Ice::Exception&, const CT&),
|
@@ -2819,6 +4688,14 @@ newCallback_Object_ice_ids(T* instance,
|
|
2819
4688
|
return new Callback_Object_ice_ids<T, CT>(instance, 0, excb, sentcb);
|
2820
4689
|
}
|
2821
4690
|
|
4691
|
+
/**
|
4692
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4693
|
+
* @param instance The callback object.
|
4694
|
+
* @param cb The success method of the callback object.
|
4695
|
+
* @param excb The exception method of the callback object.
|
4696
|
+
* @param sentcb The sent method of the callback object.
|
4697
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_id.
|
4698
|
+
*/
|
2822
4699
|
template<class T> Callback_Object_ice_idPtr
|
2823
4700
|
newCallback_Object_ice_id(const IceUtil::Handle<T>& instance,
|
2824
4701
|
void (T::*cb)(const ::std::string&),
|
@@ -2828,6 +4705,14 @@ newCallback_Object_ice_id(const IceUtil::Handle<T>& instance,
|
|
2828
4705
|
return new CallbackNC_Object_ice_id<T>(instance, cb, excb, sentcb);
|
2829
4706
|
}
|
2830
4707
|
|
4708
|
+
/**
|
4709
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4710
|
+
* @param instance The callback object.
|
4711
|
+
* @param cb The success method of the callback object.
|
4712
|
+
* @param excb The exception method of the callback object.
|
4713
|
+
* @param sentcb The sent method of the callback object.
|
4714
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_id.
|
4715
|
+
*/
|
2831
4716
|
template<class T, typename CT> Callback_Object_ice_idPtr
|
2832
4717
|
newCallback_Object_ice_id(const IceUtil::Handle<T>& instance,
|
2833
4718
|
void (T::*cb)(const ::std::string&, const CT&),
|
@@ -2837,6 +4722,13 @@ newCallback_Object_ice_id(const IceUtil::Handle<T>& instance,
|
|
2837
4722
|
return new Callback_Object_ice_id<T, CT>(instance, cb, excb, sentcb);
|
2838
4723
|
}
|
2839
4724
|
|
4725
|
+
/**
|
4726
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4727
|
+
* @param instance The callback object.
|
4728
|
+
* @param excb The exception method of the callback object.
|
4729
|
+
* @param sentcb The sent method of the callback object.
|
4730
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_id.
|
4731
|
+
*/
|
2840
4732
|
template<class T> Callback_Object_ice_idPtr
|
2841
4733
|
newCallback_Object_ice_id(const IceUtil::Handle<T>& instance,
|
2842
4734
|
void (T::*excb)(const ::Ice::Exception&),
|
@@ -2845,6 +4737,13 @@ newCallback_Object_ice_id(const IceUtil::Handle<T>& instance,
|
|
2845
4737
|
return new CallbackNC_Object_ice_id<T>(instance, 0, excb, sentcb);
|
2846
4738
|
}
|
2847
4739
|
|
4740
|
+
/**
|
4741
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4742
|
+
* @param instance The callback object.
|
4743
|
+
* @param excb The exception method of the callback object.
|
4744
|
+
* @param sentcb The sent method of the callback object.
|
4745
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_id.
|
4746
|
+
*/
|
2848
4747
|
template<class T, typename CT> Callback_Object_ice_idPtr
|
2849
4748
|
newCallback_Object_ice_id(const IceUtil::Handle<T>& instance,
|
2850
4749
|
void (T::*excb)(const ::Ice::Exception&, const CT&),
|
@@ -2853,6 +4752,14 @@ newCallback_Object_ice_id(const IceUtil::Handle<T>& instance,
|
|
2853
4752
|
return new Callback_Object_ice_id<T, CT>(instance, 0, excb, sentcb);
|
2854
4753
|
}
|
2855
4754
|
|
4755
|
+
/**
|
4756
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4757
|
+
* @param instance The callback object.
|
4758
|
+
* @param cb The success method of the callback object.
|
4759
|
+
* @param excb The exception method of the callback object.
|
4760
|
+
* @param sentcb The sent method of the callback object.
|
4761
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_id.
|
4762
|
+
*/
|
2856
4763
|
template<class T> Callback_Object_ice_idPtr
|
2857
4764
|
newCallback_Object_ice_id(T* instance,
|
2858
4765
|
void (T::*cb)(const ::std::string&),
|
@@ -2862,6 +4769,14 @@ newCallback_Object_ice_id(T* instance,
|
|
2862
4769
|
return new CallbackNC_Object_ice_id<T>(instance, cb, excb, sentcb);
|
2863
4770
|
}
|
2864
4771
|
|
4772
|
+
/**
|
4773
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4774
|
+
* @param instance The callback object.
|
4775
|
+
* @param cb The success method of the callback object.
|
4776
|
+
* @param excb The exception method of the callback object.
|
4777
|
+
* @param sentcb The sent method of the callback object.
|
4778
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_id.
|
4779
|
+
*/
|
2865
4780
|
template<class T, typename CT> Callback_Object_ice_idPtr
|
2866
4781
|
newCallback_Object_ice_id(T* instance,
|
2867
4782
|
void (T::*cb)(const ::std::string&, const CT&),
|
@@ -2871,6 +4786,13 @@ newCallback_Object_ice_id(T* instance,
|
|
2871
4786
|
return new Callback_Object_ice_id<T, CT>(instance, cb, excb, sentcb);
|
2872
4787
|
}
|
2873
4788
|
|
4789
|
+
/**
|
4790
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4791
|
+
* @param instance The callback object.
|
4792
|
+
* @param excb The exception method of the callback object.
|
4793
|
+
* @param sentcb The sent method of the callback object.
|
4794
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_id.
|
4795
|
+
*/
|
2874
4796
|
template<class T> Callback_Object_ice_idPtr
|
2875
4797
|
newCallback_Object_ice_id(T* instance,
|
2876
4798
|
void (T::*excb)(const ::Ice::Exception&),
|
@@ -2879,6 +4801,13 @@ newCallback_Object_ice_id(T* instance,
|
|
2879
4801
|
return new CallbackNC_Object_ice_id<T>(instance, 0, excb, sentcb);
|
2880
4802
|
}
|
2881
4803
|
|
4804
|
+
/**
|
4805
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4806
|
+
* @param instance The callback object.
|
4807
|
+
* @param excb The exception method of the callback object.
|
4808
|
+
* @param sentcb The sent method of the callback object.
|
4809
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_id.
|
4810
|
+
*/
|
2882
4811
|
template<class T, typename CT> Callback_Object_ice_idPtr
|
2883
4812
|
newCallback_Object_ice_id(T* instance,
|
2884
4813
|
void (T::*excb)(const ::Ice::Exception&, const CT&),
|
@@ -2887,6 +4816,14 @@ newCallback_Object_ice_id(T* instance,
|
|
2887
4816
|
return new Callback_Object_ice_id<T, CT>(instance, 0, excb, sentcb);
|
2888
4817
|
}
|
2889
4818
|
|
4819
|
+
/**
|
4820
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4821
|
+
* @param instance The callback object.
|
4822
|
+
* @param cb The success method of the callback object.
|
4823
|
+
* @param excb The exception method of the callback object.
|
4824
|
+
* @param sentcb The sent method of the callback object.
|
4825
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_invoke.
|
4826
|
+
*/
|
2890
4827
|
template<class T> Callback_Object_ice_invokePtr
|
2891
4828
|
newCallback_Object_ice_invoke(const IceUtil::Handle<T>& instance,
|
2892
4829
|
void (T::*cb)(bool, const std::vector<Ice::Byte>&),
|
@@ -2896,6 +4833,14 @@ newCallback_Object_ice_invoke(const IceUtil::Handle<T>& instance,
|
|
2896
4833
|
return new CallbackNC_Object_ice_invoke<T>(instance, cb, excb, sentcb);
|
2897
4834
|
}
|
2898
4835
|
|
4836
|
+
/**
|
4837
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4838
|
+
* @param instance The callback object.
|
4839
|
+
* @param cb The success method of the callback object.
|
4840
|
+
* @param excb The exception method of the callback object.
|
4841
|
+
* @param sentcb The sent method of the callback object.
|
4842
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_invoke.
|
4843
|
+
*/
|
2899
4844
|
template<class T> Callback_Object_ice_invokePtr
|
2900
4845
|
newCallback_Object_ice_invoke(const IceUtil::Handle<T>& instance,
|
2901
4846
|
void (T::*cb)(bool, const std::pair<const Byte*, const Byte*>&),
|
@@ -2905,6 +4850,14 @@ newCallback_Object_ice_invoke(const IceUtil::Handle<T>& instance,
|
|
2905
4850
|
return new CallbackNC_Object_ice_invoke<T>(instance, cb, excb, sentcb);
|
2906
4851
|
}
|
2907
4852
|
|
4853
|
+
/**
|
4854
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4855
|
+
* @param instance The callback object.
|
4856
|
+
* @param cb The success method of the callback object.
|
4857
|
+
* @param excb The exception method of the callback object.
|
4858
|
+
* @param sentcb The sent method of the callback object.
|
4859
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_invoke.
|
4860
|
+
*/
|
2908
4861
|
template<class T, typename CT> Callback_Object_ice_invokePtr
|
2909
4862
|
newCallback_Object_ice_invoke(const IceUtil::Handle<T>& instance,
|
2910
4863
|
void (T::*cb)(bool, const std::vector<Ice::Byte>&, const CT&),
|
@@ -2914,6 +4867,14 @@ newCallback_Object_ice_invoke(const IceUtil::Handle<T>& instance,
|
|
2914
4867
|
return new Callback_Object_ice_invoke<T, CT>(instance, cb, excb, sentcb);
|
2915
4868
|
}
|
2916
4869
|
|
4870
|
+
/**
|
4871
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4872
|
+
* @param instance The callback object.
|
4873
|
+
* @param cb The success method of the callback object.
|
4874
|
+
* @param excb The exception method of the callback object.
|
4875
|
+
* @param sentcb The sent method of the callback object.
|
4876
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_invoke.
|
4877
|
+
*/
|
2917
4878
|
template<class T, typename CT> Callback_Object_ice_invokePtr
|
2918
4879
|
newCallback_Object_ice_invoke(const IceUtil::Handle<T>& instance,
|
2919
4880
|
void (T::*cb)(bool, const std::pair<const Byte*, const Byte*>&,
|
@@ -2924,6 +4885,13 @@ newCallback_Object_ice_invoke(const IceUtil::Handle<T>& instance,
|
|
2924
4885
|
return new Callback_Object_ice_invoke<T, CT>(instance, cb, excb, sentcb);
|
2925
4886
|
}
|
2926
4887
|
|
4888
|
+
/**
|
4889
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4890
|
+
* @param instance The callback object.
|
4891
|
+
* @param excb The exception method of the callback object.
|
4892
|
+
* @param sentcb The sent method of the callback object.
|
4893
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_invoke.
|
4894
|
+
*/
|
2927
4895
|
template<class T> Callback_Object_ice_invokePtr
|
2928
4896
|
newCallback_Object_ice_invoke(const IceUtil::Handle<T>& instance,
|
2929
4897
|
void (T::*excb)(const ::Ice::Exception&),
|
@@ -2932,6 +4900,13 @@ newCallback_Object_ice_invoke(const IceUtil::Handle<T>& instance,
|
|
2932
4900
|
return new CallbackNC_Object_ice_invoke<T>(instance, 0, excb, sentcb);
|
2933
4901
|
}
|
2934
4902
|
|
4903
|
+
/**
|
4904
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4905
|
+
* @param instance The callback object.
|
4906
|
+
* @param excb The exception method of the callback object.
|
4907
|
+
* @param sentcb The sent method of the callback object.
|
4908
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_invoke.
|
4909
|
+
*/
|
2935
4910
|
template<class T, typename CT> Callback_Object_ice_invokePtr
|
2936
4911
|
newCallback_Object_ice_invoke(const IceUtil::Handle<T>& instance,
|
2937
4912
|
void (T::*excb)(const ::Ice::Exception&, const CT&),
|
@@ -2940,6 +4915,14 @@ newCallback_Object_ice_invoke(const IceUtil::Handle<T>& instance,
|
|
2940
4915
|
return new Callback_Object_ice_invoke<T, CT>(instance, 0, excb, sentcb);
|
2941
4916
|
}
|
2942
4917
|
|
4918
|
+
/**
|
4919
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4920
|
+
* @param instance The callback object.
|
4921
|
+
* @param cb The success method of the callback object.
|
4922
|
+
* @param excb The exception method of the callback object.
|
4923
|
+
* @param sentcb The sent method of the callback object.
|
4924
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_invoke.
|
4925
|
+
*/
|
2943
4926
|
template<class T> Callback_Object_ice_invokePtr
|
2944
4927
|
newCallback_Object_ice_invoke(T* instance,
|
2945
4928
|
void (T::*cb)(bool, const std::vector<Ice::Byte>&),
|
@@ -2949,6 +4932,14 @@ newCallback_Object_ice_invoke(T* instance,
|
|
2949
4932
|
return new CallbackNC_Object_ice_invoke<T>(instance, cb, excb, sentcb);
|
2950
4933
|
}
|
2951
4934
|
|
4935
|
+
/**
|
4936
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4937
|
+
* @param instance The callback object.
|
4938
|
+
* @param cb The success method of the callback object.
|
4939
|
+
* @param excb The exception method of the callback object.
|
4940
|
+
* @param sentcb The sent method of the callback object.
|
4941
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_invoke.
|
4942
|
+
*/
|
2952
4943
|
template<class T> Callback_Object_ice_invokePtr
|
2953
4944
|
newCallback_Object_ice_invoke(T* instance,
|
2954
4945
|
void (T::*cb)(bool, const std::pair<const Byte*, const Byte*>&),
|
@@ -2958,6 +4949,14 @@ newCallback_Object_ice_invoke(T* instance,
|
|
2958
4949
|
return new CallbackNC_Object_ice_invoke<T>(instance, cb, excb, sentcb);
|
2959
4950
|
}
|
2960
4951
|
|
4952
|
+
/**
|
4953
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4954
|
+
* @param instance The callback object.
|
4955
|
+
* @param cb The success method of the callback object.
|
4956
|
+
* @param excb The exception method of the callback object.
|
4957
|
+
* @param sentcb The sent method of the callback object.
|
4958
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_invoke.
|
4959
|
+
*/
|
2961
4960
|
template<class T, typename CT> Callback_Object_ice_invokePtr
|
2962
4961
|
newCallback_Object_ice_invoke(T* instance,
|
2963
4962
|
void (T::*cb)(bool, const std::vector<Ice::Byte>&, const CT&),
|
@@ -2967,6 +4966,14 @@ newCallback_Object_ice_invoke(T* instance,
|
|
2967
4966
|
return new Callback_Object_ice_invoke<T, CT>(instance, cb, excb, sentcb);
|
2968
4967
|
}
|
2969
4968
|
|
4969
|
+
/**
|
4970
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4971
|
+
* @param instance The callback object.
|
4972
|
+
* @param cb The success method of the callback object.
|
4973
|
+
* @param excb The exception method of the callback object.
|
4974
|
+
* @param sentcb The sent method of the callback object.
|
4975
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_invoke.
|
4976
|
+
*/
|
2970
4977
|
template<class T, typename CT> Callback_Object_ice_invokePtr
|
2971
4978
|
newCallback_Object_ice_invoke(T* instance,
|
2972
4979
|
void (T::*cb)(bool, const std::pair<const Byte*, const Byte*>&, const CT&),
|
@@ -2976,6 +4983,13 @@ newCallback_Object_ice_invoke(T* instance,
|
|
2976
4983
|
return new Callback_Object_ice_invoke<T, CT>(instance, cb, excb, sentcb);
|
2977
4984
|
}
|
2978
4985
|
|
4986
|
+
/**
|
4987
|
+
* Creates a callback wrapper instance that delegates to your object.
|
4988
|
+
* @param instance The callback object.
|
4989
|
+
* @param excb The exception method of the callback object.
|
4990
|
+
* @param sentcb The sent method of the callback object.
|
4991
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_invoke.
|
4992
|
+
*/
|
2979
4993
|
template<class T> Callback_Object_ice_invokePtr
|
2980
4994
|
newCallback_Object_ice_invoke(T* instance,
|
2981
4995
|
void (T::*excb)(const ::Ice::Exception&),
|
@@ -2985,6 +4999,13 @@ newCallback_Object_ice_invoke(T* instance,
|
|
2985
4999
|
instance, static_cast<void (T::*)(bool, const std::vector<Ice::Byte>&)>(0), excb, sentcb);
|
2986
5000
|
}
|
2987
5001
|
|
5002
|
+
/**
|
5003
|
+
* Creates a callback wrapper instance that delegates to your object.
|
5004
|
+
* @param instance The callback object.
|
5005
|
+
* @param excb The exception method of the callback object.
|
5006
|
+
* @param sentcb The sent method of the callback object.
|
5007
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_invoke.
|
5008
|
+
*/
|
2988
5009
|
template<class T, typename CT> Callback_Object_ice_invokePtr
|
2989
5010
|
newCallback_Object_ice_invoke(T* instance,
|
2990
5011
|
void (T::*excb)(const ::Ice::Exception&, const CT&),
|
@@ -2994,6 +5015,13 @@ newCallback_Object_ice_invoke(T* instance,
|
|
2994
5015
|
instance, static_cast<void (T::*)(bool, const std::vector<Ice::Byte>&, const CT&)>(0), excb, sentcb);
|
2995
5016
|
}
|
2996
5017
|
|
5018
|
+
/**
|
5019
|
+
* Creates a callback wrapper instance that delegates to your object.
|
5020
|
+
* @param instance The callback object.
|
5021
|
+
* @param cb The success method of the callback object.
|
5022
|
+
* @param excb The exception method of the callback object.
|
5023
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_getConnection.
|
5024
|
+
*/
|
2997
5025
|
template<class T> Callback_Object_ice_getConnectionPtr
|
2998
5026
|
newCallback_Object_ice_getConnection(const IceUtil::Handle<T>& instance,
|
2999
5027
|
void (T::*cb)(const ::Ice::ConnectionPtr&),
|
@@ -3002,6 +5030,13 @@ newCallback_Object_ice_getConnection(const IceUtil::Handle<T>& instance,
|
|
3002
5030
|
return new CallbackNC_Object_ice_getConnection<T>(instance, cb, excb, 0);
|
3003
5031
|
}
|
3004
5032
|
|
5033
|
+
/**
|
5034
|
+
* Creates a callback wrapper instance that delegates to your object.
|
5035
|
+
* @param instance The callback object.
|
5036
|
+
* @param cb The success method of the callback object.
|
5037
|
+
* @param excb The exception method of the callback object.
|
5038
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_getConnection.
|
5039
|
+
*/
|
3005
5040
|
template<class T, typename CT> Callback_Object_ice_getConnectionPtr
|
3006
5041
|
newCallback_Object_ice_getConnection(const IceUtil::Handle<T>& instance,
|
3007
5042
|
void (T::*cb)(const ::Ice::ConnectionPtr&, const CT&),
|
@@ -3010,6 +5045,13 @@ newCallback_Object_ice_getConnection(const IceUtil::Handle<T>& instance,
|
|
3010
5045
|
return new Callback_Object_ice_getConnection<T, CT>(instance, cb, excb, 0);
|
3011
5046
|
}
|
3012
5047
|
|
5048
|
+
/**
|
5049
|
+
* Creates a callback wrapper instance that delegates to your object.
|
5050
|
+
* @param instance The callback object.
|
5051
|
+
* @param cb The success method of the callback object.
|
5052
|
+
* @param excb The exception method of the callback object.
|
5053
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_getConnection.
|
5054
|
+
*/
|
3013
5055
|
template<class T> Callback_Object_ice_getConnectionPtr
|
3014
5056
|
newCallback_Object_ice_getConnection(T* instance,
|
3015
5057
|
void (T::*cb)(const ::Ice::ConnectionPtr&),
|
@@ -3018,6 +5060,13 @@ newCallback_Object_ice_getConnection(T* instance,
|
|
3018
5060
|
return new CallbackNC_Object_ice_getConnection<T>(instance, cb, excb, 0);
|
3019
5061
|
}
|
3020
5062
|
|
5063
|
+
/**
|
5064
|
+
* Creates a callback wrapper instance that delegates to your object.
|
5065
|
+
* @param instance The callback object.
|
5066
|
+
* @param cb The success method of the callback object.
|
5067
|
+
* @param excb The exception method of the callback object.
|
5068
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Object::begin_ice_getConnection.
|
5069
|
+
*/
|
3021
5070
|
template<class T, typename CT> Callback_Object_ice_getConnectionPtr
|
3022
5071
|
newCallback_Object_ice_getConnection(T* instance,
|
3023
5072
|
void (T::*cb)(const ::Ice::ConnectionPtr&, const CT&),
|
@@ -3026,6 +5075,14 @@ newCallback_Object_ice_getConnection(T* instance,
|
|
3026
5075
|
return new Callback_Object_ice_getConnection<T, CT>(instance, cb, excb, 0);
|
3027
5076
|
}
|
3028
5077
|
|
5078
|
+
/**
|
5079
|
+
* Creates a callback wrapper instance that delegates to your object.
|
5080
|
+
* @param instance The callback object.
|
5081
|
+
* @param excb The exception method of the callback object.
|
5082
|
+
* @param sentcb The sent method of the callback object.
|
5083
|
+
* @return An object that can be passed to an asynchronous invocation of
|
5084
|
+
* IceProxy::Ice::Object::begin_ice_flushBatchRequests.
|
5085
|
+
*/
|
3029
5086
|
template<class T> Callback_Object_ice_flushBatchRequestsPtr
|
3030
5087
|
newCallback_Object_ice_flushBatchRequests(const IceUtil::Handle<T>& instance,
|
3031
5088
|
void (T::*excb)(const ::Ice::Exception&),
|
@@ -3034,6 +5091,14 @@ newCallback_Object_ice_flushBatchRequests(const IceUtil::Handle<T>& instance,
|
|
3034
5091
|
return new CallbackNC_Object_ice_flushBatchRequests<T>(instance, excb, sentcb);
|
3035
5092
|
}
|
3036
5093
|
|
5094
|
+
/**
|
5095
|
+
* Creates a callback wrapper instance that delegates to your object.
|
5096
|
+
* @param instance The callback object.
|
5097
|
+
* @param excb The exception method of the callback object.
|
5098
|
+
* @param sentcb The sent method of the callback object.
|
5099
|
+
* @return An object that can be passed to an asynchronous invocation of
|
5100
|
+
* IceProxy::Ice::Object::begin_ice_flushBatchRequests.
|
5101
|
+
*/
|
3037
5102
|
template<class T, typename CT> Callback_Object_ice_flushBatchRequestsPtr
|
3038
5103
|
newCallback_Object_ice_flushBatchRequests(const IceUtil::Handle<T>& instance,
|
3039
5104
|
void (T::*excb)(const ::Ice::Exception&, const CT&),
|
@@ -3042,6 +5107,14 @@ newCallback_Object_ice_flushBatchRequests(const IceUtil::Handle<T>& instance,
|
|
3042
5107
|
return new Callback_Object_ice_flushBatchRequests<T, CT>(instance, excb, sentcb);
|
3043
5108
|
}
|
3044
5109
|
|
5110
|
+
/**
|
5111
|
+
* Creates a callback wrapper instance that delegates to your object.
|
5112
|
+
* @param instance The callback object.
|
5113
|
+
* @param excb The exception method of the callback object.
|
5114
|
+
* @param sentcb The sent method of the callback object.
|
5115
|
+
* @return An object that can be passed to an asynchronous invocation of
|
5116
|
+
* IceProxy::Ice::Object::begin_ice_flushBatchRequests.
|
5117
|
+
*/
|
3045
5118
|
template<class T> Callback_Object_ice_flushBatchRequestsPtr
|
3046
5119
|
newCallback_Object_ice_flushBatchRequests(T* instance,
|
3047
5120
|
void (T::*excb)(const ::Ice::Exception&),
|
@@ -3050,6 +5123,14 @@ newCallback_Object_ice_flushBatchRequests(T* instance,
|
|
3050
5123
|
return new CallbackNC_Object_ice_flushBatchRequests<T>(instance, excb, sentcb);
|
3051
5124
|
}
|
3052
5125
|
|
5126
|
+
/**
|
5127
|
+
* Creates a callback wrapper instance that delegates to your object.
|
5128
|
+
* @param instance The callback object.
|
5129
|
+
* @param excb The exception method of the callback object.
|
5130
|
+
* @param sentcb The sent method of the callback object.
|
5131
|
+
* @return An object that can be passed to an asynchronous invocation of
|
5132
|
+
* IceProxy::Ice::Object::begin_ice_flushBatchRequests.
|
5133
|
+
*/
|
3053
5134
|
template<class T, typename CT> Callback_Object_ice_flushBatchRequestsPtr
|
3054
5135
|
newCallback_Object_ice_flushBatchRequests(T* instance,
|
3055
5136
|
void (T::*excb)(const ::Ice::Exception&, const CT&),
|