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,13 +1,8 @@
|
|
1
|
-
// **********************************************************************
|
2
1
|
//
|
3
|
-
// Copyright (c)
|
2
|
+
// Copyright (c) ZeroC, Inc. All rights reserved.
|
4
3
|
//
|
5
|
-
// This copy of Ice is licensed to you under the terms described in the
|
6
|
-
// ICE_LICENSE file included in this distribution.
|
7
4
|
//
|
8
|
-
//
|
9
|
-
//
|
10
|
-
// Ice version 3.7.0
|
5
|
+
// Ice version 3.7.5
|
11
6
|
//
|
12
7
|
// <auto-generated>
|
13
8
|
//
|
@@ -38,10 +33,10 @@
|
|
38
33
|
# if ICE_INT_VERSION / 100 != 307
|
39
34
|
# error Ice version mismatch!
|
40
35
|
# endif
|
41
|
-
# if ICE_INT_VERSION % 100
|
36
|
+
# if ICE_INT_VERSION % 100 >= 50
|
42
37
|
# error Beta header file detected
|
43
38
|
# endif
|
44
|
-
# if ICE_INT_VERSION % 100 <
|
39
|
+
# if ICE_INT_VERSION % 100 < 5
|
45
40
|
# error Ice patch level mismatch!
|
46
41
|
# endif
|
47
42
|
#endif
|
@@ -67,11 +62,14 @@ class PropertiesAdminPrx;
|
|
67
62
|
|
68
63
|
}
|
69
64
|
|
65
|
+
/// \cond STREAM
|
70
66
|
namespace Ice
|
71
67
|
{
|
72
68
|
|
73
69
|
}
|
70
|
+
/// \endcond
|
74
71
|
|
72
|
+
/// \cond INTERNAL
|
75
73
|
namespace Ice
|
76
74
|
{
|
77
75
|
|
@@ -81,6 +79,7 @@ using PropertiesAdminPtr = ::std::shared_ptr<PropertiesAdmin>;
|
|
81
79
|
using PropertiesAdminPrxPtr = ::std::shared_ptr<PropertiesAdminPrx>;
|
82
80
|
|
83
81
|
}
|
82
|
+
/// \endcond
|
84
83
|
|
85
84
|
#else // C++98 mapping
|
86
85
|
|
@@ -91,8 +90,10 @@ namespace Ice
|
|
91
90
|
{
|
92
91
|
|
93
92
|
class PropertiesAdmin;
|
94
|
-
|
95
|
-
ICE_API ::
|
93
|
+
/// \cond INTERNAL
|
94
|
+
ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< PropertiesAdmin>&);
|
95
|
+
ICE_API ::IceProxy::Ice::Object* upCast(PropertiesAdmin*);
|
96
|
+
/// \endcond
|
96
97
|
|
97
98
|
}
|
98
99
|
|
@@ -102,22 +103,30 @@ namespace Ice
|
|
102
103
|
{
|
103
104
|
|
104
105
|
class Properties;
|
105
|
-
|
106
|
-
|
106
|
+
/// \cond INTERNAL
|
107
|
+
ICE_API LocalObject* upCast(Properties*);
|
108
|
+
/// \endcond
|
109
|
+
typedef ::IceInternal::Handle< Properties> PropertiesPtr;
|
107
110
|
|
108
111
|
class PropertiesAdmin;
|
109
|
-
|
110
|
-
|
112
|
+
/// \cond INTERNAL
|
113
|
+
ICE_API Object* upCast(PropertiesAdmin*);
|
114
|
+
/// \endcond
|
115
|
+
typedef ::IceInternal::Handle< PropertiesAdmin> PropertiesAdminPtr;
|
111
116
|
typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::PropertiesAdmin> PropertiesAdminPrx;
|
112
117
|
typedef PropertiesAdminPrx PropertiesAdminPrxPtr;
|
113
|
-
|
118
|
+
/// \cond INTERNAL
|
119
|
+
ICE_API void _icePatchObjectPtr(PropertiesAdminPtr&, const ObjectPtr&);
|
120
|
+
/// \endcond
|
114
121
|
|
115
122
|
}
|
116
123
|
|
124
|
+
/// \cond STREAM
|
117
125
|
namespace Ice
|
118
126
|
{
|
119
127
|
|
120
128
|
}
|
129
|
+
/// \endcond
|
121
130
|
|
122
131
|
#endif
|
123
132
|
|
@@ -1,13 +1,8 @@
|
|
1
|
-
// **********************************************************************
|
2
1
|
//
|
3
|
-
// Copyright (c)
|
2
|
+
// Copyright (c) ZeroC, Inc. All rights reserved.
|
4
3
|
//
|
5
|
-
// This copy of Ice is licensed to you under the terms described in the
|
6
|
-
// ICE_LICENSE file included in this distribution.
|
7
4
|
//
|
8
|
-
//
|
9
|
-
//
|
10
|
-
// Ice version 3.7.0
|
5
|
+
// Ice version 3.7.5
|
11
6
|
//
|
12
7
|
// <auto-generated>
|
13
8
|
//
|
@@ -46,10 +41,10 @@
|
|
46
41
|
# if ICE_INT_VERSION / 100 != 307
|
47
42
|
# error Ice version mismatch!
|
48
43
|
# endif
|
49
|
-
# if ICE_INT_VERSION % 100
|
44
|
+
# if ICE_INT_VERSION % 100 >= 50
|
50
45
|
# error Beta header file detected
|
51
46
|
# endif
|
52
|
-
# if ICE_INT_VERSION % 100 <
|
47
|
+
# if ICE_INT_VERSION % 100 < 5
|
53
48
|
# error Ice patch level mismatch!
|
54
49
|
# endif
|
55
50
|
#endif
|
@@ -79,32 +74,79 @@ class LoggerAdminPrx;
|
|
79
74
|
namespace Ice
|
80
75
|
{
|
81
76
|
|
77
|
+
/**
|
78
|
+
* An enumeration representing the different types of log messages.
|
79
|
+
*/
|
82
80
|
enum class LogMessageType : unsigned char
|
83
81
|
{
|
82
|
+
/**
|
83
|
+
* The {@link Logger} received a print message.
|
84
|
+
*/
|
84
85
|
PrintMessage,
|
86
|
+
/**
|
87
|
+
* The {@link Logger} received a trace message.
|
88
|
+
*/
|
85
89
|
TraceMessage,
|
90
|
+
/**
|
91
|
+
* The {@link Logger} received a warning message.
|
92
|
+
*/
|
86
93
|
WarningMessage,
|
94
|
+
/**
|
95
|
+
* The {@link Logger} received an error message.
|
96
|
+
*/
|
87
97
|
ErrorMessage
|
88
98
|
};
|
89
99
|
|
90
|
-
|
100
|
+
/**
|
101
|
+
* A sequence of {@link LogMessageType}
|
102
|
+
*/
|
103
|
+
using LogMessageTypeSeq = ::std::vector<LogMessageType>;
|
91
104
|
|
105
|
+
/**
|
106
|
+
* A complete log message.
|
107
|
+
* \headerfile Ice/Ice.h
|
108
|
+
*/
|
92
109
|
struct LogMessage
|
93
110
|
{
|
111
|
+
/**
|
112
|
+
* The type of message sent to the {@link Logger}.
|
113
|
+
*/
|
94
114
|
::Ice::LogMessageType type;
|
115
|
+
/**
|
116
|
+
* The date and time when the {@link Logger} received this message, expressed
|
117
|
+
* as the number of microseconds since the Unix Epoch (00:00:00 UTC on 1 January 1970)
|
118
|
+
*/
|
95
119
|
long long int timestamp;
|
120
|
+
/**
|
121
|
+
* For a message of type trace, the trace category of this log message;
|
122
|
+
* otherwise, the empty string.
|
123
|
+
*/
|
96
124
|
::std::string traceCategory;
|
125
|
+
/**
|
126
|
+
* The log message itself.
|
127
|
+
*/
|
97
128
|
::std::string message;
|
98
129
|
|
130
|
+
/**
|
131
|
+
* Obtains a tuple containing all of the struct's data members.
|
132
|
+
* @return The data members in a tuple.
|
133
|
+
*/
|
99
134
|
std::tuple<const ::Ice::LogMessageType&, const long long int&, const ::std::string&, const ::std::string&> ice_tuple() const
|
100
135
|
{
|
101
136
|
return std::tie(type, timestamp, traceCategory, message);
|
102
137
|
}
|
103
138
|
};
|
104
139
|
|
140
|
+
/**
|
141
|
+
* A sequence of {@link LogMessage}.
|
142
|
+
*/
|
105
143
|
using LogMessageSeq = std::list<LogMessage>;
|
106
144
|
|
107
|
-
|
145
|
+
/**
|
146
|
+
* Thrown when the provided RemoteLogger was previously attached to a LoggerAdmin.
|
147
|
+
* \headerfile Ice/Ice.h
|
148
|
+
*/
|
149
|
+
class ICE_CLASS(ICE_API) RemoteLoggerAlreadyAttachedException : public UserExceptionHelper<RemoteLoggerAlreadyAttachedException, UserException>
|
108
150
|
{
|
109
151
|
public:
|
110
152
|
|
@@ -114,15 +156,25 @@ public:
|
|
114
156
|
|
115
157
|
RemoteLoggerAlreadyAttachedException() = default;
|
116
158
|
|
159
|
+
/**
|
160
|
+
* Obtains a tuple containing all of the exception's data members.
|
161
|
+
* @return The data members in a tuple.
|
162
|
+
*/
|
117
163
|
std::tuple<> ice_tuple() const
|
118
164
|
{
|
119
165
|
return std::tie();
|
120
166
|
}
|
121
167
|
|
168
|
+
/**
|
169
|
+
* Obtains the Slice type ID of this exception.
|
170
|
+
* @return The fully-scoped type ID.
|
171
|
+
*/
|
122
172
|
ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
|
123
173
|
};
|
124
174
|
|
175
|
+
/// \cond INTERNAL
|
125
176
|
static RemoteLoggerAlreadyAttachedException _iceS_RemoteLoggerAlreadyAttachedException_init;
|
177
|
+
/// \endcond
|
126
178
|
|
127
179
|
using Ice::operator<;
|
128
180
|
using Ice::operator<=;
|
@@ -136,55 +188,174 @@ using Ice::operator!=;
|
|
136
188
|
namespace Ice
|
137
189
|
{
|
138
190
|
|
139
|
-
|
191
|
+
/**
|
192
|
+
* The Ice remote logger interface. An application can implement a
|
193
|
+
* RemoteLogger to receive the log messages sent to the local {@link Logger}
|
194
|
+
* of another Ice application.
|
195
|
+
* \headerfile Ice/Ice.h
|
196
|
+
*/
|
197
|
+
class ICE_API RemoteLogger : public virtual Object
|
140
198
|
{
|
141
199
|
public:
|
142
200
|
|
143
201
|
using ProxyType = RemoteLoggerPrx;
|
144
202
|
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
203
|
+
/**
|
204
|
+
* Determines whether this object supports an interface with the given Slice type ID.
|
205
|
+
* @param id The fully-scoped Slice type ID.
|
206
|
+
* @param current The Current object for the invocation.
|
207
|
+
* @return True if this object supports the interface, false, otherwise.
|
208
|
+
*/
|
209
|
+
virtual bool ice_isA(::std::string id, const Current& current) const override;
|
210
|
+
|
211
|
+
/**
|
212
|
+
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
213
|
+
* @param current The Current object for the invocation.
|
214
|
+
* @return A list of fully-scoped type IDs.
|
215
|
+
*/
|
216
|
+
virtual ::std::vector<::std::string> ice_ids(const Current& current) const override;
|
217
|
+
|
218
|
+
/**
|
219
|
+
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
220
|
+
* @param current The Current object for the invocation.
|
221
|
+
* @return A fully-scoped type ID.
|
222
|
+
*/
|
223
|
+
virtual ::std::string ice_id(const Current& current) const override;
|
224
|
+
|
225
|
+
/**
|
226
|
+
* Obtains the Slice type ID corresponding to this class.
|
227
|
+
* @return A fully-scoped type ID.
|
228
|
+
*/
|
149
229
|
static const ::std::string& ice_staticId();
|
150
230
|
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
virtual
|
231
|
+
/**
|
232
|
+
* init is called by attachRemoteLogger when a RemoteLogger proxy is attached.
|
233
|
+
* @param prefix The prefix of the associated local Logger.
|
234
|
+
* @param logMessages Old log messages generated before "now".
|
235
|
+
* @param current The Current object for the invocation.
|
236
|
+
*/
|
237
|
+
virtual void init(::std::string prefix, LogMessageSeq logMessages, const Current& current) = 0;
|
238
|
+
/// \cond INTERNAL
|
239
|
+
bool _iceD_init(::IceInternal::Incoming&, const Current&);
|
240
|
+
/// \endcond
|
241
|
+
|
242
|
+
/**
|
243
|
+
* Log a LogMessage. Note that log may be called by LoggerAdmin before init.
|
244
|
+
* @param message The message to log.
|
245
|
+
* @param current The Current object for the invocation.
|
246
|
+
*/
|
247
|
+
virtual void log(LogMessage message, const Current& current) = 0;
|
248
|
+
/// \cond INTERNAL
|
249
|
+
bool _iceD_log(::IceInternal::Incoming&, const Current&);
|
250
|
+
/// \endcond
|
251
|
+
|
252
|
+
/// \cond INTERNAL
|
253
|
+
virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&) override;
|
254
|
+
/// \endcond
|
158
255
|
};
|
159
256
|
|
160
|
-
|
257
|
+
/**
|
258
|
+
* The interface of the admin object that allows an Ice application the attach its
|
259
|
+
* {@link RemoteLogger} to the {@link Logger} of this admin object's Ice communicator.
|
260
|
+
* \headerfile Ice/Ice.h
|
261
|
+
*/
|
262
|
+
class ICE_API LoggerAdmin : public virtual Object
|
161
263
|
{
|
162
264
|
public:
|
163
265
|
|
164
266
|
using ProxyType = LoggerAdminPrx;
|
165
267
|
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
268
|
+
/**
|
269
|
+
* Determines whether this object supports an interface with the given Slice type ID.
|
270
|
+
* @param id The fully-scoped Slice type ID.
|
271
|
+
* @param current The Current object for the invocation.
|
272
|
+
* @return True if this object supports the interface, false, otherwise.
|
273
|
+
*/
|
274
|
+
virtual bool ice_isA(::std::string id, const Current& current) const override;
|
275
|
+
|
276
|
+
/**
|
277
|
+
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
278
|
+
* @param current The Current object for the invocation.
|
279
|
+
* @return A list of fully-scoped type IDs.
|
280
|
+
*/
|
281
|
+
virtual ::std::vector<::std::string> ice_ids(const Current& current) const override;
|
282
|
+
|
283
|
+
/**
|
284
|
+
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
285
|
+
* @param current The Current object for the invocation.
|
286
|
+
* @return A fully-scoped type ID.
|
287
|
+
*/
|
288
|
+
virtual ::std::string ice_id(const Current& current) const override;
|
289
|
+
|
290
|
+
/**
|
291
|
+
* Obtains the Slice type ID corresponding to this class.
|
292
|
+
* @return A fully-scoped type ID.
|
293
|
+
*/
|
170
294
|
static const ::std::string& ice_staticId();
|
171
295
|
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
296
|
+
/**
|
297
|
+
* Attaches a RemoteLogger object to the local logger.
|
298
|
+
* attachRemoteLogger calls init on the provided RemoteLogger proxy.
|
299
|
+
* @param prx A proxy to the remote logger.
|
300
|
+
* @param messageTypes The list of message types that the remote logger wishes to receive.
|
301
|
+
* An empty list means no filtering (send all message types).
|
302
|
+
* @param traceCategories The categories of traces that the remote logger wishes to receive.
|
303
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
304
|
+
* An empty list means no filtering (send all trace categories).
|
305
|
+
* @param messageMax The maximum number of log messages (of all types) to be provided
|
306
|
+
* to init. A negative value requests all messages available.
|
307
|
+
* @param current The Current object for the invocation.
|
308
|
+
* @throws Ice::RemoteLoggerAlreadyAttachedException Raised if this remote logger is already
|
309
|
+
* attached to this admin object.
|
310
|
+
*/
|
311
|
+
virtual void attachRemoteLogger(::std::shared_ptr<RemoteLoggerPrx> prx, LogMessageTypeSeq messageTypes, StringSeq traceCategories, int messageMax, const Current& current) = 0;
|
312
|
+
/// \cond INTERNAL
|
313
|
+
bool _iceD_attachRemoteLogger(::IceInternal::Incoming&, const Current&);
|
314
|
+
/// \endcond
|
315
|
+
|
316
|
+
/**
|
317
|
+
* Detaches a RemoteLogger object from the local logger.
|
318
|
+
* @param prx A proxy to the remote logger.
|
319
|
+
* @param current The Current object for the invocation.
|
320
|
+
* @return True if the provided remote logger proxy was detached, and false otherwise.
|
321
|
+
*/
|
322
|
+
virtual bool detachRemoteLogger(::std::shared_ptr<RemoteLoggerPrx> prx, const Current& current) = 0;
|
323
|
+
/// \cond INTERNAL
|
324
|
+
bool _iceD_detachRemoteLogger(::IceInternal::Incoming&, const Current&);
|
325
|
+
/// \endcond
|
326
|
+
|
327
|
+
/**
|
328
|
+
* Encapsulates the results of a call to getLog.
|
329
|
+
*/
|
178
330
|
struct GetLogResult
|
179
331
|
{
|
180
|
-
|
332
|
+
/** The Log messages. */
|
333
|
+
LogMessageSeq returnValue;
|
334
|
+
/** The prefix of the associated local logger. */
|
181
335
|
::std::string prefix;
|
182
336
|
};
|
183
337
|
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
338
|
+
/**
|
339
|
+
* Retrieves log messages recently logged.
|
340
|
+
* @param messageTypes The list of message types that the caller wishes to receive.
|
341
|
+
* An empty list means no filtering (send all message types).
|
342
|
+
* @param traceCategories The categories of traces that caller wish to receive.
|
343
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
344
|
+
* An empty list means no filtering (send all trace categories).
|
345
|
+
* @param messageMax The maximum number of log messages (of all types) to be returned.
|
346
|
+
* A negative value requests all messages available.
|
347
|
+
* @param prefix The prefix of the associated local logger.
|
348
|
+
* @param current The Current object for the invocation.
|
349
|
+
* @return The Log messages.
|
350
|
+
*/
|
351
|
+
virtual LogMessageSeq getLog(LogMessageTypeSeq messageTypes, StringSeq traceCategories, int messageMax, ::std::string& prefix, const Current& current) = 0;
|
352
|
+
/// \cond INTERNAL
|
353
|
+
bool _iceD_getLog(::IceInternal::Incoming&, const Current&);
|
354
|
+
/// \endcond
|
355
|
+
|
356
|
+
/// \cond INTERNAL
|
357
|
+
virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&) override;
|
358
|
+
/// \endcond
|
188
359
|
};
|
189
360
|
|
190
361
|
}
|
@@ -192,162 +363,346 @@ public:
|
|
192
363
|
namespace Ice
|
193
364
|
{
|
194
365
|
|
195
|
-
|
366
|
+
/**
|
367
|
+
* The Ice remote logger interface. An application can implement a
|
368
|
+
* RemoteLogger to receive the log messages sent to the local {@link Logger}
|
369
|
+
* of another Ice application.
|
370
|
+
* \headerfile Ice/Ice.h
|
371
|
+
*/
|
372
|
+
class ICE_CLASS(ICE_API) RemoteLoggerPrx : public virtual Proxy<RemoteLoggerPrx, ObjectPrx>
|
196
373
|
{
|
197
374
|
public:
|
198
375
|
|
199
|
-
|
376
|
+
/**
|
377
|
+
* init is called by attachRemoteLogger when a RemoteLogger proxy is attached.
|
378
|
+
* @param prefix The prefix of the associated local Logger.
|
379
|
+
* @param logMessages Old log messages generated before "now".
|
380
|
+
* @param context The Context map to send with the invocation.
|
381
|
+
*/
|
382
|
+
void init(const ::std::string& prefix, const LogMessageSeq& logMessages, const Context& context = noExplicitContext)
|
200
383
|
{
|
201
|
-
_makePromiseOutgoing<void>(true, this, &
|
384
|
+
_makePromiseOutgoing<void>(true, this, &RemoteLoggerPrx::_iceI_init, prefix, logMessages, context).get();
|
202
385
|
}
|
203
386
|
|
387
|
+
/**
|
388
|
+
* init is called by attachRemoteLogger when a RemoteLogger proxy is attached.
|
389
|
+
* @param prefix The prefix of the associated local Logger.
|
390
|
+
* @param logMessages Old log messages generated before "now".
|
391
|
+
* @param context The Context map to send with the invocation.
|
392
|
+
* @return The future object for the invocation.
|
393
|
+
*/
|
204
394
|
template<template<typename> class P = ::std::promise>
|
205
|
-
auto initAsync(const ::std::string&
|
395
|
+
auto initAsync(const ::std::string& prefix, const LogMessageSeq& logMessages, const Context& context = noExplicitContext)
|
206
396
|
-> decltype(::std::declval<P<void>>().get_future())
|
207
397
|
{
|
208
|
-
return _makePromiseOutgoing<void, P>(false, this, &
|
398
|
+
return _makePromiseOutgoing<void, P>(false, this, &RemoteLoggerPrx::_iceI_init, prefix, logMessages, context);
|
209
399
|
}
|
210
400
|
|
401
|
+
/**
|
402
|
+
* init is called by attachRemoteLogger when a RemoteLogger proxy is attached.
|
403
|
+
* @param prefix The prefix of the associated local Logger.
|
404
|
+
* @param logMessages Old log messages generated before "now".
|
405
|
+
* @param response The response callback.
|
406
|
+
* @param ex The exception callback.
|
407
|
+
* @param sent The sent callback.
|
408
|
+
* @param context The Context map to send with the invocation.
|
409
|
+
* @return A function that can be called to cancel the invocation locally.
|
410
|
+
*/
|
211
411
|
::std::function<void()>
|
212
|
-
initAsync(const ::std::string&
|
412
|
+
initAsync(const ::std::string& prefix, const LogMessageSeq& logMessages,
|
213
413
|
::std::function<void()> response,
|
214
414
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
215
415
|
::std::function<void(bool)> sent = nullptr,
|
216
|
-
const
|
416
|
+
const Context& context = noExplicitContext)
|
217
417
|
{
|
218
|
-
return _makeLamdaOutgoing<void>(response, ex, sent, this, &Ice::RemoteLoggerPrx::_iceI_init,
|
418
|
+
return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &Ice::RemoteLoggerPrx::_iceI_init, prefix, logMessages, context);
|
219
419
|
}
|
220
420
|
|
221
|
-
|
421
|
+
/// \cond INTERNAL
|
422
|
+
ICE_MEMBER(ICE_API) void _iceI_init(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const LogMessageSeq&, const Context&);
|
423
|
+
/// \endcond
|
222
424
|
|
223
|
-
|
425
|
+
/**
|
426
|
+
* Log a LogMessage. Note that log may be called by LoggerAdmin before init.
|
427
|
+
* @param message The message to log.
|
428
|
+
* @param context The Context map to send with the invocation.
|
429
|
+
*/
|
430
|
+
void log(const LogMessage& message, const Context& context = noExplicitContext)
|
224
431
|
{
|
225
|
-
_makePromiseOutgoing<void>(true, this, &
|
432
|
+
_makePromiseOutgoing<void>(true, this, &RemoteLoggerPrx::_iceI_log, message, context).get();
|
226
433
|
}
|
227
434
|
|
435
|
+
/**
|
436
|
+
* Log a LogMessage. Note that log may be called by LoggerAdmin before init.
|
437
|
+
* @param message The message to log.
|
438
|
+
* @param context The Context map to send with the invocation.
|
439
|
+
* @return The future object for the invocation.
|
440
|
+
*/
|
228
441
|
template<template<typename> class P = ::std::promise>
|
229
|
-
auto logAsync(const
|
442
|
+
auto logAsync(const LogMessage& message, const Context& context = noExplicitContext)
|
230
443
|
-> decltype(::std::declval<P<void>>().get_future())
|
231
444
|
{
|
232
|
-
return _makePromiseOutgoing<void, P>(false, this, &
|
445
|
+
return _makePromiseOutgoing<void, P>(false, this, &RemoteLoggerPrx::_iceI_log, message, context);
|
233
446
|
}
|
234
447
|
|
448
|
+
/**
|
449
|
+
* Log a LogMessage. Note that log may be called by LoggerAdmin before init.
|
450
|
+
* @param message The message to log.
|
451
|
+
* @param response The response callback.
|
452
|
+
* @param ex The exception callback.
|
453
|
+
* @param sent The sent callback.
|
454
|
+
* @param context The Context map to send with the invocation.
|
455
|
+
* @return A function that can be called to cancel the invocation locally.
|
456
|
+
*/
|
235
457
|
::std::function<void()>
|
236
|
-
logAsync(const
|
458
|
+
logAsync(const LogMessage& message,
|
237
459
|
::std::function<void()> response,
|
238
460
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
239
461
|
::std::function<void(bool)> sent = nullptr,
|
240
|
-
const
|
462
|
+
const Context& context = noExplicitContext)
|
241
463
|
{
|
242
|
-
return _makeLamdaOutgoing<void>(response, ex, sent, this, &Ice::RemoteLoggerPrx::_iceI_log,
|
464
|
+
return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &Ice::RemoteLoggerPrx::_iceI_log, message, context);
|
243
465
|
}
|
244
466
|
|
245
|
-
|
467
|
+
/// \cond INTERNAL
|
468
|
+
ICE_MEMBER(ICE_API) void _iceI_log(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const LogMessage&, const Context&);
|
469
|
+
/// \endcond
|
246
470
|
|
471
|
+
/**
|
472
|
+
* Obtains the Slice type ID of this interface.
|
473
|
+
* @return The fully-scoped type ID.
|
474
|
+
*/
|
247
475
|
ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
|
248
476
|
|
249
477
|
protected:
|
250
478
|
|
479
|
+
/// \cond INTERNAL
|
251
480
|
RemoteLoggerPrx() = default;
|
252
481
|
friend ::std::shared_ptr<RemoteLoggerPrx> IceInternal::createProxy<RemoteLoggerPrx>();
|
253
482
|
|
254
|
-
ICE_MEMBER(ICE_API) virtual ::std::shared_ptr
|
483
|
+
ICE_MEMBER(ICE_API) virtual ::std::shared_ptr<ObjectPrx> _newInstance() const override;
|
484
|
+
/// \endcond
|
255
485
|
};
|
256
486
|
|
257
|
-
|
487
|
+
/**
|
488
|
+
* The interface of the admin object that allows an Ice application the attach its
|
489
|
+
* {@link RemoteLogger} to the {@link Logger} of this admin object's Ice communicator.
|
490
|
+
* \headerfile Ice/Ice.h
|
491
|
+
*/
|
492
|
+
class ICE_CLASS(ICE_API) LoggerAdminPrx : public virtual Proxy<LoggerAdminPrx, ObjectPrx>
|
258
493
|
{
|
259
494
|
public:
|
260
495
|
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
496
|
+
/**
|
497
|
+
* Attaches a RemoteLogger object to the local logger.
|
498
|
+
* attachRemoteLogger calls init on the provided RemoteLogger proxy.
|
499
|
+
* @param prx A proxy to the remote logger.
|
500
|
+
* @param messageTypes The list of message types that the remote logger wishes to receive.
|
501
|
+
* An empty list means no filtering (send all message types).
|
502
|
+
* @param traceCategories The categories of traces that the remote logger wishes to receive.
|
503
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
504
|
+
* An empty list means no filtering (send all trace categories).
|
505
|
+
* @param messageMax The maximum number of log messages (of all types) to be provided
|
506
|
+
* to init. A negative value requests all messages available.
|
507
|
+
* @param context The Context map to send with the invocation.
|
508
|
+
* @throws Ice::RemoteLoggerAlreadyAttachedException Raised if this remote logger is already
|
509
|
+
* attached to this admin object.
|
510
|
+
*/
|
511
|
+
void attachRemoteLogger(const ::std::shared_ptr<RemoteLoggerPrx>& prx, const LogMessageTypeSeq& messageTypes, const StringSeq& traceCategories, int messageMax, const Context& context = noExplicitContext)
|
512
|
+
{
|
513
|
+
_makePromiseOutgoing<void>(true, this, &LoggerAdminPrx::_iceI_attachRemoteLogger, prx, messageTypes, traceCategories, messageMax, context).get();
|
514
|
+
}
|
515
|
+
|
516
|
+
/**
|
517
|
+
* Attaches a RemoteLogger object to the local logger.
|
518
|
+
* attachRemoteLogger calls init on the provided RemoteLogger proxy.
|
519
|
+
* @param prx A proxy to the remote logger.
|
520
|
+
* @param messageTypes The list of message types that the remote logger wishes to receive.
|
521
|
+
* An empty list means no filtering (send all message types).
|
522
|
+
* @param traceCategories The categories of traces that the remote logger wishes to receive.
|
523
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
524
|
+
* An empty list means no filtering (send all trace categories).
|
525
|
+
* @param messageMax The maximum number of log messages (of all types) to be provided
|
526
|
+
* to init. A negative value requests all messages available.
|
527
|
+
* @param context The Context map to send with the invocation.
|
528
|
+
* @return The future object for the invocation.
|
529
|
+
*/
|
266
530
|
template<template<typename> class P = ::std::promise>
|
267
|
-
auto attachRemoteLoggerAsync(const ::std::shared_ptr
|
531
|
+
auto attachRemoteLoggerAsync(const ::std::shared_ptr<RemoteLoggerPrx>& prx, const LogMessageTypeSeq& messageTypes, const StringSeq& traceCategories, int messageMax, const Context& context = noExplicitContext)
|
268
532
|
-> decltype(::std::declval<P<void>>().get_future())
|
269
533
|
{
|
270
|
-
return _makePromiseOutgoing<void, P>(false, this, &
|
271
|
-
}
|
272
|
-
|
534
|
+
return _makePromiseOutgoing<void, P>(false, this, &LoggerAdminPrx::_iceI_attachRemoteLogger, prx, messageTypes, traceCategories, messageMax, context);
|
535
|
+
}
|
536
|
+
|
537
|
+
/**
|
538
|
+
* Attaches a RemoteLogger object to the local logger.
|
539
|
+
* attachRemoteLogger calls init on the provided RemoteLogger proxy.
|
540
|
+
* @param prx A proxy to the remote logger.
|
541
|
+
* @param messageTypes The list of message types that the remote logger wishes to receive.
|
542
|
+
* An empty list means no filtering (send all message types).
|
543
|
+
* @param traceCategories The categories of traces that the remote logger wishes to receive.
|
544
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
545
|
+
* An empty list means no filtering (send all trace categories).
|
546
|
+
* @param messageMax The maximum number of log messages (of all types) to be provided
|
547
|
+
* to init. A negative value requests all messages available.
|
548
|
+
* @param response The response callback.
|
549
|
+
* @param ex The exception callback.
|
550
|
+
* @param sent The sent callback.
|
551
|
+
* @param context The Context map to send with the invocation.
|
552
|
+
* @return A function that can be called to cancel the invocation locally.
|
553
|
+
*/
|
273
554
|
::std::function<void()>
|
274
|
-
attachRemoteLoggerAsync(const ::std::shared_ptr
|
555
|
+
attachRemoteLoggerAsync(const ::std::shared_ptr<RemoteLoggerPrx>& prx, const LogMessageTypeSeq& messageTypes, const StringSeq& traceCategories, int messageMax,
|
275
556
|
::std::function<void()> response,
|
276
557
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
277
558
|
::std::function<void(bool)> sent = nullptr,
|
278
|
-
const
|
559
|
+
const Context& context = noExplicitContext)
|
279
560
|
{
|
280
|
-
return _makeLamdaOutgoing<void>(response, ex, sent, this, &Ice::LoggerAdminPrx::_iceI_attachRemoteLogger,
|
561
|
+
return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &Ice::LoggerAdminPrx::_iceI_attachRemoteLogger, prx, messageTypes, traceCategories, messageMax, context);
|
281
562
|
}
|
282
563
|
|
283
|
-
|
564
|
+
/// \cond INTERNAL
|
565
|
+
ICE_MEMBER(ICE_API) void _iceI_attachRemoteLogger(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::shared_ptr<RemoteLoggerPrx>&, const LogMessageTypeSeq&, const StringSeq&, int, const Context&);
|
566
|
+
/// \endcond
|
284
567
|
|
285
|
-
|
568
|
+
/**
|
569
|
+
* Detaches a RemoteLogger object from the local logger.
|
570
|
+
* @param prx A proxy to the remote logger.
|
571
|
+
* @param context The Context map to send with the invocation.
|
572
|
+
* @return True if the provided remote logger proxy was detached, and false otherwise.
|
573
|
+
*/
|
574
|
+
bool detachRemoteLogger(const ::std::shared_ptr<RemoteLoggerPrx>& prx, const Context& context = noExplicitContext)
|
286
575
|
{
|
287
|
-
return _makePromiseOutgoing<bool>(true, this, &
|
576
|
+
return _makePromiseOutgoing<bool>(true, this, &LoggerAdminPrx::_iceI_detachRemoteLogger, prx, context).get();
|
288
577
|
}
|
289
578
|
|
579
|
+
/**
|
580
|
+
* Detaches a RemoteLogger object from the local logger.
|
581
|
+
* @param prx A proxy to the remote logger.
|
582
|
+
* @param context The Context map to send with the invocation.
|
583
|
+
* @return The future object for the invocation.
|
584
|
+
*/
|
290
585
|
template<template<typename> class P = ::std::promise>
|
291
|
-
auto detachRemoteLoggerAsync(const ::std::shared_ptr
|
586
|
+
auto detachRemoteLoggerAsync(const ::std::shared_ptr<RemoteLoggerPrx>& prx, const Context& context = noExplicitContext)
|
292
587
|
-> decltype(::std::declval<P<bool>>().get_future())
|
293
588
|
{
|
294
|
-
return _makePromiseOutgoing<bool, P>(false, this, &
|
589
|
+
return _makePromiseOutgoing<bool, P>(false, this, &LoggerAdminPrx::_iceI_detachRemoteLogger, prx, context);
|
295
590
|
}
|
296
591
|
|
592
|
+
/**
|
593
|
+
* Detaches a RemoteLogger object from the local logger.
|
594
|
+
* @param prx A proxy to the remote logger.
|
595
|
+
* @param response The response callback.
|
596
|
+
* @param ex The exception callback.
|
597
|
+
* @param sent The sent callback.
|
598
|
+
* @param context The Context map to send with the invocation.
|
599
|
+
* @return A function that can be called to cancel the invocation locally.
|
600
|
+
*/
|
297
601
|
::std::function<void()>
|
298
|
-
detachRemoteLoggerAsync(const ::std::shared_ptr
|
602
|
+
detachRemoteLoggerAsync(const ::std::shared_ptr<RemoteLoggerPrx>& prx,
|
299
603
|
::std::function<void(bool)> response,
|
300
604
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
301
605
|
::std::function<void(bool)> sent = nullptr,
|
302
|
-
const
|
303
|
-
{
|
304
|
-
return _makeLamdaOutgoing<bool>(response, ex, sent, this, &Ice::LoggerAdminPrx::_iceI_detachRemoteLogger,
|
305
|
-
}
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
606
|
+
const Context& context = noExplicitContext)
|
607
|
+
{
|
608
|
+
return _makeLamdaOutgoing<bool>(std::move(response), std::move(ex), std::move(sent), this, &Ice::LoggerAdminPrx::_iceI_detachRemoteLogger, prx, context);
|
609
|
+
}
|
610
|
+
|
611
|
+
/// \cond INTERNAL
|
612
|
+
ICE_MEMBER(ICE_API) void _iceI_detachRemoteLogger(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<bool>>&, const ::std::shared_ptr<RemoteLoggerPrx>&, const Context&);
|
613
|
+
/// \endcond
|
614
|
+
|
615
|
+
/**
|
616
|
+
* Retrieves log messages recently logged.
|
617
|
+
* @param messageTypes The list of message types that the caller wishes to receive.
|
618
|
+
* An empty list means no filtering (send all message types).
|
619
|
+
* @param traceCategories The categories of traces that caller wish to receive.
|
620
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
621
|
+
* An empty list means no filtering (send all trace categories).
|
622
|
+
* @param messageMax The maximum number of log messages (of all types) to be returned.
|
623
|
+
* A negative value requests all messages available.
|
624
|
+
* @param prefix The prefix of the associated local logger.
|
625
|
+
* @param context The Context map to send with the invocation.
|
626
|
+
* @return The Log messages.
|
627
|
+
*/
|
628
|
+
LogMessageSeq getLog(const LogMessageTypeSeq& messageTypes, const StringSeq& traceCategories, int messageMax, ::std::string& prefix, const Context& context = noExplicitContext)
|
629
|
+
{
|
630
|
+
auto _result = _makePromiseOutgoing<LoggerAdmin::GetLogResult>(true, this, &LoggerAdminPrx::_iceI_getLog, messageTypes, traceCategories, messageMax, context).get();
|
631
|
+
prefix = ::std::move(_result.prefix);
|
632
|
+
return ::std::move(_result.returnValue);
|
633
|
+
}
|
634
|
+
|
635
|
+
/**
|
636
|
+
* Retrieves log messages recently logged.
|
637
|
+
* @param messageTypes The list of message types that the caller wishes to receive.
|
638
|
+
* An empty list means no filtering (send all message types).
|
639
|
+
* @param traceCategories The categories of traces that caller wish to receive.
|
640
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
641
|
+
* An empty list means no filtering (send all trace categories).
|
642
|
+
* @param messageMax The maximum number of log messages (of all types) to be returned.
|
643
|
+
* A negative value requests all messages available.
|
644
|
+
* @param context The Context map to send with the invocation.
|
645
|
+
* @return The future object for the invocation.
|
646
|
+
*/
|
316
647
|
template<template<typename> class P = ::std::promise>
|
317
|
-
auto getLogAsync(const
|
318
|
-
-> decltype(::std::declval<P
|
319
|
-
{
|
320
|
-
return _makePromiseOutgoing
|
321
|
-
}
|
322
|
-
|
648
|
+
auto getLogAsync(const LogMessageTypeSeq& messageTypes, const StringSeq& traceCategories, int messageMax, const Context& context = noExplicitContext)
|
649
|
+
-> decltype(::std::declval<P<LoggerAdmin::GetLogResult>>().get_future())
|
650
|
+
{
|
651
|
+
return _makePromiseOutgoing<LoggerAdmin::GetLogResult, P>(false, this, &LoggerAdminPrx::_iceI_getLog, messageTypes, traceCategories, messageMax, context);
|
652
|
+
}
|
653
|
+
|
654
|
+
/**
|
655
|
+
* Retrieves log messages recently logged.
|
656
|
+
* @param messageTypes The list of message types that the caller wishes to receive.
|
657
|
+
* An empty list means no filtering (send all message types).
|
658
|
+
* @param traceCategories The categories of traces that caller wish to receive.
|
659
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
660
|
+
* An empty list means no filtering (send all trace categories).
|
661
|
+
* @param messageMax The maximum number of log messages (of all types) to be returned.
|
662
|
+
* A negative value requests all messages available.
|
663
|
+
* @param response The response callback.
|
664
|
+
* @param ex The exception callback.
|
665
|
+
* @param sent The sent callback.
|
666
|
+
* @param context The Context map to send with the invocation.
|
667
|
+
* @return A function that can be called to cancel the invocation locally.
|
668
|
+
*/
|
323
669
|
::std::function<void()>
|
324
|
-
getLogAsync(const
|
670
|
+
getLogAsync(const LogMessageTypeSeq& messageTypes, const StringSeq& traceCategories, int messageMax,
|
325
671
|
::std::function<void(::Ice::LogMessageSeq, ::std::string)> response,
|
326
672
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
327
673
|
::std::function<void(bool)> sent = nullptr,
|
328
|
-
const
|
674
|
+
const Context& context = noExplicitContext)
|
329
675
|
{
|
330
|
-
auto
|
676
|
+
auto _responseCb = [response](LoggerAdmin::GetLogResult&& _result)
|
331
677
|
{
|
332
|
-
response(::std::move(
|
678
|
+
response(::std::move(_result.returnValue), ::std::move(_result.prefix));
|
333
679
|
};
|
334
|
-
return _makeLamdaOutgoing
|
680
|
+
return _makeLamdaOutgoing<LoggerAdmin::GetLogResult>(std::move(_responseCb), std::move(ex), std::move(sent), this, &Ice::LoggerAdminPrx::_iceI_getLog, messageTypes, traceCategories, messageMax, context);
|
335
681
|
}
|
336
682
|
|
337
|
-
|
683
|
+
/// \cond INTERNAL
|
684
|
+
ICE_MEMBER(ICE_API) void _iceI_getLog(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<LoggerAdmin::GetLogResult>>&, const LogMessageTypeSeq&, const StringSeq&, int, const Context&);
|
685
|
+
/// \endcond
|
338
686
|
|
687
|
+
/**
|
688
|
+
* Obtains the Slice type ID of this interface.
|
689
|
+
* @return The fully-scoped type ID.
|
690
|
+
*/
|
339
691
|
ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
|
340
692
|
|
341
693
|
protected:
|
342
694
|
|
695
|
+
/// \cond INTERNAL
|
343
696
|
LoggerAdminPrx() = default;
|
344
697
|
friend ::std::shared_ptr<LoggerAdminPrx> IceInternal::createProxy<LoggerAdminPrx>();
|
345
698
|
|
346
|
-
ICE_MEMBER(ICE_API) virtual ::std::shared_ptr
|
699
|
+
ICE_MEMBER(ICE_API) virtual ::std::shared_ptr<ObjectPrx> _newInstance() const override;
|
700
|
+
/// \endcond
|
347
701
|
};
|
348
702
|
|
349
703
|
}
|
350
704
|
|
705
|
+
/// \cond STREAM
|
351
706
|
namespace Ice
|
352
707
|
{
|
353
708
|
|
@@ -379,7 +734,9 @@ struct StreamReader<::Ice::LogMessage, S>
|
|
379
734
|
};
|
380
735
|
|
381
736
|
}
|
737
|
+
/// \endcond
|
382
738
|
|
739
|
+
/// \cond INTERNAL
|
383
740
|
namespace Ice
|
384
741
|
{
|
385
742
|
|
@@ -390,6 +747,7 @@ using LoggerAdminPtr = ::std::shared_ptr<LoggerAdmin>;
|
|
390
747
|
using LoggerAdminPrxPtr = ::std::shared_ptr<LoggerAdminPrx>;
|
391
748
|
|
392
749
|
}
|
750
|
+
/// \endcond
|
393
751
|
|
394
752
|
#else // C++98 mapping
|
395
753
|
|
@@ -400,12 +758,16 @@ namespace Ice
|
|
400
758
|
{
|
401
759
|
|
402
760
|
class RemoteLogger;
|
403
|
-
|
404
|
-
ICE_API ::
|
761
|
+
/// \cond INTERNAL
|
762
|
+
ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< RemoteLogger>&);
|
763
|
+
ICE_API ::IceProxy::Ice::Object* upCast(RemoteLogger*);
|
764
|
+
/// \endcond
|
405
765
|
|
406
766
|
class LoggerAdmin;
|
407
|
-
|
408
|
-
ICE_API ::
|
767
|
+
/// \cond INTERNAL
|
768
|
+
ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< LoggerAdmin>&);
|
769
|
+
ICE_API ::IceProxy::Ice::Object* upCast(LoggerAdmin*);
|
770
|
+
/// \endcond
|
409
771
|
|
410
772
|
}
|
411
773
|
|
@@ -415,39 +777,83 @@ namespace Ice
|
|
415
777
|
{
|
416
778
|
|
417
779
|
class RemoteLogger;
|
418
|
-
|
419
|
-
|
780
|
+
/// \cond INTERNAL
|
781
|
+
ICE_API Object* upCast(RemoteLogger*);
|
782
|
+
/// \endcond
|
783
|
+
typedef ::IceInternal::Handle< RemoteLogger> RemoteLoggerPtr;
|
420
784
|
typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::RemoteLogger> RemoteLoggerPrx;
|
421
785
|
typedef RemoteLoggerPrx RemoteLoggerPrxPtr;
|
422
|
-
|
786
|
+
/// \cond INTERNAL
|
787
|
+
ICE_API void _icePatchObjectPtr(RemoteLoggerPtr&, const ObjectPtr&);
|
788
|
+
/// \endcond
|
423
789
|
|
424
790
|
class LoggerAdmin;
|
425
|
-
|
426
|
-
|
791
|
+
/// \cond INTERNAL
|
792
|
+
ICE_API Object* upCast(LoggerAdmin*);
|
793
|
+
/// \endcond
|
794
|
+
typedef ::IceInternal::Handle< LoggerAdmin> LoggerAdminPtr;
|
427
795
|
typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::LoggerAdmin> LoggerAdminPrx;
|
428
796
|
typedef LoggerAdminPrx LoggerAdminPrxPtr;
|
429
|
-
|
797
|
+
/// \cond INTERNAL
|
798
|
+
ICE_API void _icePatchObjectPtr(LoggerAdminPtr&, const ObjectPtr&);
|
799
|
+
/// \endcond
|
430
800
|
|
431
801
|
}
|
432
802
|
|
433
803
|
namespace Ice
|
434
804
|
{
|
435
805
|
|
806
|
+
/**
|
807
|
+
* An enumeration representing the different types of log messages.
|
808
|
+
*/
|
436
809
|
enum LogMessageType
|
437
810
|
{
|
811
|
+
/**
|
812
|
+
* The {@link Logger} received a print message.
|
813
|
+
*/
|
438
814
|
PrintMessage,
|
815
|
+
/**
|
816
|
+
* The {@link Logger} received a trace message.
|
817
|
+
*/
|
439
818
|
TraceMessage,
|
819
|
+
/**
|
820
|
+
* The {@link Logger} received a warning message.
|
821
|
+
*/
|
440
822
|
WarningMessage,
|
823
|
+
/**
|
824
|
+
* The {@link Logger} received an error message.
|
825
|
+
*/
|
441
826
|
ErrorMessage
|
442
827
|
};
|
443
828
|
|
444
|
-
|
829
|
+
/**
|
830
|
+
* A sequence of {@link LogMessageType}
|
831
|
+
*/
|
832
|
+
typedef ::std::vector<LogMessageType> LogMessageTypeSeq;
|
445
833
|
|
834
|
+
/**
|
835
|
+
* A complete log message.
|
836
|
+
* \headerfile Ice/Ice.h
|
837
|
+
*/
|
446
838
|
struct LogMessage
|
447
839
|
{
|
840
|
+
/**
|
841
|
+
* The type of message sent to the {@link Logger}.
|
842
|
+
*/
|
448
843
|
::Ice::LogMessageType type;
|
844
|
+
/**
|
845
|
+
* The date and time when the {@link Logger} received this message, expressed
|
846
|
+
* as the number of microseconds since the Unix Epoch (00:00:00 UTC on 1 January 1970)
|
847
|
+
*/
|
449
848
|
::Ice::Long timestamp;
|
849
|
+
/**
|
850
|
+
* For a message of type trace, the trace category of this log message;
|
851
|
+
* otherwise, the empty string.
|
852
|
+
*/
|
450
853
|
::std::string traceCategory;
|
854
|
+
/**
|
855
|
+
* The log message itself.
|
856
|
+
*/
|
451
857
|
::std::string message;
|
452
858
|
|
453
859
|
bool operator==(const LogMessage& rhs_) const
|
@@ -534,44 +940,91 @@ struct LogMessage
|
|
534
940
|
}
|
535
941
|
};
|
536
942
|
|
943
|
+
/**
|
944
|
+
* A sequence of {@link LogMessage}.
|
945
|
+
*/
|
537
946
|
typedef std::list<LogMessage> LogMessageSeq;
|
538
947
|
|
539
|
-
|
948
|
+
/**
|
949
|
+
* Thrown when the provided RemoteLogger was previously attached to a LoggerAdmin.
|
950
|
+
* \headerfile Ice/Ice.h
|
951
|
+
*/
|
952
|
+
class ICE_API RemoteLoggerAlreadyAttachedException : public UserException
|
540
953
|
{
|
541
954
|
public:
|
542
955
|
|
543
956
|
RemoteLoggerAlreadyAttachedException() {}
|
544
957
|
virtual ~RemoteLoggerAlreadyAttachedException() throw();
|
545
958
|
|
959
|
+
/**
|
960
|
+
* Obtains the Slice type ID of this exception.
|
961
|
+
* @return The fully-scoped type ID.
|
962
|
+
*/
|
546
963
|
virtual ::std::string ice_id() const;
|
964
|
+
/**
|
965
|
+
* Polymporphically clones this exception.
|
966
|
+
* @return A shallow copy of this exception.
|
967
|
+
*/
|
547
968
|
virtual RemoteLoggerAlreadyAttachedException* ice_clone() const;
|
969
|
+
/**
|
970
|
+
* Throws this exception.
|
971
|
+
*/
|
548
972
|
virtual void ice_throw() const;
|
549
973
|
|
550
974
|
protected:
|
551
975
|
|
552
|
-
|
553
|
-
virtual void
|
976
|
+
/// \cond STREAM
|
977
|
+
virtual void _writeImpl(OutputStream*) const;
|
978
|
+
virtual void _readImpl(InputStream*);
|
979
|
+
/// \endcond
|
554
980
|
};
|
555
981
|
|
982
|
+
/// \cond INTERNAL
|
556
983
|
static RemoteLoggerAlreadyAttachedException _iceS_RemoteLoggerAlreadyAttachedException_init;
|
984
|
+
/// \endcond
|
557
985
|
|
558
986
|
}
|
559
987
|
|
560
988
|
namespace Ice
|
561
989
|
{
|
562
990
|
|
991
|
+
/**
|
992
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
993
|
+
* IceProxy::Ice::RemoteLogger::begin_init.
|
994
|
+
* Create a wrapper instance by calling ::Ice::newCallback_RemoteLogger_init.
|
995
|
+
*/
|
563
996
|
class Callback_RemoteLogger_init_Base : public virtual ::IceInternal::CallbackBase { };
|
564
997
|
typedef ::IceUtil::Handle< Callback_RemoteLogger_init_Base> Callback_RemoteLogger_initPtr;
|
565
998
|
|
999
|
+
/**
|
1000
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
1001
|
+
* IceProxy::Ice::RemoteLogger::begin_log.
|
1002
|
+
* Create a wrapper instance by calling ::Ice::newCallback_RemoteLogger_log.
|
1003
|
+
*/
|
566
1004
|
class Callback_RemoteLogger_log_Base : public virtual ::IceInternal::CallbackBase { };
|
567
1005
|
typedef ::IceUtil::Handle< Callback_RemoteLogger_log_Base> Callback_RemoteLogger_logPtr;
|
568
1006
|
|
1007
|
+
/**
|
1008
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
1009
|
+
* IceProxy::Ice::LoggerAdmin::begin_attachRemoteLogger.
|
1010
|
+
* Create a wrapper instance by calling ::Ice::newCallback_LoggerAdmin_attachRemoteLogger.
|
1011
|
+
*/
|
569
1012
|
class Callback_LoggerAdmin_attachRemoteLogger_Base : public virtual ::IceInternal::CallbackBase { };
|
570
1013
|
typedef ::IceUtil::Handle< Callback_LoggerAdmin_attachRemoteLogger_Base> Callback_LoggerAdmin_attachRemoteLoggerPtr;
|
571
1014
|
|
1015
|
+
/**
|
1016
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
1017
|
+
* IceProxy::Ice::LoggerAdmin::begin_detachRemoteLogger.
|
1018
|
+
* Create a wrapper instance by calling ::Ice::newCallback_LoggerAdmin_detachRemoteLogger.
|
1019
|
+
*/
|
572
1020
|
class Callback_LoggerAdmin_detachRemoteLogger_Base : public virtual ::IceInternal::CallbackBase { };
|
573
1021
|
typedef ::IceUtil::Handle< Callback_LoggerAdmin_detachRemoteLogger_Base> Callback_LoggerAdmin_detachRemoteLoggerPtr;
|
574
1022
|
|
1023
|
+
/**
|
1024
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
1025
|
+
* IceProxy::Ice::LoggerAdmin::begin_getLog.
|
1026
|
+
* Create a wrapper instance by calling ::Ice::newCallback_LoggerAdmin_getLog.
|
1027
|
+
*/
|
575
1028
|
class Callback_LoggerAdmin_getLog_Base : public virtual ::IceInternal::CallbackBase { };
|
576
1029
|
typedef ::IceUtil::Handle< Callback_LoggerAdmin_getLog_Base> Callback_LoggerAdmin_getLogPtr;
|
577
1030
|
|
@@ -587,37 +1040,88 @@ class ICE_CLASS(ICE_API) RemoteLogger : public virtual ::Ice::Proxy<RemoteLogger
|
|
587
1040
|
{
|
588
1041
|
public:
|
589
1042
|
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
1043
|
+
/**
|
1044
|
+
* init is called by attachRemoteLogger when a RemoteLogger proxy is attached.
|
1045
|
+
* @param prefix The prefix of the associated local Logger.
|
1046
|
+
* @param logMessages Old log messages generated before "now".
|
1047
|
+
* @param context The Context map to send with the invocation.
|
1048
|
+
*/
|
1049
|
+
ICE_MEMBER(ICE_API) void init(const ::std::string& prefix, const ::Ice::LogMessageSeq& logMessages, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1050
|
+
{
|
1051
|
+
end_init(_iceI_begin_init(prefix, logMessages, context, ::IceInternal::dummyCallback, 0, true));
|
1052
|
+
}
|
1053
|
+
|
1054
|
+
/**
|
1055
|
+
* init is called by attachRemoteLogger when a RemoteLogger proxy is attached.
|
1056
|
+
* @param prefix The prefix of the associated local Logger.
|
1057
|
+
* @param logMessages Old log messages generated before "now".
|
1058
|
+
* @param context The Context map to send with the invocation.
|
1059
|
+
* @return The asynchronous result object for the invocation.
|
1060
|
+
*/
|
1061
|
+
::Ice::AsyncResultPtr begin_init(const ::std::string& prefix, const ::Ice::LogMessageSeq& logMessages, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1062
|
+
{
|
1063
|
+
return _iceI_begin_init(prefix, logMessages, context, ::IceInternal::dummyCallback, 0);
|
1064
|
+
}
|
1065
|
+
|
1066
|
+
/**
|
1067
|
+
* init is called by attachRemoteLogger when a RemoteLogger proxy is attached.
|
1068
|
+
* @param prefix The prefix of the associated local Logger.
|
1069
|
+
* @param logMessages Old log messages generated before "now".
|
1070
|
+
* @param cb Asynchronous callback object.
|
1071
|
+
* @param cookie User-defined data to associate with the invocation.
|
1072
|
+
* @return The asynchronous result object for the invocation.
|
1073
|
+
*/
|
1074
|
+
::Ice::AsyncResultPtr begin_init(const ::std::string& prefix, const ::Ice::LogMessageSeq& logMessages, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1075
|
+
{
|
1076
|
+
return _iceI_begin_init(prefix, logMessages, ::Ice::noExplicitContext, cb, cookie);
|
1077
|
+
}
|
1078
|
+
|
1079
|
+
/**
|
1080
|
+
* init is called by attachRemoteLogger when a RemoteLogger proxy is attached.
|
1081
|
+
* @param prefix The prefix of the associated local Logger.
|
1082
|
+
* @param logMessages Old log messages generated before "now".
|
1083
|
+
* @param context The Context map to send with the invocation.
|
1084
|
+
* @param cb Asynchronous callback object.
|
1085
|
+
* @param cookie User-defined data to associate with the invocation.
|
1086
|
+
* @return The asynchronous result object for the invocation.
|
1087
|
+
*/
|
1088
|
+
::Ice::AsyncResultPtr begin_init(const ::std::string& prefix, const ::Ice::LogMessageSeq& logMessages, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1089
|
+
{
|
1090
|
+
return _iceI_begin_init(prefix, logMessages, context, cb, cookie);
|
1091
|
+
}
|
1092
|
+
|
1093
|
+
/**
|
1094
|
+
* init is called by attachRemoteLogger when a RemoteLogger proxy is attached.
|
1095
|
+
* @param prefix The prefix of the associated local Logger.
|
1096
|
+
* @param logMessages Old log messages generated before "now".
|
1097
|
+
* @param cb Asynchronous callback object.
|
1098
|
+
* @param cookie User-defined data to associate with the invocation.
|
1099
|
+
* @return The asynchronous result object for the invocation.
|
1100
|
+
*/
|
1101
|
+
::Ice::AsyncResultPtr begin_init(const ::std::string& prefix, const ::Ice::LogMessageSeq& logMessages, const ::Ice::Callback_RemoteLogger_initPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1102
|
+
{
|
1103
|
+
return _iceI_begin_init(prefix, logMessages, ::Ice::noExplicitContext, cb, cookie);
|
1104
|
+
}
|
1105
|
+
|
1106
|
+
/**
|
1107
|
+
* init is called by attachRemoteLogger when a RemoteLogger proxy is attached.
|
1108
|
+
* @param prefix The prefix of the associated local Logger.
|
1109
|
+
* @param logMessages Old log messages generated before "now".
|
1110
|
+
* @param context The Context map to send with the invocation.
|
1111
|
+
* @param cb Asynchronous callback object.
|
1112
|
+
* @param cookie User-defined data to associate with the invocation.
|
1113
|
+
* @return The asynchronous result object for the invocation.
|
1114
|
+
*/
|
1115
|
+
::Ice::AsyncResultPtr begin_init(const ::std::string& prefix, const ::Ice::LogMessageSeq& logMessages, const ::Ice::Context& context, const ::Ice::Callback_RemoteLogger_initPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1116
|
+
{
|
1117
|
+
return _iceI_begin_init(prefix, logMessages, context, cb, cookie);
|
1118
|
+
}
|
1119
|
+
|
1120
|
+
/**
|
1121
|
+
* Completes an invocation of begin_init.
|
1122
|
+
* @param result The asynchronous result object for the invocation.
|
1123
|
+
*/
|
1124
|
+
ICE_MEMBER(ICE_API) void end_init(const ::Ice::AsyncResultPtr& result);
|
621
1125
|
|
622
1126
|
private:
|
623
1127
|
|
@@ -625,37 +1129,82 @@ private:
|
|
625
1129
|
|
626
1130
|
public:
|
627
1131
|
|
628
|
-
|
1132
|
+
/**
|
1133
|
+
* Log a LogMessage. Note that log may be called by LoggerAdmin before init.
|
1134
|
+
* @param message The message to log.
|
1135
|
+
* @param context The Context map to send with the invocation.
|
1136
|
+
*/
|
1137
|
+
ICE_MEMBER(ICE_API) void log(const ::Ice::LogMessage& message, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
629
1138
|
{
|
630
|
-
end_log(_iceI_begin_log(
|
1139
|
+
end_log(_iceI_begin_log(message, context, ::IceInternal::dummyCallback, 0, true));
|
631
1140
|
}
|
632
1141
|
|
633
|
-
|
1142
|
+
/**
|
1143
|
+
* Log a LogMessage. Note that log may be called by LoggerAdmin before init.
|
1144
|
+
* @param message The message to log.
|
1145
|
+
* @param context The Context map to send with the invocation.
|
1146
|
+
* @return The asynchronous result object for the invocation.
|
1147
|
+
*/
|
1148
|
+
::Ice::AsyncResultPtr begin_log(const ::Ice::LogMessage& message, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
634
1149
|
{
|
635
|
-
return _iceI_begin_log(
|
1150
|
+
return _iceI_begin_log(message, context, ::IceInternal::dummyCallback, 0);
|
636
1151
|
}
|
637
1152
|
|
638
|
-
|
1153
|
+
/**
|
1154
|
+
* Log a LogMessage. Note that log may be called by LoggerAdmin before init.
|
1155
|
+
* @param message The message to log.
|
1156
|
+
* @param cb Asynchronous callback object.
|
1157
|
+
* @param cookie User-defined data to associate with the invocation.
|
1158
|
+
* @return The asynchronous result object for the invocation.
|
1159
|
+
*/
|
1160
|
+
::Ice::AsyncResultPtr begin_log(const ::Ice::LogMessage& message, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
639
1161
|
{
|
640
|
-
return _iceI_begin_log(
|
1162
|
+
return _iceI_begin_log(message, ::Ice::noExplicitContext, cb, cookie);
|
641
1163
|
}
|
642
1164
|
|
643
|
-
|
1165
|
+
/**
|
1166
|
+
* Log a LogMessage. Note that log may be called by LoggerAdmin before init.
|
1167
|
+
* @param message The message to log.
|
1168
|
+
* @param context The Context map to send with the invocation.
|
1169
|
+
* @param cb Asynchronous callback object.
|
1170
|
+
* @param cookie User-defined data to associate with the invocation.
|
1171
|
+
* @return The asynchronous result object for the invocation.
|
1172
|
+
*/
|
1173
|
+
::Ice::AsyncResultPtr begin_log(const ::Ice::LogMessage& message, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
644
1174
|
{
|
645
|
-
return _iceI_begin_log(
|
1175
|
+
return _iceI_begin_log(message, context, cb, cookie);
|
646
1176
|
}
|
647
1177
|
|
648
|
-
|
1178
|
+
/**
|
1179
|
+
* Log a LogMessage. Note that log may be called by LoggerAdmin before init.
|
1180
|
+
* @param message The message to log.
|
1181
|
+
* @param cb Asynchronous callback object.
|
1182
|
+
* @param cookie User-defined data to associate with the invocation.
|
1183
|
+
* @return The asynchronous result object for the invocation.
|
1184
|
+
*/
|
1185
|
+
::Ice::AsyncResultPtr begin_log(const ::Ice::LogMessage& message, const ::Ice::Callback_RemoteLogger_logPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
649
1186
|
{
|
650
|
-
return _iceI_begin_log(
|
1187
|
+
return _iceI_begin_log(message, ::Ice::noExplicitContext, cb, cookie);
|
651
1188
|
}
|
652
1189
|
|
653
|
-
|
1190
|
+
/**
|
1191
|
+
* Log a LogMessage. Note that log may be called by LoggerAdmin before init.
|
1192
|
+
* @param message The message to log.
|
1193
|
+
* @param context The Context map to send with the invocation.
|
1194
|
+
* @param cb Asynchronous callback object.
|
1195
|
+
* @param cookie User-defined data to associate with the invocation.
|
1196
|
+
* @return The asynchronous result object for the invocation.
|
1197
|
+
*/
|
1198
|
+
::Ice::AsyncResultPtr begin_log(const ::Ice::LogMessage& message, const ::Ice::Context& context, const ::Ice::Callback_RemoteLogger_logPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
654
1199
|
{
|
655
|
-
return _iceI_begin_log(
|
1200
|
+
return _iceI_begin_log(message, context, cb, cookie);
|
656
1201
|
}
|
657
1202
|
|
658
|
-
|
1203
|
+
/**
|
1204
|
+
* Completes an invocation of begin_log.
|
1205
|
+
* @param result The asynchronous result object for the invocation.
|
1206
|
+
*/
|
1207
|
+
ICE_MEMBER(ICE_API) void end_log(const ::Ice::AsyncResultPtr& result);
|
659
1208
|
|
660
1209
|
private:
|
661
1210
|
|
@@ -663,48 +1212,151 @@ private:
|
|
663
1212
|
|
664
1213
|
public:
|
665
1214
|
|
1215
|
+
/**
|
1216
|
+
* Obtains the Slice type ID corresponding to this interface.
|
1217
|
+
* @return A fully-scoped type ID.
|
1218
|
+
*/
|
666
1219
|
ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
|
667
1220
|
|
668
1221
|
protected:
|
1222
|
+
/// \cond INTERNAL
|
669
1223
|
|
670
1224
|
ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
|
1225
|
+
/// \endcond
|
671
1226
|
};
|
672
1227
|
|
673
1228
|
class ICE_CLASS(ICE_API) LoggerAdmin : public virtual ::Ice::Proxy<LoggerAdmin, ::IceProxy::Ice::Object>
|
674
1229
|
{
|
675
1230
|
public:
|
676
1231
|
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
{
|
694
|
-
|
695
|
-
}
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
1232
|
+
/**
|
1233
|
+
* Attaches a RemoteLogger object to the local logger.
|
1234
|
+
* attachRemoteLogger calls init on the provided RemoteLogger proxy.
|
1235
|
+
* @param prx A proxy to the remote logger.
|
1236
|
+
* @param messageTypes The list of message types that the remote logger wishes to receive.
|
1237
|
+
* An empty list means no filtering (send all message types).
|
1238
|
+
* @param traceCategories The categories of traces that the remote logger wishes to receive.
|
1239
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
1240
|
+
* An empty list means no filtering (send all trace categories).
|
1241
|
+
* @param messageMax The maximum number of log messages (of all types) to be provided
|
1242
|
+
* to init. A negative value requests all messages available.
|
1243
|
+
* @param context The Context map to send with the invocation.
|
1244
|
+
* @throws Ice::RemoteLoggerAlreadyAttachedException Raised if this remote logger is already
|
1245
|
+
* attached to this admin object.
|
1246
|
+
*/
|
1247
|
+
ICE_MEMBER(ICE_API) void attachRemoteLogger(const ::Ice::RemoteLoggerPrx& prx, const ::Ice::LogMessageTypeSeq& messageTypes, const ::Ice::StringSeq& traceCategories, ::Ice::Int messageMax, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1248
|
+
{
|
1249
|
+
end_attachRemoteLogger(_iceI_begin_attachRemoteLogger(prx, messageTypes, traceCategories, messageMax, context, ::IceInternal::dummyCallback, 0, true));
|
1250
|
+
}
|
1251
|
+
|
1252
|
+
/**
|
1253
|
+
* Attaches a RemoteLogger object to the local logger.
|
1254
|
+
* attachRemoteLogger calls init on the provided RemoteLogger proxy.
|
1255
|
+
* @param prx A proxy to the remote logger.
|
1256
|
+
* @param messageTypes The list of message types that the remote logger wishes to receive.
|
1257
|
+
* An empty list means no filtering (send all message types).
|
1258
|
+
* @param traceCategories The categories of traces that the remote logger wishes to receive.
|
1259
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
1260
|
+
* An empty list means no filtering (send all trace categories).
|
1261
|
+
* @param messageMax The maximum number of log messages (of all types) to be provided
|
1262
|
+
* to init. A negative value requests all messages available.
|
1263
|
+
* @param context The Context map to send with the invocation.
|
1264
|
+
* @return The asynchronous result object for the invocation.
|
1265
|
+
*/
|
1266
|
+
::Ice::AsyncResultPtr begin_attachRemoteLogger(const ::Ice::RemoteLoggerPrx& prx, const ::Ice::LogMessageTypeSeq& messageTypes, const ::Ice::StringSeq& traceCategories, ::Ice::Int messageMax, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1267
|
+
{
|
1268
|
+
return _iceI_begin_attachRemoteLogger(prx, messageTypes, traceCategories, messageMax, context, ::IceInternal::dummyCallback, 0);
|
1269
|
+
}
|
1270
|
+
|
1271
|
+
/**
|
1272
|
+
* Attaches a RemoteLogger object to the local logger.
|
1273
|
+
* attachRemoteLogger calls init on the provided RemoteLogger proxy.
|
1274
|
+
* @param prx A proxy to the remote logger.
|
1275
|
+
* @param messageTypes The list of message types that the remote logger wishes to receive.
|
1276
|
+
* An empty list means no filtering (send all message types).
|
1277
|
+
* @param traceCategories The categories of traces that the remote logger wishes to receive.
|
1278
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
1279
|
+
* An empty list means no filtering (send all trace categories).
|
1280
|
+
* @param messageMax The maximum number of log messages (of all types) to be provided
|
1281
|
+
* to init. A negative value requests all messages available.
|
1282
|
+
* @param cb Asynchronous callback object.
|
1283
|
+
* @param cookie User-defined data to associate with the invocation.
|
1284
|
+
* @return The asynchronous result object for the invocation.
|
1285
|
+
*/
|
1286
|
+
::Ice::AsyncResultPtr begin_attachRemoteLogger(const ::Ice::RemoteLoggerPrx& prx, const ::Ice::LogMessageTypeSeq& messageTypes, const ::Ice::StringSeq& traceCategories, ::Ice::Int messageMax, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1287
|
+
{
|
1288
|
+
return _iceI_begin_attachRemoteLogger(prx, messageTypes, traceCategories, messageMax, ::Ice::noExplicitContext, cb, cookie);
|
1289
|
+
}
|
1290
|
+
|
1291
|
+
/**
|
1292
|
+
* Attaches a RemoteLogger object to the local logger.
|
1293
|
+
* attachRemoteLogger calls init on the provided RemoteLogger proxy.
|
1294
|
+
* @param prx A proxy to the remote logger.
|
1295
|
+
* @param messageTypes The list of message types that the remote logger wishes to receive.
|
1296
|
+
* An empty list means no filtering (send all message types).
|
1297
|
+
* @param traceCategories The categories of traces that the remote logger wishes to receive.
|
1298
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
1299
|
+
* An empty list means no filtering (send all trace categories).
|
1300
|
+
* @param messageMax The maximum number of log messages (of all types) to be provided
|
1301
|
+
* to init. A negative value requests all messages available.
|
1302
|
+
* @param context The Context map to send with the invocation.
|
1303
|
+
* @param cb Asynchronous callback object.
|
1304
|
+
* @param cookie User-defined data to associate with the invocation.
|
1305
|
+
* @return The asynchronous result object for the invocation.
|
1306
|
+
*/
|
1307
|
+
::Ice::AsyncResultPtr begin_attachRemoteLogger(const ::Ice::RemoteLoggerPrx& prx, const ::Ice::LogMessageTypeSeq& messageTypes, const ::Ice::StringSeq& traceCategories, ::Ice::Int messageMax, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1308
|
+
{
|
1309
|
+
return _iceI_begin_attachRemoteLogger(prx, messageTypes, traceCategories, messageMax, context, cb, cookie);
|
1310
|
+
}
|
1311
|
+
|
1312
|
+
/**
|
1313
|
+
* Attaches a RemoteLogger object to the local logger.
|
1314
|
+
* attachRemoteLogger calls init on the provided RemoteLogger proxy.
|
1315
|
+
* @param prx A proxy to the remote logger.
|
1316
|
+
* @param messageTypes The list of message types that the remote logger wishes to receive.
|
1317
|
+
* An empty list means no filtering (send all message types).
|
1318
|
+
* @param traceCategories The categories of traces that the remote logger wishes to receive.
|
1319
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
1320
|
+
* An empty list means no filtering (send all trace categories).
|
1321
|
+
* @param messageMax The maximum number of log messages (of all types) to be provided
|
1322
|
+
* to init. A negative value requests all messages available.
|
1323
|
+
* @param cb Asynchronous callback object.
|
1324
|
+
* @param cookie User-defined data to associate with the invocation.
|
1325
|
+
* @return The asynchronous result object for the invocation.
|
1326
|
+
*/
|
1327
|
+
::Ice::AsyncResultPtr begin_attachRemoteLogger(const ::Ice::RemoteLoggerPrx& prx, const ::Ice::LogMessageTypeSeq& messageTypes, const ::Ice::StringSeq& traceCategories, ::Ice::Int messageMax, const ::Ice::Callback_LoggerAdmin_attachRemoteLoggerPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1328
|
+
{
|
1329
|
+
return _iceI_begin_attachRemoteLogger(prx, messageTypes, traceCategories, messageMax, ::Ice::noExplicitContext, cb, cookie);
|
1330
|
+
}
|
1331
|
+
|
1332
|
+
/**
|
1333
|
+
* Attaches a RemoteLogger object to the local logger.
|
1334
|
+
* attachRemoteLogger calls init on the provided RemoteLogger proxy.
|
1335
|
+
* @param prx A proxy to the remote logger.
|
1336
|
+
* @param messageTypes The list of message types that the remote logger wishes to receive.
|
1337
|
+
* An empty list means no filtering (send all message types).
|
1338
|
+
* @param traceCategories The categories of traces that the remote logger wishes to receive.
|
1339
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
1340
|
+
* An empty list means no filtering (send all trace categories).
|
1341
|
+
* @param messageMax The maximum number of log messages (of all types) to be provided
|
1342
|
+
* to init. A negative value requests all messages available.
|
1343
|
+
* @param context The Context map to send with the invocation.
|
1344
|
+
* @param cb Asynchronous callback object.
|
1345
|
+
* @param cookie User-defined data to associate with the invocation.
|
1346
|
+
* @return The asynchronous result object for the invocation.
|
1347
|
+
*/
|
1348
|
+
::Ice::AsyncResultPtr begin_attachRemoteLogger(const ::Ice::RemoteLoggerPrx& prx, const ::Ice::LogMessageTypeSeq& messageTypes, const ::Ice::StringSeq& traceCategories, ::Ice::Int messageMax, const ::Ice::Context& context, const ::Ice::Callback_LoggerAdmin_attachRemoteLoggerPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1349
|
+
{
|
1350
|
+
return _iceI_begin_attachRemoteLogger(prx, messageTypes, traceCategories, messageMax, context, cb, cookie);
|
1351
|
+
}
|
1352
|
+
|
1353
|
+
/**
|
1354
|
+
* Completes an invocation of begin_attachRemoteLogger.
|
1355
|
+
* @param result The asynchronous result object for the invocation.
|
1356
|
+
* @throws Ice::RemoteLoggerAlreadyAttachedException Raised if this remote logger is already
|
1357
|
+
* attached to this admin object.
|
1358
|
+
*/
|
1359
|
+
ICE_MEMBER(ICE_API) void end_attachRemoteLogger(const ::Ice::AsyncResultPtr& result);
|
708
1360
|
|
709
1361
|
private:
|
710
1362
|
|
@@ -712,37 +1364,84 @@ private:
|
|
712
1364
|
|
713
1365
|
public:
|
714
1366
|
|
715
|
-
|
1367
|
+
/**
|
1368
|
+
* Detaches a RemoteLogger object from the local logger.
|
1369
|
+
* @param prx A proxy to the remote logger.
|
1370
|
+
* @param context The Context map to send with the invocation.
|
1371
|
+
* @return True if the provided remote logger proxy was detached, and false otherwise.
|
1372
|
+
*/
|
1373
|
+
ICE_MEMBER(ICE_API) bool detachRemoteLogger(const ::Ice::RemoteLoggerPrx& prx, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
716
1374
|
{
|
717
|
-
return end_detachRemoteLogger(_iceI_begin_detachRemoteLogger(
|
1375
|
+
return end_detachRemoteLogger(_iceI_begin_detachRemoteLogger(prx, context, ::IceInternal::dummyCallback, 0, true));
|
718
1376
|
}
|
719
1377
|
|
720
|
-
|
1378
|
+
/**
|
1379
|
+
* Detaches a RemoteLogger object from the local logger.
|
1380
|
+
* @param prx A proxy to the remote logger.
|
1381
|
+
* @param context The Context map to send with the invocation.
|
1382
|
+
* @return The asynchronous result object for the invocation.
|
1383
|
+
*/
|
1384
|
+
::Ice::AsyncResultPtr begin_detachRemoteLogger(const ::Ice::RemoteLoggerPrx& prx, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
721
1385
|
{
|
722
|
-
return _iceI_begin_detachRemoteLogger(
|
1386
|
+
return _iceI_begin_detachRemoteLogger(prx, context, ::IceInternal::dummyCallback, 0);
|
723
1387
|
}
|
724
1388
|
|
725
|
-
|
1389
|
+
/**
|
1390
|
+
* Detaches a RemoteLogger object from the local logger.
|
1391
|
+
* @param prx A proxy to the remote logger.
|
1392
|
+
* @param cb Asynchronous callback object.
|
1393
|
+
* @param cookie User-defined data to associate with the invocation.
|
1394
|
+
* @return The asynchronous result object for the invocation.
|
1395
|
+
*/
|
1396
|
+
::Ice::AsyncResultPtr begin_detachRemoteLogger(const ::Ice::RemoteLoggerPrx& prx, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
726
1397
|
{
|
727
|
-
return _iceI_begin_detachRemoteLogger(
|
1398
|
+
return _iceI_begin_detachRemoteLogger(prx, ::Ice::noExplicitContext, cb, cookie);
|
728
1399
|
}
|
729
1400
|
|
730
|
-
|
1401
|
+
/**
|
1402
|
+
* Detaches a RemoteLogger object from the local logger.
|
1403
|
+
* @param prx A proxy to the remote logger.
|
1404
|
+
* @param context The Context map to send with the invocation.
|
1405
|
+
* @param cb Asynchronous callback object.
|
1406
|
+
* @param cookie User-defined data to associate with the invocation.
|
1407
|
+
* @return The asynchronous result object for the invocation.
|
1408
|
+
*/
|
1409
|
+
::Ice::AsyncResultPtr begin_detachRemoteLogger(const ::Ice::RemoteLoggerPrx& prx, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
731
1410
|
{
|
732
|
-
return _iceI_begin_detachRemoteLogger(
|
1411
|
+
return _iceI_begin_detachRemoteLogger(prx, context, cb, cookie);
|
733
1412
|
}
|
734
1413
|
|
735
|
-
|
1414
|
+
/**
|
1415
|
+
* Detaches a RemoteLogger object from the local logger.
|
1416
|
+
* @param prx A proxy to the remote logger.
|
1417
|
+
* @param cb Asynchronous callback object.
|
1418
|
+
* @param cookie User-defined data to associate with the invocation.
|
1419
|
+
* @return The asynchronous result object for the invocation.
|
1420
|
+
*/
|
1421
|
+
::Ice::AsyncResultPtr begin_detachRemoteLogger(const ::Ice::RemoteLoggerPrx& prx, const ::Ice::Callback_LoggerAdmin_detachRemoteLoggerPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
736
1422
|
{
|
737
|
-
return _iceI_begin_detachRemoteLogger(
|
1423
|
+
return _iceI_begin_detachRemoteLogger(prx, ::Ice::noExplicitContext, cb, cookie);
|
738
1424
|
}
|
739
1425
|
|
740
|
-
|
1426
|
+
/**
|
1427
|
+
* Detaches a RemoteLogger object from the local logger.
|
1428
|
+
* @param prx A proxy to the remote logger.
|
1429
|
+
* @param context The Context map to send with the invocation.
|
1430
|
+
* @param cb Asynchronous callback object.
|
1431
|
+
* @param cookie User-defined data to associate with the invocation.
|
1432
|
+
* @return The asynchronous result object for the invocation.
|
1433
|
+
*/
|
1434
|
+
::Ice::AsyncResultPtr begin_detachRemoteLogger(const ::Ice::RemoteLoggerPrx& prx, const ::Ice::Context& context, const ::Ice::Callback_LoggerAdmin_detachRemoteLoggerPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
741
1435
|
{
|
742
|
-
return _iceI_begin_detachRemoteLogger(
|
1436
|
+
return _iceI_begin_detachRemoteLogger(prx, context, cb, cookie);
|
743
1437
|
}
|
744
1438
|
|
745
|
-
|
1439
|
+
/**
|
1440
|
+
* Completes an invocation of begin_detachRemoteLogger.
|
1441
|
+
* @param result The asynchronous result object for the invocation.
|
1442
|
+
* @return True if the provided remote logger proxy was detached, and false otherwise.
|
1443
|
+
*/
|
1444
|
+
ICE_MEMBER(ICE_API) bool end_detachRemoteLogger(const ::Ice::AsyncResultPtr& result);
|
746
1445
|
|
747
1446
|
private:
|
748
1447
|
|
@@ -750,37 +1449,126 @@ private:
|
|
750
1449
|
|
751
1450
|
public:
|
752
1451
|
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
1452
|
+
/**
|
1453
|
+
* Retrieves log messages recently logged.
|
1454
|
+
* @param messageTypes The list of message types that the caller wishes to receive.
|
1455
|
+
* An empty list means no filtering (send all message types).
|
1456
|
+
* @param traceCategories The categories of traces that caller wish to receive.
|
1457
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
1458
|
+
* An empty list means no filtering (send all trace categories).
|
1459
|
+
* @param messageMax The maximum number of log messages (of all types) to be returned.
|
1460
|
+
* A negative value requests all messages available.
|
1461
|
+
* @param prefix The prefix of the associated local logger.
|
1462
|
+
* @param context The Context map to send with the invocation.
|
1463
|
+
* @return The Log messages.
|
1464
|
+
*/
|
1465
|
+
ICE_MEMBER(ICE_API) ::Ice::LogMessageSeq getLog(const ::Ice::LogMessageTypeSeq& messageTypes, const ::Ice::StringSeq& traceCategories, ::Ice::Int messageMax, ::std::string& prefix, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1466
|
+
{
|
1467
|
+
return end_getLog(prefix, _iceI_begin_getLog(messageTypes, traceCategories, messageMax, context, ::IceInternal::dummyCallback, 0, true));
|
1468
|
+
}
|
1469
|
+
|
1470
|
+
/**
|
1471
|
+
* Retrieves log messages recently logged.
|
1472
|
+
* @param messageTypes The list of message types that the caller wishes to receive.
|
1473
|
+
* An empty list means no filtering (send all message types).
|
1474
|
+
* @param traceCategories The categories of traces that caller wish to receive.
|
1475
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
1476
|
+
* An empty list means no filtering (send all trace categories).
|
1477
|
+
* @param messageMax The maximum number of log messages (of all types) to be returned.
|
1478
|
+
* A negative value requests all messages available.
|
1479
|
+
* @param context The Context map to send with the invocation.
|
1480
|
+
* @return The asynchronous result object for the invocation.
|
1481
|
+
*/
|
1482
|
+
::Ice::AsyncResultPtr begin_getLog(const ::Ice::LogMessageTypeSeq& messageTypes, const ::Ice::StringSeq& traceCategories, ::Ice::Int messageMax, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1483
|
+
{
|
1484
|
+
return _iceI_begin_getLog(messageTypes, traceCategories, messageMax, context, ::IceInternal::dummyCallback, 0);
|
1485
|
+
}
|
1486
|
+
|
1487
|
+
/**
|
1488
|
+
* Retrieves log messages recently logged.
|
1489
|
+
* @param messageTypes The list of message types that the caller wishes to receive.
|
1490
|
+
* An empty list means no filtering (send all message types).
|
1491
|
+
* @param traceCategories The categories of traces that caller wish to receive.
|
1492
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
1493
|
+
* An empty list means no filtering (send all trace categories).
|
1494
|
+
* @param messageMax The maximum number of log messages (of all types) to be returned.
|
1495
|
+
* A negative value requests all messages available.
|
1496
|
+
* @param cb Asynchronous callback object.
|
1497
|
+
* @param cookie User-defined data to associate with the invocation.
|
1498
|
+
* @return The asynchronous result object for the invocation.
|
1499
|
+
*/
|
1500
|
+
::Ice::AsyncResultPtr begin_getLog(const ::Ice::LogMessageTypeSeq& messageTypes, const ::Ice::StringSeq& traceCategories, ::Ice::Int messageMax, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1501
|
+
{
|
1502
|
+
return _iceI_begin_getLog(messageTypes, traceCategories, messageMax, ::Ice::noExplicitContext, cb, cookie);
|
1503
|
+
}
|
1504
|
+
|
1505
|
+
/**
|
1506
|
+
* Retrieves log messages recently logged.
|
1507
|
+
* @param messageTypes The list of message types that the caller wishes to receive.
|
1508
|
+
* An empty list means no filtering (send all message types).
|
1509
|
+
* @param traceCategories The categories of traces that caller wish to receive.
|
1510
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
1511
|
+
* An empty list means no filtering (send all trace categories).
|
1512
|
+
* @param messageMax The maximum number of log messages (of all types) to be returned.
|
1513
|
+
* A negative value requests all messages available.
|
1514
|
+
* @param context The Context map to send with the invocation.
|
1515
|
+
* @param cb Asynchronous callback object.
|
1516
|
+
* @param cookie User-defined data to associate with the invocation.
|
1517
|
+
* @return The asynchronous result object for the invocation.
|
1518
|
+
*/
|
1519
|
+
::Ice::AsyncResultPtr begin_getLog(const ::Ice::LogMessageTypeSeq& messageTypes, const ::Ice::StringSeq& traceCategories, ::Ice::Int messageMax, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1520
|
+
{
|
1521
|
+
return _iceI_begin_getLog(messageTypes, traceCategories, messageMax, context, cb, cookie);
|
1522
|
+
}
|
1523
|
+
|
1524
|
+
/**
|
1525
|
+
* Retrieves log messages recently logged.
|
1526
|
+
* @param messageTypes The list of message types that the caller wishes to receive.
|
1527
|
+
* An empty list means no filtering (send all message types).
|
1528
|
+
* @param traceCategories The categories of traces that caller wish to receive.
|
1529
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
1530
|
+
* An empty list means no filtering (send all trace categories).
|
1531
|
+
* @param messageMax The maximum number of log messages (of all types) to be returned.
|
1532
|
+
* A negative value requests all messages available.
|
1533
|
+
* @param cb Asynchronous callback object.
|
1534
|
+
* @param cookie User-defined data to associate with the invocation.
|
1535
|
+
* @return The asynchronous result object for the invocation.
|
1536
|
+
*/
|
1537
|
+
::Ice::AsyncResultPtr begin_getLog(const ::Ice::LogMessageTypeSeq& messageTypes, const ::Ice::StringSeq& traceCategories, ::Ice::Int messageMax, const ::Ice::Callback_LoggerAdmin_getLogPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1538
|
+
{
|
1539
|
+
return _iceI_begin_getLog(messageTypes, traceCategories, messageMax, ::Ice::noExplicitContext, cb, cookie);
|
1540
|
+
}
|
1541
|
+
|
1542
|
+
/**
|
1543
|
+
* Retrieves log messages recently logged.
|
1544
|
+
* @param messageTypes The list of message types that the caller wishes to receive.
|
1545
|
+
* An empty list means no filtering (send all message types).
|
1546
|
+
* @param traceCategories The categories of traces that caller wish to receive.
|
1547
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
1548
|
+
* An empty list means no filtering (send all trace categories).
|
1549
|
+
* @param messageMax The maximum number of log messages (of all types) to be returned.
|
1550
|
+
* A negative value requests all messages available.
|
1551
|
+
* @param context The Context map to send with the invocation.
|
1552
|
+
* @param cb Asynchronous callback object.
|
1553
|
+
* @param cookie User-defined data to associate with the invocation.
|
1554
|
+
* @return The asynchronous result object for the invocation.
|
1555
|
+
*/
|
1556
|
+
::Ice::AsyncResultPtr begin_getLog(const ::Ice::LogMessageTypeSeq& messageTypes, const ::Ice::StringSeq& traceCategories, ::Ice::Int messageMax, const ::Ice::Context& context, const ::Ice::Callback_LoggerAdmin_getLogPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
1557
|
+
{
|
1558
|
+
return _iceI_begin_getLog(messageTypes, traceCategories, messageMax, context, cb, cookie);
|
1559
|
+
}
|
1560
|
+
|
1561
|
+
/**
|
1562
|
+
* Completes an invocation of begin_getLog.
|
1563
|
+
* @param prefix The prefix of the associated local logger.
|
1564
|
+
* @param result The asynchronous result object for the invocation.
|
1565
|
+
* @return The Log messages.
|
1566
|
+
*/
|
1567
|
+
ICE_MEMBER(ICE_API) ::Ice::LogMessageSeq end_getLog(::std::string& prefix, const ::Ice::AsyncResultPtr& result);
|
1568
|
+
/// \cond INTERNAL
|
1569
|
+
|
1570
|
+
ICE_MEMBER(ICE_API) void _iceI_end_getLog(::std::string& iceP_prefix, ::Ice::LogMessageSeq& ret, const ::Ice::AsyncResultPtr&);
|
1571
|
+
/// \endcond
|
784
1572
|
|
785
1573
|
private:
|
786
1574
|
|
@@ -788,11 +1576,17 @@ private:
|
|
788
1576
|
|
789
1577
|
public:
|
790
1578
|
|
1579
|
+
/**
|
1580
|
+
* Obtains the Slice type ID corresponding to this interface.
|
1581
|
+
* @return A fully-scoped type ID.
|
1582
|
+
*/
|
791
1583
|
ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
|
792
1584
|
|
793
1585
|
protected:
|
1586
|
+
/// \cond INTERNAL
|
794
1587
|
|
795
1588
|
ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
|
1589
|
+
/// \endcond
|
796
1590
|
};
|
797
1591
|
|
798
1592
|
}
|
@@ -802,7 +1596,13 @@ protected:
|
|
802
1596
|
namespace Ice
|
803
1597
|
{
|
804
1598
|
|
805
|
-
|
1599
|
+
/**
|
1600
|
+
* The Ice remote logger interface. An application can implement a
|
1601
|
+
* RemoteLogger to receive the log messages sent to the local {@link Logger}
|
1602
|
+
* of another Ice application.
|
1603
|
+
* \headerfile Ice/Ice.h
|
1604
|
+
*/
|
1605
|
+
class ICE_API RemoteLogger : public virtual Object
|
806
1606
|
{
|
807
1607
|
public:
|
808
1608
|
|
@@ -811,37 +1611,85 @@ public:
|
|
811
1611
|
|
812
1612
|
virtual ~RemoteLogger();
|
813
1613
|
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
1614
|
+
/**
|
1615
|
+
* Determines whether this object supports an interface with the given Slice type ID.
|
1616
|
+
* @param id The fully-scoped Slice type ID.
|
1617
|
+
* @param current The Current object for the invocation.
|
1618
|
+
* @return True if this object supports the interface, false, otherwise.
|
1619
|
+
*/
|
1620
|
+
virtual bool ice_isA(const ::std::string& id, const Current& current = emptyCurrent) const;
|
1621
|
+
|
1622
|
+
/**
|
1623
|
+
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
1624
|
+
* @param current The Current object for the invocation.
|
1625
|
+
* @return A list of fully-scoped type IDs.
|
1626
|
+
*/
|
1627
|
+
virtual ::std::vector< ::std::string> ice_ids(const Current& current = emptyCurrent) const;
|
1628
|
+
|
1629
|
+
/**
|
1630
|
+
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
1631
|
+
* @param current The Current object for the invocation.
|
1632
|
+
* @return A fully-scoped type ID.
|
1633
|
+
*/
|
1634
|
+
virtual const ::std::string& ice_id(const Current& current = emptyCurrent) const;
|
1635
|
+
|
1636
|
+
/**
|
1637
|
+
* Obtains the Slice type ID corresponding to this class.
|
1638
|
+
* @return A fully-scoped type ID.
|
1639
|
+
*/
|
818
1640
|
static const ::std::string& ice_staticId();
|
819
1641
|
|
820
|
-
|
1642
|
+
/**
|
1643
|
+
* init is called by attachRemoteLogger when a RemoteLogger proxy is attached.
|
1644
|
+
* @param prefix The prefix of the associated local Logger.
|
1645
|
+
* @param logMessages Old log messages generated before "now".
|
1646
|
+
* @param current The Current object for the invocation.
|
1647
|
+
*/
|
1648
|
+
virtual void init(const ::std::string& prefix, const LogMessageSeq& logMessages, const Current& current = emptyCurrent) = 0;
|
1649
|
+
/// \cond INTERNAL
|
821
1650
|
bool _iceD_init(::IceInternal::Incoming&, const ::Ice::Current&);
|
822
|
-
|
823
|
-
|
1651
|
+
/// \endcond
|
1652
|
+
|
1653
|
+
/**
|
1654
|
+
* Log a LogMessage. Note that log may be called by LoggerAdmin before init.
|
1655
|
+
* @param message The message to log.
|
1656
|
+
* @param current The Current object for the invocation.
|
1657
|
+
*/
|
1658
|
+
virtual void log(const LogMessage& message, const Current& current = emptyCurrent) = 0;
|
1659
|
+
/// \cond INTERNAL
|
824
1660
|
bool _iceD_log(::IceInternal::Incoming&, const ::Ice::Current&);
|
1661
|
+
/// \endcond
|
825
1662
|
|
826
|
-
|
1663
|
+
/// \cond INTERNAL
|
1664
|
+
virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&);
|
1665
|
+
/// \endcond
|
827
1666
|
|
828
1667
|
protected:
|
829
1668
|
|
830
|
-
|
831
|
-
virtual void
|
1669
|
+
/// \cond STREAM
|
1670
|
+
virtual void _iceWriteImpl(OutputStream*) const;
|
1671
|
+
virtual void _iceReadImpl(InputStream*);
|
1672
|
+
/// \endcond
|
832
1673
|
};
|
833
1674
|
|
1675
|
+
/// \cond INTERNAL
|
834
1676
|
inline bool operator==(const RemoteLogger& lhs, const RemoteLogger& rhs)
|
835
1677
|
{
|
836
|
-
return static_cast<const
|
1678
|
+
return static_cast<const Object&>(lhs) == static_cast<const Object&>(rhs);
|
837
1679
|
}
|
838
1680
|
|
839
1681
|
inline bool operator<(const RemoteLogger& lhs, const RemoteLogger& rhs)
|
840
1682
|
{
|
841
|
-
return static_cast<const
|
1683
|
+
return static_cast<const Object&>(lhs) < static_cast<const Object&>(rhs);
|
842
1684
|
}
|
1685
|
+
/// \endcond
|
843
1686
|
|
844
|
-
|
1687
|
+
/**
|
1688
|
+
* The interface of the admin object that allows an Ice application the attach its
|
1689
|
+
* {@link RemoteLogger} to the {@link Logger} of this admin object's Ice communicator.
|
1690
|
+
* \headerfile Ice/Ice.h
|
1691
|
+
*/
|
1692
|
+
class ICE_API LoggerAdmin : public virtual Object
|
845
1693
|
{
|
846
1694
|
public:
|
847
1695
|
|
@@ -850,41 +1698,110 @@ public:
|
|
850
1698
|
|
851
1699
|
virtual ~LoggerAdmin();
|
852
1700
|
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
1701
|
+
/**
|
1702
|
+
* Determines whether this object supports an interface with the given Slice type ID.
|
1703
|
+
* @param id The fully-scoped Slice type ID.
|
1704
|
+
* @param current The Current object for the invocation.
|
1705
|
+
* @return True if this object supports the interface, false, otherwise.
|
1706
|
+
*/
|
1707
|
+
virtual bool ice_isA(const ::std::string& id, const Current& current = emptyCurrent) const;
|
1708
|
+
|
1709
|
+
/**
|
1710
|
+
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
1711
|
+
* @param current The Current object for the invocation.
|
1712
|
+
* @return A list of fully-scoped type IDs.
|
1713
|
+
*/
|
1714
|
+
virtual ::std::vector< ::std::string> ice_ids(const Current& current = emptyCurrent) const;
|
1715
|
+
|
1716
|
+
/**
|
1717
|
+
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
1718
|
+
* @param current The Current object for the invocation.
|
1719
|
+
* @return A fully-scoped type ID.
|
1720
|
+
*/
|
1721
|
+
virtual const ::std::string& ice_id(const Current& current = emptyCurrent) const;
|
1722
|
+
|
1723
|
+
/**
|
1724
|
+
* Obtains the Slice type ID corresponding to this class.
|
1725
|
+
* @return A fully-scoped type ID.
|
1726
|
+
*/
|
857
1727
|
static const ::std::string& ice_staticId();
|
858
1728
|
|
859
|
-
|
1729
|
+
/**
|
1730
|
+
* Attaches a RemoteLogger object to the local logger.
|
1731
|
+
* attachRemoteLogger calls init on the provided RemoteLogger proxy.
|
1732
|
+
* @param prx A proxy to the remote logger.
|
1733
|
+
* @param messageTypes The list of message types that the remote logger wishes to receive.
|
1734
|
+
* An empty list means no filtering (send all message types).
|
1735
|
+
* @param traceCategories The categories of traces that the remote logger wishes to receive.
|
1736
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
1737
|
+
* An empty list means no filtering (send all trace categories).
|
1738
|
+
* @param messageMax The maximum number of log messages (of all types) to be provided
|
1739
|
+
* to init. A negative value requests all messages available.
|
1740
|
+
* @param current The Current object for the invocation.
|
1741
|
+
* @throws Ice::RemoteLoggerAlreadyAttachedException Raised if this remote logger is already
|
1742
|
+
* attached to this admin object.
|
1743
|
+
*/
|
1744
|
+
virtual void attachRemoteLogger(const RemoteLoggerPrx& prx, const LogMessageTypeSeq& messageTypes, const StringSeq& traceCategories, Int messageMax, const Current& current = emptyCurrent) = 0;
|
1745
|
+
/// \cond INTERNAL
|
860
1746
|
bool _iceD_attachRemoteLogger(::IceInternal::Incoming&, const ::Ice::Current&);
|
861
|
-
|
862
|
-
|
1747
|
+
/// \endcond
|
1748
|
+
|
1749
|
+
/**
|
1750
|
+
* Detaches a RemoteLogger object from the local logger.
|
1751
|
+
* @param prx A proxy to the remote logger.
|
1752
|
+
* @param current The Current object for the invocation.
|
1753
|
+
* @return True if the provided remote logger proxy was detached, and false otherwise.
|
1754
|
+
*/
|
1755
|
+
virtual bool detachRemoteLogger(const RemoteLoggerPrx& prx, const Current& current = emptyCurrent) = 0;
|
1756
|
+
/// \cond INTERNAL
|
863
1757
|
bool _iceD_detachRemoteLogger(::IceInternal::Incoming&, const ::Ice::Current&);
|
864
|
-
|
865
|
-
|
1758
|
+
/// \endcond
|
1759
|
+
|
1760
|
+
/**
|
1761
|
+
* Retrieves log messages recently logged.
|
1762
|
+
* @param messageTypes The list of message types that the caller wishes to receive.
|
1763
|
+
* An empty list means no filtering (send all message types).
|
1764
|
+
* @param traceCategories The categories of traces that caller wish to receive.
|
1765
|
+
* This parameter is ignored if messageTypes is not empty and does not include trace.
|
1766
|
+
* An empty list means no filtering (send all trace categories).
|
1767
|
+
* @param messageMax The maximum number of log messages (of all types) to be returned.
|
1768
|
+
* A negative value requests all messages available.
|
1769
|
+
* @param prefix The prefix of the associated local logger.
|
1770
|
+
* @param current The Current object for the invocation.
|
1771
|
+
* @return The Log messages.
|
1772
|
+
*/
|
1773
|
+
virtual LogMessageSeq getLog(const LogMessageTypeSeq& messageTypes, const StringSeq& traceCategories, Int messageMax, ::std::string& prefix, const Current& current = emptyCurrent) = 0;
|
1774
|
+
/// \cond INTERNAL
|
866
1775
|
bool _iceD_getLog(::IceInternal::Incoming&, const ::Ice::Current&);
|
1776
|
+
/// \endcond
|
867
1777
|
|
868
|
-
|
1778
|
+
/// \cond INTERNAL
|
1779
|
+
virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&);
|
1780
|
+
/// \endcond
|
869
1781
|
|
870
1782
|
protected:
|
871
1783
|
|
872
|
-
|
873
|
-
virtual void
|
1784
|
+
/// \cond STREAM
|
1785
|
+
virtual void _iceWriteImpl(OutputStream*) const;
|
1786
|
+
virtual void _iceReadImpl(InputStream*);
|
1787
|
+
/// \endcond
|
874
1788
|
};
|
875
1789
|
|
1790
|
+
/// \cond INTERNAL
|
876
1791
|
inline bool operator==(const LoggerAdmin& lhs, const LoggerAdmin& rhs)
|
877
1792
|
{
|
878
|
-
return static_cast<const
|
1793
|
+
return static_cast<const Object&>(lhs) == static_cast<const Object&>(rhs);
|
879
1794
|
}
|
880
1795
|
|
881
1796
|
inline bool operator<(const LoggerAdmin& lhs, const LoggerAdmin& rhs)
|
882
1797
|
{
|
883
|
-
return static_cast<const
|
1798
|
+
return static_cast<const Object&>(lhs) < static_cast<const Object&>(rhs);
|
884
1799
|
}
|
1800
|
+
/// \endcond
|
885
1801
|
|
886
1802
|
}
|
887
1803
|
|
1804
|
+
/// \cond STREAM
|
888
1805
|
namespace Ice
|
889
1806
|
{
|
890
1807
|
|
@@ -937,10 +1854,16 @@ struct StreamableTraits< ::Ice::RemoteLoggerAlreadyAttachedException>
|
|
937
1854
|
};
|
938
1855
|
|
939
1856
|
}
|
1857
|
+
/// \endcond
|
940
1858
|
|
941
1859
|
namespace Ice
|
942
1860
|
{
|
943
1861
|
|
1862
|
+
/**
|
1863
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
1864
|
+
* IceProxy::Ice::RemoteLogger::begin_init.
|
1865
|
+
* Create a wrapper instance by calling ::Ice::newCallback_RemoteLogger_init.
|
1866
|
+
*/
|
944
1867
|
template<class T>
|
945
1868
|
class CallbackNC_RemoteLogger_init : public Callback_RemoteLogger_init_Base, public ::IceInternal::OnewayCallbackNC<T>
|
946
1869
|
{
|
@@ -958,30 +1881,65 @@ public:
|
|
958
1881
|
}
|
959
1882
|
};
|
960
1883
|
|
1884
|
+
/**
|
1885
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1886
|
+
* @param instance The callback object.
|
1887
|
+
* @param cb The success method of the callback object.
|
1888
|
+
* @param excb The exception method of the callback object.
|
1889
|
+
* @param sentcb The sent method of the callback object.
|
1890
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::RemoteLogger::begin_init.
|
1891
|
+
*/
|
961
1892
|
template<class T> Callback_RemoteLogger_initPtr
|
962
1893
|
newCallback_RemoteLogger_init(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
963
1894
|
{
|
964
1895
|
return new CallbackNC_RemoteLogger_init<T>(instance, cb, excb, sentcb);
|
965
1896
|
}
|
966
1897
|
|
1898
|
+
/**
|
1899
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1900
|
+
* @param instance The callback object.
|
1901
|
+
* @param excb The exception method of the callback object.
|
1902
|
+
* @param sentcb The sent method of the callback object.
|
1903
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::RemoteLogger::begin_init.
|
1904
|
+
*/
|
967
1905
|
template<class T> Callback_RemoteLogger_initPtr
|
968
1906
|
newCallback_RemoteLogger_init(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
969
1907
|
{
|
970
1908
|
return new CallbackNC_RemoteLogger_init<T>(instance, 0, excb, sentcb);
|
971
1909
|
}
|
972
1910
|
|
1911
|
+
/**
|
1912
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1913
|
+
* @param instance The callback object.
|
1914
|
+
* @param cb The success method of the callback object.
|
1915
|
+
* @param excb The exception method of the callback object.
|
1916
|
+
* @param sentcb The sent method of the callback object.
|
1917
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::RemoteLogger::begin_init.
|
1918
|
+
*/
|
973
1919
|
template<class T> Callback_RemoteLogger_initPtr
|
974
1920
|
newCallback_RemoteLogger_init(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
975
1921
|
{
|
976
1922
|
return new CallbackNC_RemoteLogger_init<T>(instance, cb, excb, sentcb);
|
977
1923
|
}
|
978
1924
|
|
1925
|
+
/**
|
1926
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1927
|
+
* @param instance The callback object.
|
1928
|
+
* @param excb The exception method of the callback object.
|
1929
|
+
* @param sentcb The sent method of the callback object.
|
1930
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::RemoteLogger::begin_init.
|
1931
|
+
*/
|
979
1932
|
template<class T> Callback_RemoteLogger_initPtr
|
980
1933
|
newCallback_RemoteLogger_init(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
981
1934
|
{
|
982
1935
|
return new CallbackNC_RemoteLogger_init<T>(instance, 0, excb, sentcb);
|
983
1936
|
}
|
984
1937
|
|
1938
|
+
/**
|
1939
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
1940
|
+
* IceProxy::Ice::RemoteLogger::begin_init.
|
1941
|
+
* Create a wrapper instance by calling ::Ice::newCallback_RemoteLogger_init.
|
1942
|
+
*/
|
985
1943
|
template<class T, typename CT>
|
986
1944
|
class Callback_RemoteLogger_init : public Callback_RemoteLogger_init_Base, public ::IceInternal::OnewayCallback<T, CT>
|
987
1945
|
{
|
@@ -999,30 +1957,69 @@ public:
|
|
999
1957
|
}
|
1000
1958
|
};
|
1001
1959
|
|
1960
|
+
/**
|
1961
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1962
|
+
* Use this overload when your callback methods receive a cookie value.
|
1963
|
+
* @param instance The callback object.
|
1964
|
+
* @param cb The success method of the callback object.
|
1965
|
+
* @param excb The exception method of the callback object.
|
1966
|
+
* @param sentcb The sent method of the callback object.
|
1967
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::RemoteLogger::begin_init.
|
1968
|
+
*/
|
1002
1969
|
template<class T, typename CT> Callback_RemoteLogger_initPtr
|
1003
1970
|
newCallback_RemoteLogger_init(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)
|
1004
1971
|
{
|
1005
1972
|
return new Callback_RemoteLogger_init<T, CT>(instance, cb, excb, sentcb);
|
1006
1973
|
}
|
1007
1974
|
|
1975
|
+
/**
|
1976
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1977
|
+
* Use this overload when your callback methods receive a cookie value.
|
1978
|
+
* @param instance The callback object.
|
1979
|
+
* @param excb The exception method of the callback object.
|
1980
|
+
* @param sentcb The sent method of the callback object.
|
1981
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::RemoteLogger::begin_init.
|
1982
|
+
*/
|
1008
1983
|
template<class T, typename CT> Callback_RemoteLogger_initPtr
|
1009
1984
|
newCallback_RemoteLogger_init(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1010
1985
|
{
|
1011
1986
|
return new Callback_RemoteLogger_init<T, CT>(instance, 0, excb, sentcb);
|
1012
1987
|
}
|
1013
1988
|
|
1989
|
+
/**
|
1990
|
+
* Creates a callback wrapper instance that delegates to your object.
|
1991
|
+
* Use this overload when your callback methods receive a cookie value.
|
1992
|
+
* @param instance The callback object.
|
1993
|
+
* @param cb The success method of the callback object.
|
1994
|
+
* @param excb The exception method of the callback object.
|
1995
|
+
* @param sentcb The sent method of the callback object.
|
1996
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::RemoteLogger::begin_init.
|
1997
|
+
*/
|
1014
1998
|
template<class T, typename CT> Callback_RemoteLogger_initPtr
|
1015
1999
|
newCallback_RemoteLogger_init(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1016
2000
|
{
|
1017
2001
|
return new Callback_RemoteLogger_init<T, CT>(instance, cb, excb, sentcb);
|
1018
2002
|
}
|
1019
2003
|
|
2004
|
+
/**
|
2005
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2006
|
+
* Use this overload when your callback methods receive a cookie value.
|
2007
|
+
* @param instance The callback object.
|
2008
|
+
* @param excb The exception method of the callback object.
|
2009
|
+
* @param sentcb The sent method of the callback object.
|
2010
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::RemoteLogger::begin_init.
|
2011
|
+
*/
|
1020
2012
|
template<class T, typename CT> Callback_RemoteLogger_initPtr
|
1021
2013
|
newCallback_RemoteLogger_init(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1022
2014
|
{
|
1023
2015
|
return new Callback_RemoteLogger_init<T, CT>(instance, 0, excb, sentcb);
|
1024
2016
|
}
|
1025
2017
|
|
2018
|
+
/**
|
2019
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
2020
|
+
* IceProxy::Ice::RemoteLogger::begin_log.
|
2021
|
+
* Create a wrapper instance by calling ::Ice::newCallback_RemoteLogger_log.
|
2022
|
+
*/
|
1026
2023
|
template<class T>
|
1027
2024
|
class CallbackNC_RemoteLogger_log : public Callback_RemoteLogger_log_Base, public ::IceInternal::OnewayCallbackNC<T>
|
1028
2025
|
{
|
@@ -1040,30 +2037,65 @@ public:
|
|
1040
2037
|
}
|
1041
2038
|
};
|
1042
2039
|
|
2040
|
+
/**
|
2041
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2042
|
+
* @param instance The callback object.
|
2043
|
+
* @param cb The success method of the callback object.
|
2044
|
+
* @param excb The exception method of the callback object.
|
2045
|
+
* @param sentcb The sent method of the callback object.
|
2046
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::RemoteLogger::begin_log.
|
2047
|
+
*/
|
1043
2048
|
template<class T> Callback_RemoteLogger_logPtr
|
1044
2049
|
newCallback_RemoteLogger_log(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1045
2050
|
{
|
1046
2051
|
return new CallbackNC_RemoteLogger_log<T>(instance, cb, excb, sentcb);
|
1047
2052
|
}
|
1048
2053
|
|
2054
|
+
/**
|
2055
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2056
|
+
* @param instance The callback object.
|
2057
|
+
* @param excb The exception method of the callback object.
|
2058
|
+
* @param sentcb The sent method of the callback object.
|
2059
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::RemoteLogger::begin_log.
|
2060
|
+
*/
|
1049
2061
|
template<class T> Callback_RemoteLogger_logPtr
|
1050
2062
|
newCallback_RemoteLogger_log(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1051
2063
|
{
|
1052
2064
|
return new CallbackNC_RemoteLogger_log<T>(instance, 0, excb, sentcb);
|
1053
2065
|
}
|
1054
2066
|
|
2067
|
+
/**
|
2068
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2069
|
+
* @param instance The callback object.
|
2070
|
+
* @param cb The success method of the callback object.
|
2071
|
+
* @param excb The exception method of the callback object.
|
2072
|
+
* @param sentcb The sent method of the callback object.
|
2073
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::RemoteLogger::begin_log.
|
2074
|
+
*/
|
1055
2075
|
template<class T> Callback_RemoteLogger_logPtr
|
1056
2076
|
newCallback_RemoteLogger_log(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1057
2077
|
{
|
1058
2078
|
return new CallbackNC_RemoteLogger_log<T>(instance, cb, excb, sentcb);
|
1059
2079
|
}
|
1060
2080
|
|
2081
|
+
/**
|
2082
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2083
|
+
* @param instance The callback object.
|
2084
|
+
* @param excb The exception method of the callback object.
|
2085
|
+
* @param sentcb The sent method of the callback object.
|
2086
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::RemoteLogger::begin_log.
|
2087
|
+
*/
|
1061
2088
|
template<class T> Callback_RemoteLogger_logPtr
|
1062
2089
|
newCallback_RemoteLogger_log(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1063
2090
|
{
|
1064
2091
|
return new CallbackNC_RemoteLogger_log<T>(instance, 0, excb, sentcb);
|
1065
2092
|
}
|
1066
2093
|
|
2094
|
+
/**
|
2095
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
2096
|
+
* IceProxy::Ice::RemoteLogger::begin_log.
|
2097
|
+
* Create a wrapper instance by calling ::Ice::newCallback_RemoteLogger_log.
|
2098
|
+
*/
|
1067
2099
|
template<class T, typename CT>
|
1068
2100
|
class Callback_RemoteLogger_log : public Callback_RemoteLogger_log_Base, public ::IceInternal::OnewayCallback<T, CT>
|
1069
2101
|
{
|
@@ -1081,30 +2113,69 @@ public:
|
|
1081
2113
|
}
|
1082
2114
|
};
|
1083
2115
|
|
2116
|
+
/**
|
2117
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2118
|
+
* Use this overload when your callback methods receive a cookie value.
|
2119
|
+
* @param instance The callback object.
|
2120
|
+
* @param cb The success method of the callback object.
|
2121
|
+
* @param excb The exception method of the callback object.
|
2122
|
+
* @param sentcb The sent method of the callback object.
|
2123
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::RemoteLogger::begin_log.
|
2124
|
+
*/
|
1084
2125
|
template<class T, typename CT> Callback_RemoteLogger_logPtr
|
1085
2126
|
newCallback_RemoteLogger_log(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)
|
1086
2127
|
{
|
1087
2128
|
return new Callback_RemoteLogger_log<T, CT>(instance, cb, excb, sentcb);
|
1088
2129
|
}
|
1089
2130
|
|
2131
|
+
/**
|
2132
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2133
|
+
* Use this overload when your callback methods receive a cookie value.
|
2134
|
+
* @param instance The callback object.
|
2135
|
+
* @param excb The exception method of the callback object.
|
2136
|
+
* @param sentcb The sent method of the callback object.
|
2137
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::RemoteLogger::begin_log.
|
2138
|
+
*/
|
1090
2139
|
template<class T, typename CT> Callback_RemoteLogger_logPtr
|
1091
2140
|
newCallback_RemoteLogger_log(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1092
2141
|
{
|
1093
2142
|
return new Callback_RemoteLogger_log<T, CT>(instance, 0, excb, sentcb);
|
1094
2143
|
}
|
1095
2144
|
|
2145
|
+
/**
|
2146
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2147
|
+
* Use this overload when your callback methods receive a cookie value.
|
2148
|
+
* @param instance The callback object.
|
2149
|
+
* @param cb The success method of the callback object.
|
2150
|
+
* @param excb The exception method of the callback object.
|
2151
|
+
* @param sentcb The sent method of the callback object.
|
2152
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::RemoteLogger::begin_log.
|
2153
|
+
*/
|
1096
2154
|
template<class T, typename CT> Callback_RemoteLogger_logPtr
|
1097
2155
|
newCallback_RemoteLogger_log(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1098
2156
|
{
|
1099
2157
|
return new Callback_RemoteLogger_log<T, CT>(instance, cb, excb, sentcb);
|
1100
2158
|
}
|
1101
2159
|
|
2160
|
+
/**
|
2161
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2162
|
+
* Use this overload when your callback methods receive a cookie value.
|
2163
|
+
* @param instance The callback object.
|
2164
|
+
* @param excb The exception method of the callback object.
|
2165
|
+
* @param sentcb The sent method of the callback object.
|
2166
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::RemoteLogger::begin_log.
|
2167
|
+
*/
|
1102
2168
|
template<class T, typename CT> Callback_RemoteLogger_logPtr
|
1103
2169
|
newCallback_RemoteLogger_log(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1104
2170
|
{
|
1105
2171
|
return new Callback_RemoteLogger_log<T, CT>(instance, 0, excb, sentcb);
|
1106
2172
|
}
|
1107
2173
|
|
2174
|
+
/**
|
2175
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
2176
|
+
* IceProxy::Ice::LoggerAdmin::begin_attachRemoteLogger.
|
2177
|
+
* Create a wrapper instance by calling ::Ice::newCallback_LoggerAdmin_attachRemoteLogger.
|
2178
|
+
*/
|
1108
2179
|
template<class T>
|
1109
2180
|
class CallbackNC_LoggerAdmin_attachRemoteLogger : public Callback_LoggerAdmin_attachRemoteLogger_Base, public ::IceInternal::TwowayCallbackNC<T>
|
1110
2181
|
{
|
@@ -1121,9 +2192,10 @@ public:
|
|
1121
2192
|
{
|
1122
2193
|
}
|
1123
2194
|
|
1124
|
-
|
2195
|
+
/// \cond INTERNAL
|
2196
|
+
virtual void completed(const AsyncResultPtr& result) const
|
1125
2197
|
{
|
1126
|
-
|
2198
|
+
LoggerAdminPrx proxy = LoggerAdminPrx::uncheckedCast(result->getProxy());
|
1127
2199
|
try
|
1128
2200
|
{
|
1129
2201
|
proxy->end_attachRemoteLogger(result);
|
@@ -1138,36 +2210,72 @@ public:
|
|
1138
2210
|
(::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
|
1139
2211
|
}
|
1140
2212
|
}
|
2213
|
+
/// \endcond
|
1141
2214
|
|
1142
2215
|
private:
|
1143
2216
|
|
1144
2217
|
Response _response;
|
1145
2218
|
};
|
1146
2219
|
|
2220
|
+
/**
|
2221
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2222
|
+
* @param instance The callback object.
|
2223
|
+
* @param cb The success method of the callback object.
|
2224
|
+
* @param excb The exception method of the callback object.
|
2225
|
+
* @param sentcb The sent method of the callback object.
|
2226
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LoggerAdmin::begin_attachRemoteLogger.
|
2227
|
+
*/
|
1147
2228
|
template<class T> Callback_LoggerAdmin_attachRemoteLoggerPtr
|
1148
2229
|
newCallback_LoggerAdmin_attachRemoteLogger(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1149
2230
|
{
|
1150
2231
|
return new CallbackNC_LoggerAdmin_attachRemoteLogger<T>(instance, cb, excb, sentcb);
|
1151
2232
|
}
|
1152
2233
|
|
2234
|
+
/**
|
2235
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2236
|
+
* @param instance The callback object.
|
2237
|
+
* @param excb The exception method of the callback object.
|
2238
|
+
* @param sentcb The sent method of the callback object.
|
2239
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LoggerAdmin::begin_attachRemoteLogger.
|
2240
|
+
*/
|
1153
2241
|
template<class T> Callback_LoggerAdmin_attachRemoteLoggerPtr
|
1154
2242
|
newCallback_LoggerAdmin_attachRemoteLogger(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1155
2243
|
{
|
1156
2244
|
return new CallbackNC_LoggerAdmin_attachRemoteLogger<T>(instance, 0, excb, sentcb);
|
1157
2245
|
}
|
1158
2246
|
|
2247
|
+
/**
|
2248
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2249
|
+
* @param instance The callback object.
|
2250
|
+
* @param cb The success method of the callback object.
|
2251
|
+
* @param excb The exception method of the callback object.
|
2252
|
+
* @param sentcb The sent method of the callback object.
|
2253
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LoggerAdmin::begin_attachRemoteLogger.
|
2254
|
+
*/
|
1159
2255
|
template<class T> Callback_LoggerAdmin_attachRemoteLoggerPtr
|
1160
2256
|
newCallback_LoggerAdmin_attachRemoteLogger(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1161
2257
|
{
|
1162
2258
|
return new CallbackNC_LoggerAdmin_attachRemoteLogger<T>(instance, cb, excb, sentcb);
|
1163
2259
|
}
|
1164
2260
|
|
2261
|
+
/**
|
2262
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2263
|
+
* @param instance The callback object.
|
2264
|
+
* @param excb The exception method of the callback object.
|
2265
|
+
* @param sentcb The sent method of the callback object.
|
2266
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LoggerAdmin::begin_attachRemoteLogger.
|
2267
|
+
*/
|
1165
2268
|
template<class T> Callback_LoggerAdmin_attachRemoteLoggerPtr
|
1166
2269
|
newCallback_LoggerAdmin_attachRemoteLogger(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1167
2270
|
{
|
1168
2271
|
return new CallbackNC_LoggerAdmin_attachRemoteLogger<T>(instance, 0, excb, sentcb);
|
1169
2272
|
}
|
1170
2273
|
|
2274
|
+
/**
|
2275
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
2276
|
+
* IceProxy::Ice::LoggerAdmin::begin_attachRemoteLogger.
|
2277
|
+
* Create a wrapper instance by calling ::Ice::newCallback_LoggerAdmin_attachRemoteLogger.
|
2278
|
+
*/
|
1171
2279
|
template<class T, typename CT>
|
1172
2280
|
class Callback_LoggerAdmin_attachRemoteLogger : public Callback_LoggerAdmin_attachRemoteLogger_Base, public ::IceInternal::TwowayCallback<T, CT>
|
1173
2281
|
{
|
@@ -1184,9 +2292,10 @@ public:
|
|
1184
2292
|
{
|
1185
2293
|
}
|
1186
2294
|
|
1187
|
-
|
2295
|
+
/// \cond INTERNAL
|
2296
|
+
virtual void completed(const AsyncResultPtr& result) const
|
1188
2297
|
{
|
1189
|
-
|
2298
|
+
LoggerAdminPrx proxy = LoggerAdminPrx::uncheckedCast(result->getProxy());
|
1190
2299
|
try
|
1191
2300
|
{
|
1192
2301
|
proxy->end_attachRemoteLogger(result);
|
@@ -1201,36 +2310,76 @@ public:
|
|
1201
2310
|
(::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
|
1202
2311
|
}
|
1203
2312
|
}
|
2313
|
+
/// \endcond
|
1204
2314
|
|
1205
2315
|
private:
|
1206
2316
|
|
1207
2317
|
Response _response;
|
1208
2318
|
};
|
1209
2319
|
|
2320
|
+
/**
|
2321
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2322
|
+
* Use this overload when your callback methods receive a cookie value.
|
2323
|
+
* @param instance The callback object.
|
2324
|
+
* @param cb The success method of the callback object.
|
2325
|
+
* @param excb The exception method of the callback object.
|
2326
|
+
* @param sentcb The sent method of the callback object.
|
2327
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LoggerAdmin::begin_attachRemoteLogger.
|
2328
|
+
*/
|
1210
2329
|
template<class T, typename CT> Callback_LoggerAdmin_attachRemoteLoggerPtr
|
1211
2330
|
newCallback_LoggerAdmin_attachRemoteLogger(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)
|
1212
2331
|
{
|
1213
2332
|
return new Callback_LoggerAdmin_attachRemoteLogger<T, CT>(instance, cb, excb, sentcb);
|
1214
2333
|
}
|
1215
2334
|
|
2335
|
+
/**
|
2336
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2337
|
+
* Use this overload when your callback methods receive a cookie value.
|
2338
|
+
* @param instance The callback object.
|
2339
|
+
* @param excb The exception method of the callback object.
|
2340
|
+
* @param sentcb The sent method of the callback object.
|
2341
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LoggerAdmin::begin_attachRemoteLogger.
|
2342
|
+
*/
|
1216
2343
|
template<class T, typename CT> Callback_LoggerAdmin_attachRemoteLoggerPtr
|
1217
2344
|
newCallback_LoggerAdmin_attachRemoteLogger(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1218
2345
|
{
|
1219
2346
|
return new Callback_LoggerAdmin_attachRemoteLogger<T, CT>(instance, 0, excb, sentcb);
|
1220
2347
|
}
|
1221
2348
|
|
2349
|
+
/**
|
2350
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2351
|
+
* Use this overload when your callback methods receive a cookie value.
|
2352
|
+
* @param instance The callback object.
|
2353
|
+
* @param cb The success method of the callback object.
|
2354
|
+
* @param excb The exception method of the callback object.
|
2355
|
+
* @param sentcb The sent method of the callback object.
|
2356
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LoggerAdmin::begin_attachRemoteLogger.
|
2357
|
+
*/
|
1222
2358
|
template<class T, typename CT> Callback_LoggerAdmin_attachRemoteLoggerPtr
|
1223
2359
|
newCallback_LoggerAdmin_attachRemoteLogger(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1224
2360
|
{
|
1225
2361
|
return new Callback_LoggerAdmin_attachRemoteLogger<T, CT>(instance, cb, excb, sentcb);
|
1226
2362
|
}
|
1227
2363
|
|
2364
|
+
/**
|
2365
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2366
|
+
* Use this overload when your callback methods receive a cookie value.
|
2367
|
+
* @param instance The callback object.
|
2368
|
+
* @param excb The exception method of the callback object.
|
2369
|
+
* @param sentcb The sent method of the callback object.
|
2370
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LoggerAdmin::begin_attachRemoteLogger.
|
2371
|
+
*/
|
1228
2372
|
template<class T, typename CT> Callback_LoggerAdmin_attachRemoteLoggerPtr
|
1229
2373
|
newCallback_LoggerAdmin_attachRemoteLogger(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1230
2374
|
{
|
1231
2375
|
return new Callback_LoggerAdmin_attachRemoteLogger<T, CT>(instance, 0, excb, sentcb);
|
1232
2376
|
}
|
1233
2377
|
|
2378
|
+
/**
|
2379
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
2380
|
+
* IceProxy::Ice::LoggerAdmin::begin_detachRemoteLogger.
|
2381
|
+
* Create a wrapper instance by calling ::Ice::newCallback_LoggerAdmin_detachRemoteLogger.
|
2382
|
+
*/
|
1234
2383
|
template<class T>
|
1235
2384
|
class CallbackNC_LoggerAdmin_detachRemoteLogger : public Callback_LoggerAdmin_detachRemoteLogger_Base, public ::IceInternal::TwowayCallbackNC<T>
|
1236
2385
|
{
|
@@ -1247,9 +2396,10 @@ public:
|
|
1247
2396
|
{
|
1248
2397
|
}
|
1249
2398
|
|
1250
|
-
|
2399
|
+
/// \cond INTERNAL
|
2400
|
+
virtual void completed(const AsyncResultPtr& result) const
|
1251
2401
|
{
|
1252
|
-
|
2402
|
+
LoggerAdminPrx proxy = LoggerAdminPrx::uncheckedCast(result->getProxy());
|
1253
2403
|
bool ret;
|
1254
2404
|
try
|
1255
2405
|
{
|
@@ -1265,24 +2415,46 @@ public:
|
|
1265
2415
|
(::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
|
1266
2416
|
}
|
1267
2417
|
}
|
2418
|
+
/// \endcond
|
1268
2419
|
|
1269
2420
|
private:
|
1270
2421
|
|
1271
2422
|
Response _response;
|
1272
2423
|
};
|
1273
2424
|
|
2425
|
+
/**
|
2426
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2427
|
+
* @param instance The callback object.
|
2428
|
+
* @param cb The success method of the callback object.
|
2429
|
+
* @param excb The exception method of the callback object.
|
2430
|
+
* @param sentcb The sent method of the callback object.
|
2431
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LoggerAdmin::begin_detachRemoteLogger.
|
2432
|
+
*/
|
1274
2433
|
template<class T> Callback_LoggerAdmin_detachRemoteLoggerPtr
|
1275
2434
|
newCallback_LoggerAdmin_detachRemoteLogger(const IceUtil::Handle<T>& instance, void (T::*cb)(bool), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1276
2435
|
{
|
1277
2436
|
return new CallbackNC_LoggerAdmin_detachRemoteLogger<T>(instance, cb, excb, sentcb);
|
1278
2437
|
}
|
1279
2438
|
|
2439
|
+
/**
|
2440
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2441
|
+
* @param instance The callback object.
|
2442
|
+
* @param cb The success method of the callback object.
|
2443
|
+
* @param excb The exception method of the callback object.
|
2444
|
+
* @param sentcb The sent method of the callback object.
|
2445
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LoggerAdmin::begin_detachRemoteLogger.
|
2446
|
+
*/
|
1280
2447
|
template<class T> Callback_LoggerAdmin_detachRemoteLoggerPtr
|
1281
2448
|
newCallback_LoggerAdmin_detachRemoteLogger(T* instance, void (T::*cb)(bool), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1282
2449
|
{
|
1283
2450
|
return new CallbackNC_LoggerAdmin_detachRemoteLogger<T>(instance, cb, excb, sentcb);
|
1284
2451
|
}
|
1285
2452
|
|
2453
|
+
/**
|
2454
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
2455
|
+
* IceProxy::Ice::LoggerAdmin::begin_detachRemoteLogger.
|
2456
|
+
* Create a wrapper instance by calling ::Ice::newCallback_LoggerAdmin_detachRemoteLogger.
|
2457
|
+
*/
|
1286
2458
|
template<class T, typename CT>
|
1287
2459
|
class Callback_LoggerAdmin_detachRemoteLogger : public Callback_LoggerAdmin_detachRemoteLogger_Base, public ::IceInternal::TwowayCallback<T, CT>
|
1288
2460
|
{
|
@@ -1299,9 +2471,10 @@ public:
|
|
1299
2471
|
{
|
1300
2472
|
}
|
1301
2473
|
|
1302
|
-
|
2474
|
+
/// \cond INTERNAL
|
2475
|
+
virtual void completed(const AsyncResultPtr& result) const
|
1303
2476
|
{
|
1304
|
-
|
2477
|
+
LoggerAdminPrx proxy = LoggerAdminPrx::uncheckedCast(result->getProxy());
|
1305
2478
|
bool ret;
|
1306
2479
|
try
|
1307
2480
|
{
|
@@ -1317,24 +2490,48 @@ public:
|
|
1317
2490
|
(::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
|
1318
2491
|
}
|
1319
2492
|
}
|
2493
|
+
/// \endcond
|
1320
2494
|
|
1321
2495
|
private:
|
1322
2496
|
|
1323
2497
|
Response _response;
|
1324
2498
|
};
|
1325
2499
|
|
2500
|
+
/**
|
2501
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2502
|
+
* Use this overload when your callback methods receive a cookie value.
|
2503
|
+
* @param instance The callback object.
|
2504
|
+
* @param cb The success method of the callback object.
|
2505
|
+
* @param excb The exception method of the callback object.
|
2506
|
+
* @param sentcb The sent method of the callback object.
|
2507
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LoggerAdmin::begin_detachRemoteLogger.
|
2508
|
+
*/
|
1326
2509
|
template<class T, typename CT> Callback_LoggerAdmin_detachRemoteLoggerPtr
|
1327
2510
|
newCallback_LoggerAdmin_detachRemoteLogger(const IceUtil::Handle<T>& instance, void (T::*cb)(bool, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1328
2511
|
{
|
1329
2512
|
return new Callback_LoggerAdmin_detachRemoteLogger<T, CT>(instance, cb, excb, sentcb);
|
1330
2513
|
}
|
1331
2514
|
|
2515
|
+
/**
|
2516
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2517
|
+
* Use this overload when your callback methods receive a cookie value.
|
2518
|
+
* @param instance The callback object.
|
2519
|
+
* @param cb The success method of the callback object.
|
2520
|
+
* @param excb The exception method of the callback object.
|
2521
|
+
* @param sentcb The sent method of the callback object.
|
2522
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LoggerAdmin::begin_detachRemoteLogger.
|
2523
|
+
*/
|
1332
2524
|
template<class T, typename CT> Callback_LoggerAdmin_detachRemoteLoggerPtr
|
1333
2525
|
newCallback_LoggerAdmin_detachRemoteLogger(T* instance, void (T::*cb)(bool, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1334
2526
|
{
|
1335
2527
|
return new Callback_LoggerAdmin_detachRemoteLogger<T, CT>(instance, cb, excb, sentcb);
|
1336
2528
|
}
|
1337
2529
|
|
2530
|
+
/**
|
2531
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
2532
|
+
* IceProxy::Ice::LoggerAdmin::begin_getLog.
|
2533
|
+
* Create a wrapper instance by calling ::Ice::newCallback_LoggerAdmin_getLog.
|
2534
|
+
*/
|
1338
2535
|
template<class T>
|
1339
2536
|
class CallbackNC_LoggerAdmin_getLog : public Callback_LoggerAdmin_getLog_Base, public ::IceInternal::TwowayCallbackNC<T>
|
1340
2537
|
{
|
@@ -1344,18 +2541,19 @@ public:
|
|
1344
2541
|
|
1345
2542
|
typedef void (T::*Exception)(const ::Ice::Exception&);
|
1346
2543
|
typedef void (T::*Sent)(bool);
|
1347
|
-
typedef void (T::*Response)(const
|
2544
|
+
typedef void (T::*Response)(const LogMessageSeq&, const ::std::string&);
|
1348
2545
|
|
1349
2546
|
CallbackNC_LoggerAdmin_getLog(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
1350
2547
|
: ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
|
1351
2548
|
{
|
1352
2549
|
}
|
1353
2550
|
|
1354
|
-
|
2551
|
+
/// \cond INTERNAL
|
2552
|
+
virtual void completed(const AsyncResultPtr& result) const
|
1355
2553
|
{
|
1356
|
-
|
2554
|
+
LoggerAdminPrx proxy = LoggerAdminPrx::uncheckedCast(result->getProxy());
|
1357
2555
|
::std::string iceP_prefix;
|
1358
|
-
|
2556
|
+
LogMessageSeq ret;
|
1359
2557
|
try
|
1360
2558
|
{
|
1361
2559
|
ret = proxy->end_getLog(iceP_prefix, result);
|
@@ -1370,24 +2568,46 @@ public:
|
|
1370
2568
|
(::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret, iceP_prefix);
|
1371
2569
|
}
|
1372
2570
|
}
|
2571
|
+
/// \endcond
|
1373
2572
|
|
1374
2573
|
private:
|
1375
2574
|
|
1376
2575
|
Response _response;
|
1377
2576
|
};
|
1378
2577
|
|
2578
|
+
/**
|
2579
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2580
|
+
* @param instance The callback object.
|
2581
|
+
* @param cb The success method of the callback object.
|
2582
|
+
* @param excb The exception method of the callback object.
|
2583
|
+
* @param sentcb The sent method of the callback object.
|
2584
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LoggerAdmin::begin_getLog.
|
2585
|
+
*/
|
1379
2586
|
template<class T> Callback_LoggerAdmin_getLogPtr
|
1380
|
-
newCallback_LoggerAdmin_getLog(const IceUtil::Handle<T>& instance, void (T::*cb)(const
|
2587
|
+
newCallback_LoggerAdmin_getLog(const IceUtil::Handle<T>& instance, void (T::*cb)(const LogMessageSeq&, const ::std::string&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1381
2588
|
{
|
1382
2589
|
return new CallbackNC_LoggerAdmin_getLog<T>(instance, cb, excb, sentcb);
|
1383
2590
|
}
|
1384
2591
|
|
2592
|
+
/**
|
2593
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2594
|
+
* @param instance The callback object.
|
2595
|
+
* @param cb The success method of the callback object.
|
2596
|
+
* @param excb The exception method of the callback object.
|
2597
|
+
* @param sentcb The sent method of the callback object.
|
2598
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LoggerAdmin::begin_getLog.
|
2599
|
+
*/
|
1385
2600
|
template<class T> Callback_LoggerAdmin_getLogPtr
|
1386
|
-
newCallback_LoggerAdmin_getLog(T* instance, void (T::*cb)(const
|
2601
|
+
newCallback_LoggerAdmin_getLog(T* instance, void (T::*cb)(const LogMessageSeq&, const ::std::string&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
1387
2602
|
{
|
1388
2603
|
return new CallbackNC_LoggerAdmin_getLog<T>(instance, cb, excb, sentcb);
|
1389
2604
|
}
|
1390
2605
|
|
2606
|
+
/**
|
2607
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
2608
|
+
* IceProxy::Ice::LoggerAdmin::begin_getLog.
|
2609
|
+
* Create a wrapper instance by calling ::Ice::newCallback_LoggerAdmin_getLog.
|
2610
|
+
*/
|
1391
2611
|
template<class T, typename CT>
|
1392
2612
|
class Callback_LoggerAdmin_getLog : public Callback_LoggerAdmin_getLog_Base, public ::IceInternal::TwowayCallback<T, CT>
|
1393
2613
|
{
|
@@ -1397,18 +2617,19 @@ public:
|
|
1397
2617
|
|
1398
2618
|
typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
|
1399
2619
|
typedef void (T::*Sent)(bool , const CT&);
|
1400
|
-
typedef void (T::*Response)(const
|
2620
|
+
typedef void (T::*Response)(const LogMessageSeq&, const ::std::string&, const CT&);
|
1401
2621
|
|
1402
2622
|
Callback_LoggerAdmin_getLog(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
1403
2623
|
: ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
|
1404
2624
|
{
|
1405
2625
|
}
|
1406
2626
|
|
1407
|
-
|
2627
|
+
/// \cond INTERNAL
|
2628
|
+
virtual void completed(const AsyncResultPtr& result) const
|
1408
2629
|
{
|
1409
|
-
|
2630
|
+
LoggerAdminPrx proxy = LoggerAdminPrx::uncheckedCast(result->getProxy());
|
1410
2631
|
::std::string iceP_prefix;
|
1411
|
-
|
2632
|
+
LogMessageSeq ret;
|
1412
2633
|
try
|
1413
2634
|
{
|
1414
2635
|
ret = proxy->end_getLog(iceP_prefix, result);
|
@@ -1423,20 +2644,39 @@ public:
|
|
1423
2644
|
(::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, iceP_prefix, CT::dynamicCast(result->getCookie()));
|
1424
2645
|
}
|
1425
2646
|
}
|
2647
|
+
/// \endcond
|
1426
2648
|
|
1427
2649
|
private:
|
1428
2650
|
|
1429
2651
|
Response _response;
|
1430
2652
|
};
|
1431
2653
|
|
2654
|
+
/**
|
2655
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2656
|
+
* Use this overload when your callback methods receive a cookie value.
|
2657
|
+
* @param instance The callback object.
|
2658
|
+
* @param cb The success method of the callback object.
|
2659
|
+
* @param excb The exception method of the callback object.
|
2660
|
+
* @param sentcb The sent method of the callback object.
|
2661
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LoggerAdmin::begin_getLog.
|
2662
|
+
*/
|
1432
2663
|
template<class T, typename CT> Callback_LoggerAdmin_getLogPtr
|
1433
|
-
newCallback_LoggerAdmin_getLog(const IceUtil::Handle<T>& instance, void (T::*cb)(const
|
2664
|
+
newCallback_LoggerAdmin_getLog(const IceUtil::Handle<T>& instance, void (T::*cb)(const LogMessageSeq&, const ::std::string&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1434
2665
|
{
|
1435
2666
|
return new Callback_LoggerAdmin_getLog<T, CT>(instance, cb, excb, sentcb);
|
1436
2667
|
}
|
1437
2668
|
|
2669
|
+
/**
|
2670
|
+
* Creates a callback wrapper instance that delegates to your object.
|
2671
|
+
* Use this overload when your callback methods receive a cookie value.
|
2672
|
+
* @param instance The callback object.
|
2673
|
+
* @param cb The success method of the callback object.
|
2674
|
+
* @param excb The exception method of the callback object.
|
2675
|
+
* @param sentcb The sent method of the callback object.
|
2676
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::Ice::LoggerAdmin::begin_getLog.
|
2677
|
+
*/
|
1438
2678
|
template<class T, typename CT> Callback_LoggerAdmin_getLogPtr
|
1439
|
-
newCallback_LoggerAdmin_getLog(T* instance, void (T::*cb)(const
|
2679
|
+
newCallback_LoggerAdmin_getLog(T* instance, void (T::*cb)(const LogMessageSeq&, const ::std::string&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
1440
2680
|
{
|
1441
2681
|
return new Callback_LoggerAdmin_getLog<T, CT>(instance, cb, excb, sentcb);
|
1442
2682
|
}
|