zeroc-ice 3.7.0 → 3.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ICE_LICENSE +1 -1
- data/bin/slice2rb +1 -1
- data/ext/Communicator.cpp +72 -2
- data/ext/Communicator.h +1 -1
- data/ext/Config.h +11 -1
- data/ext/Connection.cpp +22 -2
- data/ext/Connection.h +4 -1
- data/ext/Endpoint.cpp +1 -1
- data/ext/Endpoint.h +1 -1
- data/ext/ImplicitContext.cpp +1 -1
- data/ext/ImplicitContext.h +1 -1
- data/ext/Init.cpp +1 -1
- data/ext/Logger.cpp +1 -1
- data/ext/Logger.h +1 -1
- data/ext/Operation.cpp +1 -1
- data/ext/Operation.h +1 -1
- data/ext/Properties.cpp +1 -1
- data/ext/Properties.h +1 -1
- data/ext/Proxy.cpp +70 -1
- data/ext/Proxy.h +1 -1
- data/ext/Slice.cpp +1 -1
- data/ext/Slice.h +1 -1
- data/ext/Types.cpp +21 -5
- data/ext/Types.h +1 -1
- data/ext/Util.cpp +1 -1
- data/ext/Util.h +1 -1
- data/ext/ValueFactoryManager.cpp +2 -2
- data/ext/ValueFactoryManager.h +2 -2
- data/ext/ice/cpp/include/Ice/Application.h +234 -76
- data/ext/ice/cpp/include/Ice/AsyncResult.h +77 -1
- data/ext/ice/cpp/include/Ice/AsyncResultF.h +1 -1
- data/ext/ice/cpp/include/Ice/BatchRequestInterceptor.h +35 -2
- data/ext/ice/cpp/include/Ice/BatchRequestQueueF.h +1 -1
- data/ext/ice/cpp/include/Ice/Buffer.h +1 -1
- data/ext/ice/cpp/include/Ice/CommunicatorAsync.h +43 -1
- data/ext/ice/cpp/include/Ice/Comparable.h +81 -1
- data/ext/ice/cpp/include/Ice/Config.h +8 -1
- data/ext/ice/cpp/include/Ice/ConnectionAsync.h +97 -1
- data/ext/ice/cpp/include/Ice/ConnectionIF.h +3 -1
- data/ext/ice/cpp/include/Ice/ConsoleUtil.h +1 -1
- data/ext/ice/cpp/include/Ice/DefaultValueFactory.h +1 -1
- data/ext/ice/cpp/include/Ice/DispatchInterceptor.h +17 -2
- data/ext/ice/cpp/include/Ice/Dispatcher.h +22 -2
- data/ext/ice/cpp/include/Ice/DynamicLibrary.h +1 -1
- data/ext/ice/cpp/include/Ice/DynamicLibraryF.h +1 -1
- data/ext/ice/cpp/include/Ice/Exception.h +57 -15
- data/ext/ice/cpp/include/Ice/ExceptionHelpers.h +19 -1
- data/ext/ice/cpp/include/Ice/FactoryTable.h +12 -2
- data/ext/ice/cpp/include/Ice/FactoryTableInit.h +1 -1
- data/ext/ice/cpp/include/Ice/Format.h +13 -14
- data/ext/ice/cpp/include/Ice/Functional.h +6 -1
- data/ext/ice/cpp/include/Ice/GCObject.h +1 -1
- data/ext/ice/cpp/include/Ice/Handle.h +1 -1
- data/ext/ice/cpp/include/Ice/Ice.h +1 -1
- data/ext/ice/cpp/include/Ice/IconvStringConverter.h +38 -3
- data/ext/ice/cpp/include/Ice/Incoming.h +15 -2
- data/ext/ice/cpp/include/Ice/IncomingAsync.h +37 -4
- data/ext/ice/cpp/include/Ice/IncomingAsyncF.h +1 -1
- data/ext/ice/cpp/include/Ice/Initialize.h +764 -98
- data/ext/ice/cpp/include/Ice/InputStream.h +637 -112
- data/ext/ice/cpp/include/Ice/InstanceF.h +1 -1
- data/ext/ice/cpp/include/Ice/InterfaceByValue.h +17 -1
- data/ext/ice/cpp/include/Ice/LocalObject.h +5 -1
- data/ext/ice/cpp/include/Ice/LocalObjectF.h +1 -1
- data/ext/ice/cpp/include/Ice/LoggerUtil.h +37 -6
- data/ext/ice/cpp/include/Ice/MetricsAdminI.h +3 -1
- data/ext/ice/cpp/include/Ice/MetricsFunctional.h +3 -1
- data/ext/ice/cpp/include/Ice/MetricsObserverI.h +3 -1
- data/ext/ice/cpp/include/Ice/NativePropertiesAdmin.h +46 -23
- data/ext/ice/cpp/include/Ice/Object.h +338 -47
- data/ext/ice/cpp/include/Ice/ObjectF.h +5 -1
- data/ext/ice/cpp/include/Ice/ObserverHelper.h +1 -1
- data/ext/ice/cpp/include/Ice/Optional.h +22 -6
- data/ext/ice/cpp/include/Ice/OutgoingAsync.h +15 -1
- data/ext/ice/cpp/include/Ice/OutgoingAsyncF.h +1 -1
- data/ext/ice/cpp/include/Ice/OutputStream.h +436 -92
- data/ext/ice/cpp/include/Ice/Protocol.h +31 -1
- data/ext/ice/cpp/include/Ice/Proxy.h +2244 -190
- data/ext/ice/cpp/include/Ice/ProxyF.h +3 -1
- data/ext/ice/cpp/include/Ice/ProxyFactoryF.h +1 -1
- data/ext/ice/cpp/include/Ice/ProxyHandle.h +10 -1
- data/ext/ice/cpp/include/Ice/ReferenceF.h +1 -1
- data/ext/ice/cpp/include/Ice/RegisterPlugins.h +67 -9
- data/ext/ice/cpp/include/Ice/RequestHandlerF.h +1 -1
- data/ext/ice/cpp/include/Ice/ResponseHandlerF.h +1 -1
- data/ext/ice/cpp/include/Ice/SHA1.h +1 -1
- data/ext/ice/cpp/include/Ice/ServantManagerF.h +1 -1
- data/ext/ice/cpp/include/Ice/Service.h +267 -138
- data/ext/ice/cpp/include/Ice/SliceChecksums.h +5 -1
- data/ext/ice/cpp/include/Ice/SlicedData.h +80 -33
- data/ext/ice/cpp/include/Ice/SlicedDataF.h +4 -1
- data/ext/ice/cpp/include/Ice/StreamHelpers.h +324 -116
- data/ext/ice/cpp/include/Ice/StringConverter.h +32 -1
- data/ext/ice/cpp/include/Ice/ThreadPoolF.h +1 -1
- data/ext/ice/cpp/include/Ice/UUID.h +2 -1
- data/ext/ice/cpp/include/Ice/UniquePtr.h +2 -2
- data/ext/ice/cpp/include/Ice/UniqueRef.h +6 -2
- data/ext/ice/cpp/include/Ice/UserExceptionFactory.h +6 -1
- data/ext/ice/cpp/include/Ice/Value.h +41 -1
- data/ext/ice/cpp/include/Ice/ValueF.h +3 -1
- data/ext/ice/cpp/include/IceSSL/Config.h +1 -1
- data/ext/ice/cpp/include/IceSSL/IceSSL.h +1 -1
- data/ext/ice/cpp/include/IceSSL/OpenSSL.h +75 -53
- data/ext/ice/cpp/include/IceSSL/Plugin.h +323 -218
- data/ext/ice/cpp/include/IceSSL/SChannel.h +34 -27
- data/ext/ice/cpp/include/IceSSL/SecureTransport.h +35 -28
- data/ext/ice/cpp/include/IceSSL/UWP.h +33 -24
- data/ext/ice/cpp/include/IceUtil/Atomic.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Cond.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Config.h +11 -3
- data/ext/ice/cpp/include/IceUtil/ConsoleUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/CountDownLatch.h +1 -1
- data/ext/ice/cpp/include/IceUtil/CtrlCHandler.h +59 -31
- data/ext/ice/cpp/include/IceUtil/DisableWarnings.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Exception.h +1 -1
- data/ext/ice/cpp/include/IceUtil/FileUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Functional.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Handle.h +1 -1
- data/ext/ice/cpp/include/IceUtil/IceUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/InputUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Iterator.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Lock.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Monitor.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Mutex.h +2 -5
- data/ext/ice/cpp/include/IceUtil/MutexProtocol.h +1 -1
- data/ext/ice/cpp/include/IceUtil/MutexPtrLock.h +1 -1
- data/ext/ice/cpp/include/IceUtil/MutexPtrTryLock.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Optional.h +95 -1
- data/ext/ice/cpp/include/IceUtil/Options.h +1 -1
- data/ext/ice/cpp/include/IceUtil/OutputUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/PopDisableWarnings.h +1 -1
- data/ext/ice/cpp/include/IceUtil/PushDisableWarnings.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Random.h +1 -1
- data/ext/ice/cpp/include/IceUtil/RecMutex.h +1 -1
- data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +4 -4
- data/ext/ice/cpp/include/IceUtil/ScannerConfig.h +5 -3
- data/ext/ice/cpp/include/IceUtil/ScopedArray.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Shared.h +1 -1
- data/ext/ice/cpp/include/IceUtil/StopWatch.h +1 -1
- data/ext/ice/cpp/include/IceUtil/StringConverter.h +106 -86
- data/ext/ice/cpp/include/IceUtil/StringUtil.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Thread.h +1 -1
- data/ext/ice/cpp/include/IceUtil/ThreadException.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Time.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Timer.h +5 -1
- data/ext/ice/cpp/include/IceUtil/UUID.h +5 -1
- data/ext/ice/cpp/include/IceUtil/UndefSysMacros.h +1 -1
- data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +80 -20
- data/ext/ice/cpp/include/generated/Ice/Communicator.h +927 -130
- data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +13 -5
- data/ext/ice/cpp/include/generated/Ice/Connection.h +990 -194
- data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +21 -9
- data/ext/ice/cpp/include/generated/Ice/Current.h +180 -17
- data/ext/ice/cpp/include/generated/Ice/Endpoint.h +484 -118
- data/ext/ice/cpp/include/generated/Ice/EndpointF.h +41 -17
- data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +29 -3
- data/ext/ice/cpp/include/generated/Ice/FacetMap.h +11 -5
- data/ext/ice/cpp/include/generated/Ice/Identity.h +56 -7
- data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +150 -28
- data/ext/ice/cpp/include/generated/Ice/ImplicitContextF.h +13 -5
- data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +629 -83
- data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +19 -7
- data/ext/ice/cpp/include/generated/Ice/LocalException.h +5104 -794
- data/ext/ice/cpp/include/generated/Ice/Locator.h +2222 -443
- data/ext/ice/cpp/include/generated/Ice/LocatorF.h +27 -9
- data/ext/ice/cpp/include/generated/Ice/Logger.h +104 -26
- data/ext/ice/cpp/include/generated/Ice/LoggerF.h +13 -5
- data/ext/ice/cpp/include/generated/Ice/Metrics.h +2534 -455
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +1004 -126
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapterF.h +13 -5
- data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +72 -12
- data/ext/ice/cpp/include/generated/Ice/Plugin.h +142 -28
- data/ext/ice/cpp/include/generated/Ice/PluginF.h +17 -7
- data/ext/ice/cpp/include/generated/Ice/Process.h +511 -71
- data/ext/ice/cpp/include/generated/Ice/ProcessF.h +18 -6
- data/ext/ice/cpp/include/generated/Ice/Properties.h +306 -58
- data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +737 -121
- data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +22 -8
- data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +1526 -279
- data/ext/ice/cpp/include/generated/Ice/Router.h +1009 -198
- data/ext/ice/cpp/include/generated/Ice/RouterF.h +18 -6
- data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +174 -18
- data/ext/ice/cpp/include/generated/Ice/ServantLocatorF.h +13 -5
- data/ext/ice/cpp/include/generated/Ice/SliceChecksumDict.h +13 -3
- data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +177 -23
- data/ext/ice/cpp/include/generated/Ice/Version.h +43 -13
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +71 -15
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +13 -5
- data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +39 -9
- data/ext/ice/cpp/src/Ice/ACM.cpp +12 -3
- data/ext/ice/cpp/src/Ice/ACM.h +1 -1
- data/ext/ice/cpp/src/Ice/ACMF.h +1 -1
- data/ext/ice/cpp/src/Ice/Acceptor.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Acceptor.h +1 -1
- data/ext/ice/cpp/src/Ice/AcceptorF.h +1 -1
- data/ext/ice/cpp/src/Ice/ArgVector.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ArgVector.h +1 -1
- data/ext/ice/cpp/src/Ice/AsyncResult.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Base64.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Base64.h +1 -1
- data/ext/ice/cpp/src/Ice/BatchRequestQueue.cpp +1 -1
- data/ext/ice/cpp/src/Ice/BatchRequestQueue.h +1 -1
- data/ext/ice/cpp/src/Ice/Buffer.cpp +1 -1
- data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +3 -3
- data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +1 -1
- data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/Communicator.cpp +6 -4
- data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +34 -13
- data/ext/ice/cpp/src/Ice/CommunicatorI.h +10 -10
- data/ext/ice/cpp/src/Ice/Cond.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ConnectRequestHandler.cpp +11 -6
- data/ext/ice/cpp/src/Ice/ConnectRequestHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/ConnectRequestHandlerF.h +1 -1
- data/ext/ice/cpp/src/Ice/Connection.cpp +27 -11
- data/ext/ice/cpp/src/Ice/ConnectionF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ConnectionFactory.cpp +24 -19
- data/ext/ice/cpp/src/Ice/ConnectionFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/ConnectionFactoryF.h +1 -1
- data/ext/ice/cpp/src/Ice/ConnectionI.cpp +45 -37
- data/ext/ice/cpp/src/Ice/ConnectionI.h +10 -8
- data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/Connector.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Connector.h +1 -1
- data/ext/ice/cpp/src/Ice/ConnectorF.h +1 -1
- data/ext/ice/cpp/src/Ice/CountDownLatch.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Current.cpp +3 -3
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +5 -7
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.h +1 -1
- data/ext/ice/cpp/src/Ice/DefaultsAndOverridesF.h +1 -1
- data/ext/ice/cpp/src/Ice/DispatchInterceptor.cpp +1 -1
- data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Endpoint.cpp +24 -10
- data/ext/ice/cpp/src/Ice/EndpointF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/EndpointFactory.cpp +1 -1
- data/ext/ice/cpp/src/Ice/EndpointFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointFactoryF.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointFactoryManager.cpp +7 -13
- data/ext/ice/cpp/src/Ice/EndpointFactoryManager.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointFactoryManagerF.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointI.cpp +2 -2
- data/ext/ice/cpp/src/Ice/EndpointI.h +5 -5
- data/ext/ice/cpp/src/Ice/EndpointIF.h +1 -1
- data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +3 -3
- data/ext/ice/cpp/src/Ice/EventHandler.cpp +1 -1
- data/ext/ice/cpp/src/Ice/EventHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/EventHandlerF.h +1 -1
- data/ext/ice/cpp/src/Ice/Exception.cpp +1 -1
- data/ext/ice/cpp/src/Ice/FacetMap.cpp +3 -3
- data/ext/ice/cpp/src/Ice/FactoryTable.cpp +1 -1
- data/ext/ice/cpp/src/Ice/FactoryTableInit.cpp +1 -1
- data/ext/ice/cpp/src/Ice/GCObject.cpp +1 -1
- data/ext/ice/cpp/src/Ice/HashUtil.h +1 -1
- data/ext/ice/cpp/src/Ice/HttpParser.cpp +1 -1
- data/ext/ice/cpp/src/Ice/HttpParser.h +1 -1
- data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +24 -29
- data/ext/ice/cpp/src/Ice/IPEndpointI.h +5 -5
- data/ext/ice/cpp/src/Ice/IPEndpointIF.h +1 -1
- data/ext/ice/cpp/src/Ice/IconvStringConverter.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Identity.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +6 -4
- data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ImplicitContextI.cpp +2 -13
- data/ext/ice/cpp/src/Ice/ImplicitContextI.h +1 -1
- data/ext/ice/cpp/src/Ice/Incoming.cpp +1 -1
- data/ext/ice/cpp/src/Ice/IncomingAsync.cpp +1 -1
- data/ext/ice/cpp/src/Ice/IncomingRequest.h +1 -1
- data/ext/ice/cpp/src/Ice/Initialize.cpp +10 -16
- data/ext/ice/cpp/src/Ice/InputStream.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Instance.cpp +13 -34
- data/ext/ice/cpp/src/Ice/Instance.h +1 -1
- data/ext/ice/cpp/src/Ice/Instrumentation.cpp +33 -13
- data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/InstrumentationI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/InstrumentationI.h +1 -1
- data/ext/ice/cpp/src/Ice/LocalException.cpp +279 -279
- data/ext/ice/cpp/src/Ice/LocalObject.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Locator.cpp +287 -174
- data/ext/ice/cpp/src/Ice/LocatorF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/LocatorInfo.cpp +4 -9
- data/ext/ice/cpp/src/Ice/LocatorInfo.h +1 -1
- data/ext/ice/cpp/src/Ice/LocatorInfoF.h +1 -1
- data/ext/ice/cpp/src/Ice/Logger.cpp +6 -4
- data/ext/ice/cpp/src/Ice/LoggerAdminI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/LoggerAdminI.h +1 -1
- data/ext/ice/cpp/src/Ice/LoggerF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/LoggerI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/LoggerI.h +1 -1
- data/ext/ice/cpp/src/Ice/LoggerUtil.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Metrics.cpp +297 -109
- data/ext/ice/cpp/src/Ice/MetricsAdminI.cpp +2 -7
- data/ext/ice/cpp/src/Ice/MetricsObserverI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Network.cpp +188 -225
- data/ext/ice/cpp/src/Ice/Network.h +3 -12
- data/ext/ice/cpp/src/Ice/NetworkF.h +1 -1
- data/ext/ice/cpp/src/Ice/NetworkProxy.cpp +1 -1
- data/ext/ice/cpp/src/Ice/NetworkProxy.h +1 -1
- data/ext/ice/cpp/src/Ice/NetworkProxyF.h +1 -1
- data/ext/ice/cpp/src/Ice/Object.cpp +7 -4
- data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +6 -4
- data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +53 -19
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactoryF.h +1 -1
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +116 -150
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +11 -11
- data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +6 -4
- data/ext/ice/cpp/src/Ice/ObserverHelper.cpp +1 -1
- data/ext/ice/cpp/src/Ice/OpaqueEndpointI.cpp +25 -42
- data/ext/ice/cpp/src/Ice/OpaqueEndpointI.h +2 -2
- data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +1 -1
- data/ext/ice/cpp/src/Ice/OutputStream.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Plugin.cpp +9 -5
- data/ext/ice/cpp/src/Ice/PluginF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/PluginManagerI.cpp +15 -34
- data/ext/ice/cpp/src/Ice/PluginManagerI.h +3 -3
- data/ext/ice/cpp/src/Ice/Process.cpp +69 -40
- data/ext/ice/cpp/src/Ice/ProcessF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Properties.cpp +6 -4
- data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +89 -54
- data/ext/ice/cpp/src/Ice/PropertiesAdminI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/PropertiesAdminI.h +1 -1
- data/ext/ice/cpp/src/Ice/PropertiesF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/PropertiesI.cpp +15 -21
- data/ext/ice/cpp/src/Ice/PropertiesI.h +10 -10
- data/ext/ice/cpp/src/Ice/PropertyNames.cpp +4 -2
- data/ext/ice/cpp/src/Ice/PropertyNames.h +2 -2
- data/ext/ice/cpp/src/Ice/Protocol.cpp +5 -13
- data/ext/ice/cpp/src/Ice/ProtocolInstance.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ProtocolInstance.h +1 -1
- data/ext/ice/cpp/src/Ice/ProtocolInstanceF.h +1 -1
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.h +1 -1
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacadeF.h +1 -1
- data/ext/ice/cpp/src/Ice/Proxy.cpp +46 -1
- data/ext/ice/cpp/src/Ice/ProxyFactory.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ProxyFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/Reference.cpp +56 -6
- data/ext/ice/cpp/src/Ice/Reference.h +13 -2
- data/ext/ice/cpp/src/Ice/ReferenceFactory.cpp +51 -90
- data/ext/ice/cpp/src/Ice/ReferenceFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/ReferenceFactoryF.h +1 -1
- data/ext/ice/cpp/src/Ice/RegisterPluginsInit.cpp +1 -1
- data/ext/ice/cpp/src/Ice/RegisterPluginsInit.h +1 -1
- data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +203 -117
- data/ext/ice/cpp/src/Ice/ReplyStatus.h +1 -1
- data/ext/ice/cpp/src/Ice/RequestHandler.cpp +1 -1
- data/ext/ice/cpp/src/Ice/RequestHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/RequestHandlerFactory.cpp +1 -1
- data/ext/ice/cpp/src/Ice/RequestHandlerFactory.h +1 -1
- data/ext/ice/cpp/src/Ice/ResponseHandler.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ResponseHandler.h +1 -1
- data/ext/ice/cpp/src/Ice/RetryQueue.cpp +1 -1
- data/ext/ice/cpp/src/Ice/RetryQueue.h +1 -1
- data/ext/ice/cpp/src/Ice/RetryQueueF.h +1 -1
- data/ext/ice/cpp/src/Ice/Router.cpp +167 -89
- data/ext/ice/cpp/src/Ice/RouterF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/RouterInfo.cpp +6 -28
- data/ext/ice/cpp/src/Ice/RouterInfo.h +1 -3
- data/ext/ice/cpp/src/Ice/RouterInfoF.h +1 -1
- data/ext/ice/cpp/src/Ice/SHA1.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Selector.cpp +19 -26
- data/ext/ice/cpp/src/Ice/Selector.h +1 -1
- data/ext/ice/cpp/src/Ice/ServantLocator.cpp +6 -4
- data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ServantManager.cpp +15 -31
- data/ext/ice/cpp/src/Ice/ServantManager.h +1 -1
- data/ext/ice/cpp/src/Ice/SharedContext.h +1 -1
- data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +3 -3
- data/ext/ice/cpp/src/Ice/SliceChecksums.cpp +1 -1
- data/ext/ice/cpp/src/Ice/SlicedData.cpp +1 -1
- data/ext/ice/cpp/src/Ice/StreamSocket.cpp +32 -52
- data/ext/ice/cpp/src/Ice/StreamSocket.h +1 -1
- data/ext/ice/cpp/src/Ice/StringConverterPlugin.cpp +10 -1
- data/ext/ice/cpp/src/Ice/StringUtil.h +1 -1
- data/ext/ice/cpp/src/Ice/SysLoggerI.cpp +1 -1
- data/ext/ice/cpp/src/Ice/SysLoggerI.h +1 -1
- data/ext/ice/cpp/src/Ice/TcpAcceptor.cpp +5 -13
- data/ext/ice/cpp/src/Ice/TcpAcceptor.h +1 -1
- data/ext/ice/cpp/src/Ice/TcpConnector.cpp +1 -1
- data/ext/ice/cpp/src/Ice/TcpConnector.h +1 -1
- data/ext/ice/cpp/src/Ice/TcpEndpointI.cpp +8 -11
- data/ext/ice/cpp/src/Ice/TcpEndpointI.h +2 -2
- data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +1 -1
- data/ext/ice/cpp/src/Ice/TcpTransceiver.h +1 -1
- data/ext/ice/cpp/src/Ice/Thread.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ThreadPool.cpp +13 -13
- data/ext/ice/cpp/src/Ice/ThreadPool.h +1 -1
- data/ext/ice/cpp/src/Ice/Timer.cpp +1 -1
- data/ext/ice/cpp/src/Ice/TraceLevels.cpp +1 -1
- data/ext/ice/cpp/src/Ice/TraceLevels.h +1 -1
- data/ext/ice/cpp/src/Ice/TraceLevelsF.h +1 -1
- data/ext/ice/cpp/src/Ice/TraceUtil.cpp +1 -1
- data/ext/ice/cpp/src/Ice/TraceUtil.h +1 -1
- data/ext/ice/cpp/src/Ice/Transceiver.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Transceiver.h +1 -1
- data/ext/ice/cpp/src/Ice/TransceiverF.h +1 -1
- data/ext/ice/cpp/src/Ice/UdpConnector.cpp +1 -1
- data/ext/ice/cpp/src/Ice/UdpConnector.h +1 -1
- data/ext/ice/cpp/src/Ice/UdpEndpointI.cpp +19 -27
- data/ext/ice/cpp/src/Ice/UdpEndpointI.h +2 -2
- data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +17 -54
- data/ext/ice/cpp/src/Ice/UdpTransceiver.h +1 -1
- data/ext/ice/cpp/src/Ice/Value.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ValueFactory.cpp +9 -5
- data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.cpp +3 -6
- data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.h +2 -2
- data/ext/ice/cpp/src/Ice/Version.cpp +3 -3
- data/ext/ice/cpp/src/Ice/VirtualShared.h +1 -1
- data/ext/ice/cpp/src/Ice/WSAcceptor.cpp +1 -1
- data/ext/ice/cpp/src/Ice/WSAcceptor.h +1 -1
- data/ext/ice/cpp/src/Ice/WSConnector.cpp +1 -1
- data/ext/ice/cpp/src/Ice/WSConnector.h +1 -1
- data/ext/ice/cpp/src/Ice/WSEndpoint.cpp +4 -5
- data/ext/ice/cpp/src/Ice/WSEndpoint.h +2 -2
- data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +8 -9
- data/ext/ice/cpp/src/Ice/WSTransceiver.h +1 -1
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +85 -27
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +599 -113
- data/ext/ice/cpp/src/IceDiscovery/LocatorI.cpp +1 -1
- data/ext/ice/cpp/src/IceDiscovery/LocatorI.h +1 -1
- data/ext/ice/cpp/src/IceDiscovery/LookupI.cpp +1 -1
- data/ext/ice/cpp/src/IceDiscovery/LookupI.h +1 -1
- data/ext/ice/cpp/src/IceDiscovery/PluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceDiscovery/PluginI.h +1 -1
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +70 -24
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +635 -69
- data/ext/ice/cpp/src/IceLocatorDiscovery/Plugin.h +1 -1
- data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +71 -9
- data/ext/ice/cpp/src/IceSSL/AcceptorI.cpp +2 -4
- data/ext/ice/cpp/src/IceSSL/AcceptorI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/CertificateI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/CertificateI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +6 -4
- data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +3 -3
- data/ext/ice/cpp/src/IceSSL/ConnectorI.cpp +2 -4
- data/ext/ice/cpp/src/IceSSL/ConnectorI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/EndpointI.cpp +2 -2
- data/ext/ice/cpp/src/IceSSL/EndpointI.h +2 -2
- data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +6 -4
- data/ext/ice/cpp/src/IceSSL/Instance.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/Instance.h +1 -1
- data/ext/ice/cpp/src/IceSSL/InstanceF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLCertificateI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.h +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngineF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLPluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +25 -62
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.h +1 -1
- data/ext/ice/cpp/src/IceSSL/PluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/PluginI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/RFC2253.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/RFC2253.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelCertificateI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelEngineF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelPluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +19 -27
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SSLEngine.cpp +7 -16
- data/ext/ice/cpp/src/IceSSL/SSLEngine.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SSLEngineF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngineF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportPluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +7 -10
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.h +1 -1
- data/ext/ice/cpp/src/IceSSL/TrustManager.cpp +4 -5
- data/ext/ice/cpp/src/IceSSL/TrustManager.h +1 -1
- data/ext/ice/cpp/src/IceSSL/TrustManagerF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPCertificateI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPEngine.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPEngine.h +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPEngineF.h +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPPluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.h +1 -1
- data/ext/ice/cpp/src/IceSSL/Util.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/Util.h +1 -1
- data/ext/ice/cpp/src/IceUtil/ConsoleUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/ConvertUTF.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/ConvertUTF.h +1 -1
- data/ext/ice/cpp/src/IceUtil/CtrlCHandler.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +5 -5
- data/ext/ice/cpp/src/IceUtil/InputUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/MutexProtocol.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/Options.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/OutputUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/Random.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/RecMutex.cpp +1 -5
- data/ext/ice/cpp/src/IceUtil/Shared.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/ThreadException.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/Time.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/UUID.cpp +3 -3
- data/ext/ice/cpp/src/IceUtil/Unicode.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/Unicode.h +1 -1
- data/ext/ice/cpp/src/IceUtil/UtilException.cpp +1 -1
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.cpp +160 -150
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.h +9 -8
- data/ext/ice/cpp/src/Slice/Checksum.cpp +1 -1
- data/ext/ice/cpp/src/Slice/Checksum.h +1 -1
- data/ext/ice/cpp/src/Slice/FileTracker.cpp +1 -1
- data/ext/ice/cpp/src/Slice/FileTracker.h +1 -1
- data/ext/ice/cpp/src/Slice/Grammar.cpp +567 -585
- data/ext/ice/cpp/src/Slice/Grammar.h +2 -2
- data/ext/ice/cpp/src/Slice/GrammarUtil.h +1 -1
- data/ext/ice/cpp/src/Slice/JavaUtil.cpp +131 -47
- data/ext/ice/cpp/src/Slice/JavaUtil.h +10 -5
- data/ext/ice/cpp/src/Slice/MD5.cpp +1 -1
- data/ext/ice/cpp/src/Slice/MD5.h +1 -1
- data/ext/ice/cpp/src/Slice/PHPUtil.cpp +1 -1
- data/ext/ice/cpp/src/Slice/PHPUtil.h +1 -1
- data/ext/ice/cpp/src/Slice/Parser.cpp +383 -101
- data/ext/ice/cpp/src/Slice/Parser.h +40 -3
- data/ext/ice/cpp/src/Slice/Preprocessor.cpp +2 -1
- data/ext/ice/cpp/src/Slice/Preprocessor.h +2 -2
- data/ext/ice/cpp/src/Slice/Python.cpp +7 -15
- data/ext/ice/cpp/src/Slice/PythonUtil.cpp +66 -9
- data/ext/ice/cpp/src/Slice/PythonUtil.h +2 -2
- data/ext/ice/cpp/src/Slice/Ruby.cpp +1 -1
- data/ext/ice/cpp/src/Slice/RubyUtil.cpp +2 -2
- data/ext/ice/cpp/src/Slice/RubyUtil.h +1 -1
- data/ext/ice/cpp/src/Slice/Scanner.cpp +214 -135
- data/ext/ice/cpp/src/Slice/SliceUtil.cpp +1 -1
- data/ext/ice/cpp/src/Slice/StringLiteralUtil.cpp +99 -17
- data/ext/ice/cpp/src/Slice/Util.h +5 -4
- data/ice.gemspec +2 -2
- data/lib/Glacier2.rb +1 -1
- data/lib/Glacier2/Metrics.rb +2 -2
- data/lib/Glacier2/PermissionsVerifier.rb +2 -2
- data/lib/Glacier2/PermissionsVerifierF.rb +2 -2
- data/lib/Glacier2/Router.rb +2 -2
- data/lib/Glacier2/RouterF.rb +2 -2
- data/lib/Glacier2/SSLInfo.rb +2 -2
- data/lib/Glacier2/Session.rb +2 -2
- data/lib/Ice.rb +2 -2
- data/lib/Ice/BuiltinSequences.rb +2 -2
- data/lib/Ice/Communicator.rb +2 -2
- data/lib/Ice/CommunicatorF.rb +2 -2
- data/lib/Ice/Connection.rb +2 -2
- data/lib/Ice/ConnectionF.rb +2 -2
- data/lib/Ice/Current.rb +2 -2
- data/lib/Ice/Endpoint.rb +2 -2
- data/lib/Ice/EndpointF.rb +2 -2
- data/lib/Ice/EndpointTypes.rb +2 -2
- data/lib/Ice/FacetMap.rb +2 -2
- data/lib/Ice/Identity.rb +2 -2
- data/lib/Ice/ImplicitContext.rb +2 -2
- data/lib/Ice/ImplicitContextF.rb +2 -2
- data/lib/Ice/Instrumentation.rb +2 -2
- data/lib/Ice/InstrumentationF.rb +2 -2
- data/lib/Ice/LocalException.rb +2 -2
- data/lib/Ice/Locator.rb +2 -2
- data/lib/Ice/LocatorF.rb +2 -2
- data/lib/Ice/Logger.rb +2 -2
- data/lib/Ice/LoggerF.rb +2 -2
- data/lib/Ice/Metrics.rb +2 -2
- data/lib/Ice/ObjectAdapter.rb +2 -2
- data/lib/Ice/ObjectAdapterF.rb +2 -2
- data/lib/Ice/ObjectFactory.rb +2 -2
- data/lib/Ice/Plugin.rb +2 -2
- data/lib/Ice/PluginF.rb +2 -2
- data/lib/Ice/Process.rb +2 -2
- data/lib/Ice/ProcessF.rb +2 -2
- data/lib/Ice/Properties.rb +2 -2
- data/lib/Ice/PropertiesAdmin.rb +2 -2
- data/lib/Ice/PropertiesF.rb +2 -2
- data/lib/Ice/RemoteLogger.rb +2 -2
- data/lib/Ice/Router.rb +2 -2
- data/lib/Ice/RouterF.rb +2 -2
- data/lib/Ice/ServantLocator.rb +2 -2
- data/lib/Ice/ServantLocatorF.rb +2 -2
- data/lib/Ice/SliceChecksumDict.rb +2 -2
- data/lib/Ice/ValueFactory.rb +2 -2
- data/lib/Ice/Version.rb +2 -2
- data/lib/IceBox.rb +1 -1
- data/lib/IceBox/IceBox.rb +2 -2
- data/lib/IceGrid.rb +1 -1
- data/lib/IceGrid/Admin.rb +2 -2
- data/lib/IceGrid/Descriptor.rb +2 -2
- data/lib/IceGrid/Exception.rb +2 -2
- data/lib/IceGrid/FileParser.rb +2 -2
- data/lib/IceGrid/PluginFacade.rb +2 -2
- data/lib/IceGrid/Registry.rb +2 -2
- data/lib/IceGrid/Session.rb +2 -2
- data/lib/IceGrid/UserAccountMapper.rb +2 -2
- data/lib/IcePatch2.rb +1 -1
- data/lib/IcePatch2/FileInfo.rb +2 -2
- data/lib/IcePatch2/FileServer.rb +2 -2
- data/lib/IceStorm.rb +1 -1
- data/lib/IceStorm/IceStorm.rb +2 -2
- data/lib/IceStorm/Metrics.rb +2 -2
- data/slice/Glacier2/Metrics.ice +2 -2
- data/slice/Glacier2/PermissionsVerifier.ice +2 -2
- data/slice/Glacier2/PermissionsVerifierF.ice +2 -2
- data/slice/Glacier2/Router.ice +2 -2
- data/slice/Glacier2/RouterF.ice +2 -2
- data/slice/Glacier2/SSLInfo.ice +2 -2
- data/slice/Glacier2/Session.ice +2 -2
- data/slice/Ice/BuiltinSequences.ice +2 -2
- data/slice/Ice/Communicator.ice +66 -73
- data/slice/Ice/CommunicatorF.ice +2 -2
- data/slice/Ice/Connection.ice +47 -17
- data/slice/Ice/ConnectionF.ice +2 -2
- data/slice/Ice/Current.ice +4 -5
- data/slice/Ice/Endpoint.ice +16 -16
- data/slice/Ice/EndpointF.ice +2 -2
- data/slice/Ice/EndpointTypes.ice +2 -2
- data/slice/Ice/FacetMap.ice +2 -2
- data/slice/Ice/Identity.ice +2 -2
- data/slice/Ice/ImplicitContext.ice +6 -6
- data/slice/Ice/ImplicitContextF.ice +2 -2
- data/slice/Ice/Instrumentation.ice +2 -2
- data/slice/Ice/InstrumentationF.ice +2 -2
- data/slice/Ice/LocalException.ice +2 -2
- data/slice/Ice/Locator.ice +3 -3
- data/slice/Ice/LocatorF.ice +2 -2
- data/slice/Ice/Logger.ice +2 -2
- data/slice/Ice/LoggerF.ice +2 -2
- data/slice/Ice/Metrics.ice +2 -2
- data/slice/Ice/ObjectAdapter.ice +10 -10
- data/slice/Ice/ObjectAdapterF.ice +2 -2
- data/slice/Ice/ObjectFactory.ice +3 -3
- data/slice/Ice/Plugin.ice +4 -4
- data/slice/Ice/PluginF.ice +2 -2
- data/slice/Ice/Process.ice +2 -2
- data/slice/Ice/ProcessF.ice +2 -2
- data/slice/Ice/Properties.ice +11 -11
- data/slice/Ice/PropertiesAdmin.ice +2 -2
- data/slice/Ice/PropertiesF.ice +2 -2
- data/slice/Ice/RemoteLogger.ice +12 -23
- data/slice/Ice/Router.ice +2 -2
- data/slice/Ice/RouterF.ice +2 -2
- data/slice/Ice/ServantLocator.ice +2 -2
- data/slice/Ice/ServantLocatorF.ice +2 -2
- data/slice/Ice/SliceChecksumDict.ice +2 -2
- data/slice/Ice/ValueFactory.ice +14 -16
- data/slice/Ice/Version.ice +2 -2
- data/slice/IceBT/ConnectionInfo.ice +2 -2
- data/slice/IceBT/EndpointInfo.ice +2 -2
- data/slice/IceBT/Types.ice +2 -2
- data/slice/IceBox/IceBox.ice +3 -4
- data/slice/IceDiscovery/IceDiscovery.ice +2 -2
- data/slice/IceGrid/Admin.ice +2 -2
- data/slice/IceGrid/Descriptor.ice +2 -2
- data/slice/IceGrid/Exception.ice +2 -2
- data/slice/IceGrid/FileParser.ice +2 -2
- data/slice/IceGrid/PluginFacade.ice +6 -6
- data/slice/IceGrid/Registry.ice +2 -2
- data/slice/IceGrid/Session.ice +2 -2
- data/slice/IceGrid/UserAccountMapper.ice +2 -2
- data/slice/IceIAP/ConnectionInfo.ice +2 -2
- data/slice/IceIAP/EndpointInfo.ice +2 -2
- data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +2 -2
- data/slice/IcePatch2/FileInfo.ice +2 -2
- data/slice/IcePatch2/FileServer.ice +2 -2
- data/slice/IceSSL/ConnectionInfo.ice +2 -2
- data/slice/IceSSL/ConnectionInfoF.ice +2 -2
- data/slice/IceSSL/EndpointInfo.ice +2 -2
- data/slice/IceStorm/IceStorm.ice +5 -6
- data/slice/IceStorm/Metrics.ice +2 -2
- metadata +3 -13
- data/BZIP2_LICENSE +0 -42
- data/ext/ice/bzip2/blocksort.c +0 -1094
- data/ext/ice/bzip2/bzlib.c +0 -1572
- data/ext/ice/bzip2/bzlib.h +0 -282
- data/ext/ice/bzip2/bzlib_private.h +0 -509
- data/ext/ice/bzip2/compress.c +0 -672
- data/ext/ice/bzip2/crctable.c +0 -104
- data/ext/ice/bzip2/decompress.c +0 -646
- data/ext/ice/bzip2/huffman.c +0 -205
- data/ext/ice/bzip2/randtable.c +0 -84
@@ -1,13 +1,13 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.7.
|
10
|
+
// Ice version 3.7.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -40,7 +40,7 @@
|
|
40
40
|
# if ICE_INT_VERSION % 100 > 50
|
41
41
|
# error Beta header file detected
|
42
42
|
# endif
|
43
|
-
# if ICE_INT_VERSION % 100 <
|
43
|
+
# if ICE_INT_VERSION % 100 < 1
|
44
44
|
# error Ice patch level mismatch!
|
45
45
|
# endif
|
46
46
|
#endif
|
@@ -65,11 +65,14 @@ class PluginManager;
|
|
65
65
|
|
66
66
|
}
|
67
67
|
|
68
|
+
/// \cond STREAM
|
68
69
|
namespace Ice
|
69
70
|
{
|
70
71
|
|
71
72
|
}
|
73
|
+
/// \endcond
|
72
74
|
|
75
|
+
/// \cond INTERNAL
|
73
76
|
namespace Ice
|
74
77
|
{
|
75
78
|
|
@@ -78,6 +81,7 @@ using PluginPtr = ::std::shared_ptr<Plugin>;
|
|
78
81
|
using PluginManagerPtr = ::std::shared_ptr<PluginManager>;
|
79
82
|
|
80
83
|
}
|
84
|
+
/// \endcond
|
81
85
|
|
82
86
|
#else // C++98 mapping
|
83
87
|
|
@@ -85,19 +89,25 @@ namespace Ice
|
|
85
89
|
{
|
86
90
|
|
87
91
|
class Plugin;
|
88
|
-
|
89
|
-
|
92
|
+
/// \cond INTERNAL
|
93
|
+
ICE_API LocalObject* upCast(Plugin*);
|
94
|
+
/// \endcond
|
95
|
+
typedef ::IceInternal::Handle< Plugin> PluginPtr;
|
90
96
|
|
91
97
|
class PluginManager;
|
92
|
-
|
93
|
-
|
98
|
+
/// \cond INTERNAL
|
99
|
+
ICE_API LocalObject* upCast(PluginManager*);
|
100
|
+
/// \endcond
|
101
|
+
typedef ::IceInternal::Handle< PluginManager> PluginManagerPtr;
|
94
102
|
|
95
103
|
}
|
96
104
|
|
105
|
+
/// \cond STREAM
|
97
106
|
namespace Ice
|
98
107
|
{
|
99
108
|
|
100
109
|
}
|
110
|
+
/// \endcond
|
101
111
|
|
102
112
|
#endif
|
103
113
|
|
@@ -1,13 +1,13 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
7
7
|
//
|
8
8
|
// **********************************************************************
|
9
9
|
//
|
10
|
-
// Ice version 3.7.
|
10
|
+
// Ice version 3.7.1
|
11
11
|
//
|
12
12
|
// <auto-generated>
|
13
13
|
//
|
@@ -46,7 +46,7 @@
|
|
46
46
|
# if ICE_INT_VERSION % 100 > 50
|
47
47
|
# error Beta header file detected
|
48
48
|
# endif
|
49
|
-
# if ICE_INT_VERSION % 100 <
|
49
|
+
# if ICE_INT_VERSION % 100 < 1
|
50
50
|
# error Ice patch level mismatch!
|
51
51
|
# endif
|
52
52
|
#endif
|
@@ -74,25 +74,75 @@ class ProcessPrx;
|
|
74
74
|
namespace Ice
|
75
75
|
{
|
76
76
|
|
77
|
-
|
77
|
+
/**
|
78
|
+
* An administrative interface for process management. Managed servers must
|
79
|
+
* implement this interface.
|
80
|
+
*
|
81
|
+
* <p class="Note">A servant implementing this interface is a potential target
|
82
|
+
* for denial-of-service attacks, therefore proper security precautions
|
83
|
+
* should be taken. For example, the servant can use a UUID to make its
|
84
|
+
* identity harder to guess, and be registered in an object adapter with
|
85
|
+
* a secured endpoint.
|
86
|
+
* \headerfile Ice/Ice.h
|
87
|
+
*/
|
88
|
+
class ICE_API Process : public virtual Object
|
78
89
|
{
|
79
90
|
public:
|
80
91
|
|
81
92
|
using ProxyType = ProcessPrx;
|
82
93
|
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
94
|
+
/**
|
95
|
+
* Determines whether this object supports an interface with the given Slice type ID.
|
96
|
+
* @param id The fully-scoped Slice type ID.
|
97
|
+
* @param current The Current object for the invocation.
|
98
|
+
* @return True if this object supports the interface, false, otherwise.
|
99
|
+
*/
|
100
|
+
virtual bool ice_isA(::std::string id, const Current& current) const override;
|
101
|
+
|
102
|
+
/**
|
103
|
+
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
104
|
+
* @param current The Current object for the invocation.
|
105
|
+
* @return A list of fully-scoped type IDs.
|
106
|
+
*/
|
107
|
+
virtual ::std::vector<::std::string> ice_ids(const Current& current) const override;
|
108
|
+
|
109
|
+
/**
|
110
|
+
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
111
|
+
* @param current The Current object for the invocation.
|
112
|
+
* @return A fully-scoped type ID.
|
113
|
+
*/
|
114
|
+
virtual ::std::string ice_id(const Current& current) const override;
|
115
|
+
|
116
|
+
/**
|
117
|
+
* Obtains the Slice type ID corresponding to this class.
|
118
|
+
* @return A fully-scoped type ID.
|
119
|
+
*/
|
87
120
|
static const ::std::string& ice_staticId();
|
88
121
|
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
122
|
+
/**
|
123
|
+
* Initiate a graceful shut-down.
|
124
|
+
* @param current The Current object for the invocation.
|
125
|
+
* @see Communicator#shutdown
|
126
|
+
*/
|
127
|
+
virtual void shutdown(const Current& current) = 0;
|
128
|
+
/// \cond INTERNAL
|
129
|
+
bool _iceD_shutdown(::IceInternal::Incoming&, const Current&);
|
130
|
+
/// \endcond
|
131
|
+
|
132
|
+
/**
|
133
|
+
* Write a message on the process' stdout or stderr.
|
134
|
+
* @param message The message.
|
135
|
+
* @param fd 1 for stdout, 2 for stderr.
|
136
|
+
* @param current The Current object for the invocation.
|
137
|
+
*/
|
138
|
+
virtual void writeMessage(::std::string message, int fd, const Current& current) = 0;
|
139
|
+
/// \cond INTERNAL
|
140
|
+
bool _iceD_writeMessage(::IceInternal::Incoming&, const Current&);
|
141
|
+
/// \endcond
|
142
|
+
|
143
|
+
/// \cond INTERNAL
|
144
|
+
virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&) override;
|
145
|
+
/// \endcond
|
96
146
|
};
|
97
147
|
|
98
148
|
}
|
@@ -100,74 +150,141 @@ public:
|
|
100
150
|
namespace Ice
|
101
151
|
{
|
102
152
|
|
103
|
-
|
153
|
+
/**
|
154
|
+
* An administrative interface for process management. Managed servers must
|
155
|
+
* implement this interface.
|
156
|
+
*
|
157
|
+
* <p class="Note">A servant implementing this interface is a potential target
|
158
|
+
* for denial-of-service attacks, therefore proper security precautions
|
159
|
+
* should be taken. For example, the servant can use a UUID to make its
|
160
|
+
* identity harder to guess, and be registered in an object adapter with
|
161
|
+
* a secured endpoint.
|
162
|
+
* \headerfile Ice/Ice.h
|
163
|
+
*/
|
164
|
+
class ICE_CLASS(ICE_API) ProcessPrx : public virtual Proxy<ProcessPrx, ObjectPrx>
|
104
165
|
{
|
105
166
|
public:
|
106
167
|
|
107
|
-
|
168
|
+
/**
|
169
|
+
* Initiate a graceful shut-down.
|
170
|
+
* @param context The Context map to send with the invocation.
|
171
|
+
* @see Communicator#shutdown
|
172
|
+
*/
|
173
|
+
void shutdown(const Context& context = noExplicitContext)
|
108
174
|
{
|
109
|
-
_makePromiseOutgoing<void>(true, this, &
|
175
|
+
_makePromiseOutgoing<void>(true, this, &ProcessPrx::_iceI_shutdown, context).get();
|
110
176
|
}
|
111
177
|
|
178
|
+
/**
|
179
|
+
* Initiate a graceful shut-down.
|
180
|
+
* @param context The Context map to send with the invocation.
|
181
|
+
* @return The future object for the invocation.
|
182
|
+
* @see Communicator#shutdown
|
183
|
+
*/
|
112
184
|
template<template<typename> class P = ::std::promise>
|
113
|
-
auto shutdownAsync(const
|
185
|
+
auto shutdownAsync(const Context& context = noExplicitContext)
|
114
186
|
-> decltype(::std::declval<P<void>>().get_future())
|
115
187
|
{
|
116
|
-
return _makePromiseOutgoing<void, P>(false, this, &
|
188
|
+
return _makePromiseOutgoing<void, P>(false, this, &ProcessPrx::_iceI_shutdown, context);
|
117
189
|
}
|
118
190
|
|
191
|
+
/**
|
192
|
+
* Initiate a graceful shut-down.
|
193
|
+
* @param response The response callback.
|
194
|
+
* @param ex The exception callback.
|
195
|
+
* @param sent The sent callback.
|
196
|
+
* @param context The Context map to send with the invocation.
|
197
|
+
* @return A function that can be called to cancel the invocation locally.
|
198
|
+
* @see Communicator#shutdown
|
199
|
+
*/
|
119
200
|
::std::function<void()>
|
120
201
|
shutdownAsync(::std::function<void()> response,
|
121
202
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
122
203
|
::std::function<void(bool)> sent = nullptr,
|
123
|
-
const
|
204
|
+
const Context& context = noExplicitContext)
|
124
205
|
{
|
125
|
-
return _makeLamdaOutgoing<void>(response, ex, sent, this, &
|
206
|
+
return _makeLamdaOutgoing<void>(response, ex, sent, this, &ProcessPrx::_iceI_shutdown, context);
|
126
207
|
}
|
127
208
|
|
128
|
-
|
129
|
-
|
130
|
-
|
209
|
+
/// \cond INTERNAL
|
210
|
+
ICE_MEMBER(ICE_API) void _iceI_shutdown(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const Context&);
|
211
|
+
/// \endcond
|
212
|
+
|
213
|
+
/**
|
214
|
+
* Write a message on the process' stdout or stderr.
|
215
|
+
* @param message The message.
|
216
|
+
* @param fd 1 for stdout, 2 for stderr.
|
217
|
+
* @param context The Context map to send with the invocation.
|
218
|
+
*/
|
219
|
+
void writeMessage(const ::std::string& message, int fd, const Context& context = noExplicitContext)
|
131
220
|
{
|
132
|
-
_makePromiseOutgoing<void>(true, this, &
|
221
|
+
_makePromiseOutgoing<void>(true, this, &ProcessPrx::_iceI_writeMessage, message, fd, context).get();
|
133
222
|
}
|
134
223
|
|
224
|
+
/**
|
225
|
+
* Write a message on the process' stdout or stderr.
|
226
|
+
* @param message The message.
|
227
|
+
* @param fd 1 for stdout, 2 for stderr.
|
228
|
+
* @param context The Context map to send with the invocation.
|
229
|
+
* @return The future object for the invocation.
|
230
|
+
*/
|
135
231
|
template<template<typename> class P = ::std::promise>
|
136
|
-
auto writeMessageAsync(const ::std::string&
|
232
|
+
auto writeMessageAsync(const ::std::string& message, int fd, const Context& context = noExplicitContext)
|
137
233
|
-> decltype(::std::declval<P<void>>().get_future())
|
138
234
|
{
|
139
|
-
return _makePromiseOutgoing<void, P>(false, this, &
|
235
|
+
return _makePromiseOutgoing<void, P>(false, this, &ProcessPrx::_iceI_writeMessage, message, fd, context);
|
140
236
|
}
|
141
237
|
|
238
|
+
/**
|
239
|
+
* Write a message on the process' stdout or stderr.
|
240
|
+
* @param message The message.
|
241
|
+
* @param fd 1 for stdout, 2 for stderr.
|
242
|
+
* @param response The response callback.
|
243
|
+
* @param ex The exception callback.
|
244
|
+
* @param sent The sent callback.
|
245
|
+
* @param context The Context map to send with the invocation.
|
246
|
+
* @return A function that can be called to cancel the invocation locally.
|
247
|
+
*/
|
142
248
|
::std::function<void()>
|
143
|
-
writeMessageAsync(const ::std::string&
|
249
|
+
writeMessageAsync(const ::std::string& message, int fd,
|
144
250
|
::std::function<void()> response,
|
145
251
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
146
252
|
::std::function<void(bool)> sent = nullptr,
|
147
|
-
const
|
253
|
+
const Context& context = noExplicitContext)
|
148
254
|
{
|
149
|
-
return _makeLamdaOutgoing<void>(response, ex, sent, this, &
|
255
|
+
return _makeLamdaOutgoing<void>(response, ex, sent, this, &ProcessPrx::_iceI_writeMessage, message, fd, context);
|
150
256
|
}
|
151
257
|
|
152
|
-
|
258
|
+
/// \cond INTERNAL
|
259
|
+
ICE_MEMBER(ICE_API) void _iceI_writeMessage(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, int, const Context&);
|
260
|
+
/// \endcond
|
153
261
|
|
262
|
+
/**
|
263
|
+
* Obtains the Slice type ID of this interface.
|
264
|
+
* @return The fully-scoped type ID.
|
265
|
+
*/
|
154
266
|
ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
|
155
267
|
|
156
268
|
protected:
|
157
269
|
|
270
|
+
/// \cond INTERNAL
|
158
271
|
ProcessPrx() = default;
|
159
272
|
friend ::std::shared_ptr<ProcessPrx> IceInternal::createProxy<ProcessPrx>();
|
160
273
|
|
161
|
-
ICE_MEMBER(ICE_API) virtual ::std::shared_ptr
|
274
|
+
ICE_MEMBER(ICE_API) virtual ::std::shared_ptr<ObjectPrx> _newInstance() const override;
|
275
|
+
/// \endcond
|
162
276
|
};
|
163
277
|
|
164
278
|
}
|
165
279
|
|
280
|
+
/// \cond STREAM
|
166
281
|
namespace Ice
|
167
282
|
{
|
168
283
|
|
169
284
|
}
|
285
|
+
/// \endcond
|
170
286
|
|
287
|
+
/// \cond INTERNAL
|
171
288
|
namespace Ice
|
172
289
|
{
|
173
290
|
|
@@ -175,6 +292,7 @@ using ProcessPtr = ::std::shared_ptr<Process>;
|
|
175
292
|
using ProcessPrxPtr = ::std::shared_ptr<ProcessPrx>;
|
176
293
|
|
177
294
|
}
|
295
|
+
/// \endcond
|
178
296
|
|
179
297
|
#else // C++98 mapping
|
180
298
|
|
@@ -185,8 +303,10 @@ namespace Ice
|
|
185
303
|
{
|
186
304
|
|
187
305
|
class Process;
|
306
|
+
/// \cond INTERNAL
|
188
307
|
ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ::IceProxy::Ice::Process>&);
|
189
308
|
ICE_API ::IceProxy::Ice::Object* upCast(::IceProxy::Ice::Process*);
|
309
|
+
/// \endcond
|
190
310
|
|
191
311
|
}
|
192
312
|
|
@@ -196,20 +316,34 @@ namespace Ice
|
|
196
316
|
{
|
197
317
|
|
198
318
|
class Process;
|
199
|
-
|
200
|
-
|
319
|
+
/// \cond INTERNAL
|
320
|
+
ICE_API Object* upCast(Process*);
|
321
|
+
/// \endcond
|
322
|
+
typedef ::IceInternal::Handle< Process> ProcessPtr;
|
201
323
|
typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::Process> ProcessPrx;
|
202
324
|
typedef ProcessPrx ProcessPrxPtr;
|
203
|
-
|
325
|
+
/// \cond INTERNAL
|
326
|
+
ICE_API void _icePatchObjectPtr(ProcessPtr&, const ObjectPtr&);
|
327
|
+
/// \endcond
|
204
328
|
|
205
329
|
}
|
206
330
|
|
207
331
|
namespace Ice
|
208
332
|
{
|
209
333
|
|
334
|
+
/**
|
335
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
336
|
+
* IceProxy::Ice::Process::begin_shutdown.
|
337
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Process_shutdown.
|
338
|
+
*/
|
210
339
|
class Callback_Process_shutdown_Base : public virtual ::IceInternal::CallbackBase { };
|
211
340
|
typedef ::IceUtil::Handle< Callback_Process_shutdown_Base> Callback_Process_shutdownPtr;
|
212
341
|
|
342
|
+
/**
|
343
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
344
|
+
* IceProxy::Ice::Process::begin_writeMessage.
|
345
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Process_writeMessage.
|
346
|
+
*/
|
213
347
|
class Callback_Process_writeMessage_Base : public virtual ::IceInternal::CallbackBase { };
|
214
348
|
typedef ::IceUtil::Handle< Callback_Process_writeMessage_Base> Callback_Process_writeMessagePtr;
|
215
349
|
|
@@ -225,37 +359,82 @@ class ICE_CLASS(ICE_API) Process : public virtual ::Ice::Proxy<Process, ::IcePro
|
|
225
359
|
{
|
226
360
|
public:
|
227
361
|
|
362
|
+
/**
|
363
|
+
* Initiate a graceful shut-down.
|
364
|
+
* @param context The Context map to send with the invocation.
|
365
|
+
* @see Communicator#shutdown
|
366
|
+
*/
|
228
367
|
ICE_MEMBER(ICE_API) void shutdown(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
229
368
|
{
|
230
369
|
end_shutdown(_iceI_begin_shutdown(context, ::IceInternal::dummyCallback, 0, true));
|
231
370
|
}
|
232
371
|
|
372
|
+
/**
|
373
|
+
* Initiate a graceful shut-down.
|
374
|
+
* @param context The Context map to send with the invocation.
|
375
|
+
* @return The asynchronous result object for the invocation.
|
376
|
+
* @see Communicator#shutdown
|
377
|
+
*/
|
233
378
|
::Ice::AsyncResultPtr begin_shutdown(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
234
379
|
{
|
235
380
|
return _iceI_begin_shutdown(context, ::IceInternal::dummyCallback, 0);
|
236
381
|
}
|
237
382
|
|
238
|
-
|
383
|
+
/**
|
384
|
+
* Initiate a graceful shut-down.
|
385
|
+
* @param cb Asynchronous callback object.
|
386
|
+
* @param cookie User-defined data to associate with the invocation.
|
387
|
+
* @return The asynchronous result object for the invocation.
|
388
|
+
* @see Communicator#shutdown
|
389
|
+
*/
|
390
|
+
::Ice::AsyncResultPtr begin_shutdown(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
239
391
|
{
|
240
|
-
return _iceI_begin_shutdown(::Ice::noExplicitContext,
|
392
|
+
return _iceI_begin_shutdown(::Ice::noExplicitContext, cb, cookie);
|
241
393
|
}
|
242
394
|
|
243
|
-
|
395
|
+
/**
|
396
|
+
* Initiate a graceful shut-down.
|
397
|
+
* @param context The Context map to send with the invocation.
|
398
|
+
* @param cb Asynchronous callback object.
|
399
|
+
* @param cookie User-defined data to associate with the invocation.
|
400
|
+
* @return The asynchronous result object for the invocation.
|
401
|
+
* @see Communicator#shutdown
|
402
|
+
*/
|
403
|
+
::Ice::AsyncResultPtr begin_shutdown(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
244
404
|
{
|
245
|
-
return _iceI_begin_shutdown(context,
|
405
|
+
return _iceI_begin_shutdown(context, cb, cookie);
|
246
406
|
}
|
247
407
|
|
248
|
-
|
408
|
+
/**
|
409
|
+
* Initiate a graceful shut-down.
|
410
|
+
* @param cb Asynchronous callback object.
|
411
|
+
* @param cookie User-defined data to associate with the invocation.
|
412
|
+
* @return The asynchronous result object for the invocation.
|
413
|
+
* @see Communicator#shutdown
|
414
|
+
*/
|
415
|
+
::Ice::AsyncResultPtr begin_shutdown(const ::Ice::Callback_Process_shutdownPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
249
416
|
{
|
250
|
-
return _iceI_begin_shutdown(::Ice::noExplicitContext,
|
417
|
+
return _iceI_begin_shutdown(::Ice::noExplicitContext, cb, cookie);
|
251
418
|
}
|
252
419
|
|
253
|
-
|
420
|
+
/**
|
421
|
+
* Initiate a graceful shut-down.
|
422
|
+
* @param context The Context map to send with the invocation.
|
423
|
+
* @param cb Asynchronous callback object.
|
424
|
+
* @param cookie User-defined data to associate with the invocation.
|
425
|
+
* @return The asynchronous result object for the invocation.
|
426
|
+
* @see Communicator#shutdown
|
427
|
+
*/
|
428
|
+
::Ice::AsyncResultPtr begin_shutdown(const ::Ice::Context& context, const ::Ice::Callback_Process_shutdownPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
254
429
|
{
|
255
|
-
return _iceI_begin_shutdown(context,
|
430
|
+
return _iceI_begin_shutdown(context, cb, cookie);
|
256
431
|
}
|
257
432
|
|
258
|
-
|
433
|
+
/**
|
434
|
+
* Completes an invocation of begin_shutdown.
|
435
|
+
* @param result The asynchronous result object for the invocation.
|
436
|
+
*/
|
437
|
+
ICE_MEMBER(ICE_API) void end_shutdown(const ::Ice::AsyncResultPtr& result);
|
259
438
|
|
260
439
|
private:
|
261
440
|
|
@@ -263,37 +442,88 @@ private:
|
|
263
442
|
|
264
443
|
public:
|
265
444
|
|
266
|
-
|
445
|
+
/**
|
446
|
+
* Write a message on the process' stdout or stderr.
|
447
|
+
* @param message The message.
|
448
|
+
* @param fd 1 for stdout, 2 for stderr.
|
449
|
+
* @param context The Context map to send with the invocation.
|
450
|
+
*/
|
451
|
+
ICE_MEMBER(ICE_API) void writeMessage(const ::std::string& message, ::Ice::Int fd, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
267
452
|
{
|
268
|
-
end_writeMessage(_iceI_begin_writeMessage(
|
453
|
+
end_writeMessage(_iceI_begin_writeMessage(message, fd, context, ::IceInternal::dummyCallback, 0, true));
|
269
454
|
}
|
270
455
|
|
271
|
-
|
456
|
+
/**
|
457
|
+
* Write a message on the process' stdout or stderr.
|
458
|
+
* @param message The message.
|
459
|
+
* @param fd 1 for stdout, 2 for stderr.
|
460
|
+
* @param context The Context map to send with the invocation.
|
461
|
+
* @return The asynchronous result object for the invocation.
|
462
|
+
*/
|
463
|
+
::Ice::AsyncResultPtr begin_writeMessage(const ::std::string& message, ::Ice::Int fd, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
272
464
|
{
|
273
|
-
return _iceI_begin_writeMessage(
|
465
|
+
return _iceI_begin_writeMessage(message, fd, context, ::IceInternal::dummyCallback, 0);
|
274
466
|
}
|
275
467
|
|
276
|
-
|
468
|
+
/**
|
469
|
+
* Write a message on the process' stdout or stderr.
|
470
|
+
* @param message The message.
|
471
|
+
* @param fd 1 for stdout, 2 for stderr.
|
472
|
+
* @param cb Asynchronous callback object.
|
473
|
+
* @param cookie User-defined data to associate with the invocation.
|
474
|
+
* @return The asynchronous result object for the invocation.
|
475
|
+
*/
|
476
|
+
::Ice::AsyncResultPtr begin_writeMessage(const ::std::string& message, ::Ice::Int fd, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
277
477
|
{
|
278
|
-
return _iceI_begin_writeMessage(
|
478
|
+
return _iceI_begin_writeMessage(message, fd, ::Ice::noExplicitContext, cb, cookie);
|
279
479
|
}
|
280
480
|
|
281
|
-
|
481
|
+
/**
|
482
|
+
* Write a message on the process' stdout or stderr.
|
483
|
+
* @param message The message.
|
484
|
+
* @param fd 1 for stdout, 2 for stderr.
|
485
|
+
* @param context The Context map to send with the invocation.
|
486
|
+
* @param cb Asynchronous callback object.
|
487
|
+
* @param cookie User-defined data to associate with the invocation.
|
488
|
+
* @return The asynchronous result object for the invocation.
|
489
|
+
*/
|
490
|
+
::Ice::AsyncResultPtr begin_writeMessage(const ::std::string& message, ::Ice::Int fd, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
282
491
|
{
|
283
|
-
return _iceI_begin_writeMessage(
|
492
|
+
return _iceI_begin_writeMessage(message, fd, context, cb, cookie);
|
284
493
|
}
|
285
494
|
|
286
|
-
|
495
|
+
/**
|
496
|
+
* Write a message on the process' stdout or stderr.
|
497
|
+
* @param message The message.
|
498
|
+
* @param fd 1 for stdout, 2 for stderr.
|
499
|
+
* @param cb Asynchronous callback object.
|
500
|
+
* @param cookie User-defined data to associate with the invocation.
|
501
|
+
* @return The asynchronous result object for the invocation.
|
502
|
+
*/
|
503
|
+
::Ice::AsyncResultPtr begin_writeMessage(const ::std::string& message, ::Ice::Int fd, const ::Ice::Callback_Process_writeMessagePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
287
504
|
{
|
288
|
-
return _iceI_begin_writeMessage(
|
505
|
+
return _iceI_begin_writeMessage(message, fd, ::Ice::noExplicitContext, cb, cookie);
|
289
506
|
}
|
290
507
|
|
291
|
-
|
508
|
+
/**
|
509
|
+
* Write a message on the process' stdout or stderr.
|
510
|
+
* @param message The message.
|
511
|
+
* @param fd 1 for stdout, 2 for stderr.
|
512
|
+
* @param context The Context map to send with the invocation.
|
513
|
+
* @param cb Asynchronous callback object.
|
514
|
+
* @param cookie User-defined data to associate with the invocation.
|
515
|
+
* @return The asynchronous result object for the invocation.
|
516
|
+
*/
|
517
|
+
::Ice::AsyncResultPtr begin_writeMessage(const ::std::string& message, ::Ice::Int fd, const ::Ice::Context& context, const ::Ice::Callback_Process_writeMessagePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
292
518
|
{
|
293
|
-
return _iceI_begin_writeMessage(
|
519
|
+
return _iceI_begin_writeMessage(message, fd, context, cb, cookie);
|
294
520
|
}
|
295
521
|
|
296
|
-
|
522
|
+
/**
|
523
|
+
* Completes an invocation of begin_writeMessage.
|
524
|
+
* @param result The asynchronous result object for the invocation.
|
525
|
+
*/
|
526
|
+
ICE_MEMBER(ICE_API) void end_writeMessage(const ::Ice::AsyncResultPtr& result);
|
297
527
|
|
298
528
|
private:
|
299
529
|
|
@@ -301,11 +531,17 @@ private:
|
|
301
531
|
|
302
532
|
public:
|
303
533
|
|
534
|
+
/**
|
535
|
+
* Obtains the Slice type ID corresponding to this interface.
|
536
|
+
* @return A fully-scoped type ID.
|
537
|
+
*/
|
304
538
|
ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
|
305
539
|
|
306
540
|
protected:
|
541
|
+
/// \cond INTERNAL
|
307
542
|
|
308
543
|
ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
|
544
|
+
/// \endcond
|
309
545
|
};
|
310
546
|
|
311
547
|
}
|
@@ -315,7 +551,18 @@ protected:
|
|
315
551
|
namespace Ice
|
316
552
|
{
|
317
553
|
|
318
|
-
|
554
|
+
/**
|
555
|
+
* An administrative interface for process management. Managed servers must
|
556
|
+
* implement this interface.
|
557
|
+
*
|
558
|
+
* <p class="Note">A servant implementing this interface is a potential target
|
559
|
+
* for denial-of-service attacks, therefore proper security precautions
|
560
|
+
* should be taken. For example, the servant can use a UUID to make its
|
561
|
+
* identity harder to guess, and be registered in an object adapter with
|
562
|
+
* a secured endpoint.
|
563
|
+
* \headerfile Ice/Ice.h
|
564
|
+
*/
|
565
|
+
class ICE_API Process : public virtual Object
|
319
566
|
{
|
320
567
|
public:
|
321
568
|
|
@@ -324,46 +571,96 @@ public:
|
|
324
571
|
|
325
572
|
virtual ~Process();
|
326
573
|
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
574
|
+
/**
|
575
|
+
* Determines whether this object supports an interface with the given Slice type ID.
|
576
|
+
* @param id The fully-scoped Slice type ID.
|
577
|
+
* @param current The Current object for the invocation.
|
578
|
+
* @return True if this object supports the interface, false, otherwise.
|
579
|
+
*/
|
580
|
+
virtual bool ice_isA(const ::std::string& id, const Current& current = emptyCurrent) const;
|
581
|
+
|
582
|
+
/**
|
583
|
+
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
584
|
+
* @param current The Current object for the invocation.
|
585
|
+
* @return A list of fully-scoped type IDs.
|
586
|
+
*/
|
587
|
+
virtual ::std::vector< ::std::string> ice_ids(const Current& current = emptyCurrent) const;
|
588
|
+
|
589
|
+
/**
|
590
|
+
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
591
|
+
* @param current The Current object for the invocation.
|
592
|
+
* @return A fully-scoped type ID.
|
593
|
+
*/
|
594
|
+
virtual const ::std::string& ice_id(const Current& current = emptyCurrent) const;
|
595
|
+
|
596
|
+
/**
|
597
|
+
* Obtains the Slice type ID corresponding to this class.
|
598
|
+
* @return A fully-scoped type ID.
|
599
|
+
*/
|
331
600
|
static const ::std::string& ice_staticId();
|
332
601
|
|
333
|
-
|
602
|
+
/**
|
603
|
+
* Initiate a graceful shut-down.
|
604
|
+
* @param current The Current object for the invocation.
|
605
|
+
* @see Communicator#shutdown
|
606
|
+
*/
|
607
|
+
virtual void shutdown(const Current& current = emptyCurrent) = 0;
|
608
|
+
/// \cond INTERNAL
|
334
609
|
bool _iceD_shutdown(::IceInternal::Incoming&, const ::Ice::Current&);
|
335
|
-
|
336
|
-
|
610
|
+
/// \endcond
|
611
|
+
|
612
|
+
/**
|
613
|
+
* Write a message on the process' stdout or stderr.
|
614
|
+
* @param message The message.
|
615
|
+
* @param fd 1 for stdout, 2 for stderr.
|
616
|
+
* @param current The Current object for the invocation.
|
617
|
+
*/
|
618
|
+
virtual void writeMessage(const ::std::string& message, Int fd, const Current& current = emptyCurrent) = 0;
|
619
|
+
/// \cond INTERNAL
|
337
620
|
bool _iceD_writeMessage(::IceInternal::Incoming&, const ::Ice::Current&);
|
621
|
+
/// \endcond
|
338
622
|
|
339
|
-
|
623
|
+
/// \cond INTERNAL
|
624
|
+
virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&);
|
625
|
+
/// \endcond
|
340
626
|
|
341
627
|
protected:
|
342
628
|
|
343
|
-
|
344
|
-
virtual void
|
629
|
+
/// \cond STREAM
|
630
|
+
virtual void _iceWriteImpl(OutputStream*) const;
|
631
|
+
virtual void _iceReadImpl(InputStream*);
|
632
|
+
/// \endcond
|
345
633
|
};
|
346
634
|
|
635
|
+
/// \cond INTERNAL
|
347
636
|
inline bool operator==(const Process& lhs, const Process& rhs)
|
348
637
|
{
|
349
|
-
return static_cast<const
|
638
|
+
return static_cast<const Object&>(lhs) == static_cast<const Object&>(rhs);
|
350
639
|
}
|
351
640
|
|
352
641
|
inline bool operator<(const Process& lhs, const Process& rhs)
|
353
642
|
{
|
354
|
-
return static_cast<const
|
643
|
+
return static_cast<const Object&>(lhs) < static_cast<const Object&>(rhs);
|
355
644
|
}
|
645
|
+
/// \endcond
|
356
646
|
|
357
647
|
}
|
358
648
|
|
649
|
+
/// \cond STREAM
|
359
650
|
namespace Ice
|
360
651
|
{
|
361
652
|
|
362
653
|
}
|
654
|
+
/// \endcond
|
363
655
|
|
364
656
|
namespace Ice
|
365
657
|
{
|
366
658
|
|
659
|
+
/**
|
660
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
661
|
+
* IceProxy::Ice::Process::begin_shutdown.
|
662
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Process_shutdown.
|
663
|
+
*/
|
367
664
|
template<class T>
|
368
665
|
class CallbackNC_Process_shutdown : public Callback_Process_shutdown_Base, public ::IceInternal::OnewayCallbackNC<T>
|
369
666
|
{
|
@@ -381,30 +678,65 @@ public:
|
|
381
678
|
}
|
382
679
|
};
|
383
680
|
|
681
|
+
/**
|
682
|
+
* Creates a callback wrapper instance that delegates to your object.
|
683
|
+
* @param instance The callback object.
|
684
|
+
* @param cb The success method of the callback object.
|
685
|
+
* @param excb The exception method of the callback object.
|
686
|
+
* @param sentcb The sent method of the callback object.
|
687
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Process::begin_shutdown.
|
688
|
+
*/
|
384
689
|
template<class T> Callback_Process_shutdownPtr
|
385
690
|
newCallback_Process_shutdown(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
386
691
|
{
|
387
692
|
return new CallbackNC_Process_shutdown<T>(instance, cb, excb, sentcb);
|
388
693
|
}
|
389
694
|
|
695
|
+
/**
|
696
|
+
* Creates a callback wrapper instance that delegates to your object.
|
697
|
+
* @param instance The callback object.
|
698
|
+
* @param excb The exception method of the callback object.
|
699
|
+
* @param sentcb The sent method of the callback object.
|
700
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Process::begin_shutdown.
|
701
|
+
*/
|
390
702
|
template<class T> Callback_Process_shutdownPtr
|
391
703
|
newCallback_Process_shutdown(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
392
704
|
{
|
393
705
|
return new CallbackNC_Process_shutdown<T>(instance, 0, excb, sentcb);
|
394
706
|
}
|
395
707
|
|
708
|
+
/**
|
709
|
+
* Creates a callback wrapper instance that delegates to your object.
|
710
|
+
* @param instance The callback object.
|
711
|
+
* @param cb The success method of the callback object.
|
712
|
+
* @param excb The exception method of the callback object.
|
713
|
+
* @param sentcb The sent method of the callback object.
|
714
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Process::begin_shutdown.
|
715
|
+
*/
|
396
716
|
template<class T> Callback_Process_shutdownPtr
|
397
717
|
newCallback_Process_shutdown(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
398
718
|
{
|
399
719
|
return new CallbackNC_Process_shutdown<T>(instance, cb, excb, sentcb);
|
400
720
|
}
|
401
721
|
|
722
|
+
/**
|
723
|
+
* Creates a callback wrapper instance that delegates to your object.
|
724
|
+
* @param instance The callback object.
|
725
|
+
* @param excb The exception method of the callback object.
|
726
|
+
* @param sentcb The sent method of the callback object.
|
727
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Process::begin_shutdown.
|
728
|
+
*/
|
402
729
|
template<class T> Callback_Process_shutdownPtr
|
403
730
|
newCallback_Process_shutdown(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
404
731
|
{
|
405
732
|
return new CallbackNC_Process_shutdown<T>(instance, 0, excb, sentcb);
|
406
733
|
}
|
407
734
|
|
735
|
+
/**
|
736
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
737
|
+
* IceProxy::Ice::Process::begin_shutdown.
|
738
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Process_shutdown.
|
739
|
+
*/
|
408
740
|
template<class T, typename CT>
|
409
741
|
class Callback_Process_shutdown : public Callback_Process_shutdown_Base, public ::IceInternal::OnewayCallback<T, CT>
|
410
742
|
{
|
@@ -422,30 +754,69 @@ public:
|
|
422
754
|
}
|
423
755
|
};
|
424
756
|
|
757
|
+
/**
|
758
|
+
* Creates a callback wrapper instance that delegates to your object.
|
759
|
+
* Use this overload when your callback methods receive a cookie value.
|
760
|
+
* @param instance The callback object.
|
761
|
+
* @param cb The success method of the callback object.
|
762
|
+
* @param excb The exception method of the callback object.
|
763
|
+
* @param sentcb The sent method of the callback object.
|
764
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Process::begin_shutdown.
|
765
|
+
*/
|
425
766
|
template<class T, typename CT> Callback_Process_shutdownPtr
|
426
767
|
newCallback_Process_shutdown(const IceUtil::Handle<T>& instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
427
768
|
{
|
428
769
|
return new Callback_Process_shutdown<T, CT>(instance, cb, excb, sentcb);
|
429
770
|
}
|
430
771
|
|
772
|
+
/**
|
773
|
+
* Creates a callback wrapper instance that delegates to your object.
|
774
|
+
* Use this overload when your callback methods receive a cookie value.
|
775
|
+
* @param instance The callback object.
|
776
|
+
* @param excb The exception method of the callback object.
|
777
|
+
* @param sentcb The sent method of the callback object.
|
778
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Process::begin_shutdown.
|
779
|
+
*/
|
431
780
|
template<class T, typename CT> Callback_Process_shutdownPtr
|
432
781
|
newCallback_Process_shutdown(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
433
782
|
{
|
434
783
|
return new Callback_Process_shutdown<T, CT>(instance, 0, excb, sentcb);
|
435
784
|
}
|
436
785
|
|
786
|
+
/**
|
787
|
+
* Creates a callback wrapper instance that delegates to your object.
|
788
|
+
* Use this overload when your callback methods receive a cookie value.
|
789
|
+
* @param instance The callback object.
|
790
|
+
* @param cb The success method of the callback object.
|
791
|
+
* @param excb The exception method of the callback object.
|
792
|
+
* @param sentcb The sent method of the callback object.
|
793
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Process::begin_shutdown.
|
794
|
+
*/
|
437
795
|
template<class T, typename CT> Callback_Process_shutdownPtr
|
438
796
|
newCallback_Process_shutdown(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
439
797
|
{
|
440
798
|
return new Callback_Process_shutdown<T, CT>(instance, cb, excb, sentcb);
|
441
799
|
}
|
442
800
|
|
801
|
+
/**
|
802
|
+
* Creates a callback wrapper instance that delegates to your object.
|
803
|
+
* Use this overload when your callback methods receive a cookie value.
|
804
|
+
* @param instance The callback object.
|
805
|
+
* @param excb The exception method of the callback object.
|
806
|
+
* @param sentcb The sent method of the callback object.
|
807
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Process::begin_shutdown.
|
808
|
+
*/
|
443
809
|
template<class T, typename CT> Callback_Process_shutdownPtr
|
444
810
|
newCallback_Process_shutdown(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
445
811
|
{
|
446
812
|
return new Callback_Process_shutdown<T, CT>(instance, 0, excb, sentcb);
|
447
813
|
}
|
448
814
|
|
815
|
+
/**
|
816
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
817
|
+
* IceProxy::Ice::Process::begin_writeMessage.
|
818
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Process_writeMessage.
|
819
|
+
*/
|
449
820
|
template<class T>
|
450
821
|
class CallbackNC_Process_writeMessage : public Callback_Process_writeMessage_Base, public ::IceInternal::OnewayCallbackNC<T>
|
451
822
|
{
|
@@ -463,30 +834,65 @@ public:
|
|
463
834
|
}
|
464
835
|
};
|
465
836
|
|
837
|
+
/**
|
838
|
+
* Creates a callback wrapper instance that delegates to your object.
|
839
|
+
* @param instance The callback object.
|
840
|
+
* @param cb The success method of the callback object.
|
841
|
+
* @param excb The exception method of the callback object.
|
842
|
+
* @param sentcb The sent method of the callback object.
|
843
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Process::begin_writeMessage.
|
844
|
+
*/
|
466
845
|
template<class T> Callback_Process_writeMessagePtr
|
467
846
|
newCallback_Process_writeMessage(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
468
847
|
{
|
469
848
|
return new CallbackNC_Process_writeMessage<T>(instance, cb, excb, sentcb);
|
470
849
|
}
|
471
850
|
|
851
|
+
/**
|
852
|
+
* Creates a callback wrapper instance that delegates to your object.
|
853
|
+
* @param instance The callback object.
|
854
|
+
* @param excb The exception method of the callback object.
|
855
|
+
* @param sentcb The sent method of the callback object.
|
856
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Process::begin_writeMessage.
|
857
|
+
*/
|
472
858
|
template<class T> Callback_Process_writeMessagePtr
|
473
859
|
newCallback_Process_writeMessage(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
474
860
|
{
|
475
861
|
return new CallbackNC_Process_writeMessage<T>(instance, 0, excb, sentcb);
|
476
862
|
}
|
477
863
|
|
864
|
+
/**
|
865
|
+
* Creates a callback wrapper instance that delegates to your object.
|
866
|
+
* @param instance The callback object.
|
867
|
+
* @param cb The success method of the callback object.
|
868
|
+
* @param excb The exception method of the callback object.
|
869
|
+
* @param sentcb The sent method of the callback object.
|
870
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Process::begin_writeMessage.
|
871
|
+
*/
|
478
872
|
template<class T> Callback_Process_writeMessagePtr
|
479
873
|
newCallback_Process_writeMessage(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
480
874
|
{
|
481
875
|
return new CallbackNC_Process_writeMessage<T>(instance, cb, excb, sentcb);
|
482
876
|
}
|
483
877
|
|
878
|
+
/**
|
879
|
+
* Creates a callback wrapper instance that delegates to your object.
|
880
|
+
* @param instance The callback object.
|
881
|
+
* @param excb The exception method of the callback object.
|
882
|
+
* @param sentcb The sent method of the callback object.
|
883
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Process::begin_writeMessage.
|
884
|
+
*/
|
484
885
|
template<class T> Callback_Process_writeMessagePtr
|
485
886
|
newCallback_Process_writeMessage(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
486
887
|
{
|
487
888
|
return new CallbackNC_Process_writeMessage<T>(instance, 0, excb, sentcb);
|
488
889
|
}
|
489
890
|
|
891
|
+
/**
|
892
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
893
|
+
* IceProxy::Ice::Process::begin_writeMessage.
|
894
|
+
* Create a wrapper instance by calling ::Ice::newCallback_Process_writeMessage.
|
895
|
+
*/
|
490
896
|
template<class T, typename CT>
|
491
897
|
class Callback_Process_writeMessage : public Callback_Process_writeMessage_Base, public ::IceInternal::OnewayCallback<T, CT>
|
492
898
|
{
|
@@ -504,24 +910,58 @@ public:
|
|
504
910
|
}
|
505
911
|
};
|
506
912
|
|
913
|
+
/**
|
914
|
+
* Creates a callback wrapper instance that delegates to your object.
|
915
|
+
* Use this overload when your callback methods receive a cookie value.
|
916
|
+
* @param instance The callback object.
|
917
|
+
* @param cb The success method of the callback object.
|
918
|
+
* @param excb The exception method of the callback object.
|
919
|
+
* @param sentcb The sent method of the callback object.
|
920
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Process::begin_writeMessage.
|
921
|
+
*/
|
507
922
|
template<class T, typename CT> Callback_Process_writeMessagePtr
|
508
923
|
newCallback_Process_writeMessage(const IceUtil::Handle<T>& instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
509
924
|
{
|
510
925
|
return new Callback_Process_writeMessage<T, CT>(instance, cb, excb, sentcb);
|
511
926
|
}
|
512
927
|
|
928
|
+
/**
|
929
|
+
* Creates a callback wrapper instance that delegates to your object.
|
930
|
+
* Use this overload when your callback methods receive a cookie value.
|
931
|
+
* @param instance The callback object.
|
932
|
+
* @param excb The exception method of the callback object.
|
933
|
+
* @param sentcb The sent method of the callback object.
|
934
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Process::begin_writeMessage.
|
935
|
+
*/
|
513
936
|
template<class T, typename CT> Callback_Process_writeMessagePtr
|
514
937
|
newCallback_Process_writeMessage(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
515
938
|
{
|
516
939
|
return new Callback_Process_writeMessage<T, CT>(instance, 0, excb, sentcb);
|
517
940
|
}
|
518
941
|
|
942
|
+
/**
|
943
|
+
* Creates a callback wrapper instance that delegates to your object.
|
944
|
+
* Use this overload when your callback methods receive a cookie value.
|
945
|
+
* @param instance The callback object.
|
946
|
+
* @param cb The success method of the callback object.
|
947
|
+
* @param excb The exception method of the callback object.
|
948
|
+
* @param sentcb The sent method of the callback object.
|
949
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Process::begin_writeMessage.
|
950
|
+
*/
|
519
951
|
template<class T, typename CT> Callback_Process_writeMessagePtr
|
520
952
|
newCallback_Process_writeMessage(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
521
953
|
{
|
522
954
|
return new Callback_Process_writeMessage<T, CT>(instance, cb, excb, sentcb);
|
523
955
|
}
|
524
956
|
|
957
|
+
/**
|
958
|
+
* Creates a callback wrapper instance that delegates to your object.
|
959
|
+
* Use this overload when your callback methods receive a cookie value.
|
960
|
+
* @param instance The callback object.
|
961
|
+
* @param excb The exception method of the callback object.
|
962
|
+
* @param sentcb The sent method of the callback object.
|
963
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::Process::begin_writeMessage.
|
964
|
+
*/
|
525
965
|
template<class T, typename CT> Callback_Process_writeMessagePtr
|
526
966
|
newCallback_Process_writeMessage(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
527
967
|
{
|