zeroc-ice 3.6b1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/ICE_LICENSE +54 -0
- data/LICENSE +339 -0
- data/bin/slice2rb +17 -0
- data/ext/Communicator.cpp +596 -0
- data/ext/Communicator.h +25 -0
- data/ext/Config.h +111 -0
- data/ext/Connection.cpp +381 -0
- data/ext/Connection.h +26 -0
- data/ext/Endpoint.cpp +311 -0
- data/ext/Endpoint.h +27 -0
- data/ext/ImplicitContext.cpp +152 -0
- data/ext/ImplicitContext.h +25 -0
- data/ext/Init.cpp +52 -0
- data/ext/Logger.cpp +151 -0
- data/ext/Logger.h +28 -0
- data/ext/ObjectFactory.cpp +140 -0
- data/ext/ObjectFactory.h +50 -0
- data/ext/Operation.cpp +676 -0
- data/ext/Operation.h +36 -0
- data/ext/Properties.cpp +369 -0
- data/ext/Properties.h +25 -0
- data/ext/Proxy.cpp +1354 -0
- data/ext/Proxy.h +27 -0
- data/ext/Slice.cpp +223 -0
- data/ext/Slice.h +22 -0
- data/ext/Types.cpp +3160 -0
- data/ext/Types.h +545 -0
- data/ext/Util.cpp +792 -0
- data/ext/Util.h +511 -0
- data/ext/extconf.rb +118 -0
- data/ext/ice/BZIP_LICENSE +42 -0
- data/ext/ice/MCPP_LICENSE +36 -0
- data/ext/ice/bzip2/blocksort.c +1094 -0
- data/ext/ice/bzip2/bzlib.c +1572 -0
- data/ext/ice/bzip2/bzlib.h +282 -0
- data/ext/ice/bzip2/bzlib_private.h +509 -0
- data/ext/ice/bzip2/compress.c +672 -0
- data/ext/ice/bzip2/crctable.c +104 -0
- data/ext/ice/bzip2/decompress.c +646 -0
- data/ext/ice/bzip2/huffman.c +205 -0
- data/ext/ice/bzip2/randtable.c +84 -0
- data/ext/ice/cpp/include/Ice/ACMF.h +30 -0
- data/ext/ice/cpp/include/Ice/Application.h +156 -0
- data/ext/ice/cpp/include/Ice/AsyncResult.h +363 -0
- data/ext/ice/cpp/include/Ice/AsyncResultF.h +26 -0
- data/ext/ice/cpp/include/Ice/BasicStream.h +1315 -0
- data/ext/ice/cpp/include/Ice/Buffer.h +159 -0
- data/ext/ice/cpp/include/Ice/BuiltinSequences.h +74 -0
- data/ext/ice/cpp/include/Ice/Communicator.h +194 -0
- data/ext/ice/cpp/include/Ice/CommunicatorAsync.h +115 -0
- data/ext/ice/cpp/include/Ice/CommunicatorF.h +60 -0
- data/ext/ice/cpp/include/Ice/Config.h +97 -0
- data/ext/ice/cpp/include/Ice/Connection.h +495 -0
- data/ext/ice/cpp/include/Ice/ConnectionAsync.h +115 -0
- data/ext/ice/cpp/include/Ice/ConnectionF.h +72 -0
- data/ext/ice/cpp/include/Ice/ConnectionFactoryF.h +30 -0
- data/ext/ice/cpp/include/Ice/ConnectionIF.h +37 -0
- data/ext/ice/cpp/include/Ice/Current.h +94 -0
- data/ext/ice/cpp/include/Ice/DefaultObjectFactory.h +48 -0
- data/ext/ice/cpp/include/Ice/DeprecatedStringConverter.h +62 -0
- data/ext/ice/cpp/include/Ice/DispatchInterceptor.h +33 -0
- data/ext/ice/cpp/include/Ice/Dispatcher.h +51 -0
- data/ext/ice/cpp/include/Ice/DynamicLibrary.h +105 -0
- data/ext/ice/cpp/include/Ice/DynamicLibraryF.h +29 -0
- data/ext/ice/cpp/include/Ice/Endpoint.h +350 -0
- data/ext/ice/cpp/include/Ice/EndpointF.h +97 -0
- data/ext/ice/cpp/include/Ice/EndpointTypes.h +74 -0
- data/ext/ice/cpp/include/Ice/Exception.h +114 -0
- data/ext/ice/cpp/include/Ice/FacetMap.h +56 -0
- data/ext/ice/cpp/include/Ice/FactoryTable.h +69 -0
- data/ext/ice/cpp/include/Ice/FactoryTableInit.h +87 -0
- data/ext/ice/cpp/include/Ice/Format.h +39 -0
- data/ext/ice/cpp/include/Ice/Functional.h +138 -0
- data/ext/ice/cpp/include/Ice/GCObject.h +73 -0
- data/ext/ice/cpp/include/Ice/Handle.h +192 -0
- data/ext/ice/cpp/include/Ice/Ice.h +54 -0
- data/ext/ice/cpp/include/Ice/Identity.h +160 -0
- data/ext/ice/cpp/include/Ice/ImplicitContext.h +96 -0
- data/ext/ice/cpp/include/Ice/ImplicitContextF.h +60 -0
- data/ext/ice/cpp/include/Ice/Incoming.h +131 -0
- data/ext/ice/cpp/include/Ice/IncomingAsync.h +108 -0
- data/ext/ice/cpp/include/Ice/IncomingAsyncF.h +35 -0
- data/ext/ice/cpp/include/Ice/Initialize.h +141 -0
- data/ext/ice/cpp/include/Ice/InstanceF.h +26 -0
- data/ext/ice/cpp/include/Ice/Instrumentation.h +377 -0
- data/ext/ice/cpp/include/Ice/InstrumentationF.h +71 -0
- data/ext/ice/cpp/include/Ice/LocalException.h +1022 -0
- data/ext/ice/cpp/include/Ice/LocalObject.h +36 -0
- data/ext/ice/cpp/include/Ice/LocalObjectF.h +26 -0
- data/ext/ice/cpp/include/Ice/Locator.h +2191 -0
- data/ext/ice/cpp/include/Ice/LocatorF.h +89 -0
- data/ext/ice/cpp/include/Ice/Logger.h +94 -0
- data/ext/ice/cpp/include/Ice/LoggerF.h +60 -0
- data/ext/ice/cpp/include/Ice/LoggerUtil.h +153 -0
- data/ext/ice/cpp/include/Ice/Makefile +26 -0
- data/ext/ice/cpp/include/Ice/Metrics.h +2989 -0
- data/ext/ice/cpp/include/Ice/MetricsAdminI.h +662 -0
- data/ext/ice/cpp/include/Ice/MetricsFunctional.h +144 -0
- data/ext/ice/cpp/include/Ice/MetricsObserverI.h +576 -0
- data/ext/ice/cpp/include/Ice/NativePropertiesAdmin.h +55 -0
- data/ext/ice/cpp/include/Ice/Object.h +165 -0
- data/ext/ice/cpp/include/Ice/ObjectAdapter.h +162 -0
- data/ext/ice/cpp/include/Ice/ObjectAdapterF.h +60 -0
- data/ext/ice/cpp/include/Ice/ObjectAdapterFactoryF.h +26 -0
- data/ext/ice/cpp/include/Ice/ObjectF.h +26 -0
- data/ext/ice/cpp/include/Ice/ObjectFactory.h +86 -0
- data/ext/ice/cpp/include/Ice/ObjectFactoryF.h +60 -0
- data/ext/ice/cpp/include/Ice/ObjectFactoryManagerF.h +26 -0
- data/ext/ice/cpp/include/Ice/ObserverHelper.h +177 -0
- data/ext/ice/cpp/include/Ice/Outgoing.h +197 -0
- data/ext/ice/cpp/include/Ice/OutgoingAsync.h +264 -0
- data/ext/ice/cpp/include/Ice/OutgoingAsyncF.h +38 -0
- data/ext/ice/cpp/include/Ice/Plugin.h +121 -0
- data/ext/ice/cpp/include/Ice/PluginF.h +66 -0
- data/ext/ice/cpp/include/Ice/Process.h +568 -0
- data/ext/ice/cpp/include/Ice/ProcessF.h +77 -0
- data/ext/ice/cpp/include/Ice/Properties.h +130 -0
- data/ext/ice/cpp/include/Ice/PropertiesAdmin.h +824 -0
- data/ext/ice/cpp/include/Ice/PropertiesF.h +83 -0
- data/ext/ice/cpp/include/Ice/Protocol.h +242 -0
- data/ext/ice/cpp/include/Ice/Proxy.h +2448 -0
- data/ext/ice/cpp/include/Ice/ProxyF.h +78 -0
- data/ext/ice/cpp/include/Ice/ProxyFactoryF.h +26 -0
- data/ext/ice/cpp/include/Ice/ProxyHandle.h +330 -0
- data/ext/ice/cpp/include/Ice/ReferenceF.h +34 -0
- data/ext/ice/cpp/include/Ice/RemoteLogger.h +1496 -0
- data/ext/ice/cpp/include/Ice/RequestHandlerF.h +29 -0
- data/ext/ice/cpp/include/Ice/ResponseHandlerF.h +25 -0
- data/ext/ice/cpp/include/Ice/Router.h +1155 -0
- data/ext/ice/cpp/include/Ice/RouterF.h +77 -0
- data/ext/ice/cpp/include/Ice/ServantLocator.h +90 -0
- data/ext/ice/cpp/include/Ice/ServantLocatorF.h +60 -0
- data/ext/ice/cpp/include/Ice/ServantManagerF.h +26 -0
- data/ext/ice/cpp/include/Ice/Service.h +260 -0
- data/ext/ice/cpp/include/Ice/SliceChecksumDict.h +56 -0
- data/ext/ice/cpp/include/Ice/SliceChecksums.h +34 -0
- data/ext/ice/cpp/include/Ice/SlicedData.h +103 -0
- data/ext/ice/cpp/include/Ice/SlicedDataF.h +34 -0
- data/ext/ice/cpp/include/Ice/Stream.h +449 -0
- data/ext/ice/cpp/include/Ice/StreamF.h +30 -0
- data/ext/ice/cpp/include/Ice/StreamHelpers.h +877 -0
- data/ext/ice/cpp/include/Ice/ThreadPoolF.h +28 -0
- data/ext/ice/cpp/include/Ice/UserExceptionFactory.h +56 -0
- data/ext/ice/cpp/include/Ice/Version.h +254 -0
- data/ext/ice/cpp/include/IceSSL/Config.h +23 -0
- data/ext/ice/cpp/include/IceSSL/ConnectionInfo.h +119 -0
- data/ext/ice/cpp/include/IceSSL/EndpointInfo.h +101 -0
- data/ext/ice/cpp/include/IceSSL/IceSSL.h +22 -0
- data/ext/ice/cpp/include/IceSSL/Makefile +26 -0
- data/ext/ice/cpp/include/IceSSL/Plugin.h +558 -0
- data/ext/ice/cpp/include/IceUtil/AbstractMutex.h +119 -0
- data/ext/ice/cpp/include/IceUtil/Cache.h +362 -0
- data/ext/ice/cpp/include/IceUtil/Cond.h +323 -0
- data/ext/ice/cpp/include/IceUtil/Config.h +234 -0
- data/ext/ice/cpp/include/IceUtil/CountDownLatch.h +50 -0
- data/ext/ice/cpp/include/IceUtil/CtrlCHandler.h +70 -0
- data/ext/ice/cpp/include/IceUtil/DisableWarnings.h +45 -0
- data/ext/ice/cpp/include/IceUtil/Exception.h +184 -0
- data/ext/ice/cpp/include/IceUtil/Functional.h +389 -0
- data/ext/ice/cpp/include/IceUtil/Handle.h +266 -0
- data/ext/ice/cpp/include/IceUtil/IceUtil.h +51 -0
- data/ext/ice/cpp/include/IceUtil/IconvStringConverter.h +302 -0
- data/ext/ice/cpp/include/IceUtil/InputUtil.h +47 -0
- data/ext/ice/cpp/include/IceUtil/Iterator.h +36 -0
- data/ext/ice/cpp/include/IceUtil/Lock.h +135 -0
- data/ext/ice/cpp/include/IceUtil/Makefile +26 -0
- data/ext/ice/cpp/include/IceUtil/Monitor.h +249 -0
- data/ext/ice/cpp/include/IceUtil/Mutex.h +357 -0
- data/ext/ice/cpp/include/IceUtil/MutexProtocol.h +28 -0
- data/ext/ice/cpp/include/IceUtil/MutexPtrLock.h +83 -0
- data/ext/ice/cpp/include/IceUtil/MutexPtrTryLock.h +82 -0
- data/ext/ice/cpp/include/IceUtil/Optional.h +322 -0
- data/ext/ice/cpp/include/IceUtil/Options.h +141 -0
- data/ext/ice/cpp/include/IceUtil/OutputUtil.h +362 -0
- data/ext/ice/cpp/include/IceUtil/PopDisableWarnings.h +19 -0
- data/ext/ice/cpp/include/IceUtil/PushDisableWarnings.h +26 -0
- data/ext/ice/cpp/include/IceUtil/Random.h +24 -0
- data/ext/ice/cpp/include/IceUtil/RecMutex.h +113 -0
- data/ext/ice/cpp/include/IceUtil/SHA1.h +65 -0
- data/ext/ice/cpp/include/IceUtil/ScannerConfig.h +44 -0
- data/ext/ice/cpp/include/IceUtil/ScopedArray.h +97 -0
- data/ext/ice/cpp/include/IceUtil/Shared.h +168 -0
- data/ext/ice/cpp/include/IceUtil/StringConverter.h +175 -0
- data/ext/ice/cpp/include/IceUtil/StringUtil.h +91 -0
- data/ext/ice/cpp/include/IceUtil/Thread.h +181 -0
- data/ext/ice/cpp/include/IceUtil/ThreadException.h +108 -0
- data/ext/ice/cpp/include/IceUtil/Time.h +209 -0
- data/ext/ice/cpp/include/IceUtil/Timer.h +143 -0
- data/ext/ice/cpp/include/IceUtil/UUID.h +22 -0
- data/ext/ice/cpp/include/IceUtil/UndefSysMacros.h +42 -0
- data/ext/ice/cpp/include/IceUtil/UniquePtr.h +101 -0
- data/ext/ice/cpp/include/Slice/CPlusPlusUtil.h +64 -0
- data/ext/ice/cpp/include/Slice/Checksum.h +26 -0
- data/ext/ice/cpp/include/Slice/CsUtil.h +92 -0
- data/ext/ice/cpp/include/Slice/DotNetNames.h +34 -0
- data/ext/ice/cpp/include/Slice/FileTracker.h +71 -0
- data/ext/ice/cpp/include/Slice/JavaUtil.h +277 -0
- data/ext/ice/cpp/include/Slice/Makefile +26 -0
- data/ext/ice/cpp/include/Slice/PHPUtil.h +50 -0
- data/ext/ice/cpp/include/Slice/Parser.h +1116 -0
- data/ext/ice/cpp/include/Slice/Preprocessor.h +68 -0
- data/ext/ice/cpp/include/Slice/PythonUtil.h +64 -0
- data/ext/ice/cpp/include/Slice/RubyUtil.h +54 -0
- data/ext/ice/cpp/include/Slice/Util.h +33 -0
- data/ext/ice/cpp/src/Ice/ACM.cpp +343 -0
- data/ext/ice/cpp/src/Ice/ACM.h +117 -0
- data/ext/ice/cpp/src/Ice/Acceptor.cpp +16 -0
- data/ext/ice/cpp/src/Ice/Acceptor.h +41 -0
- data/ext/ice/cpp/src/Ice/AcceptorF.h +30 -0
- data/ext/ice/cpp/src/Ice/Application.cpp +760 -0
- data/ext/ice/cpp/src/Ice/AsyncResult.cpp +599 -0
- data/ext/ice/cpp/src/Ice/Base64.cpp +269 -0
- data/ext/ice/cpp/src/Ice/Base64.h +36 -0
- data/ext/ice/cpp/src/Ice/BasicStream.cpp +3393 -0
- data/ext/ice/cpp/src/Ice/Buffer.cpp +98 -0
- data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +34 -0
- data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +718 -0
- data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.h +106 -0
- data/ext/ice/cpp/src/Ice/Communicator.cpp +45 -0
- data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +38 -0
- data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +386 -0
- data/ext/ice/cpp/src/Ice/CommunicatorI.h +112 -0
- data/ext/ice/cpp/src/Ice/ConnectRequestHandler.cpp +546 -0
- data/ext/ice/cpp/src/Ice/ConnectRequestHandler.h +97 -0
- data/ext/ice/cpp/src/Ice/Connection.cpp +58 -0
- data/ext/ice/cpp/src/Ice/ConnectionF.cpp +38 -0
- data/ext/ice/cpp/src/Ice/ConnectionFactory.cpp +1639 -0
- data/ext/ice/cpp/src/Ice/ConnectionFactory.h +236 -0
- data/ext/ice/cpp/src/Ice/ConnectionI.cpp +3876 -0
- data/ext/ice/cpp/src/Ice/ConnectionI.h +364 -0
- data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.cpp +115 -0
- data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.h +50 -0
- data/ext/ice/cpp/src/Ice/Connector.cpp +16 -0
- data/ext/ice/cpp/src/Ice/Connector.h +36 -0
- data/ext/ice/cpp/src/Ice/ConnectorF.h +26 -0
- data/ext/ice/cpp/src/Ice/Current.cpp +38 -0
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +168 -0
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.h +57 -0
- data/ext/ice/cpp/src/Ice/DefaultsAndOverridesF.h +26 -0
- data/ext/ice/cpp/src/Ice/DeprecatedStringConverter.cpp +60 -0
- data/ext/ice/cpp/src/Ice/DispatchInterceptor.cpp +49 -0
- data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +281 -0
- data/ext/ice/cpp/src/Ice/Endpoint.cpp +53 -0
- data/ext/ice/cpp/src/Ice/EndpointF.cpp +38 -0
- data/ext/ice/cpp/src/Ice/EndpointFactory.cpp +25 -0
- data/ext/ice/cpp/src/Ice/EndpointFactory.h +44 -0
- data/ext/ice/cpp/src/Ice/EndpointFactoryF.h +26 -0
- data/ext/ice/cpp/src/Ice/EndpointFactoryManager.cpp +208 -0
- data/ext/ice/cpp/src/Ice/EndpointFactoryManager.h +46 -0
- data/ext/ice/cpp/src/Ice/EndpointFactoryManagerF.h +26 -0
- data/ext/ice/cpp/src/Ice/EndpointI.cpp +87 -0
- data/ext/ice/cpp/src/Ice/EndpointI.h +165 -0
- data/ext/ice/cpp/src/Ice/EndpointIF.h +41 -0
- data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +38 -0
- data/ext/ice/cpp/src/Ice/EventHandler.cpp +35 -0
- data/ext/ice/cpp/src/Ice/EventHandler.h +78 -0
- data/ext/ice/cpp/src/Ice/EventHandlerF.h +26 -0
- data/ext/ice/cpp/src/Ice/EventLoggerMsg.h +53 -0
- data/ext/ice/cpp/src/Ice/Exception.cpp +832 -0
- data/ext/ice/cpp/src/Ice/FacetMap.cpp +34 -0
- data/ext/ice/cpp/src/Ice/FactoryTable.cpp +158 -0
- data/ext/ice/cpp/src/Ice/FactoryTableInit.cpp +95 -0
- data/ext/ice/cpp/src/Ice/GCObject.cpp +444 -0
- data/ext/ice/cpp/src/Ice/HashUtil.h +59 -0
- data/ext/ice/cpp/src/Ice/HttpParser.cpp +680 -0
- data/ext/ice/cpp/src/Ice/HttpParser.h +124 -0
- data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +733 -0
- data/ext/ice/cpp/src/Ice/IPEndpointI.h +157 -0
- data/ext/ice/cpp/src/Ice/IPEndpointIF.h +29 -0
- data/ext/ice/cpp/src/Ice/Identity.cpp +42 -0
- data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +41 -0
- data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +38 -0
- data/ext/ice/cpp/src/Ice/ImplicitContextI.cpp +639 -0
- data/ext/ice/cpp/src/Ice/ImplicitContextI.h +51 -0
- data/ext/ice/cpp/src/Ice/Incoming.cpp +757 -0
- data/ext/ice/cpp/src/Ice/IncomingAsync.cpp +340 -0
- data/ext/ice/cpp/src/Ice/IncomingRequest.h +37 -0
- data/ext/ice/cpp/src/Ice/Initialize.cpp +401 -0
- data/ext/ice/cpp/src/Ice/Instance.cpp +1928 -0
- data/ext/ice/cpp/src/Ice/Instance.h +198 -0
- data/ext/ice/cpp/src/Ice/Instrumentation.cpp +68 -0
- data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +43 -0
- data/ext/ice/cpp/src/Ice/InstrumentationI.cpp +1083 -0
- data/ext/ice/cpp/src/Ice/InstrumentationI.h +262 -0
- data/ext/ice/cpp/src/Ice/LocalException.cpp +2091 -0
- data/ext/ice/cpp/src/Ice/LocalObject.cpp +29 -0
- data/ext/ice/cpp/src/Ice/Locator.cpp +1946 -0
- data/ext/ice/cpp/src/Ice/LocatorF.cpp +39 -0
- data/ext/ice/cpp/src/Ice/LocatorInfo.cpp +917 -0
- data/ext/ice/cpp/src/Ice/LocatorInfo.h +193 -0
- data/ext/ice/cpp/src/Ice/LocatorInfoF.h +34 -0
- data/ext/ice/cpp/src/Ice/Logger.cpp +40 -0
- data/ext/ice/cpp/src/Ice/LoggerAdminI.cpp +862 -0
- data/ext/ice/cpp/src/Ice/LoggerAdminI.h +46 -0
- data/ext/ice/cpp/src/Ice/LoggerF.cpp +38 -0
- data/ext/ice/cpp/src/Ice/LoggerI.cpp +199 -0
- data/ext/ice/cpp/src/Ice/LoggerI.h +57 -0
- data/ext/ice/cpp/src/Ice/LoggerUtil.cpp +107 -0
- data/ext/ice/cpp/src/Ice/Makefile +190 -0
- data/ext/ice/cpp/src/Ice/Metrics.cpp +2159 -0
- data/ext/ice/cpp/src/Ice/MetricsAdminI.cpp +669 -0
- data/ext/ice/cpp/src/Ice/MetricsObserverI.cpp +14 -0
- data/ext/ice/cpp/src/Ice/Network.cpp +2694 -0
- data/ext/ice/cpp/src/Ice/Network.h +291 -0
- data/ext/ice/cpp/src/Ice/NetworkF.h +28 -0
- data/ext/ice/cpp/src/Ice/NetworkProxy.cpp +325 -0
- data/ext/ice/cpp/src/Ice/NetworkProxy.h +74 -0
- data/ext/ice/cpp/src/Ice/NetworkProxyF.h +26 -0
- data/ext/ice/cpp/src/Ice/Object.cpp +440 -0
- data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +41 -0
- data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +38 -0
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +241 -0
- data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.h +52 -0
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +1498 -0
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +155 -0
- data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +41 -0
- data/ext/ice/cpp/src/Ice/ObjectFactoryF.cpp +38 -0
- data/ext/ice/cpp/src/Ice/ObjectFactoryManager.cpp +140 -0
- data/ext/ice/cpp/src/Ice/ObjectFactoryManager.h +43 -0
- data/ext/ice/cpp/src/Ice/ObserverHelper.cpp +84 -0
- data/ext/ice/cpp/src/Ice/OpaqueEndpointI.cpp +407 -0
- data/ext/ice/cpp/src/Ice/OpaqueEndpointI.h +70 -0
- data/ext/ice/cpp/src/Ice/Outgoing.cpp +737 -0
- data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +874 -0
- data/ext/ice/cpp/src/Ice/Plugin.cpp +43 -0
- data/ext/ice/cpp/src/Ice/PluginF.cpp +38 -0
- data/ext/ice/cpp/src/Ice/PluginManagerI.cpp +503 -0
- data/ext/ice/cpp/src/Ice/PluginManagerI.h +67 -0
- data/ext/ice/cpp/src/Ice/Process.cpp +299 -0
- data/ext/ice/cpp/src/Ice/ProcessF.cpp +39 -0
- data/ext/ice/cpp/src/Ice/Properties.cpp +45 -0
- data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +555 -0
- data/ext/ice/cpp/src/Ice/PropertiesAdminI.cpp +207 -0
- data/ext/ice/cpp/src/Ice/PropertiesAdminI.h +45 -0
- data/ext/ice/cpp/src/Ice/PropertiesF.cpp +39 -0
- data/ext/ice/cpp/src/Ice/PropertiesI.cpp +759 -0
- data/ext/ice/cpp/src/Ice/PropertiesI.h +78 -0
- data/ext/ice/cpp/src/Ice/PropertyNames.cpp +1293 -0
- data/ext/ice/cpp/src/Ice/PropertyNames.h +81 -0
- data/ext/ice/cpp/src/Ice/Protocol.cpp +137 -0
- data/ext/ice/cpp/src/Ice/ProtocolInstance.cpp +98 -0
- data/ext/ice/cpp/src/Ice/ProtocolInstance.h +91 -0
- data/ext/ice/cpp/src/Ice/ProtocolInstanceF.h +26 -0
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +51 -0
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.h +67 -0
- data/ext/ice/cpp/src/Ice/ProtocolPluginFacadeF.h +26 -0
- data/ext/ice/cpp/src/Ice/Proxy.cpp +1810 -0
- data/ext/ice/cpp/src/Ice/ProxyFactory.cpp +305 -0
- data/ext/ice/cpp/src/Ice/ProxyFactory.h +57 -0
- data/ext/ice/cpp/src/Ice/Reference.cpp +1947 -0
- data/ext/ice/cpp/src/Ice/Reference.h +305 -0
- data/ext/ice/cpp/src/Ice/ReferenceFactory.cpp +937 -0
- data/ext/ice/cpp/src/Ice/ReferenceFactory.h +81 -0
- data/ext/ice/cpp/src/Ice/ReferenceFactoryF.h +24 -0
- data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +958 -0
- data/ext/ice/cpp/src/Ice/ReplyStatus.h +29 -0
- data/ext/ice/cpp/src/Ice/RequestHandler.cpp +40 -0
- data/ext/ice/cpp/src/Ice/RequestHandler.h +90 -0
- data/ext/ice/cpp/src/Ice/RequestHandlerFactory.cpp +70 -0
- data/ext/ice/cpp/src/Ice/RequestHandlerFactory.h +41 -0
- data/ext/ice/cpp/src/Ice/ResponseHandler.cpp +20 -0
- data/ext/ice/cpp/src/Ice/ResponseHandler.h +39 -0
- data/ext/ice/cpp/src/Ice/RetryQueue.cpp +154 -0
- data/ext/ice/cpp/src/Ice/RetryQueue.h +69 -0
- data/ext/ice/cpp/src/Ice/RetryQueueF.h +24 -0
- data/ext/ice/cpp/src/Ice/Router.cpp +849 -0
- data/ext/ice/cpp/src/Ice/RouterF.cpp +39 -0
- data/ext/ice/cpp/src/Ice/RouterInfo.cpp +381 -0
- data/ext/ice/cpp/src/Ice/RouterInfo.h +148 -0
- data/ext/ice/cpp/src/Ice/RouterInfoF.h +30 -0
- data/ext/ice/cpp/src/Ice/Selector.cpp +926 -0
- data/ext/ice/cpp/src/Ice/Selector.h +231 -0
- data/ext/ice/cpp/src/Ice/ServantLocator.cpp +41 -0
- data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +38 -0
- data/ext/ice/cpp/src/Ice/ServantManager.cpp +495 -0
- data/ext/ice/cpp/src/Ice/ServantManager.h +74 -0
- data/ext/ice/cpp/src/Ice/Service.cpp +1897 -0
- data/ext/ice/cpp/src/Ice/SharedContext.h +51 -0
- data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +34 -0
- data/ext/ice/cpp/src/Ice/SliceChecksums.cpp +80 -0
- data/ext/ice/cpp/src/Ice/SlicedData.cpp +80 -0
- data/ext/ice/cpp/src/Ice/Stream.cpp +53 -0
- data/ext/ice/cpp/src/Ice/StreamI.cpp +832 -0
- data/ext/ice/cpp/src/Ice/StreamI.h +198 -0
- data/ext/ice/cpp/src/Ice/StreamSocket.cpp +521 -0
- data/ext/ice/cpp/src/Ice/StreamSocket.h +85 -0
- data/ext/ice/cpp/src/Ice/StringConverterPlugin.cpp +145 -0
- data/ext/ice/cpp/src/Ice/SysLoggerI.cpp +167 -0
- data/ext/ice/cpp/src/Ice/SysLoggerI.h +43 -0
- data/ext/ice/cpp/src/Ice/TcpAcceptor.cpp +235 -0
- data/ext/ice/cpp/src/Ice/TcpAcceptor.h +67 -0
- data/ext/ice/cpp/src/Ice/TcpConnector.cpp +133 -0
- data/ext/ice/cpp/src/Ice/TcpConnector.h +51 -0
- data/ext/ice/cpp/src/Ice/TcpEndpointI.cpp +397 -0
- data/ext/ice/cpp/src/Ice/TcpEndpointI.h +93 -0
- data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +127 -0
- data/ext/ice/cpp/src/Ice/TcpTransceiver.h +61 -0
- data/ext/ice/cpp/src/Ice/ThreadPool.cpp +1357 -0
- data/ext/ice/cpp/src/Ice/ThreadPool.h +399 -0
- data/ext/ice/cpp/src/Ice/TraceLevels.cpp +43 -0
- data/ext/ice/cpp/src/Ice/TraceLevels.h +50 -0
- data/ext/ice/cpp/src/Ice/TraceLevelsF.h +26 -0
- data/ext/ice/cpp/src/Ice/TraceUtil.cpp +452 -0
- data/ext/ice/cpp/src/Ice/TraceUtil.h +28 -0
- data/ext/ice/cpp/src/Ice/Transceiver.cpp +24 -0
- data/ext/ice/cpp/src/Ice/Transceiver.h +52 -0
- data/ext/ice/cpp/src/Ice/TransceiverF.h +38 -0
- data/ext/ice/cpp/src/Ice/UdpConnector.cpp +144 -0
- data/ext/ice/cpp/src/Ice/UdpConnector.h +51 -0
- data/ext/ice/cpp/src/Ice/UdpEndpointI.cpp +483 -0
- data/ext/ice/cpp/src/Ice/UdpEndpointI.h +95 -0
- data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +1156 -0
- data/ext/ice/cpp/src/Ice/UdpTransceiver.h +123 -0
- data/ext/ice/cpp/src/Ice/Version.cpp +46 -0
- data/ext/ice/cpp/src/Ice/WSAcceptor.cpp +103 -0
- data/ext/ice/cpp/src/Ice/WSAcceptor.h +61 -0
- data/ext/ice/cpp/src/Ice/WSConnector.cpp +113 -0
- data/ext/ice/cpp/src/Ice/WSConnector.h +51 -0
- data/ext/ice/cpp/src/Ice/WSEndpoint.cpp +441 -0
- data/ext/ice/cpp/src/Ice/WSEndpoint.h +97 -0
- data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +1728 -0
- data/ext/ice/cpp/src/Ice/WSTransceiver.h +149 -0
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +594 -0
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +1035 -0
- data/ext/ice/cpp/src/IceDiscovery/LocatorI.cpp +208 -0
- data/ext/ice/cpp/src/IceDiscovery/LocatorI.h +78 -0
- data/ext/ice/cpp/src/IceDiscovery/LookupI.cpp +308 -0
- data/ext/ice/cpp/src/IceDiscovery/LookupI.h +183 -0
- data/ext/ice/cpp/src/IceDiscovery/Makefile +61 -0
- data/ext/ice/cpp/src/IceDiscovery/PluginI.cpp +148 -0
- data/ext/ice/cpp/src/IceDiscovery/PluginI.h +39 -0
- data/ext/ice/cpp/src/IceSSL/AcceptorI.cpp +258 -0
- data/ext/ice/cpp/src/IceSSL/AcceptorI.h +66 -0
- data/ext/ice/cpp/src/IceSSL/Certificate.cpp +1334 -0
- data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +42 -0
- data/ext/ice/cpp/src/IceSSL/ConnectorI.cpp +151 -0
- data/ext/ice/cpp/src/IceSSL/ConnectorI.h +56 -0
- data/ext/ice/cpp/src/IceSSL/EndpointI.cpp +397 -0
- data/ext/ice/cpp/src/IceSSL/EndpointI.h +96 -0
- data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +41 -0
- data/ext/ice/cpp/src/IceSSL/Instance.cpp +38 -0
- data/ext/ice/cpp/src/IceSSL/Instance.h +42 -0
- data/ext/ice/cpp/src/IceSSL/InstanceF.h +34 -0
- data/ext/ice/cpp/src/IceSSL/Makefile +82 -0
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +1001 -0
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +607 -0
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +75 -0
- data/ext/ice/cpp/src/IceSSL/PluginI.cpp +102 -0
- data/ext/ice/cpp/src/IceSSL/PluginI.h +56 -0
- data/ext/ice/cpp/src/IceSSL/RFC2253.cpp +541 -0
- data/ext/ice/cpp/src/IceSSL/RFC2253.h +67 -0
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.cpp +729 -0
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +1062 -0
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.h +130 -0
- data/ext/ice/cpp/src/IceSSL/SSLEngine.cpp +291 -0
- data/ext/ice/cpp/src/IceSSL/SSLEngine.h +264 -0
- data/ext/ice/cpp/src/IceSSL/SSLEngineF.h +41 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +1514 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +609 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +91 -0
- data/ext/ice/cpp/src/IceSSL/TrustManager.cpp +246 -0
- data/ext/ice/cpp/src/IceSSL/TrustManager.h +51 -0
- data/ext/ice/cpp/src/IceSSL/TrustManagerF.h +26 -0
- data/ext/ice/cpp/src/IceSSL/Util.cpp +1423 -0
- data/ext/ice/cpp/src/IceSSL/Util.h +136 -0
- data/ext/ice/cpp/src/IceUtil/ArgVector.cpp +65 -0
- data/ext/ice/cpp/src/IceUtil/ArgVector.h +41 -0
- data/ext/ice/cpp/src/IceUtil/Cond.cpp +386 -0
- data/ext/ice/cpp/src/IceUtil/ConvertUTF.cpp +477 -0
- data/ext/ice/cpp/src/IceUtil/ConvertUTF.h +144 -0
- data/ext/ice/cpp/src/IceUtil/CountDownLatch.cpp +184 -0
- data/ext/ice/cpp/src/IceUtil/CtrlCHandler.cpp +273 -0
- data/ext/ice/cpp/src/IceUtil/Exception.cpp +782 -0
- data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +532 -0
- data/ext/ice/cpp/src/IceUtil/FileUtil.h +159 -0
- data/ext/ice/cpp/src/IceUtil/InputUtil.cpp +41 -0
- data/ext/ice/cpp/src/IceUtil/Makefile +68 -0
- data/ext/ice/cpp/src/IceUtil/MutexProtocol.cpp +24 -0
- data/ext/ice/cpp/src/IceUtil/Options.cpp +1049 -0
- data/ext/ice/cpp/src/IceUtil/OutputUtil.cpp +591 -0
- data/ext/ice/cpp/src/IceUtil/Random.cpp +185 -0
- data/ext/ice/cpp/src/IceUtil/RecMutex.cpp +257 -0
- data/ext/ice/cpp/src/IceUtil/SHA1.cpp +126 -0
- data/ext/ice/cpp/src/IceUtil/Shared.cpp +200 -0
- data/ext/ice/cpp/src/IceUtil/StopWatch.h +54 -0
- data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +450 -0
- data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +842 -0
- data/ext/ice/cpp/src/IceUtil/Thread.cpp +809 -0
- data/ext/ice/cpp/src/IceUtil/ThreadException.cpp +172 -0
- data/ext/ice/cpp/src/IceUtil/Time.cpp +306 -0
- data/ext/ice/cpp/src/IceUtil/Timer.cpp +251 -0
- data/ext/ice/cpp/src/IceUtil/UUID.cpp +174 -0
- data/ext/ice/cpp/src/IceUtil/Unicode.cpp +131 -0
- data/ext/ice/cpp/src/IceUtil/Unicode.h +49 -0
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.cpp +1139 -0
- data/ext/ice/cpp/src/Slice/Checksum.cpp +452 -0
- data/ext/ice/cpp/src/Slice/CsUtil.cpp +2650 -0
- data/ext/ice/cpp/src/Slice/DotNetNames.cpp +146 -0
- data/ext/ice/cpp/src/Slice/FileTracker.cpp +203 -0
- data/ext/ice/cpp/src/Slice/Grammar.cpp +4755 -0
- data/ext/ice/cpp/src/Slice/Grammar.h +98 -0
- data/ext/ice/cpp/src/Slice/GrammarUtil.h +234 -0
- data/ext/ice/cpp/src/Slice/JavaUtil.cpp +4376 -0
- data/ext/ice/cpp/src/Slice/MD5.cpp +57 -0
- data/ext/ice/cpp/src/Slice/MD5.h +44 -0
- data/ext/ice/cpp/src/Slice/MD5I.cpp +385 -0
- data/ext/ice/cpp/src/Slice/MD5I.h +91 -0
- data/ext/ice/cpp/src/Slice/Makefile +65 -0
- data/ext/ice/cpp/src/Slice/PHPUtil.cpp +156 -0
- data/ext/ice/cpp/src/Slice/Parser.cpp +6386 -0
- data/ext/ice/cpp/src/Slice/Preprocessor.cpp +686 -0
- data/ext/ice/cpp/src/Slice/Python.cpp +675 -0
- data/ext/ice/cpp/src/Slice/PythonUtil.cpp +2614 -0
- data/ext/ice/cpp/src/Slice/Ruby.cpp +317 -0
- data/ext/ice/cpp/src/Slice/RubyUtil.cpp +1774 -0
- data/ext/ice/cpp/src/Slice/Scanner.cpp +2426 -0
- data/ext/ice/cpp/src/Slice/Util.cpp +325 -0
- data/ext/ice/mcpp/config.h.Darwin +227 -0
- data/ext/ice/mcpp/config.h.Linux +227 -0
- data/ext/ice/mcpp/config.h.MINGW +7 -0
- data/ext/ice/mcpp/configed.H +382 -0
- data/ext/ice/mcpp/directive.c +1699 -0
- data/ext/ice/mcpp/eval.c +1673 -0
- data/ext/ice/mcpp/expand.c +2980 -0
- data/ext/ice/mcpp/internal.H +564 -0
- data/ext/ice/mcpp/main.c +1131 -0
- data/ext/ice/mcpp/mbchar.c +869 -0
- data/ext/ice/mcpp/mcpp_lib.h +31 -0
- data/ext/ice/mcpp/mcpp_out.h +13 -0
- data/ext/ice/mcpp/support.c +2811 -0
- data/ext/ice/mcpp/system.H +396 -0
- data/ext/ice/mcpp/system.c +4940 -0
- data/ice.gemspec +41 -0
- data/lib/Glacier2.rb +12 -0
- data/lib/Glacier2/Metrics.rb +99 -0
- data/lib/Glacier2/PermissionsVerifier.rb +168 -0
- data/lib/Glacier2/PermissionsVerifierF.rb +34 -0
- data/lib/Glacier2/Router.rb +141 -0
- data/lib/Glacier2/RouterF.rb +29 -0
- data/lib/Glacier2/SSLInfo.rb +79 -0
- data/lib/Glacier2/Session.rb +470 -0
- data/lib/Ice.rb +659 -0
- data/lib/Ice/BuiltinSequences.rb +64 -0
- data/lib/Ice/Communicator.rb +93 -0
- data/lib/Ice/CommunicatorF.rb +28 -0
- data/lib/Ice/Connection.rb +414 -0
- data/lib/Ice/ConnectionF.rb +36 -0
- data/lib/Ice/Current.rb +152 -0
- data/lib/Ice/Endpoint.rb +265 -0
- data/lib/Ice/EndpointF.rb +52 -0
- data/lib/Ice/EndpointTypes.rb +77 -0
- data/lib/Ice/FacetMap.rb +28 -0
- data/lib/Ice/Identity.rb +70 -0
- data/lib/Ice/ImplicitContext.rb +59 -0
- data/lib/Ice/ImplicitContextF.rb +28 -0
- data/lib/Ice/Instrumentation.rb +425 -0
- data/lib/Ice/InstrumentationF.rb +35 -0
- data/lib/Ice/LocalException.rb +1081 -0
- data/lib/Ice/Locator.rb +314 -0
- data/lib/Ice/LocatorF.rb +34 -0
- data/lib/Ice/Logger.rb +57 -0
- data/lib/Ice/LoggerF.rb +28 -0
- data/lib/Ice/Metrics.rb +696 -0
- data/lib/Ice/ObjectAdapterF.rb +28 -0
- data/lib/Ice/ObjectFactory.rb +53 -0
- data/lib/Ice/ObjectFactoryF.rb +28 -0
- data/lib/Ice/Plugin.rb +87 -0
- data/lib/Ice/PluginF.rb +32 -0
- data/lib/Ice/Process.rb +93 -0
- data/lib/Ice/ProcessF.rb +29 -0
- data/lib/Ice/Properties.rb +65 -0
- data/lib/Ice/PropertiesAdmin.rb +104 -0
- data/lib/Ice/PropertiesF.rb +33 -0
- data/lib/Ice/Router.rb +163 -0
- data/lib/Ice/RouterF.rb +29 -0
- data/lib/Ice/SliceChecksumDict.rb +28 -0
- data/lib/Ice/Version.rb +100 -0
- data/lib/IceBox.rb +10 -0
- data/lib/IceBox/IceBox.rb +272 -0
- data/lib/IceGrid.rb +17 -0
- data/lib/IceGrid/Admin.rb +1076 -0
- data/lib/IceGrid/Descriptor.rb +1505 -0
- data/lib/IceGrid/Exception.rb +401 -0
- data/lib/IceGrid/FileParser.rb +105 -0
- data/lib/IceGrid/Locator.rb +105 -0
- data/lib/IceGrid/Observer.rb +571 -0
- data/lib/IceGrid/Query.rb +168 -0
- data/lib/IceGrid/Registry.rb +120 -0
- data/lib/IceGrid/Session.rb +114 -0
- data/lib/IceGrid/UserAccountMapper.rb +101 -0
- data/lib/IcePatch2.rb +10 -0
- data/lib/IcePatch2/FileInfo.rb +75 -0
- data/lib/IcePatch2/FileServer.rb +141 -0
- data/lib/IceStorm.rb +11 -0
- data/lib/IceStorm/IceStorm.rb +463 -0
- data/lib/IceStorm/Metrics.rb +155 -0
- data/slice/Freeze/BackgroundSaveEvictor.ice +111 -0
- data/slice/Freeze/CatalogData.ice +49 -0
- data/slice/Freeze/Connection.ice +111 -0
- data/slice/Freeze/ConnectionF.ice +20 -0
- data/slice/Freeze/DB.ice +37 -0
- data/slice/Freeze/Evictor.ice +339 -0
- data/slice/Freeze/EvictorF.ice +22 -0
- data/slice/Freeze/EvictorStorage.ice +72 -0
- data/slice/Freeze/Exception.ice +100 -0
- data/slice/Freeze/Transaction.ice +57 -0
- data/slice/Freeze/TransactionalEvictor.ice +50 -0
- data/slice/Glacier2/Metrics.ice +77 -0
- data/slice/Glacier2/PermissionsVerifier.ice +105 -0
- data/slice/Glacier2/PermissionsVerifierF.ice +21 -0
- data/slice/Glacier2/Router.ice +178 -0
- data/slice/Glacier2/RouterF.ice +20 -0
- data/slice/Glacier2/SSLInfo.ice +50 -0
- data/slice/Glacier2/Session.ice +273 -0
- data/slice/Ice/BuiltinSequences.ice +48 -0
- data/slice/Ice/Communicator.ice +567 -0
- data/slice/Ice/CommunicatorF.ice +20 -0
- data/slice/Ice/Connection.ice +323 -0
- data/slice/Ice/ConnectionF.ice +22 -0
- data/slice/Ice/Current.ice +160 -0
- data/slice/Ice/Endpoint.ice +227 -0
- data/slice/Ice/EndpointF.ice +32 -0
- data/slice/Ice/EndpointTypes.ice +38 -0
- data/slice/Ice/FacetMap.ice +25 -0
- data/slice/Ice/Identity.ice +59 -0
- data/slice/Ice/ImplicitContext.ice +109 -0
- data/slice/Ice/ImplicitContextF.ice +20 -0
- data/slice/Ice/Instrumentation.ice +499 -0
- data/slice/Ice/InstrumentationF.ice +26 -0
- data/slice/Ice/LocalException.ice +1015 -0
- data/slice/Ice/Locator.ice +227 -0
- data/slice/Ice/LocatorF.ice +21 -0
- data/slice/Ice/Logger.ice +86 -0
- data/slice/Ice/LoggerF.ice +20 -0
- data/slice/Ice/Metrics.ice +422 -0
- data/slice/Ice/ObjectAdapter.ice +673 -0
- data/slice/Ice/ObjectAdapterF.ice +20 -0
- data/slice/Ice/ObjectFactory.ice +60 -0
- data/slice/Ice/ObjectFactoryF.ice +20 -0
- data/slice/Ice/Plugin.ice +117 -0
- data/slice/Ice/PluginF.ice +21 -0
- data/slice/Ice/Process.ice +54 -0
- data/slice/Ice/ProcessF.ice +20 -0
- data/slice/Ice/Properties.ice +228 -0
- data/slice/Ice/PropertiesAdmin.ice +75 -0
- data/slice/Ice/PropertiesF.ice +21 -0
- data/slice/Ice/RemoteLogger.ice +232 -0
- data/slice/Ice/Router.ice +83 -0
- data/slice/Ice/RouterF.ice +20 -0
- data/slice/Ice/ServantLocator.ice +117 -0
- data/slice/Ice/ServantLocatorF.ice +20 -0
- data/slice/Ice/SliceChecksumDict.ice +25 -0
- data/slice/Ice/Version.ice +39 -0
- data/slice/IceBox/IceBox.ice +194 -0
- data/slice/IceDiscovery/IceDiscovery.ice +32 -0
- data/slice/IceGrid/Admin.ice +1578 -0
- data/slice/IceGrid/Descriptor.ice +1079 -0
- data/slice/IceGrid/Discovery.ice +73 -0
- data/slice/IceGrid/Exception.ice +383 -0
- data/slice/IceGrid/FileParser.ice +61 -0
- data/slice/IceGrid/Locator.ice +56 -0
- data/slice/IceGrid/Observer.ice +394 -0
- data/slice/IceGrid/PluginFacade.ice +316 -0
- data/slice/IceGrid/Query.ice +130 -0
- data/slice/IceGrid/Registry.ice +138 -0
- data/slice/IceGrid/Session.ice +124 -0
- data/slice/IceGrid/UserAccountMapper.ice +58 -0
- data/slice/IcePatch2/FileInfo.ice +49 -0
- data/slice/IcePatch2/FileServer.ice +129 -0
- data/slice/IceSSL/ConnectionInfo.ice +34 -0
- data/slice/IceSSL/EndpointInfo.ice +41 -0
- data/slice/IceStorm/IceStorm.ice +405 -0
- data/slice/IceStorm/Metrics.ice +71 -0
- metadata +737 -0
@@ -0,0 +1,190 @@
|
|
1
|
+
# **********************************************************************
|
2
|
+
#
|
3
|
+
# Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
|
4
|
+
#
|
5
|
+
# This copy of Ice is licensed to you under the terms described in the
|
6
|
+
# ICE_LICENSE file included in this distribution.
|
7
|
+
#
|
8
|
+
# **********************************************************************
|
9
|
+
|
10
|
+
top_srcdir = ../..
|
11
|
+
|
12
|
+
LIBFILENAME = $(call mklibfilename,Ice,$(VERSION))
|
13
|
+
SONAME = $(call mksoname,Ice,$(SOVERSION))
|
14
|
+
LIBNAME = $(call mklibname,Ice)
|
15
|
+
TARGETS = $(call mklibtargets,$(libdir)/$(LIBFILENAME),$(libdir)/$(SONAME),$(libdir)$(cpp11libdirsuffix)/$(LIBNAME))
|
16
|
+
|
17
|
+
SLICE_OBJS = BuiltinSequences.o \
|
18
|
+
Communicator.o \
|
19
|
+
CommunicatorF.o \
|
20
|
+
Connection.o \
|
21
|
+
ConnectionF.o \
|
22
|
+
Current.o \
|
23
|
+
Endpoint.o \
|
24
|
+
EndpointF.o \
|
25
|
+
EndpointTypes.o \
|
26
|
+
FacetMap.o \
|
27
|
+
Identity.o \
|
28
|
+
ImplicitContext.o \
|
29
|
+
ImplicitContextF.o \
|
30
|
+
Instrumentation.o \
|
31
|
+
InstrumentationF.o \
|
32
|
+
LocalException.o \
|
33
|
+
Locator.o \
|
34
|
+
LocatorF.o \
|
35
|
+
Logger.o \
|
36
|
+
LoggerF.o \
|
37
|
+
Metrics.o \
|
38
|
+
ObjectAdapter.o \
|
39
|
+
ObjectAdapterF.o \
|
40
|
+
ObjectFactory.o \
|
41
|
+
ObjectFactoryF.o \
|
42
|
+
Plugin.o \
|
43
|
+
PluginF.o \
|
44
|
+
Process.o \
|
45
|
+
ProcessF.o \
|
46
|
+
Properties.o \
|
47
|
+
PropertiesAdmin.o \
|
48
|
+
PropertiesF.o \
|
49
|
+
RemoteLogger.o \
|
50
|
+
Router.o \
|
51
|
+
RouterF.o \
|
52
|
+
ServantLocator.o \
|
53
|
+
ServantLocatorF.o \
|
54
|
+
SliceChecksumDict.o \
|
55
|
+
Version.o
|
56
|
+
|
57
|
+
OBJS = Acceptor.o \
|
58
|
+
ACM.o \
|
59
|
+
Application.o \
|
60
|
+
AsyncResult.o \
|
61
|
+
Base64.o \
|
62
|
+
BasicStream.o \
|
63
|
+
Buffer.o \
|
64
|
+
CollocatedRequestHandler.o \
|
65
|
+
CommunicatorI.o \
|
66
|
+
ConnectionFactory.o \
|
67
|
+
ConnectionI.o \
|
68
|
+
ConnectionRequestHandler.o \
|
69
|
+
Connector.o \
|
70
|
+
ConnectRequestHandler.o \
|
71
|
+
DefaultsAndOverrides.o \
|
72
|
+
DeprecatedStringConverter.o \
|
73
|
+
DispatchInterceptor.o \
|
74
|
+
DynamicLibrary.o \
|
75
|
+
EndpointFactory.o \
|
76
|
+
EndpointFactoryManager.o \
|
77
|
+
EndpointI.o \
|
78
|
+
EventHandler.o \
|
79
|
+
Exception.o \
|
80
|
+
FactoryTable.o \
|
81
|
+
FactoryTableInit.o \
|
82
|
+
GCObject.o \
|
83
|
+
HttpParser.o \
|
84
|
+
ImplicitContextI.o \
|
85
|
+
Incoming.o \
|
86
|
+
IncomingAsync.o \
|
87
|
+
Initialize.o \
|
88
|
+
Instance.o \
|
89
|
+
InstrumentationI.o \
|
90
|
+
IPEndpointI.o \
|
91
|
+
LocalObject.o \
|
92
|
+
LocatorInfo.o \
|
93
|
+
LoggerAdminI.o \
|
94
|
+
LoggerI.o \
|
95
|
+
LoggerUtil.o \
|
96
|
+
MetricsAdminI.o \
|
97
|
+
MetricsObserverI.o \
|
98
|
+
Network.o \
|
99
|
+
NetworkProxy.o \
|
100
|
+
Object.o \
|
101
|
+
ObjectAdapterFactory.o \
|
102
|
+
ObjectAdapterI.o \
|
103
|
+
ObjectFactoryManager.o \
|
104
|
+
ObserverHelper.o \
|
105
|
+
OpaqueEndpointI.o \
|
106
|
+
Outgoing.o \
|
107
|
+
OutgoingAsync.o \
|
108
|
+
PluginManagerI.o \
|
109
|
+
PropertiesAdminI.o \
|
110
|
+
PropertiesI.o \
|
111
|
+
PropertyNames.o \
|
112
|
+
Protocol.o \
|
113
|
+
ProtocolInstance.o \
|
114
|
+
ProtocolPluginFacade.o \
|
115
|
+
Proxy.o \
|
116
|
+
ProxyFactory.o \
|
117
|
+
Reference.o \
|
118
|
+
ReferenceFactory.o \
|
119
|
+
RequestHandler.o \
|
120
|
+
RequestHandlerFactory.o \
|
121
|
+
ResponseHandler.o \
|
122
|
+
RetryQueue.o \
|
123
|
+
RouterInfo.o \
|
124
|
+
Selector.o \
|
125
|
+
ServantManager.o \
|
126
|
+
SliceChecksums.o \
|
127
|
+
SlicedData.o \
|
128
|
+
Stream.o \
|
129
|
+
StreamI.o \
|
130
|
+
StreamSocket.o \
|
131
|
+
StringConverterPlugin.o \
|
132
|
+
TcpAcceptor.o \
|
133
|
+
TcpConnector.o \
|
134
|
+
TcpEndpointI.o \
|
135
|
+
TcpTransceiver.o \
|
136
|
+
ThreadPool.o \
|
137
|
+
TraceLevels.o \
|
138
|
+
TraceUtil.o \
|
139
|
+
Transceiver.o \
|
140
|
+
UdpConnector.o \
|
141
|
+
UdpEndpointI.o \
|
142
|
+
UdpTransceiver.o \
|
143
|
+
WSAcceptor.o \
|
144
|
+
WSConnector.o \
|
145
|
+
WSEndpoint.o \
|
146
|
+
WSTransceiver.o \
|
147
|
+
$(SLICE_OBJS)
|
148
|
+
|
149
|
+
ifeq ($(findstring MINGW,$(shell uname)),)
|
150
|
+
OBJS := $(OBJS) \
|
151
|
+
Service.o \
|
152
|
+
SysLoggerI.o
|
153
|
+
endif
|
154
|
+
|
155
|
+
HDIR = $(headerdir)/Ice
|
156
|
+
SDIR = $(slicedir)/Ice
|
157
|
+
|
158
|
+
include $(top_srcdir)/config/Make.rules
|
159
|
+
|
160
|
+
CPPFLAGS := -I.. $(CPPFLAGS) -DICE_API_EXPORTS $(BZIP2_FLAGS)
|
161
|
+
ifneq ($(COMPSUFFIX),)
|
162
|
+
CPPFLAGS := $(CPPFLAGS) -DCOMPSUFFIX=\"$(COMPSUFFIX)\"
|
163
|
+
endif
|
164
|
+
SLICE2CPPFLAGS := --ice --include-dir Ice --dll-export ICE_API $(SLICE2CPPFLAGS)
|
165
|
+
|
166
|
+
LINKWITH := -lIceUtil $(BZIP2_LIBS) $(ICE_OS_LIBS) $(ICONV_LIBS)
|
167
|
+
|
168
|
+
ifeq ($(STATICLIBS),yes)
|
169
|
+
$(libdir)/$(LIBNAME): $(OBJS)
|
170
|
+
@mkdir -p $(dir $@)
|
171
|
+
rm -f $@
|
172
|
+
$(call mklib,$@,$(OBJS))
|
173
|
+
else
|
174
|
+
$(libdir)/$(LIBFILENAME): $(OBJS)
|
175
|
+
@mkdir -p $(dir $@)
|
176
|
+
rm -f $@
|
177
|
+
$(call mkshlib,$@,$(SONAME),$(OBJS),$(LINKWITH))
|
178
|
+
|
179
|
+
$(libdir)/$(SONAME): $(libdir)/$(LIBFILENAME)
|
180
|
+
rm -f $@
|
181
|
+
ln -s $(LIBFILENAME) $@
|
182
|
+
|
183
|
+
$(libdir)$(cpp11libdirsuffix)/$(LIBNAME): $(libdir)/$(SONAME)
|
184
|
+
@mkdir -p $(libdir)$(cpp11libdirsuffix)
|
185
|
+
rm -f $@
|
186
|
+
ln -s $(cpp11sonamedir)$(SONAME) $@
|
187
|
+
endif
|
188
|
+
|
189
|
+
install:: all
|
190
|
+
$(call installlib,$(DESTDIR)$(install_libdir),$(libdir),$(LIBFILENAME),$(SONAME),$(LIBNAME))
|
@@ -0,0 +1,2159 @@
|
|
1
|
+
// **********************************************************************
|
2
|
+
//
|
3
|
+
// Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
|
4
|
+
//
|
5
|
+
// This copy of Ice is licensed to you under the terms described in the
|
6
|
+
// ICE_LICENSE file included in this distribution.
|
7
|
+
//
|
8
|
+
// **********************************************************************
|
9
|
+
//
|
10
|
+
// Ice version 3.6b
|
11
|
+
//
|
12
|
+
// <auto-generated>
|
13
|
+
//
|
14
|
+
// Generated from file `Metrics.ice'
|
15
|
+
//
|
16
|
+
// Warning: do not edit this file.
|
17
|
+
//
|
18
|
+
// </auto-generated>
|
19
|
+
//
|
20
|
+
|
21
|
+
#ifndef ICE_API_EXPORTS
|
22
|
+
# define ICE_API_EXPORTS
|
23
|
+
#endif
|
24
|
+
#include <Ice/Metrics.h>
|
25
|
+
#include <IceUtil/PushDisableWarnings.h>
|
26
|
+
#include <Ice/LocalException.h>
|
27
|
+
#include <Ice/ObjectFactory.h>
|
28
|
+
#include <Ice/Outgoing.h>
|
29
|
+
#include <Ice/OutgoingAsync.h>
|
30
|
+
#include <Ice/BasicStream.h>
|
31
|
+
#include <IceUtil/Iterator.h>
|
32
|
+
#include <IceUtil/PopDisableWarnings.h>
|
33
|
+
|
34
|
+
#ifndef ICE_IGNORE_VERSION
|
35
|
+
# if ICE_INT_VERSION != 30651
|
36
|
+
# error Ice version mismatch: an exact match is required for beta generated code
|
37
|
+
# endif
|
38
|
+
#endif
|
39
|
+
|
40
|
+
namespace
|
41
|
+
{
|
42
|
+
|
43
|
+
const ::std::string __IceMX__MetricsAdmin__getMetricsViewNames_name = "getMetricsViewNames";
|
44
|
+
|
45
|
+
const ::std::string __IceMX__MetricsAdmin__enableMetricsView_name = "enableMetricsView";
|
46
|
+
|
47
|
+
const ::std::string __IceMX__MetricsAdmin__disableMetricsView_name = "disableMetricsView";
|
48
|
+
|
49
|
+
const ::std::string __IceMX__MetricsAdmin__getMetricsView_name = "getMetricsView";
|
50
|
+
|
51
|
+
const ::std::string __IceMX__MetricsAdmin__getMapMetricsFailures_name = "getMapMetricsFailures";
|
52
|
+
|
53
|
+
const ::std::string __IceMX__MetricsAdmin__getMetricsFailures_name = "getMetricsFailures";
|
54
|
+
|
55
|
+
}
|
56
|
+
|
57
|
+
namespace
|
58
|
+
{
|
59
|
+
|
60
|
+
const ::IceInternal::DefaultUserExceptionFactoryInit< ::IceMX::UnknownMetricsView> __IceMX__UnknownMetricsView_init("::IceMX::UnknownMetricsView");
|
61
|
+
|
62
|
+
}
|
63
|
+
|
64
|
+
IceMX::UnknownMetricsView::~UnknownMetricsView() throw()
|
65
|
+
{
|
66
|
+
}
|
67
|
+
|
68
|
+
::std::string
|
69
|
+
IceMX::UnknownMetricsView::ice_name() const
|
70
|
+
{
|
71
|
+
return "IceMX::UnknownMetricsView";
|
72
|
+
}
|
73
|
+
|
74
|
+
IceMX::UnknownMetricsView*
|
75
|
+
IceMX::UnknownMetricsView::ice_clone() const
|
76
|
+
{
|
77
|
+
return new UnknownMetricsView(*this);
|
78
|
+
}
|
79
|
+
|
80
|
+
void
|
81
|
+
IceMX::UnknownMetricsView::ice_throw() const
|
82
|
+
{
|
83
|
+
throw *this;
|
84
|
+
}
|
85
|
+
|
86
|
+
void
|
87
|
+
IceMX::UnknownMetricsView::__writeImpl(::IceInternal::BasicStream* __os) const
|
88
|
+
{
|
89
|
+
__os->startWriteSlice("::IceMX::UnknownMetricsView", -1, true);
|
90
|
+
__os->endWriteSlice();
|
91
|
+
}
|
92
|
+
|
93
|
+
void
|
94
|
+
IceMX::UnknownMetricsView::__readImpl(::IceInternal::BasicStream* __is)
|
95
|
+
{
|
96
|
+
__is->startReadSlice();
|
97
|
+
__is->endReadSlice();
|
98
|
+
}
|
99
|
+
|
100
|
+
namespace Ice
|
101
|
+
{
|
102
|
+
#ifdef ICE_HAS_DECLSPEC_IMPORT_EXPORT
|
103
|
+
template struct ICE_API StreamWriter< ::IceMX::MetricsFailures, ::IceInternal::BasicStream>;
|
104
|
+
template struct ICE_API StreamReader< ::IceMX::MetricsFailures, ::IceInternal::BasicStream>;
|
105
|
+
#endif
|
106
|
+
}
|
107
|
+
#ifdef __SUNPRO_CC
|
108
|
+
class ICE_DECLSPEC_EXPORT IceProxy::IceMX::Metrics;
|
109
|
+
#endif
|
110
|
+
ICE_DECLSPEC_EXPORT ::IceProxy::Ice::Object* ::IceProxy::IceMX::upCast(::IceProxy::IceMX::Metrics* p) { return p; }
|
111
|
+
|
112
|
+
void
|
113
|
+
::IceProxy::IceMX::__read(::IceInternal::BasicStream* __is, ::IceInternal::ProxyHandle< ::IceProxy::IceMX::Metrics>& v)
|
114
|
+
{
|
115
|
+
::Ice::ObjectPrx proxy;
|
116
|
+
__is->read(proxy);
|
117
|
+
if(!proxy)
|
118
|
+
{
|
119
|
+
v = 0;
|
120
|
+
}
|
121
|
+
else
|
122
|
+
{
|
123
|
+
v = new ::IceProxy::IceMX::Metrics;
|
124
|
+
v->__copyFrom(proxy);
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
const ::std::string&
|
129
|
+
IceProxy::IceMX::Metrics::ice_staticId()
|
130
|
+
{
|
131
|
+
return ::IceMX::Metrics::ice_staticId();
|
132
|
+
}
|
133
|
+
|
134
|
+
::IceProxy::Ice::Object*
|
135
|
+
IceProxy::IceMX::Metrics::__newInstance() const
|
136
|
+
{
|
137
|
+
return new Metrics;
|
138
|
+
}
|
139
|
+
#ifdef __SUNPRO_CC
|
140
|
+
class ICE_DECLSPEC_EXPORT IceProxy::IceMX::MetricsAdmin;
|
141
|
+
#endif
|
142
|
+
ICE_DECLSPEC_EXPORT ::IceProxy::Ice::Object* ::IceProxy::IceMX::upCast(::IceProxy::IceMX::MetricsAdmin* p) { return p; }
|
143
|
+
|
144
|
+
void
|
145
|
+
::IceProxy::IceMX::__read(::IceInternal::BasicStream* __is, ::IceInternal::ProxyHandle< ::IceProxy::IceMX::MetricsAdmin>& v)
|
146
|
+
{
|
147
|
+
::Ice::ObjectPrx proxy;
|
148
|
+
__is->read(proxy);
|
149
|
+
if(!proxy)
|
150
|
+
{
|
151
|
+
v = 0;
|
152
|
+
}
|
153
|
+
else
|
154
|
+
{
|
155
|
+
v = new ::IceProxy::IceMX::MetricsAdmin;
|
156
|
+
v->__copyFrom(proxy);
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
::Ice::StringSeq
|
161
|
+
IceProxy::IceMX::MetricsAdmin::getMetricsViewNames(::Ice::StringSeq& disabledViews, const ::Ice::Context* __ctx)
|
162
|
+
{
|
163
|
+
__checkTwowayOnly(__IceMX__MetricsAdmin__getMetricsViewNames_name);
|
164
|
+
::IceInternal::Outgoing __og(this, __IceMX__MetricsAdmin__getMetricsViewNames_name, ::Ice::Normal, __ctx);
|
165
|
+
__og.writeEmptyParams();
|
166
|
+
if(!__og.invoke())
|
167
|
+
{
|
168
|
+
try
|
169
|
+
{
|
170
|
+
__og.throwUserException();
|
171
|
+
}
|
172
|
+
catch(const ::Ice::UserException& __ex)
|
173
|
+
{
|
174
|
+
::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
|
175
|
+
throw __uue;
|
176
|
+
}
|
177
|
+
}
|
178
|
+
::Ice::StringSeq __ret;
|
179
|
+
::IceInternal::BasicStream* __is = __og.startReadParams();
|
180
|
+
__is->read(disabledViews);
|
181
|
+
__is->read(__ret);
|
182
|
+
__og.endReadParams();
|
183
|
+
return __ret;
|
184
|
+
}
|
185
|
+
|
186
|
+
::Ice::AsyncResultPtr
|
187
|
+
IceProxy::IceMX::MetricsAdmin::begin_getMetricsViewNames(const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
|
188
|
+
{
|
189
|
+
__checkAsyncTwowayOnly(__IceMX__MetricsAdmin__getMetricsViewNames_name);
|
190
|
+
::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __IceMX__MetricsAdmin__getMetricsViewNames_name, __del, __cookie);
|
191
|
+
try
|
192
|
+
{
|
193
|
+
__result->prepare(__IceMX__MetricsAdmin__getMetricsViewNames_name, ::Ice::Normal, __ctx);
|
194
|
+
__result->writeEmptyParams();
|
195
|
+
__result->invoke();
|
196
|
+
}
|
197
|
+
catch(const ::Ice::Exception& __ex)
|
198
|
+
{
|
199
|
+
__result->abort(__ex);
|
200
|
+
}
|
201
|
+
return __result;
|
202
|
+
}
|
203
|
+
|
204
|
+
#ifdef ICE_CPP11
|
205
|
+
|
206
|
+
::Ice::AsyncResultPtr
|
207
|
+
IceProxy::IceMX::MetricsAdmin::__begin_getMetricsViewNames(const ::Ice::Context* __ctx, const ::IceInternal::Function<void (const ::Ice::StringSeq&, const ::Ice::StringSeq&)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
|
208
|
+
{
|
209
|
+
class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
|
210
|
+
{
|
211
|
+
public:
|
212
|
+
|
213
|
+
Cpp11CB(const ::std::function<void (const ::Ice::StringSeq&, const ::Ice::StringSeq&)>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
|
214
|
+
::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
|
215
|
+
_response(responseFunc)
|
216
|
+
{
|
217
|
+
CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
|
218
|
+
}
|
219
|
+
|
220
|
+
virtual void completed(const ::Ice::AsyncResultPtr& __result) const
|
221
|
+
{
|
222
|
+
::IceMX::MetricsAdminPrx __proxy = ::IceMX::MetricsAdminPrx::uncheckedCast(__result->getProxy());
|
223
|
+
::Ice::StringSeq disabledViews;
|
224
|
+
::Ice::StringSeq __ret;
|
225
|
+
try
|
226
|
+
{
|
227
|
+
__ret = __proxy->end_getMetricsViewNames(disabledViews, __result);
|
228
|
+
}
|
229
|
+
catch(const ::Ice::Exception& ex)
|
230
|
+
{
|
231
|
+
Cpp11FnCallbackNC::exception(__result, ex);
|
232
|
+
return;
|
233
|
+
}
|
234
|
+
if(_response != nullptr)
|
235
|
+
{
|
236
|
+
_response(__ret, disabledViews);
|
237
|
+
}
|
238
|
+
}
|
239
|
+
|
240
|
+
private:
|
241
|
+
|
242
|
+
::std::function<void (const ::Ice::StringSeq&, const ::Ice::StringSeq&)> _response;
|
243
|
+
};
|
244
|
+
return begin_getMetricsViewNames(__ctx, new Cpp11CB(__response, __exception, __sent));
|
245
|
+
}
|
246
|
+
#endif
|
247
|
+
|
248
|
+
::Ice::StringSeq
|
249
|
+
IceProxy::IceMX::MetricsAdmin::end_getMetricsViewNames(::Ice::StringSeq& disabledViews, const ::Ice::AsyncResultPtr& __result)
|
250
|
+
{
|
251
|
+
::Ice::AsyncResult::__check(__result, this, __IceMX__MetricsAdmin__getMetricsViewNames_name);
|
252
|
+
::Ice::StringSeq __ret;
|
253
|
+
if(!__result->__wait())
|
254
|
+
{
|
255
|
+
try
|
256
|
+
{
|
257
|
+
__result->__throwUserException();
|
258
|
+
}
|
259
|
+
catch(const ::Ice::UserException& __ex)
|
260
|
+
{
|
261
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
|
262
|
+
}
|
263
|
+
}
|
264
|
+
::IceInternal::BasicStream* __is = __result->__startReadParams();
|
265
|
+
__is->read(disabledViews);
|
266
|
+
__is->read(__ret);
|
267
|
+
__result->__endReadParams();
|
268
|
+
return __ret;
|
269
|
+
}
|
270
|
+
|
271
|
+
void
|
272
|
+
IceProxy::IceMX::MetricsAdmin::enableMetricsView(const ::std::string& name, const ::Ice::Context* __ctx)
|
273
|
+
{
|
274
|
+
__checkTwowayOnly(__IceMX__MetricsAdmin__enableMetricsView_name);
|
275
|
+
::IceInternal::Outgoing __og(this, __IceMX__MetricsAdmin__enableMetricsView_name, ::Ice::Normal, __ctx);
|
276
|
+
try
|
277
|
+
{
|
278
|
+
::IceInternal::BasicStream* __os = __og.startWriteParams(::Ice::SlicedFormat);
|
279
|
+
__os->write(name);
|
280
|
+
__og.endWriteParams();
|
281
|
+
}
|
282
|
+
catch(const ::Ice::LocalException& __ex)
|
283
|
+
{
|
284
|
+
__og.abort(__ex);
|
285
|
+
}
|
286
|
+
if(!__og.invoke())
|
287
|
+
{
|
288
|
+
try
|
289
|
+
{
|
290
|
+
__og.throwUserException();
|
291
|
+
}
|
292
|
+
catch(const ::IceMX::UnknownMetricsView&)
|
293
|
+
{
|
294
|
+
throw;
|
295
|
+
}
|
296
|
+
catch(const ::Ice::UserException& __ex)
|
297
|
+
{
|
298
|
+
::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
|
299
|
+
throw __uue;
|
300
|
+
}
|
301
|
+
}
|
302
|
+
}
|
303
|
+
|
304
|
+
::Ice::AsyncResultPtr
|
305
|
+
IceProxy::IceMX::MetricsAdmin::begin_enableMetricsView(const ::std::string& name, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
|
306
|
+
{
|
307
|
+
__checkAsyncTwowayOnly(__IceMX__MetricsAdmin__enableMetricsView_name);
|
308
|
+
::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __IceMX__MetricsAdmin__enableMetricsView_name, __del, __cookie);
|
309
|
+
try
|
310
|
+
{
|
311
|
+
__result->prepare(__IceMX__MetricsAdmin__enableMetricsView_name, ::Ice::Normal, __ctx);
|
312
|
+
::IceInternal::BasicStream* __os = __result->startWriteParams(::Ice::SlicedFormat);
|
313
|
+
__os->write(name);
|
314
|
+
__result->endWriteParams();
|
315
|
+
__result->invoke();
|
316
|
+
}
|
317
|
+
catch(const ::Ice::Exception& __ex)
|
318
|
+
{
|
319
|
+
__result->abort(__ex);
|
320
|
+
}
|
321
|
+
return __result;
|
322
|
+
}
|
323
|
+
|
324
|
+
#ifdef ICE_CPP11
|
325
|
+
|
326
|
+
::Ice::AsyncResultPtr
|
327
|
+
IceProxy::IceMX::MetricsAdmin::__begin_enableMetricsView(const ::std::string& name, const ::Ice::Context* __ctx, const ::IceInternal::Function<void ()>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
|
328
|
+
{
|
329
|
+
class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
|
330
|
+
{
|
331
|
+
public:
|
332
|
+
|
333
|
+
Cpp11CB(const ::std::function<void ()>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
|
334
|
+
::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
|
335
|
+
_response(responseFunc)
|
336
|
+
{
|
337
|
+
CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
|
338
|
+
}
|
339
|
+
|
340
|
+
virtual void completed(const ::Ice::AsyncResultPtr& __result) const
|
341
|
+
{
|
342
|
+
::IceMX::MetricsAdminPrx __proxy = ::IceMX::MetricsAdminPrx::uncheckedCast(__result->getProxy());
|
343
|
+
try
|
344
|
+
{
|
345
|
+
__proxy->end_enableMetricsView(__result);
|
346
|
+
}
|
347
|
+
catch(const ::Ice::Exception& ex)
|
348
|
+
{
|
349
|
+
Cpp11FnCallbackNC::exception(__result, ex);
|
350
|
+
return;
|
351
|
+
}
|
352
|
+
if(_response != nullptr)
|
353
|
+
{
|
354
|
+
_response();
|
355
|
+
}
|
356
|
+
}
|
357
|
+
|
358
|
+
private:
|
359
|
+
|
360
|
+
::std::function<void ()> _response;
|
361
|
+
};
|
362
|
+
return begin_enableMetricsView(name, __ctx, new Cpp11CB(__response, __exception, __sent));
|
363
|
+
}
|
364
|
+
#endif
|
365
|
+
|
366
|
+
void
|
367
|
+
IceProxy::IceMX::MetricsAdmin::end_enableMetricsView(const ::Ice::AsyncResultPtr& __result)
|
368
|
+
{
|
369
|
+
::Ice::AsyncResult::__check(__result, this, __IceMX__MetricsAdmin__enableMetricsView_name);
|
370
|
+
if(!__result->__wait())
|
371
|
+
{
|
372
|
+
try
|
373
|
+
{
|
374
|
+
__result->__throwUserException();
|
375
|
+
}
|
376
|
+
catch(const ::IceMX::UnknownMetricsView&)
|
377
|
+
{
|
378
|
+
throw;
|
379
|
+
}
|
380
|
+
catch(const ::Ice::UserException& __ex)
|
381
|
+
{
|
382
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
|
383
|
+
}
|
384
|
+
}
|
385
|
+
__result->__readEmptyParams();
|
386
|
+
}
|
387
|
+
|
388
|
+
void
|
389
|
+
IceProxy::IceMX::MetricsAdmin::disableMetricsView(const ::std::string& name, const ::Ice::Context* __ctx)
|
390
|
+
{
|
391
|
+
__checkTwowayOnly(__IceMX__MetricsAdmin__disableMetricsView_name);
|
392
|
+
::IceInternal::Outgoing __og(this, __IceMX__MetricsAdmin__disableMetricsView_name, ::Ice::Normal, __ctx);
|
393
|
+
try
|
394
|
+
{
|
395
|
+
::IceInternal::BasicStream* __os = __og.startWriteParams(::Ice::SlicedFormat);
|
396
|
+
__os->write(name);
|
397
|
+
__og.endWriteParams();
|
398
|
+
}
|
399
|
+
catch(const ::Ice::LocalException& __ex)
|
400
|
+
{
|
401
|
+
__og.abort(__ex);
|
402
|
+
}
|
403
|
+
if(!__og.invoke())
|
404
|
+
{
|
405
|
+
try
|
406
|
+
{
|
407
|
+
__og.throwUserException();
|
408
|
+
}
|
409
|
+
catch(const ::IceMX::UnknownMetricsView&)
|
410
|
+
{
|
411
|
+
throw;
|
412
|
+
}
|
413
|
+
catch(const ::Ice::UserException& __ex)
|
414
|
+
{
|
415
|
+
::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
|
416
|
+
throw __uue;
|
417
|
+
}
|
418
|
+
}
|
419
|
+
}
|
420
|
+
|
421
|
+
::Ice::AsyncResultPtr
|
422
|
+
IceProxy::IceMX::MetricsAdmin::begin_disableMetricsView(const ::std::string& name, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
|
423
|
+
{
|
424
|
+
__checkAsyncTwowayOnly(__IceMX__MetricsAdmin__disableMetricsView_name);
|
425
|
+
::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __IceMX__MetricsAdmin__disableMetricsView_name, __del, __cookie);
|
426
|
+
try
|
427
|
+
{
|
428
|
+
__result->prepare(__IceMX__MetricsAdmin__disableMetricsView_name, ::Ice::Normal, __ctx);
|
429
|
+
::IceInternal::BasicStream* __os = __result->startWriteParams(::Ice::SlicedFormat);
|
430
|
+
__os->write(name);
|
431
|
+
__result->endWriteParams();
|
432
|
+
__result->invoke();
|
433
|
+
}
|
434
|
+
catch(const ::Ice::Exception& __ex)
|
435
|
+
{
|
436
|
+
__result->abort(__ex);
|
437
|
+
}
|
438
|
+
return __result;
|
439
|
+
}
|
440
|
+
|
441
|
+
#ifdef ICE_CPP11
|
442
|
+
|
443
|
+
::Ice::AsyncResultPtr
|
444
|
+
IceProxy::IceMX::MetricsAdmin::__begin_disableMetricsView(const ::std::string& name, const ::Ice::Context* __ctx, const ::IceInternal::Function<void ()>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
|
445
|
+
{
|
446
|
+
class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
|
447
|
+
{
|
448
|
+
public:
|
449
|
+
|
450
|
+
Cpp11CB(const ::std::function<void ()>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
|
451
|
+
::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
|
452
|
+
_response(responseFunc)
|
453
|
+
{
|
454
|
+
CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
|
455
|
+
}
|
456
|
+
|
457
|
+
virtual void completed(const ::Ice::AsyncResultPtr& __result) const
|
458
|
+
{
|
459
|
+
::IceMX::MetricsAdminPrx __proxy = ::IceMX::MetricsAdminPrx::uncheckedCast(__result->getProxy());
|
460
|
+
try
|
461
|
+
{
|
462
|
+
__proxy->end_disableMetricsView(__result);
|
463
|
+
}
|
464
|
+
catch(const ::Ice::Exception& ex)
|
465
|
+
{
|
466
|
+
Cpp11FnCallbackNC::exception(__result, ex);
|
467
|
+
return;
|
468
|
+
}
|
469
|
+
if(_response != nullptr)
|
470
|
+
{
|
471
|
+
_response();
|
472
|
+
}
|
473
|
+
}
|
474
|
+
|
475
|
+
private:
|
476
|
+
|
477
|
+
::std::function<void ()> _response;
|
478
|
+
};
|
479
|
+
return begin_disableMetricsView(name, __ctx, new Cpp11CB(__response, __exception, __sent));
|
480
|
+
}
|
481
|
+
#endif
|
482
|
+
|
483
|
+
void
|
484
|
+
IceProxy::IceMX::MetricsAdmin::end_disableMetricsView(const ::Ice::AsyncResultPtr& __result)
|
485
|
+
{
|
486
|
+
::Ice::AsyncResult::__check(__result, this, __IceMX__MetricsAdmin__disableMetricsView_name);
|
487
|
+
if(!__result->__wait())
|
488
|
+
{
|
489
|
+
try
|
490
|
+
{
|
491
|
+
__result->__throwUserException();
|
492
|
+
}
|
493
|
+
catch(const ::IceMX::UnknownMetricsView&)
|
494
|
+
{
|
495
|
+
throw;
|
496
|
+
}
|
497
|
+
catch(const ::Ice::UserException& __ex)
|
498
|
+
{
|
499
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
|
500
|
+
}
|
501
|
+
}
|
502
|
+
__result->__readEmptyParams();
|
503
|
+
}
|
504
|
+
|
505
|
+
::IceMX::MetricsView
|
506
|
+
IceProxy::IceMX::MetricsAdmin::getMetricsView(const ::std::string& view, ::Ice::Long& timestamp, const ::Ice::Context* __ctx)
|
507
|
+
{
|
508
|
+
__checkTwowayOnly(__IceMX__MetricsAdmin__getMetricsView_name);
|
509
|
+
::IceInternal::Outgoing __og(this, __IceMX__MetricsAdmin__getMetricsView_name, ::Ice::Normal, __ctx);
|
510
|
+
try
|
511
|
+
{
|
512
|
+
::IceInternal::BasicStream* __os = __og.startWriteParams(::Ice::SlicedFormat);
|
513
|
+
__os->write(view);
|
514
|
+
__og.endWriteParams();
|
515
|
+
}
|
516
|
+
catch(const ::Ice::LocalException& __ex)
|
517
|
+
{
|
518
|
+
__og.abort(__ex);
|
519
|
+
}
|
520
|
+
if(!__og.invoke())
|
521
|
+
{
|
522
|
+
try
|
523
|
+
{
|
524
|
+
__og.throwUserException();
|
525
|
+
}
|
526
|
+
catch(const ::IceMX::UnknownMetricsView&)
|
527
|
+
{
|
528
|
+
throw;
|
529
|
+
}
|
530
|
+
catch(const ::Ice::UserException& __ex)
|
531
|
+
{
|
532
|
+
::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
|
533
|
+
throw __uue;
|
534
|
+
}
|
535
|
+
}
|
536
|
+
::IceMX::MetricsView __ret;
|
537
|
+
::IceInternal::BasicStream* __is = __og.startReadParams();
|
538
|
+
__is->read(timestamp);
|
539
|
+
__is->read(__ret);
|
540
|
+
__is->readPendingObjects();
|
541
|
+
__og.endReadParams();
|
542
|
+
return __ret;
|
543
|
+
}
|
544
|
+
|
545
|
+
::Ice::AsyncResultPtr
|
546
|
+
IceProxy::IceMX::MetricsAdmin::begin_getMetricsView(const ::std::string& view, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
|
547
|
+
{
|
548
|
+
__checkAsyncTwowayOnly(__IceMX__MetricsAdmin__getMetricsView_name);
|
549
|
+
::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __IceMX__MetricsAdmin__getMetricsView_name, __del, __cookie);
|
550
|
+
try
|
551
|
+
{
|
552
|
+
__result->prepare(__IceMX__MetricsAdmin__getMetricsView_name, ::Ice::Normal, __ctx);
|
553
|
+
::IceInternal::BasicStream* __os = __result->startWriteParams(::Ice::SlicedFormat);
|
554
|
+
__os->write(view);
|
555
|
+
__result->endWriteParams();
|
556
|
+
__result->invoke();
|
557
|
+
}
|
558
|
+
catch(const ::Ice::Exception& __ex)
|
559
|
+
{
|
560
|
+
__result->abort(__ex);
|
561
|
+
}
|
562
|
+
return __result;
|
563
|
+
}
|
564
|
+
|
565
|
+
#ifdef ICE_CPP11
|
566
|
+
|
567
|
+
::Ice::AsyncResultPtr
|
568
|
+
IceProxy::IceMX::MetricsAdmin::__begin_getMetricsView(const ::std::string& view, const ::Ice::Context* __ctx, const ::IceInternal::Function<void (const ::IceMX::MetricsView&, ::Ice::Long)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
|
569
|
+
{
|
570
|
+
class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
|
571
|
+
{
|
572
|
+
public:
|
573
|
+
|
574
|
+
Cpp11CB(const ::std::function<void (const ::IceMX::MetricsView&, ::Ice::Long)>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
|
575
|
+
::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
|
576
|
+
_response(responseFunc)
|
577
|
+
{
|
578
|
+
CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
|
579
|
+
}
|
580
|
+
|
581
|
+
virtual void completed(const ::Ice::AsyncResultPtr& __result) const
|
582
|
+
{
|
583
|
+
::IceMX::MetricsAdminPrx __proxy = ::IceMX::MetricsAdminPrx::uncheckedCast(__result->getProxy());
|
584
|
+
::Ice::Long timestamp;
|
585
|
+
::IceMX::MetricsView __ret;
|
586
|
+
try
|
587
|
+
{
|
588
|
+
__ret = __proxy->end_getMetricsView(timestamp, __result);
|
589
|
+
}
|
590
|
+
catch(const ::Ice::Exception& ex)
|
591
|
+
{
|
592
|
+
Cpp11FnCallbackNC::exception(__result, ex);
|
593
|
+
return;
|
594
|
+
}
|
595
|
+
if(_response != nullptr)
|
596
|
+
{
|
597
|
+
_response(__ret, timestamp);
|
598
|
+
}
|
599
|
+
}
|
600
|
+
|
601
|
+
private:
|
602
|
+
|
603
|
+
::std::function<void (const ::IceMX::MetricsView&, ::Ice::Long)> _response;
|
604
|
+
};
|
605
|
+
return begin_getMetricsView(view, __ctx, new Cpp11CB(__response, __exception, __sent));
|
606
|
+
}
|
607
|
+
#endif
|
608
|
+
|
609
|
+
::IceMX::MetricsView
|
610
|
+
IceProxy::IceMX::MetricsAdmin::end_getMetricsView(::Ice::Long& timestamp, const ::Ice::AsyncResultPtr& __result)
|
611
|
+
{
|
612
|
+
::Ice::AsyncResult::__check(__result, this, __IceMX__MetricsAdmin__getMetricsView_name);
|
613
|
+
::IceMX::MetricsView __ret;
|
614
|
+
if(!__result->__wait())
|
615
|
+
{
|
616
|
+
try
|
617
|
+
{
|
618
|
+
__result->__throwUserException();
|
619
|
+
}
|
620
|
+
catch(const ::IceMX::UnknownMetricsView&)
|
621
|
+
{
|
622
|
+
throw;
|
623
|
+
}
|
624
|
+
catch(const ::Ice::UserException& __ex)
|
625
|
+
{
|
626
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
|
627
|
+
}
|
628
|
+
}
|
629
|
+
::IceInternal::BasicStream* __is = __result->__startReadParams();
|
630
|
+
__is->read(timestamp);
|
631
|
+
__is->read(__ret);
|
632
|
+
__is->readPendingObjects();
|
633
|
+
__result->__endReadParams();
|
634
|
+
return __ret;
|
635
|
+
}
|
636
|
+
|
637
|
+
::IceMX::MetricsFailuresSeq
|
638
|
+
IceProxy::IceMX::MetricsAdmin::getMapMetricsFailures(const ::std::string& view, const ::std::string& map, const ::Ice::Context* __ctx)
|
639
|
+
{
|
640
|
+
__checkTwowayOnly(__IceMX__MetricsAdmin__getMapMetricsFailures_name);
|
641
|
+
::IceInternal::Outgoing __og(this, __IceMX__MetricsAdmin__getMapMetricsFailures_name, ::Ice::Normal, __ctx);
|
642
|
+
try
|
643
|
+
{
|
644
|
+
::IceInternal::BasicStream* __os = __og.startWriteParams(::Ice::SlicedFormat);
|
645
|
+
__os->write(view);
|
646
|
+
__os->write(map);
|
647
|
+
__og.endWriteParams();
|
648
|
+
}
|
649
|
+
catch(const ::Ice::LocalException& __ex)
|
650
|
+
{
|
651
|
+
__og.abort(__ex);
|
652
|
+
}
|
653
|
+
if(!__og.invoke())
|
654
|
+
{
|
655
|
+
try
|
656
|
+
{
|
657
|
+
__og.throwUserException();
|
658
|
+
}
|
659
|
+
catch(const ::IceMX::UnknownMetricsView&)
|
660
|
+
{
|
661
|
+
throw;
|
662
|
+
}
|
663
|
+
catch(const ::Ice::UserException& __ex)
|
664
|
+
{
|
665
|
+
::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
|
666
|
+
throw __uue;
|
667
|
+
}
|
668
|
+
}
|
669
|
+
::IceMX::MetricsFailuresSeq __ret;
|
670
|
+
::IceInternal::BasicStream* __is = __og.startReadParams();
|
671
|
+
__is->read(__ret);
|
672
|
+
__og.endReadParams();
|
673
|
+
return __ret;
|
674
|
+
}
|
675
|
+
|
676
|
+
::Ice::AsyncResultPtr
|
677
|
+
IceProxy::IceMX::MetricsAdmin::begin_getMapMetricsFailures(const ::std::string& view, const ::std::string& map, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
|
678
|
+
{
|
679
|
+
__checkAsyncTwowayOnly(__IceMX__MetricsAdmin__getMapMetricsFailures_name);
|
680
|
+
::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __IceMX__MetricsAdmin__getMapMetricsFailures_name, __del, __cookie);
|
681
|
+
try
|
682
|
+
{
|
683
|
+
__result->prepare(__IceMX__MetricsAdmin__getMapMetricsFailures_name, ::Ice::Normal, __ctx);
|
684
|
+
::IceInternal::BasicStream* __os = __result->startWriteParams(::Ice::SlicedFormat);
|
685
|
+
__os->write(view);
|
686
|
+
__os->write(map);
|
687
|
+
__result->endWriteParams();
|
688
|
+
__result->invoke();
|
689
|
+
}
|
690
|
+
catch(const ::Ice::Exception& __ex)
|
691
|
+
{
|
692
|
+
__result->abort(__ex);
|
693
|
+
}
|
694
|
+
return __result;
|
695
|
+
}
|
696
|
+
|
697
|
+
#ifdef ICE_CPP11
|
698
|
+
|
699
|
+
::Ice::AsyncResultPtr
|
700
|
+
IceProxy::IceMX::MetricsAdmin::__begin_getMapMetricsFailures(const ::std::string& view, const ::std::string& map, const ::Ice::Context* __ctx, const ::IceInternal::Function<void (const ::IceMX::MetricsFailuresSeq&)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
|
701
|
+
{
|
702
|
+
class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
|
703
|
+
{
|
704
|
+
public:
|
705
|
+
|
706
|
+
Cpp11CB(const ::std::function<void (const ::IceMX::MetricsFailuresSeq&)>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
|
707
|
+
::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
|
708
|
+
_response(responseFunc)
|
709
|
+
{
|
710
|
+
CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
|
711
|
+
}
|
712
|
+
|
713
|
+
virtual void completed(const ::Ice::AsyncResultPtr& __result) const
|
714
|
+
{
|
715
|
+
::IceMX::MetricsAdminPrx __proxy = ::IceMX::MetricsAdminPrx::uncheckedCast(__result->getProxy());
|
716
|
+
::IceMX::MetricsFailuresSeq __ret;
|
717
|
+
try
|
718
|
+
{
|
719
|
+
__ret = __proxy->end_getMapMetricsFailures(__result);
|
720
|
+
}
|
721
|
+
catch(const ::Ice::Exception& ex)
|
722
|
+
{
|
723
|
+
Cpp11FnCallbackNC::exception(__result, ex);
|
724
|
+
return;
|
725
|
+
}
|
726
|
+
if(_response != nullptr)
|
727
|
+
{
|
728
|
+
_response(__ret);
|
729
|
+
}
|
730
|
+
}
|
731
|
+
|
732
|
+
private:
|
733
|
+
|
734
|
+
::std::function<void (const ::IceMX::MetricsFailuresSeq&)> _response;
|
735
|
+
};
|
736
|
+
return begin_getMapMetricsFailures(view, map, __ctx, new Cpp11CB(__response, __exception, __sent));
|
737
|
+
}
|
738
|
+
#endif
|
739
|
+
|
740
|
+
::IceMX::MetricsFailuresSeq
|
741
|
+
IceProxy::IceMX::MetricsAdmin::end_getMapMetricsFailures(const ::Ice::AsyncResultPtr& __result)
|
742
|
+
{
|
743
|
+
::Ice::AsyncResult::__check(__result, this, __IceMX__MetricsAdmin__getMapMetricsFailures_name);
|
744
|
+
::IceMX::MetricsFailuresSeq __ret;
|
745
|
+
if(!__result->__wait())
|
746
|
+
{
|
747
|
+
try
|
748
|
+
{
|
749
|
+
__result->__throwUserException();
|
750
|
+
}
|
751
|
+
catch(const ::IceMX::UnknownMetricsView&)
|
752
|
+
{
|
753
|
+
throw;
|
754
|
+
}
|
755
|
+
catch(const ::Ice::UserException& __ex)
|
756
|
+
{
|
757
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
|
758
|
+
}
|
759
|
+
}
|
760
|
+
::IceInternal::BasicStream* __is = __result->__startReadParams();
|
761
|
+
__is->read(__ret);
|
762
|
+
__result->__endReadParams();
|
763
|
+
return __ret;
|
764
|
+
}
|
765
|
+
|
766
|
+
::IceMX::MetricsFailures
|
767
|
+
IceProxy::IceMX::MetricsAdmin::getMetricsFailures(const ::std::string& view, const ::std::string& map, const ::std::string& id, const ::Ice::Context* __ctx)
|
768
|
+
{
|
769
|
+
__checkTwowayOnly(__IceMX__MetricsAdmin__getMetricsFailures_name);
|
770
|
+
::IceInternal::Outgoing __og(this, __IceMX__MetricsAdmin__getMetricsFailures_name, ::Ice::Normal, __ctx);
|
771
|
+
try
|
772
|
+
{
|
773
|
+
::IceInternal::BasicStream* __os = __og.startWriteParams(::Ice::SlicedFormat);
|
774
|
+
__os->write(view);
|
775
|
+
__os->write(map);
|
776
|
+
__os->write(id);
|
777
|
+
__og.endWriteParams();
|
778
|
+
}
|
779
|
+
catch(const ::Ice::LocalException& __ex)
|
780
|
+
{
|
781
|
+
__og.abort(__ex);
|
782
|
+
}
|
783
|
+
if(!__og.invoke())
|
784
|
+
{
|
785
|
+
try
|
786
|
+
{
|
787
|
+
__og.throwUserException();
|
788
|
+
}
|
789
|
+
catch(const ::IceMX::UnknownMetricsView&)
|
790
|
+
{
|
791
|
+
throw;
|
792
|
+
}
|
793
|
+
catch(const ::Ice::UserException& __ex)
|
794
|
+
{
|
795
|
+
::Ice::UnknownUserException __uue(__FILE__, __LINE__, __ex.ice_name());
|
796
|
+
throw __uue;
|
797
|
+
}
|
798
|
+
}
|
799
|
+
::IceMX::MetricsFailures __ret;
|
800
|
+
::IceInternal::BasicStream* __is = __og.startReadParams();
|
801
|
+
__is->read(__ret);
|
802
|
+
__og.endReadParams();
|
803
|
+
return __ret;
|
804
|
+
}
|
805
|
+
|
806
|
+
::Ice::AsyncResultPtr
|
807
|
+
IceProxy::IceMX::MetricsAdmin::begin_getMetricsFailures(const ::std::string& view, const ::std::string& map, const ::std::string& id, const ::Ice::Context* __ctx, const ::IceInternal::CallbackBasePtr& __del, const ::Ice::LocalObjectPtr& __cookie)
|
808
|
+
{
|
809
|
+
__checkAsyncTwowayOnly(__IceMX__MetricsAdmin__getMetricsFailures_name);
|
810
|
+
::IceInternal::OutgoingAsyncPtr __result = new ::IceInternal::OutgoingAsync(this, __IceMX__MetricsAdmin__getMetricsFailures_name, __del, __cookie);
|
811
|
+
try
|
812
|
+
{
|
813
|
+
__result->prepare(__IceMX__MetricsAdmin__getMetricsFailures_name, ::Ice::Normal, __ctx);
|
814
|
+
::IceInternal::BasicStream* __os = __result->startWriteParams(::Ice::SlicedFormat);
|
815
|
+
__os->write(view);
|
816
|
+
__os->write(map);
|
817
|
+
__os->write(id);
|
818
|
+
__result->endWriteParams();
|
819
|
+
__result->invoke();
|
820
|
+
}
|
821
|
+
catch(const ::Ice::Exception& __ex)
|
822
|
+
{
|
823
|
+
__result->abort(__ex);
|
824
|
+
}
|
825
|
+
return __result;
|
826
|
+
}
|
827
|
+
|
828
|
+
#ifdef ICE_CPP11
|
829
|
+
|
830
|
+
::Ice::AsyncResultPtr
|
831
|
+
IceProxy::IceMX::MetricsAdmin::__begin_getMetricsFailures(const ::std::string& view, const ::std::string& map, const ::std::string& id, const ::Ice::Context* __ctx, const ::IceInternal::Function<void (const ::IceMX::MetricsFailures&)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent)
|
832
|
+
{
|
833
|
+
class Cpp11CB : public ::IceInternal::Cpp11FnCallbackNC
|
834
|
+
{
|
835
|
+
public:
|
836
|
+
|
837
|
+
Cpp11CB(const ::std::function<void (const ::IceMX::MetricsFailures&)>& responseFunc, const ::std::function<void (const ::Ice::Exception&)>& exceptionFunc, const ::std::function<void (bool)>& sentFunc) :
|
838
|
+
::IceInternal::Cpp11FnCallbackNC(exceptionFunc, sentFunc),
|
839
|
+
_response(responseFunc)
|
840
|
+
{
|
841
|
+
CallbackBase::checkCallback(true, responseFunc || exceptionFunc != nullptr);
|
842
|
+
}
|
843
|
+
|
844
|
+
virtual void completed(const ::Ice::AsyncResultPtr& __result) const
|
845
|
+
{
|
846
|
+
::IceMX::MetricsAdminPrx __proxy = ::IceMX::MetricsAdminPrx::uncheckedCast(__result->getProxy());
|
847
|
+
::IceMX::MetricsFailures __ret;
|
848
|
+
try
|
849
|
+
{
|
850
|
+
__ret = __proxy->end_getMetricsFailures(__result);
|
851
|
+
}
|
852
|
+
catch(const ::Ice::Exception& ex)
|
853
|
+
{
|
854
|
+
Cpp11FnCallbackNC::exception(__result, ex);
|
855
|
+
return;
|
856
|
+
}
|
857
|
+
if(_response != nullptr)
|
858
|
+
{
|
859
|
+
_response(__ret);
|
860
|
+
}
|
861
|
+
}
|
862
|
+
|
863
|
+
private:
|
864
|
+
|
865
|
+
::std::function<void (const ::IceMX::MetricsFailures&)> _response;
|
866
|
+
};
|
867
|
+
return begin_getMetricsFailures(view, map, id, __ctx, new Cpp11CB(__response, __exception, __sent));
|
868
|
+
}
|
869
|
+
#endif
|
870
|
+
|
871
|
+
::IceMX::MetricsFailures
|
872
|
+
IceProxy::IceMX::MetricsAdmin::end_getMetricsFailures(const ::Ice::AsyncResultPtr& __result)
|
873
|
+
{
|
874
|
+
::Ice::AsyncResult::__check(__result, this, __IceMX__MetricsAdmin__getMetricsFailures_name);
|
875
|
+
::IceMX::MetricsFailures __ret;
|
876
|
+
if(!__result->__wait())
|
877
|
+
{
|
878
|
+
try
|
879
|
+
{
|
880
|
+
__result->__throwUserException();
|
881
|
+
}
|
882
|
+
catch(const ::IceMX::UnknownMetricsView&)
|
883
|
+
{
|
884
|
+
throw;
|
885
|
+
}
|
886
|
+
catch(const ::Ice::UserException& __ex)
|
887
|
+
{
|
888
|
+
throw ::Ice::UnknownUserException(__FILE__, __LINE__, __ex.ice_name());
|
889
|
+
}
|
890
|
+
}
|
891
|
+
::IceInternal::BasicStream* __is = __result->__startReadParams();
|
892
|
+
__is->read(__ret);
|
893
|
+
__result->__endReadParams();
|
894
|
+
return __ret;
|
895
|
+
}
|
896
|
+
|
897
|
+
const ::std::string&
|
898
|
+
IceProxy::IceMX::MetricsAdmin::ice_staticId()
|
899
|
+
{
|
900
|
+
return ::IceMX::MetricsAdmin::ice_staticId();
|
901
|
+
}
|
902
|
+
|
903
|
+
::IceProxy::Ice::Object*
|
904
|
+
IceProxy::IceMX::MetricsAdmin::__newInstance() const
|
905
|
+
{
|
906
|
+
return new MetricsAdmin;
|
907
|
+
}
|
908
|
+
#ifdef __SUNPRO_CC
|
909
|
+
class ICE_DECLSPEC_EXPORT IceProxy::IceMX::ThreadMetrics;
|
910
|
+
#endif
|
911
|
+
ICE_DECLSPEC_EXPORT ::IceProxy::Ice::Object* ::IceProxy::IceMX::upCast(::IceProxy::IceMX::ThreadMetrics* p) { return p; }
|
912
|
+
|
913
|
+
void
|
914
|
+
::IceProxy::IceMX::__read(::IceInternal::BasicStream* __is, ::IceInternal::ProxyHandle< ::IceProxy::IceMX::ThreadMetrics>& v)
|
915
|
+
{
|
916
|
+
::Ice::ObjectPrx proxy;
|
917
|
+
__is->read(proxy);
|
918
|
+
if(!proxy)
|
919
|
+
{
|
920
|
+
v = 0;
|
921
|
+
}
|
922
|
+
else
|
923
|
+
{
|
924
|
+
v = new ::IceProxy::IceMX::ThreadMetrics;
|
925
|
+
v->__copyFrom(proxy);
|
926
|
+
}
|
927
|
+
}
|
928
|
+
|
929
|
+
const ::std::string&
|
930
|
+
IceProxy::IceMX::ThreadMetrics::ice_staticId()
|
931
|
+
{
|
932
|
+
return ::IceMX::ThreadMetrics::ice_staticId();
|
933
|
+
}
|
934
|
+
|
935
|
+
::IceProxy::Ice::Object*
|
936
|
+
IceProxy::IceMX::ThreadMetrics::__newInstance() const
|
937
|
+
{
|
938
|
+
return new ThreadMetrics;
|
939
|
+
}
|
940
|
+
#ifdef __SUNPRO_CC
|
941
|
+
class ICE_DECLSPEC_EXPORT IceProxy::IceMX::DispatchMetrics;
|
942
|
+
#endif
|
943
|
+
ICE_DECLSPEC_EXPORT ::IceProxy::Ice::Object* ::IceProxy::IceMX::upCast(::IceProxy::IceMX::DispatchMetrics* p) { return p; }
|
944
|
+
|
945
|
+
void
|
946
|
+
::IceProxy::IceMX::__read(::IceInternal::BasicStream* __is, ::IceInternal::ProxyHandle< ::IceProxy::IceMX::DispatchMetrics>& v)
|
947
|
+
{
|
948
|
+
::Ice::ObjectPrx proxy;
|
949
|
+
__is->read(proxy);
|
950
|
+
if(!proxy)
|
951
|
+
{
|
952
|
+
v = 0;
|
953
|
+
}
|
954
|
+
else
|
955
|
+
{
|
956
|
+
v = new ::IceProxy::IceMX::DispatchMetrics;
|
957
|
+
v->__copyFrom(proxy);
|
958
|
+
}
|
959
|
+
}
|
960
|
+
|
961
|
+
const ::std::string&
|
962
|
+
IceProxy::IceMX::DispatchMetrics::ice_staticId()
|
963
|
+
{
|
964
|
+
return ::IceMX::DispatchMetrics::ice_staticId();
|
965
|
+
}
|
966
|
+
|
967
|
+
::IceProxy::Ice::Object*
|
968
|
+
IceProxy::IceMX::DispatchMetrics::__newInstance() const
|
969
|
+
{
|
970
|
+
return new DispatchMetrics;
|
971
|
+
}
|
972
|
+
#ifdef __SUNPRO_CC
|
973
|
+
class ICE_DECLSPEC_EXPORT IceProxy::IceMX::ChildInvocationMetrics;
|
974
|
+
#endif
|
975
|
+
ICE_DECLSPEC_EXPORT ::IceProxy::Ice::Object* ::IceProxy::IceMX::upCast(::IceProxy::IceMX::ChildInvocationMetrics* p) { return p; }
|
976
|
+
|
977
|
+
void
|
978
|
+
::IceProxy::IceMX::__read(::IceInternal::BasicStream* __is, ::IceInternal::ProxyHandle< ::IceProxy::IceMX::ChildInvocationMetrics>& v)
|
979
|
+
{
|
980
|
+
::Ice::ObjectPrx proxy;
|
981
|
+
__is->read(proxy);
|
982
|
+
if(!proxy)
|
983
|
+
{
|
984
|
+
v = 0;
|
985
|
+
}
|
986
|
+
else
|
987
|
+
{
|
988
|
+
v = new ::IceProxy::IceMX::ChildInvocationMetrics;
|
989
|
+
v->__copyFrom(proxy);
|
990
|
+
}
|
991
|
+
}
|
992
|
+
|
993
|
+
const ::std::string&
|
994
|
+
IceProxy::IceMX::ChildInvocationMetrics::ice_staticId()
|
995
|
+
{
|
996
|
+
return ::IceMX::ChildInvocationMetrics::ice_staticId();
|
997
|
+
}
|
998
|
+
|
999
|
+
::IceProxy::Ice::Object*
|
1000
|
+
IceProxy::IceMX::ChildInvocationMetrics::__newInstance() const
|
1001
|
+
{
|
1002
|
+
return new ChildInvocationMetrics;
|
1003
|
+
}
|
1004
|
+
#ifdef __SUNPRO_CC
|
1005
|
+
class ICE_DECLSPEC_EXPORT IceProxy::IceMX::CollocatedMetrics;
|
1006
|
+
#endif
|
1007
|
+
ICE_DECLSPEC_EXPORT ::IceProxy::Ice::Object* ::IceProxy::IceMX::upCast(::IceProxy::IceMX::CollocatedMetrics* p) { return p; }
|
1008
|
+
|
1009
|
+
void
|
1010
|
+
::IceProxy::IceMX::__read(::IceInternal::BasicStream* __is, ::IceInternal::ProxyHandle< ::IceProxy::IceMX::CollocatedMetrics>& v)
|
1011
|
+
{
|
1012
|
+
::Ice::ObjectPrx proxy;
|
1013
|
+
__is->read(proxy);
|
1014
|
+
if(!proxy)
|
1015
|
+
{
|
1016
|
+
v = 0;
|
1017
|
+
}
|
1018
|
+
else
|
1019
|
+
{
|
1020
|
+
v = new ::IceProxy::IceMX::CollocatedMetrics;
|
1021
|
+
v->__copyFrom(proxy);
|
1022
|
+
}
|
1023
|
+
}
|
1024
|
+
|
1025
|
+
const ::std::string&
|
1026
|
+
IceProxy::IceMX::CollocatedMetrics::ice_staticId()
|
1027
|
+
{
|
1028
|
+
return ::IceMX::CollocatedMetrics::ice_staticId();
|
1029
|
+
}
|
1030
|
+
|
1031
|
+
::IceProxy::Ice::Object*
|
1032
|
+
IceProxy::IceMX::CollocatedMetrics::__newInstance() const
|
1033
|
+
{
|
1034
|
+
return new CollocatedMetrics;
|
1035
|
+
}
|
1036
|
+
#ifdef __SUNPRO_CC
|
1037
|
+
class ICE_DECLSPEC_EXPORT IceProxy::IceMX::RemoteMetrics;
|
1038
|
+
#endif
|
1039
|
+
ICE_DECLSPEC_EXPORT ::IceProxy::Ice::Object* ::IceProxy::IceMX::upCast(::IceProxy::IceMX::RemoteMetrics* p) { return p; }
|
1040
|
+
|
1041
|
+
void
|
1042
|
+
::IceProxy::IceMX::__read(::IceInternal::BasicStream* __is, ::IceInternal::ProxyHandle< ::IceProxy::IceMX::RemoteMetrics>& v)
|
1043
|
+
{
|
1044
|
+
::Ice::ObjectPrx proxy;
|
1045
|
+
__is->read(proxy);
|
1046
|
+
if(!proxy)
|
1047
|
+
{
|
1048
|
+
v = 0;
|
1049
|
+
}
|
1050
|
+
else
|
1051
|
+
{
|
1052
|
+
v = new ::IceProxy::IceMX::RemoteMetrics;
|
1053
|
+
v->__copyFrom(proxy);
|
1054
|
+
}
|
1055
|
+
}
|
1056
|
+
|
1057
|
+
const ::std::string&
|
1058
|
+
IceProxy::IceMX::RemoteMetrics::ice_staticId()
|
1059
|
+
{
|
1060
|
+
return ::IceMX::RemoteMetrics::ice_staticId();
|
1061
|
+
}
|
1062
|
+
|
1063
|
+
::IceProxy::Ice::Object*
|
1064
|
+
IceProxy::IceMX::RemoteMetrics::__newInstance() const
|
1065
|
+
{
|
1066
|
+
return new RemoteMetrics;
|
1067
|
+
}
|
1068
|
+
#ifdef __SUNPRO_CC
|
1069
|
+
class ICE_DECLSPEC_EXPORT IceProxy::IceMX::InvocationMetrics;
|
1070
|
+
#endif
|
1071
|
+
ICE_DECLSPEC_EXPORT ::IceProxy::Ice::Object* ::IceProxy::IceMX::upCast(::IceProxy::IceMX::InvocationMetrics* p) { return p; }
|
1072
|
+
|
1073
|
+
void
|
1074
|
+
::IceProxy::IceMX::__read(::IceInternal::BasicStream* __is, ::IceInternal::ProxyHandle< ::IceProxy::IceMX::InvocationMetrics>& v)
|
1075
|
+
{
|
1076
|
+
::Ice::ObjectPrx proxy;
|
1077
|
+
__is->read(proxy);
|
1078
|
+
if(!proxy)
|
1079
|
+
{
|
1080
|
+
v = 0;
|
1081
|
+
}
|
1082
|
+
else
|
1083
|
+
{
|
1084
|
+
v = new ::IceProxy::IceMX::InvocationMetrics;
|
1085
|
+
v->__copyFrom(proxy);
|
1086
|
+
}
|
1087
|
+
}
|
1088
|
+
|
1089
|
+
const ::std::string&
|
1090
|
+
IceProxy::IceMX::InvocationMetrics::ice_staticId()
|
1091
|
+
{
|
1092
|
+
return ::IceMX::InvocationMetrics::ice_staticId();
|
1093
|
+
}
|
1094
|
+
|
1095
|
+
::IceProxy::Ice::Object*
|
1096
|
+
IceProxy::IceMX::InvocationMetrics::__newInstance() const
|
1097
|
+
{
|
1098
|
+
return new InvocationMetrics;
|
1099
|
+
}
|
1100
|
+
#ifdef __SUNPRO_CC
|
1101
|
+
class ICE_DECLSPEC_EXPORT IceProxy::IceMX::ConnectionMetrics;
|
1102
|
+
#endif
|
1103
|
+
ICE_DECLSPEC_EXPORT ::IceProxy::Ice::Object* ::IceProxy::IceMX::upCast(::IceProxy::IceMX::ConnectionMetrics* p) { return p; }
|
1104
|
+
|
1105
|
+
void
|
1106
|
+
::IceProxy::IceMX::__read(::IceInternal::BasicStream* __is, ::IceInternal::ProxyHandle< ::IceProxy::IceMX::ConnectionMetrics>& v)
|
1107
|
+
{
|
1108
|
+
::Ice::ObjectPrx proxy;
|
1109
|
+
__is->read(proxy);
|
1110
|
+
if(!proxy)
|
1111
|
+
{
|
1112
|
+
v = 0;
|
1113
|
+
}
|
1114
|
+
else
|
1115
|
+
{
|
1116
|
+
v = new ::IceProxy::IceMX::ConnectionMetrics;
|
1117
|
+
v->__copyFrom(proxy);
|
1118
|
+
}
|
1119
|
+
}
|
1120
|
+
|
1121
|
+
const ::std::string&
|
1122
|
+
IceProxy::IceMX::ConnectionMetrics::ice_staticId()
|
1123
|
+
{
|
1124
|
+
return ::IceMX::ConnectionMetrics::ice_staticId();
|
1125
|
+
}
|
1126
|
+
|
1127
|
+
::IceProxy::Ice::Object*
|
1128
|
+
IceProxy::IceMX::ConnectionMetrics::__newInstance() const
|
1129
|
+
{
|
1130
|
+
return new ConnectionMetrics;
|
1131
|
+
}
|
1132
|
+
|
1133
|
+
ICE_DECLSPEC_EXPORT ::Ice::Object* IceMX::upCast(::IceMX::Metrics* p) { return p; }
|
1134
|
+
::Ice::ObjectPtr
|
1135
|
+
IceMX::Metrics::ice_clone() const
|
1136
|
+
{
|
1137
|
+
::Ice::Object* __p = new Metrics(*this);
|
1138
|
+
return __p;
|
1139
|
+
}
|
1140
|
+
|
1141
|
+
namespace
|
1142
|
+
{
|
1143
|
+
const ::std::string __IceMX__Metrics_ids[2] =
|
1144
|
+
{
|
1145
|
+
"::Ice::Object",
|
1146
|
+
"::IceMX::Metrics"
|
1147
|
+
};
|
1148
|
+
|
1149
|
+
}
|
1150
|
+
|
1151
|
+
bool
|
1152
|
+
IceMX::Metrics::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
|
1153
|
+
{
|
1154
|
+
return ::std::binary_search(__IceMX__Metrics_ids, __IceMX__Metrics_ids + 2, _s);
|
1155
|
+
}
|
1156
|
+
|
1157
|
+
::std::vector< ::std::string>
|
1158
|
+
IceMX::Metrics::ice_ids(const ::Ice::Current&) const
|
1159
|
+
{
|
1160
|
+
return ::std::vector< ::std::string>(&__IceMX__Metrics_ids[0], &__IceMX__Metrics_ids[2]);
|
1161
|
+
}
|
1162
|
+
|
1163
|
+
const ::std::string&
|
1164
|
+
IceMX::Metrics::ice_id(const ::Ice::Current&) const
|
1165
|
+
{
|
1166
|
+
return __IceMX__Metrics_ids[1];
|
1167
|
+
}
|
1168
|
+
|
1169
|
+
const ::std::string&
|
1170
|
+
IceMX::Metrics::ice_staticId()
|
1171
|
+
{
|
1172
|
+
#ifdef ICE_HAS_THREAD_SAFE_LOCAL_STATIC
|
1173
|
+
static const ::std::string typeId = "::IceMX::Metrics";
|
1174
|
+
return typeId;
|
1175
|
+
#else
|
1176
|
+
return __IceMX__Metrics_ids[1];
|
1177
|
+
#endif
|
1178
|
+
}
|
1179
|
+
|
1180
|
+
void
|
1181
|
+
IceMX::Metrics::__writeImpl(::IceInternal::BasicStream* __os) const
|
1182
|
+
{
|
1183
|
+
__os->startWriteSlice(ice_staticId(), -1, true);
|
1184
|
+
__os->write(id);
|
1185
|
+
__os->write(total);
|
1186
|
+
__os->write(current);
|
1187
|
+
__os->write(totalLifetime);
|
1188
|
+
__os->write(failures);
|
1189
|
+
__os->endWriteSlice();
|
1190
|
+
}
|
1191
|
+
|
1192
|
+
void
|
1193
|
+
IceMX::Metrics::__readImpl(::IceInternal::BasicStream* __is)
|
1194
|
+
{
|
1195
|
+
__is->startReadSlice();
|
1196
|
+
__is->read(id);
|
1197
|
+
__is->read(total);
|
1198
|
+
__is->read(current);
|
1199
|
+
__is->read(totalLifetime);
|
1200
|
+
__is->read(failures);
|
1201
|
+
__is->endReadSlice();
|
1202
|
+
}
|
1203
|
+
|
1204
|
+
namespace
|
1205
|
+
{
|
1206
|
+
|
1207
|
+
const ::IceInternal::DefaultObjectFactoryInit< ::IceMX::Metrics> __IceMX__Metrics_init("::IceMX::Metrics");
|
1208
|
+
}
|
1209
|
+
|
1210
|
+
::Ice::ObjectFactoryPtr
|
1211
|
+
IceMX::Metrics::ice_factory()
|
1212
|
+
{
|
1213
|
+
return ::IceInternal::factoryTable->getObjectFactory(::IceMX::Metrics::ice_staticId());
|
1214
|
+
}
|
1215
|
+
|
1216
|
+
void ICE_DECLSPEC_EXPORT
|
1217
|
+
IceMX::__patch(MetricsPtr& handle, const ::Ice::ObjectPtr& v)
|
1218
|
+
{
|
1219
|
+
handle = ::IceMX::MetricsPtr::dynamicCast(v);
|
1220
|
+
if(v && !handle)
|
1221
|
+
{
|
1222
|
+
IceInternal::Ex::throwUOE(::IceMX::Metrics::ice_staticId(), v);
|
1223
|
+
}
|
1224
|
+
}
|
1225
|
+
|
1226
|
+
ICE_DECLSPEC_EXPORT ::Ice::Object* IceMX::upCast(::IceMX::MetricsAdmin* p) { return p; }
|
1227
|
+
|
1228
|
+
namespace
|
1229
|
+
{
|
1230
|
+
const ::std::string __IceMX__MetricsAdmin_ids[2] =
|
1231
|
+
{
|
1232
|
+
"::Ice::Object",
|
1233
|
+
"::IceMX::MetricsAdmin"
|
1234
|
+
};
|
1235
|
+
|
1236
|
+
}
|
1237
|
+
|
1238
|
+
bool
|
1239
|
+
IceMX::MetricsAdmin::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
|
1240
|
+
{
|
1241
|
+
return ::std::binary_search(__IceMX__MetricsAdmin_ids, __IceMX__MetricsAdmin_ids + 2, _s);
|
1242
|
+
}
|
1243
|
+
|
1244
|
+
::std::vector< ::std::string>
|
1245
|
+
IceMX::MetricsAdmin::ice_ids(const ::Ice::Current&) const
|
1246
|
+
{
|
1247
|
+
return ::std::vector< ::std::string>(&__IceMX__MetricsAdmin_ids[0], &__IceMX__MetricsAdmin_ids[2]);
|
1248
|
+
}
|
1249
|
+
|
1250
|
+
const ::std::string&
|
1251
|
+
IceMX::MetricsAdmin::ice_id(const ::Ice::Current&) const
|
1252
|
+
{
|
1253
|
+
return __IceMX__MetricsAdmin_ids[1];
|
1254
|
+
}
|
1255
|
+
|
1256
|
+
const ::std::string&
|
1257
|
+
IceMX::MetricsAdmin::ice_staticId()
|
1258
|
+
{
|
1259
|
+
#ifdef ICE_HAS_THREAD_SAFE_LOCAL_STATIC
|
1260
|
+
static const ::std::string typeId = "::IceMX::MetricsAdmin";
|
1261
|
+
return typeId;
|
1262
|
+
#else
|
1263
|
+
return __IceMX__MetricsAdmin_ids[1];
|
1264
|
+
#endif
|
1265
|
+
}
|
1266
|
+
|
1267
|
+
::Ice::DispatchStatus
|
1268
|
+
IceMX::MetricsAdmin::___getMetricsViewNames(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
|
1269
|
+
{
|
1270
|
+
__checkMode(::Ice::Normal, __current.mode);
|
1271
|
+
__inS.readEmptyParams();
|
1272
|
+
::Ice::StringSeq disabledViews;
|
1273
|
+
::Ice::StringSeq __ret = getMetricsViewNames(disabledViews, __current);
|
1274
|
+
::IceInternal::BasicStream* __os = __inS.__startWriteParams(::Ice::SlicedFormat);
|
1275
|
+
__os->write(disabledViews);
|
1276
|
+
__os->write(__ret);
|
1277
|
+
__inS.__endWriteParams(true);
|
1278
|
+
return ::Ice::DispatchOK;
|
1279
|
+
}
|
1280
|
+
|
1281
|
+
::Ice::DispatchStatus
|
1282
|
+
IceMX::MetricsAdmin::___enableMetricsView(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
|
1283
|
+
{
|
1284
|
+
__checkMode(::Ice::Normal, __current.mode);
|
1285
|
+
::IceInternal::BasicStream* __is = __inS.startReadParams();
|
1286
|
+
::std::string name;
|
1287
|
+
__is->read(name);
|
1288
|
+
__inS.endReadParams();
|
1289
|
+
try
|
1290
|
+
{
|
1291
|
+
enableMetricsView(name, __current);
|
1292
|
+
__inS.__writeEmptyParams();
|
1293
|
+
return ::Ice::DispatchOK;
|
1294
|
+
}
|
1295
|
+
catch(const ::IceMX::UnknownMetricsView& __ex)
|
1296
|
+
{
|
1297
|
+
__inS.__writeUserException(__ex, ::Ice::SlicedFormat);
|
1298
|
+
}
|
1299
|
+
return ::Ice::DispatchUserException;
|
1300
|
+
}
|
1301
|
+
|
1302
|
+
::Ice::DispatchStatus
|
1303
|
+
IceMX::MetricsAdmin::___disableMetricsView(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
|
1304
|
+
{
|
1305
|
+
__checkMode(::Ice::Normal, __current.mode);
|
1306
|
+
::IceInternal::BasicStream* __is = __inS.startReadParams();
|
1307
|
+
::std::string name;
|
1308
|
+
__is->read(name);
|
1309
|
+
__inS.endReadParams();
|
1310
|
+
try
|
1311
|
+
{
|
1312
|
+
disableMetricsView(name, __current);
|
1313
|
+
__inS.__writeEmptyParams();
|
1314
|
+
return ::Ice::DispatchOK;
|
1315
|
+
}
|
1316
|
+
catch(const ::IceMX::UnknownMetricsView& __ex)
|
1317
|
+
{
|
1318
|
+
__inS.__writeUserException(__ex, ::Ice::SlicedFormat);
|
1319
|
+
}
|
1320
|
+
return ::Ice::DispatchUserException;
|
1321
|
+
}
|
1322
|
+
|
1323
|
+
::Ice::DispatchStatus
|
1324
|
+
IceMX::MetricsAdmin::___getMetricsView(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
|
1325
|
+
{
|
1326
|
+
__checkMode(::Ice::Normal, __current.mode);
|
1327
|
+
::IceInternal::BasicStream* __is = __inS.startReadParams();
|
1328
|
+
::std::string view;
|
1329
|
+
__is->read(view);
|
1330
|
+
__inS.endReadParams();
|
1331
|
+
::Ice::Long timestamp;
|
1332
|
+
try
|
1333
|
+
{
|
1334
|
+
::IceMX::MetricsView __ret = getMetricsView(view, timestamp, __current);
|
1335
|
+
::IceInternal::BasicStream* __os = __inS.__startWriteParams(::Ice::SlicedFormat);
|
1336
|
+
__os->write(timestamp);
|
1337
|
+
__os->write(__ret);
|
1338
|
+
__os->writePendingObjects();
|
1339
|
+
__inS.__endWriteParams(true);
|
1340
|
+
return ::Ice::DispatchOK;
|
1341
|
+
}
|
1342
|
+
catch(const ::IceMX::UnknownMetricsView& __ex)
|
1343
|
+
{
|
1344
|
+
__inS.__writeUserException(__ex, ::Ice::SlicedFormat);
|
1345
|
+
}
|
1346
|
+
return ::Ice::DispatchUserException;
|
1347
|
+
}
|
1348
|
+
|
1349
|
+
::Ice::DispatchStatus
|
1350
|
+
IceMX::MetricsAdmin::___getMapMetricsFailures(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
|
1351
|
+
{
|
1352
|
+
__checkMode(::Ice::Normal, __current.mode);
|
1353
|
+
::IceInternal::BasicStream* __is = __inS.startReadParams();
|
1354
|
+
::std::string view;
|
1355
|
+
::std::string map;
|
1356
|
+
__is->read(view);
|
1357
|
+
__is->read(map);
|
1358
|
+
__inS.endReadParams();
|
1359
|
+
try
|
1360
|
+
{
|
1361
|
+
::IceMX::MetricsFailuresSeq __ret = getMapMetricsFailures(view, map, __current);
|
1362
|
+
::IceInternal::BasicStream* __os = __inS.__startWriteParams(::Ice::SlicedFormat);
|
1363
|
+
__os->write(__ret);
|
1364
|
+
__inS.__endWriteParams(true);
|
1365
|
+
return ::Ice::DispatchOK;
|
1366
|
+
}
|
1367
|
+
catch(const ::IceMX::UnknownMetricsView& __ex)
|
1368
|
+
{
|
1369
|
+
__inS.__writeUserException(__ex, ::Ice::SlicedFormat);
|
1370
|
+
}
|
1371
|
+
return ::Ice::DispatchUserException;
|
1372
|
+
}
|
1373
|
+
|
1374
|
+
::Ice::DispatchStatus
|
1375
|
+
IceMX::MetricsAdmin::___getMetricsFailures(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
|
1376
|
+
{
|
1377
|
+
__checkMode(::Ice::Normal, __current.mode);
|
1378
|
+
::IceInternal::BasicStream* __is = __inS.startReadParams();
|
1379
|
+
::std::string view;
|
1380
|
+
::std::string map;
|
1381
|
+
::std::string id;
|
1382
|
+
__is->read(view);
|
1383
|
+
__is->read(map);
|
1384
|
+
__is->read(id);
|
1385
|
+
__inS.endReadParams();
|
1386
|
+
try
|
1387
|
+
{
|
1388
|
+
::IceMX::MetricsFailures __ret = getMetricsFailures(view, map, id, __current);
|
1389
|
+
::IceInternal::BasicStream* __os = __inS.__startWriteParams(::Ice::SlicedFormat);
|
1390
|
+
__os->write(__ret);
|
1391
|
+
__inS.__endWriteParams(true);
|
1392
|
+
return ::Ice::DispatchOK;
|
1393
|
+
}
|
1394
|
+
catch(const ::IceMX::UnknownMetricsView& __ex)
|
1395
|
+
{
|
1396
|
+
__inS.__writeUserException(__ex, ::Ice::SlicedFormat);
|
1397
|
+
}
|
1398
|
+
return ::Ice::DispatchUserException;
|
1399
|
+
}
|
1400
|
+
|
1401
|
+
namespace
|
1402
|
+
{
|
1403
|
+
const ::std::string __IceMX__MetricsAdmin_all[] =
|
1404
|
+
{
|
1405
|
+
"disableMetricsView",
|
1406
|
+
"enableMetricsView",
|
1407
|
+
"getMapMetricsFailures",
|
1408
|
+
"getMetricsFailures",
|
1409
|
+
"getMetricsView",
|
1410
|
+
"getMetricsViewNames",
|
1411
|
+
"ice_id",
|
1412
|
+
"ice_ids",
|
1413
|
+
"ice_isA",
|
1414
|
+
"ice_ping"
|
1415
|
+
};
|
1416
|
+
|
1417
|
+
}
|
1418
|
+
|
1419
|
+
::Ice::DispatchStatus
|
1420
|
+
IceMX::MetricsAdmin::__dispatch(::IceInternal::Incoming& in, const ::Ice::Current& current)
|
1421
|
+
{
|
1422
|
+
::std::pair< const ::std::string*, const ::std::string*> r = ::std::equal_range(__IceMX__MetricsAdmin_all, __IceMX__MetricsAdmin_all + 10, current.operation);
|
1423
|
+
if(r.first == r.second)
|
1424
|
+
{
|
1425
|
+
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1426
|
+
}
|
1427
|
+
|
1428
|
+
switch(r.first - __IceMX__MetricsAdmin_all)
|
1429
|
+
{
|
1430
|
+
case 0:
|
1431
|
+
{
|
1432
|
+
return ___disableMetricsView(in, current);
|
1433
|
+
}
|
1434
|
+
case 1:
|
1435
|
+
{
|
1436
|
+
return ___enableMetricsView(in, current);
|
1437
|
+
}
|
1438
|
+
case 2:
|
1439
|
+
{
|
1440
|
+
return ___getMapMetricsFailures(in, current);
|
1441
|
+
}
|
1442
|
+
case 3:
|
1443
|
+
{
|
1444
|
+
return ___getMetricsFailures(in, current);
|
1445
|
+
}
|
1446
|
+
case 4:
|
1447
|
+
{
|
1448
|
+
return ___getMetricsView(in, current);
|
1449
|
+
}
|
1450
|
+
case 5:
|
1451
|
+
{
|
1452
|
+
return ___getMetricsViewNames(in, current);
|
1453
|
+
}
|
1454
|
+
case 6:
|
1455
|
+
{
|
1456
|
+
return ___ice_id(in, current);
|
1457
|
+
}
|
1458
|
+
case 7:
|
1459
|
+
{
|
1460
|
+
return ___ice_ids(in, current);
|
1461
|
+
}
|
1462
|
+
case 8:
|
1463
|
+
{
|
1464
|
+
return ___ice_isA(in, current);
|
1465
|
+
}
|
1466
|
+
case 9:
|
1467
|
+
{
|
1468
|
+
return ___ice_ping(in, current);
|
1469
|
+
}
|
1470
|
+
}
|
1471
|
+
|
1472
|
+
assert(false);
|
1473
|
+
throw ::Ice::OperationNotExistException(__FILE__, __LINE__, current.id, current.facet, current.operation);
|
1474
|
+
}
|
1475
|
+
|
1476
|
+
void
|
1477
|
+
IceMX::MetricsAdmin::__writeImpl(::IceInternal::BasicStream* __os) const
|
1478
|
+
{
|
1479
|
+
__os->startWriteSlice(ice_staticId(), -1, true);
|
1480
|
+
__os->endWriteSlice();
|
1481
|
+
}
|
1482
|
+
|
1483
|
+
void
|
1484
|
+
IceMX::MetricsAdmin::__readImpl(::IceInternal::BasicStream* __is)
|
1485
|
+
{
|
1486
|
+
__is->startReadSlice();
|
1487
|
+
__is->endReadSlice();
|
1488
|
+
}
|
1489
|
+
|
1490
|
+
void ICE_DECLSPEC_EXPORT
|
1491
|
+
IceMX::__patch(MetricsAdminPtr& handle, const ::Ice::ObjectPtr& v)
|
1492
|
+
{
|
1493
|
+
handle = ::IceMX::MetricsAdminPtr::dynamicCast(v);
|
1494
|
+
if(v && !handle)
|
1495
|
+
{
|
1496
|
+
IceInternal::Ex::throwUOE(::IceMX::MetricsAdmin::ice_staticId(), v);
|
1497
|
+
}
|
1498
|
+
}
|
1499
|
+
|
1500
|
+
ICE_DECLSPEC_EXPORT ::Ice::Object* IceMX::upCast(::IceMX::ThreadMetrics* p) { return p; }
|
1501
|
+
::Ice::ObjectPtr
|
1502
|
+
IceMX::ThreadMetrics::ice_clone() const
|
1503
|
+
{
|
1504
|
+
::Ice::Object* __p = new ThreadMetrics(*this);
|
1505
|
+
return __p;
|
1506
|
+
}
|
1507
|
+
|
1508
|
+
namespace
|
1509
|
+
{
|
1510
|
+
const ::std::string __IceMX__ThreadMetrics_ids[3] =
|
1511
|
+
{
|
1512
|
+
"::Ice::Object",
|
1513
|
+
"::IceMX::Metrics",
|
1514
|
+
"::IceMX::ThreadMetrics"
|
1515
|
+
};
|
1516
|
+
|
1517
|
+
}
|
1518
|
+
|
1519
|
+
bool
|
1520
|
+
IceMX::ThreadMetrics::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
|
1521
|
+
{
|
1522
|
+
return ::std::binary_search(__IceMX__ThreadMetrics_ids, __IceMX__ThreadMetrics_ids + 3, _s);
|
1523
|
+
}
|
1524
|
+
|
1525
|
+
::std::vector< ::std::string>
|
1526
|
+
IceMX::ThreadMetrics::ice_ids(const ::Ice::Current&) const
|
1527
|
+
{
|
1528
|
+
return ::std::vector< ::std::string>(&__IceMX__ThreadMetrics_ids[0], &__IceMX__ThreadMetrics_ids[3]);
|
1529
|
+
}
|
1530
|
+
|
1531
|
+
const ::std::string&
|
1532
|
+
IceMX::ThreadMetrics::ice_id(const ::Ice::Current&) const
|
1533
|
+
{
|
1534
|
+
return __IceMX__ThreadMetrics_ids[2];
|
1535
|
+
}
|
1536
|
+
|
1537
|
+
const ::std::string&
|
1538
|
+
IceMX::ThreadMetrics::ice_staticId()
|
1539
|
+
{
|
1540
|
+
#ifdef ICE_HAS_THREAD_SAFE_LOCAL_STATIC
|
1541
|
+
static const ::std::string typeId = "::IceMX::ThreadMetrics";
|
1542
|
+
return typeId;
|
1543
|
+
#else
|
1544
|
+
return __IceMX__ThreadMetrics_ids[2];
|
1545
|
+
#endif
|
1546
|
+
}
|
1547
|
+
|
1548
|
+
void
|
1549
|
+
IceMX::ThreadMetrics::__writeImpl(::IceInternal::BasicStream* __os) const
|
1550
|
+
{
|
1551
|
+
__os->startWriteSlice(ice_staticId(), -1, false);
|
1552
|
+
__os->write(inUseForIO);
|
1553
|
+
__os->write(inUseForUser);
|
1554
|
+
__os->write(inUseForOther);
|
1555
|
+
__os->endWriteSlice();
|
1556
|
+
::IceMX::Metrics::__writeImpl(__os);
|
1557
|
+
}
|
1558
|
+
|
1559
|
+
void
|
1560
|
+
IceMX::ThreadMetrics::__readImpl(::IceInternal::BasicStream* __is)
|
1561
|
+
{
|
1562
|
+
__is->startReadSlice();
|
1563
|
+
__is->read(inUseForIO);
|
1564
|
+
__is->read(inUseForUser);
|
1565
|
+
__is->read(inUseForOther);
|
1566
|
+
__is->endReadSlice();
|
1567
|
+
::IceMX::Metrics::__readImpl(__is);
|
1568
|
+
}
|
1569
|
+
|
1570
|
+
namespace
|
1571
|
+
{
|
1572
|
+
|
1573
|
+
const ::IceInternal::DefaultObjectFactoryInit< ::IceMX::ThreadMetrics> __IceMX__ThreadMetrics_init("::IceMX::ThreadMetrics");
|
1574
|
+
}
|
1575
|
+
|
1576
|
+
::Ice::ObjectFactoryPtr
|
1577
|
+
IceMX::ThreadMetrics::ice_factory()
|
1578
|
+
{
|
1579
|
+
return ::IceInternal::factoryTable->getObjectFactory(::IceMX::ThreadMetrics::ice_staticId());
|
1580
|
+
}
|
1581
|
+
|
1582
|
+
void ICE_DECLSPEC_EXPORT
|
1583
|
+
IceMX::__patch(ThreadMetricsPtr& handle, const ::Ice::ObjectPtr& v)
|
1584
|
+
{
|
1585
|
+
handle = ::IceMX::ThreadMetricsPtr::dynamicCast(v);
|
1586
|
+
if(v && !handle)
|
1587
|
+
{
|
1588
|
+
IceInternal::Ex::throwUOE(::IceMX::ThreadMetrics::ice_staticId(), v);
|
1589
|
+
}
|
1590
|
+
}
|
1591
|
+
|
1592
|
+
ICE_DECLSPEC_EXPORT ::Ice::Object* IceMX::upCast(::IceMX::DispatchMetrics* p) { return p; }
|
1593
|
+
::Ice::ObjectPtr
|
1594
|
+
IceMX::DispatchMetrics::ice_clone() const
|
1595
|
+
{
|
1596
|
+
::Ice::Object* __p = new DispatchMetrics(*this);
|
1597
|
+
return __p;
|
1598
|
+
}
|
1599
|
+
|
1600
|
+
namespace
|
1601
|
+
{
|
1602
|
+
const ::std::string __IceMX__DispatchMetrics_ids[3] =
|
1603
|
+
{
|
1604
|
+
"::Ice::Object",
|
1605
|
+
"::IceMX::DispatchMetrics",
|
1606
|
+
"::IceMX::Metrics"
|
1607
|
+
};
|
1608
|
+
|
1609
|
+
}
|
1610
|
+
|
1611
|
+
bool
|
1612
|
+
IceMX::DispatchMetrics::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
|
1613
|
+
{
|
1614
|
+
return ::std::binary_search(__IceMX__DispatchMetrics_ids, __IceMX__DispatchMetrics_ids + 3, _s);
|
1615
|
+
}
|
1616
|
+
|
1617
|
+
::std::vector< ::std::string>
|
1618
|
+
IceMX::DispatchMetrics::ice_ids(const ::Ice::Current&) const
|
1619
|
+
{
|
1620
|
+
return ::std::vector< ::std::string>(&__IceMX__DispatchMetrics_ids[0], &__IceMX__DispatchMetrics_ids[3]);
|
1621
|
+
}
|
1622
|
+
|
1623
|
+
const ::std::string&
|
1624
|
+
IceMX::DispatchMetrics::ice_id(const ::Ice::Current&) const
|
1625
|
+
{
|
1626
|
+
return __IceMX__DispatchMetrics_ids[1];
|
1627
|
+
}
|
1628
|
+
|
1629
|
+
const ::std::string&
|
1630
|
+
IceMX::DispatchMetrics::ice_staticId()
|
1631
|
+
{
|
1632
|
+
#ifdef ICE_HAS_THREAD_SAFE_LOCAL_STATIC
|
1633
|
+
static const ::std::string typeId = "::IceMX::DispatchMetrics";
|
1634
|
+
return typeId;
|
1635
|
+
#else
|
1636
|
+
return __IceMX__DispatchMetrics_ids[1];
|
1637
|
+
#endif
|
1638
|
+
}
|
1639
|
+
|
1640
|
+
void
|
1641
|
+
IceMX::DispatchMetrics::__writeImpl(::IceInternal::BasicStream* __os) const
|
1642
|
+
{
|
1643
|
+
__os->startWriteSlice(ice_staticId(), -1, false);
|
1644
|
+
__os->write(userException);
|
1645
|
+
__os->write(size);
|
1646
|
+
__os->write(replySize);
|
1647
|
+
__os->endWriteSlice();
|
1648
|
+
::IceMX::Metrics::__writeImpl(__os);
|
1649
|
+
}
|
1650
|
+
|
1651
|
+
void
|
1652
|
+
IceMX::DispatchMetrics::__readImpl(::IceInternal::BasicStream* __is)
|
1653
|
+
{
|
1654
|
+
__is->startReadSlice();
|
1655
|
+
__is->read(userException);
|
1656
|
+
__is->read(size);
|
1657
|
+
__is->read(replySize);
|
1658
|
+
__is->endReadSlice();
|
1659
|
+
::IceMX::Metrics::__readImpl(__is);
|
1660
|
+
}
|
1661
|
+
|
1662
|
+
namespace
|
1663
|
+
{
|
1664
|
+
|
1665
|
+
const ::IceInternal::DefaultObjectFactoryInit< ::IceMX::DispatchMetrics> __IceMX__DispatchMetrics_init("::IceMX::DispatchMetrics");
|
1666
|
+
}
|
1667
|
+
|
1668
|
+
::Ice::ObjectFactoryPtr
|
1669
|
+
IceMX::DispatchMetrics::ice_factory()
|
1670
|
+
{
|
1671
|
+
return ::IceInternal::factoryTable->getObjectFactory(::IceMX::DispatchMetrics::ice_staticId());
|
1672
|
+
}
|
1673
|
+
|
1674
|
+
void ICE_DECLSPEC_EXPORT
|
1675
|
+
IceMX::__patch(DispatchMetricsPtr& handle, const ::Ice::ObjectPtr& v)
|
1676
|
+
{
|
1677
|
+
handle = ::IceMX::DispatchMetricsPtr::dynamicCast(v);
|
1678
|
+
if(v && !handle)
|
1679
|
+
{
|
1680
|
+
IceInternal::Ex::throwUOE(::IceMX::DispatchMetrics::ice_staticId(), v);
|
1681
|
+
}
|
1682
|
+
}
|
1683
|
+
|
1684
|
+
ICE_DECLSPEC_EXPORT ::Ice::Object* IceMX::upCast(::IceMX::ChildInvocationMetrics* p) { return p; }
|
1685
|
+
::Ice::ObjectPtr
|
1686
|
+
IceMX::ChildInvocationMetrics::ice_clone() const
|
1687
|
+
{
|
1688
|
+
::Ice::Object* __p = new ChildInvocationMetrics(*this);
|
1689
|
+
return __p;
|
1690
|
+
}
|
1691
|
+
|
1692
|
+
namespace
|
1693
|
+
{
|
1694
|
+
const ::std::string __IceMX__ChildInvocationMetrics_ids[3] =
|
1695
|
+
{
|
1696
|
+
"::Ice::Object",
|
1697
|
+
"::IceMX::ChildInvocationMetrics",
|
1698
|
+
"::IceMX::Metrics"
|
1699
|
+
};
|
1700
|
+
|
1701
|
+
}
|
1702
|
+
|
1703
|
+
bool
|
1704
|
+
IceMX::ChildInvocationMetrics::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
|
1705
|
+
{
|
1706
|
+
return ::std::binary_search(__IceMX__ChildInvocationMetrics_ids, __IceMX__ChildInvocationMetrics_ids + 3, _s);
|
1707
|
+
}
|
1708
|
+
|
1709
|
+
::std::vector< ::std::string>
|
1710
|
+
IceMX::ChildInvocationMetrics::ice_ids(const ::Ice::Current&) const
|
1711
|
+
{
|
1712
|
+
return ::std::vector< ::std::string>(&__IceMX__ChildInvocationMetrics_ids[0], &__IceMX__ChildInvocationMetrics_ids[3]);
|
1713
|
+
}
|
1714
|
+
|
1715
|
+
const ::std::string&
|
1716
|
+
IceMX::ChildInvocationMetrics::ice_id(const ::Ice::Current&) const
|
1717
|
+
{
|
1718
|
+
return __IceMX__ChildInvocationMetrics_ids[1];
|
1719
|
+
}
|
1720
|
+
|
1721
|
+
const ::std::string&
|
1722
|
+
IceMX::ChildInvocationMetrics::ice_staticId()
|
1723
|
+
{
|
1724
|
+
#ifdef ICE_HAS_THREAD_SAFE_LOCAL_STATIC
|
1725
|
+
static const ::std::string typeId = "::IceMX::ChildInvocationMetrics";
|
1726
|
+
return typeId;
|
1727
|
+
#else
|
1728
|
+
return __IceMX__ChildInvocationMetrics_ids[1];
|
1729
|
+
#endif
|
1730
|
+
}
|
1731
|
+
|
1732
|
+
void
|
1733
|
+
IceMX::ChildInvocationMetrics::__writeImpl(::IceInternal::BasicStream* __os) const
|
1734
|
+
{
|
1735
|
+
__os->startWriteSlice(ice_staticId(), -1, false);
|
1736
|
+
__os->write(size);
|
1737
|
+
__os->write(replySize);
|
1738
|
+
__os->endWriteSlice();
|
1739
|
+
::IceMX::Metrics::__writeImpl(__os);
|
1740
|
+
}
|
1741
|
+
|
1742
|
+
void
|
1743
|
+
IceMX::ChildInvocationMetrics::__readImpl(::IceInternal::BasicStream* __is)
|
1744
|
+
{
|
1745
|
+
__is->startReadSlice();
|
1746
|
+
__is->read(size);
|
1747
|
+
__is->read(replySize);
|
1748
|
+
__is->endReadSlice();
|
1749
|
+
::IceMX::Metrics::__readImpl(__is);
|
1750
|
+
}
|
1751
|
+
|
1752
|
+
namespace
|
1753
|
+
{
|
1754
|
+
|
1755
|
+
const ::IceInternal::DefaultObjectFactoryInit< ::IceMX::ChildInvocationMetrics> __IceMX__ChildInvocationMetrics_init("::IceMX::ChildInvocationMetrics");
|
1756
|
+
}
|
1757
|
+
|
1758
|
+
::Ice::ObjectFactoryPtr
|
1759
|
+
IceMX::ChildInvocationMetrics::ice_factory()
|
1760
|
+
{
|
1761
|
+
return ::IceInternal::factoryTable->getObjectFactory(::IceMX::ChildInvocationMetrics::ice_staticId());
|
1762
|
+
}
|
1763
|
+
|
1764
|
+
void ICE_DECLSPEC_EXPORT
|
1765
|
+
IceMX::__patch(ChildInvocationMetricsPtr& handle, const ::Ice::ObjectPtr& v)
|
1766
|
+
{
|
1767
|
+
handle = ::IceMX::ChildInvocationMetricsPtr::dynamicCast(v);
|
1768
|
+
if(v && !handle)
|
1769
|
+
{
|
1770
|
+
IceInternal::Ex::throwUOE(::IceMX::ChildInvocationMetrics::ice_staticId(), v);
|
1771
|
+
}
|
1772
|
+
}
|
1773
|
+
|
1774
|
+
ICE_DECLSPEC_EXPORT ::Ice::Object* IceMX::upCast(::IceMX::CollocatedMetrics* p) { return p; }
|
1775
|
+
::Ice::ObjectPtr
|
1776
|
+
IceMX::CollocatedMetrics::ice_clone() const
|
1777
|
+
{
|
1778
|
+
::Ice::Object* __p = new CollocatedMetrics(*this);
|
1779
|
+
return __p;
|
1780
|
+
}
|
1781
|
+
|
1782
|
+
namespace
|
1783
|
+
{
|
1784
|
+
const ::std::string __IceMX__CollocatedMetrics_ids[4] =
|
1785
|
+
{
|
1786
|
+
"::Ice::Object",
|
1787
|
+
"::IceMX::ChildInvocationMetrics",
|
1788
|
+
"::IceMX::CollocatedMetrics",
|
1789
|
+
"::IceMX::Metrics"
|
1790
|
+
};
|
1791
|
+
|
1792
|
+
}
|
1793
|
+
|
1794
|
+
bool
|
1795
|
+
IceMX::CollocatedMetrics::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
|
1796
|
+
{
|
1797
|
+
return ::std::binary_search(__IceMX__CollocatedMetrics_ids, __IceMX__CollocatedMetrics_ids + 4, _s);
|
1798
|
+
}
|
1799
|
+
|
1800
|
+
::std::vector< ::std::string>
|
1801
|
+
IceMX::CollocatedMetrics::ice_ids(const ::Ice::Current&) const
|
1802
|
+
{
|
1803
|
+
return ::std::vector< ::std::string>(&__IceMX__CollocatedMetrics_ids[0], &__IceMX__CollocatedMetrics_ids[4]);
|
1804
|
+
}
|
1805
|
+
|
1806
|
+
const ::std::string&
|
1807
|
+
IceMX::CollocatedMetrics::ice_id(const ::Ice::Current&) const
|
1808
|
+
{
|
1809
|
+
return __IceMX__CollocatedMetrics_ids[2];
|
1810
|
+
}
|
1811
|
+
|
1812
|
+
const ::std::string&
|
1813
|
+
IceMX::CollocatedMetrics::ice_staticId()
|
1814
|
+
{
|
1815
|
+
#ifdef ICE_HAS_THREAD_SAFE_LOCAL_STATIC
|
1816
|
+
static const ::std::string typeId = "::IceMX::CollocatedMetrics";
|
1817
|
+
return typeId;
|
1818
|
+
#else
|
1819
|
+
return __IceMX__CollocatedMetrics_ids[2];
|
1820
|
+
#endif
|
1821
|
+
}
|
1822
|
+
|
1823
|
+
void
|
1824
|
+
IceMX::CollocatedMetrics::__writeImpl(::IceInternal::BasicStream* __os) const
|
1825
|
+
{
|
1826
|
+
__os->startWriteSlice(ice_staticId(), -1, false);
|
1827
|
+
__os->endWriteSlice();
|
1828
|
+
::IceMX::ChildInvocationMetrics::__writeImpl(__os);
|
1829
|
+
}
|
1830
|
+
|
1831
|
+
void
|
1832
|
+
IceMX::CollocatedMetrics::__readImpl(::IceInternal::BasicStream* __is)
|
1833
|
+
{
|
1834
|
+
__is->startReadSlice();
|
1835
|
+
__is->endReadSlice();
|
1836
|
+
::IceMX::ChildInvocationMetrics::__readImpl(__is);
|
1837
|
+
}
|
1838
|
+
|
1839
|
+
namespace
|
1840
|
+
{
|
1841
|
+
|
1842
|
+
const ::IceInternal::DefaultObjectFactoryInit< ::IceMX::CollocatedMetrics> __IceMX__CollocatedMetrics_init("::IceMX::CollocatedMetrics");
|
1843
|
+
}
|
1844
|
+
|
1845
|
+
::Ice::ObjectFactoryPtr
|
1846
|
+
IceMX::CollocatedMetrics::ice_factory()
|
1847
|
+
{
|
1848
|
+
return ::IceInternal::factoryTable->getObjectFactory(::IceMX::CollocatedMetrics::ice_staticId());
|
1849
|
+
}
|
1850
|
+
|
1851
|
+
void ICE_DECLSPEC_EXPORT
|
1852
|
+
IceMX::__patch(CollocatedMetricsPtr& handle, const ::Ice::ObjectPtr& v)
|
1853
|
+
{
|
1854
|
+
handle = ::IceMX::CollocatedMetricsPtr::dynamicCast(v);
|
1855
|
+
if(v && !handle)
|
1856
|
+
{
|
1857
|
+
IceInternal::Ex::throwUOE(::IceMX::CollocatedMetrics::ice_staticId(), v);
|
1858
|
+
}
|
1859
|
+
}
|
1860
|
+
|
1861
|
+
ICE_DECLSPEC_EXPORT ::Ice::Object* IceMX::upCast(::IceMX::RemoteMetrics* p) { return p; }
|
1862
|
+
::Ice::ObjectPtr
|
1863
|
+
IceMX::RemoteMetrics::ice_clone() const
|
1864
|
+
{
|
1865
|
+
::Ice::Object* __p = new RemoteMetrics(*this);
|
1866
|
+
return __p;
|
1867
|
+
}
|
1868
|
+
|
1869
|
+
namespace
|
1870
|
+
{
|
1871
|
+
const ::std::string __IceMX__RemoteMetrics_ids[4] =
|
1872
|
+
{
|
1873
|
+
"::Ice::Object",
|
1874
|
+
"::IceMX::ChildInvocationMetrics",
|
1875
|
+
"::IceMX::Metrics",
|
1876
|
+
"::IceMX::RemoteMetrics"
|
1877
|
+
};
|
1878
|
+
|
1879
|
+
}
|
1880
|
+
|
1881
|
+
bool
|
1882
|
+
IceMX::RemoteMetrics::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
|
1883
|
+
{
|
1884
|
+
return ::std::binary_search(__IceMX__RemoteMetrics_ids, __IceMX__RemoteMetrics_ids + 4, _s);
|
1885
|
+
}
|
1886
|
+
|
1887
|
+
::std::vector< ::std::string>
|
1888
|
+
IceMX::RemoteMetrics::ice_ids(const ::Ice::Current&) const
|
1889
|
+
{
|
1890
|
+
return ::std::vector< ::std::string>(&__IceMX__RemoteMetrics_ids[0], &__IceMX__RemoteMetrics_ids[4]);
|
1891
|
+
}
|
1892
|
+
|
1893
|
+
const ::std::string&
|
1894
|
+
IceMX::RemoteMetrics::ice_id(const ::Ice::Current&) const
|
1895
|
+
{
|
1896
|
+
return __IceMX__RemoteMetrics_ids[3];
|
1897
|
+
}
|
1898
|
+
|
1899
|
+
const ::std::string&
|
1900
|
+
IceMX::RemoteMetrics::ice_staticId()
|
1901
|
+
{
|
1902
|
+
#ifdef ICE_HAS_THREAD_SAFE_LOCAL_STATIC
|
1903
|
+
static const ::std::string typeId = "::IceMX::RemoteMetrics";
|
1904
|
+
return typeId;
|
1905
|
+
#else
|
1906
|
+
return __IceMX__RemoteMetrics_ids[3];
|
1907
|
+
#endif
|
1908
|
+
}
|
1909
|
+
|
1910
|
+
void
|
1911
|
+
IceMX::RemoteMetrics::__writeImpl(::IceInternal::BasicStream* __os) const
|
1912
|
+
{
|
1913
|
+
__os->startWriteSlice(ice_staticId(), -1, false);
|
1914
|
+
__os->endWriteSlice();
|
1915
|
+
::IceMX::ChildInvocationMetrics::__writeImpl(__os);
|
1916
|
+
}
|
1917
|
+
|
1918
|
+
void
|
1919
|
+
IceMX::RemoteMetrics::__readImpl(::IceInternal::BasicStream* __is)
|
1920
|
+
{
|
1921
|
+
__is->startReadSlice();
|
1922
|
+
__is->endReadSlice();
|
1923
|
+
::IceMX::ChildInvocationMetrics::__readImpl(__is);
|
1924
|
+
}
|
1925
|
+
|
1926
|
+
namespace
|
1927
|
+
{
|
1928
|
+
|
1929
|
+
const ::IceInternal::DefaultObjectFactoryInit< ::IceMX::RemoteMetrics> __IceMX__RemoteMetrics_init("::IceMX::RemoteMetrics");
|
1930
|
+
}
|
1931
|
+
|
1932
|
+
::Ice::ObjectFactoryPtr
|
1933
|
+
IceMX::RemoteMetrics::ice_factory()
|
1934
|
+
{
|
1935
|
+
return ::IceInternal::factoryTable->getObjectFactory(::IceMX::RemoteMetrics::ice_staticId());
|
1936
|
+
}
|
1937
|
+
|
1938
|
+
void ICE_DECLSPEC_EXPORT
|
1939
|
+
IceMX::__patch(RemoteMetricsPtr& handle, const ::Ice::ObjectPtr& v)
|
1940
|
+
{
|
1941
|
+
handle = ::IceMX::RemoteMetricsPtr::dynamicCast(v);
|
1942
|
+
if(v && !handle)
|
1943
|
+
{
|
1944
|
+
IceInternal::Ex::throwUOE(::IceMX::RemoteMetrics::ice_staticId(), v);
|
1945
|
+
}
|
1946
|
+
}
|
1947
|
+
|
1948
|
+
ICE_DECLSPEC_EXPORT ::Ice::Object* IceMX::upCast(::IceMX::InvocationMetrics* p) { return p; }
|
1949
|
+
::Ice::ObjectPtr
|
1950
|
+
IceMX::InvocationMetrics::ice_clone() const
|
1951
|
+
{
|
1952
|
+
::Ice::Object* __p = new InvocationMetrics(*this);
|
1953
|
+
return __p;
|
1954
|
+
}
|
1955
|
+
|
1956
|
+
namespace
|
1957
|
+
{
|
1958
|
+
const ::std::string __IceMX__InvocationMetrics_ids[3] =
|
1959
|
+
{
|
1960
|
+
"::Ice::Object",
|
1961
|
+
"::IceMX::InvocationMetrics",
|
1962
|
+
"::IceMX::Metrics"
|
1963
|
+
};
|
1964
|
+
|
1965
|
+
}
|
1966
|
+
|
1967
|
+
bool
|
1968
|
+
IceMX::InvocationMetrics::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
|
1969
|
+
{
|
1970
|
+
return ::std::binary_search(__IceMX__InvocationMetrics_ids, __IceMX__InvocationMetrics_ids + 3, _s);
|
1971
|
+
}
|
1972
|
+
|
1973
|
+
::std::vector< ::std::string>
|
1974
|
+
IceMX::InvocationMetrics::ice_ids(const ::Ice::Current&) const
|
1975
|
+
{
|
1976
|
+
return ::std::vector< ::std::string>(&__IceMX__InvocationMetrics_ids[0], &__IceMX__InvocationMetrics_ids[3]);
|
1977
|
+
}
|
1978
|
+
|
1979
|
+
const ::std::string&
|
1980
|
+
IceMX::InvocationMetrics::ice_id(const ::Ice::Current&) const
|
1981
|
+
{
|
1982
|
+
return __IceMX__InvocationMetrics_ids[1];
|
1983
|
+
}
|
1984
|
+
|
1985
|
+
const ::std::string&
|
1986
|
+
IceMX::InvocationMetrics::ice_staticId()
|
1987
|
+
{
|
1988
|
+
#ifdef ICE_HAS_THREAD_SAFE_LOCAL_STATIC
|
1989
|
+
static const ::std::string typeId = "::IceMX::InvocationMetrics";
|
1990
|
+
return typeId;
|
1991
|
+
#else
|
1992
|
+
return __IceMX__InvocationMetrics_ids[1];
|
1993
|
+
#endif
|
1994
|
+
}
|
1995
|
+
|
1996
|
+
void
|
1997
|
+
IceMX::InvocationMetrics::__gcVisitMembers(::IceInternal::GCVisitor& _v)
|
1998
|
+
{
|
1999
|
+
{
|
2000
|
+
for(::IceMX::MetricsMap::iterator _i0 = remotes.begin(); _i0 != remotes.end(); ++_i0)
|
2001
|
+
{
|
2002
|
+
if((*_i0))
|
2003
|
+
{
|
2004
|
+
if((::IceMX::upCast((*_i0).get())->__gcVisit(_v)))
|
2005
|
+
{
|
2006
|
+
(*_i0) = 0;
|
2007
|
+
}
|
2008
|
+
}
|
2009
|
+
}
|
2010
|
+
}
|
2011
|
+
{
|
2012
|
+
for(::IceMX::MetricsMap::iterator _i0 = collocated.begin(); _i0 != collocated.end(); ++_i0)
|
2013
|
+
{
|
2014
|
+
if((*_i0))
|
2015
|
+
{
|
2016
|
+
if((::IceMX::upCast((*_i0).get())->__gcVisit(_v)))
|
2017
|
+
{
|
2018
|
+
(*_i0) = 0;
|
2019
|
+
}
|
2020
|
+
}
|
2021
|
+
}
|
2022
|
+
}
|
2023
|
+
}
|
2024
|
+
|
2025
|
+
void
|
2026
|
+
IceMX::InvocationMetrics::__writeImpl(::IceInternal::BasicStream* __os) const
|
2027
|
+
{
|
2028
|
+
__os->startWriteSlice(ice_staticId(), -1, false);
|
2029
|
+
__os->write(retry);
|
2030
|
+
__os->write(userException);
|
2031
|
+
__os->write(remotes);
|
2032
|
+
__os->write(collocated);
|
2033
|
+
__os->endWriteSlice();
|
2034
|
+
::IceMX::Metrics::__writeImpl(__os);
|
2035
|
+
}
|
2036
|
+
|
2037
|
+
void
|
2038
|
+
IceMX::InvocationMetrics::__readImpl(::IceInternal::BasicStream* __is)
|
2039
|
+
{
|
2040
|
+
__is->startReadSlice();
|
2041
|
+
__is->read(retry);
|
2042
|
+
__is->read(userException);
|
2043
|
+
__is->read(remotes);
|
2044
|
+
__is->read(collocated);
|
2045
|
+
__is->endReadSlice();
|
2046
|
+
::IceMX::Metrics::__readImpl(__is);
|
2047
|
+
}
|
2048
|
+
|
2049
|
+
namespace
|
2050
|
+
{
|
2051
|
+
|
2052
|
+
const ::IceInternal::DefaultObjectFactoryInit< ::IceMX::InvocationMetrics> __IceMX__InvocationMetrics_init("::IceMX::InvocationMetrics");
|
2053
|
+
}
|
2054
|
+
|
2055
|
+
::Ice::ObjectFactoryPtr
|
2056
|
+
IceMX::InvocationMetrics::ice_factory()
|
2057
|
+
{
|
2058
|
+
return ::IceInternal::factoryTable->getObjectFactory(::IceMX::InvocationMetrics::ice_staticId());
|
2059
|
+
}
|
2060
|
+
|
2061
|
+
void ICE_DECLSPEC_EXPORT
|
2062
|
+
IceMX::__patch(InvocationMetricsPtr& handle, const ::Ice::ObjectPtr& v)
|
2063
|
+
{
|
2064
|
+
handle = ::IceMX::InvocationMetricsPtr::dynamicCast(v);
|
2065
|
+
if(v && !handle)
|
2066
|
+
{
|
2067
|
+
IceInternal::Ex::throwUOE(::IceMX::InvocationMetrics::ice_staticId(), v);
|
2068
|
+
}
|
2069
|
+
}
|
2070
|
+
|
2071
|
+
ICE_DECLSPEC_EXPORT ::Ice::Object* IceMX::upCast(::IceMX::ConnectionMetrics* p) { return p; }
|
2072
|
+
::Ice::ObjectPtr
|
2073
|
+
IceMX::ConnectionMetrics::ice_clone() const
|
2074
|
+
{
|
2075
|
+
::Ice::Object* __p = new ConnectionMetrics(*this);
|
2076
|
+
return __p;
|
2077
|
+
}
|
2078
|
+
|
2079
|
+
namespace
|
2080
|
+
{
|
2081
|
+
const ::std::string __IceMX__ConnectionMetrics_ids[3] =
|
2082
|
+
{
|
2083
|
+
"::Ice::Object",
|
2084
|
+
"::IceMX::ConnectionMetrics",
|
2085
|
+
"::IceMX::Metrics"
|
2086
|
+
};
|
2087
|
+
|
2088
|
+
}
|
2089
|
+
|
2090
|
+
bool
|
2091
|
+
IceMX::ConnectionMetrics::ice_isA(const ::std::string& _s, const ::Ice::Current&) const
|
2092
|
+
{
|
2093
|
+
return ::std::binary_search(__IceMX__ConnectionMetrics_ids, __IceMX__ConnectionMetrics_ids + 3, _s);
|
2094
|
+
}
|
2095
|
+
|
2096
|
+
::std::vector< ::std::string>
|
2097
|
+
IceMX::ConnectionMetrics::ice_ids(const ::Ice::Current&) const
|
2098
|
+
{
|
2099
|
+
return ::std::vector< ::std::string>(&__IceMX__ConnectionMetrics_ids[0], &__IceMX__ConnectionMetrics_ids[3]);
|
2100
|
+
}
|
2101
|
+
|
2102
|
+
const ::std::string&
|
2103
|
+
IceMX::ConnectionMetrics::ice_id(const ::Ice::Current&) const
|
2104
|
+
{
|
2105
|
+
return __IceMX__ConnectionMetrics_ids[1];
|
2106
|
+
}
|
2107
|
+
|
2108
|
+
const ::std::string&
|
2109
|
+
IceMX::ConnectionMetrics::ice_staticId()
|
2110
|
+
{
|
2111
|
+
#ifdef ICE_HAS_THREAD_SAFE_LOCAL_STATIC
|
2112
|
+
static const ::std::string typeId = "::IceMX::ConnectionMetrics";
|
2113
|
+
return typeId;
|
2114
|
+
#else
|
2115
|
+
return __IceMX__ConnectionMetrics_ids[1];
|
2116
|
+
#endif
|
2117
|
+
}
|
2118
|
+
|
2119
|
+
void
|
2120
|
+
IceMX::ConnectionMetrics::__writeImpl(::IceInternal::BasicStream* __os) const
|
2121
|
+
{
|
2122
|
+
__os->startWriteSlice(ice_staticId(), -1, false);
|
2123
|
+
__os->write(receivedBytes);
|
2124
|
+
__os->write(sentBytes);
|
2125
|
+
__os->endWriteSlice();
|
2126
|
+
::IceMX::Metrics::__writeImpl(__os);
|
2127
|
+
}
|
2128
|
+
|
2129
|
+
void
|
2130
|
+
IceMX::ConnectionMetrics::__readImpl(::IceInternal::BasicStream* __is)
|
2131
|
+
{
|
2132
|
+
__is->startReadSlice();
|
2133
|
+
__is->read(receivedBytes);
|
2134
|
+
__is->read(sentBytes);
|
2135
|
+
__is->endReadSlice();
|
2136
|
+
::IceMX::Metrics::__readImpl(__is);
|
2137
|
+
}
|
2138
|
+
|
2139
|
+
namespace
|
2140
|
+
{
|
2141
|
+
|
2142
|
+
const ::IceInternal::DefaultObjectFactoryInit< ::IceMX::ConnectionMetrics> __IceMX__ConnectionMetrics_init("::IceMX::ConnectionMetrics");
|
2143
|
+
}
|
2144
|
+
|
2145
|
+
::Ice::ObjectFactoryPtr
|
2146
|
+
IceMX::ConnectionMetrics::ice_factory()
|
2147
|
+
{
|
2148
|
+
return ::IceInternal::factoryTable->getObjectFactory(::IceMX::ConnectionMetrics::ice_staticId());
|
2149
|
+
}
|
2150
|
+
|
2151
|
+
void ICE_DECLSPEC_EXPORT
|
2152
|
+
IceMX::__patch(ConnectionMetricsPtr& handle, const ::Ice::ObjectPtr& v)
|
2153
|
+
{
|
2154
|
+
handle = ::IceMX::ConnectionMetricsPtr::dynamicCast(v);
|
2155
|
+
if(v && !handle)
|
2156
|
+
{
|
2157
|
+
IceInternal::Ex::throwUOE(::IceMX::ConnectionMetrics::ice_staticId(), v);
|
2158
|
+
}
|
2159
|
+
}
|