zeroc-ice 3.7.9.1 → 3.7.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/dist/IceRuby/Connection.cpp +536 -0
- data/dist/IceRuby/Endpoint.cpp +344 -0
- data/dist/IceRuby/ImplicitContext.cpp +148 -0
- data/dist/IceRuby/Logger.cpp +151 -0
- data/dist/IceRuby/Operation.cpp +665 -0
- data/dist/IceRuby/Properties.cpp +369 -0
- data/dist/IceRuby/Types.cpp +3336 -0
- data/dist/IceRuby/Types.h +604 -0
- data/dist/IceRuby/ValueFactoryManager.cpp +445 -0
- data/dist/ice/cpp/include/Ice/Config.h +76 -0
- data/dist/ice/cpp/include/Ice/ConsoleUtil.h +23 -0
- data/dist/ice/cpp/include/Ice/ExceptionHelpers.h +74 -0
- data/dist/ice/cpp/include/Ice/Ice.h +55 -0
- data/dist/ice/cpp/include/Ice/Initialize.h +957 -0
- data/dist/ice/cpp/include/Ice/MetricsObserverI.h +669 -0
- data/dist/ice/cpp/include/Ice/OutgoingAsync.h +868 -0
- data/dist/ice/cpp/include/Ice/Proxy.h +5171 -0
- data/dist/ice/cpp/include/Ice/SHA1.h +40 -0
- data/dist/ice/cpp/include/Ice/UserExceptionFactory.h +90 -0
- data/dist/ice/cpp/include/IceDiscovery/IceDiscovery.h +1889 -0
- data/dist/ice/cpp/include/IceLocatorDiscovery/IceLocatorDiscovery.h +1197 -0
- data/dist/ice/cpp/include/IceSSL/IceSSL.h +24 -0
- data/dist/ice/cpp/include/IceUtil/Cond.h +317 -0
- data/dist/ice/cpp/include/IceUtil/Config.h +392 -0
- data/dist/ice/cpp/include/IceUtil/ConsoleUtil.h +92 -0
- data/dist/ice/cpp/include/IceUtil/CtrlCHandler.h +96 -0
- data/dist/ice/cpp/include/IceUtil/FileUtil.h +140 -0
- data/dist/ice/cpp/include/IceUtil/IceUtil.h +40 -0
- data/dist/ice/cpp/include/IceUtil/InputUtil.h +42 -0
- data/dist/ice/cpp/include/IceUtil/Mutex.h +349 -0
- data/dist/ice/cpp/include/IceUtil/ResourceConfig.h +37 -0
- data/dist/ice/cpp/include/IceUtil/Thread.h +160 -0
- data/dist/ice/cpp/include/IceUtil/Timer.h +153 -0
- data/dist/ice/cpp/include/generated/Glacier2/Metrics.h +475 -0
- data/dist/ice/cpp/include/generated/Glacier2/PermissionsVerifier.h +1430 -0
- data/dist/ice/cpp/include/generated/Glacier2/PermissionsVerifierF.h +147 -0
- data/dist/ice/cpp/include/generated/Glacier2/Router.h +3260 -0
- data/dist/ice/cpp/include/generated/Glacier2/RouterF.h +125 -0
- data/dist/ice/cpp/include/generated/Glacier2/SSLInfo.h +223 -0
- data/dist/ice/cpp/include/generated/Glacier2/Session.h +5894 -0
- data/dist/ice/cpp/include/generated/Ice/BuiltinSequences.h +170 -0
- data/dist/ice/cpp/include/generated/Ice/Communicator.h +1162 -0
- data/dist/ice/cpp/include/generated/Ice/CommunicatorF.h +101 -0
- data/dist/ice/cpp/include/generated/Ice/Connection.h +1703 -0
- data/dist/ice/cpp/include/generated/Ice/ConnectionF.h +119 -0
- data/dist/ice/cpp/include/generated/Ice/Current.h +322 -0
- data/dist/ice/cpp/include/generated/Ice/Endpoint.h +979 -0
- data/dist/ice/cpp/include/generated/Ice/EndpointF.h +166 -0
- data/dist/ice/cpp/include/generated/Ice/EndpointTypes.h +118 -0
- data/dist/ice/cpp/include/generated/Ice/FacetMap.h +80 -0
- data/dist/ice/cpp/include/generated/Ice/Identity.h +264 -0
- data/dist/ice/cpp/include/generated/Ice/ImplicitContext.h +284 -0
- data/dist/ice/cpp/include/generated/Ice/ImplicitContextF.h +101 -0
- data/dist/ice/cpp/include/generated/Ice/Instrumentation.h +1203 -0
- data/dist/ice/cpp/include/generated/Ice/InstrumentationF.h +128 -0
- data/dist/ice/cpp/include/generated/Ice/LocalException.h +7437 -0
- data/dist/ice/cpp/include/generated/Ice/Locator.h +3898 -0
- data/dist/ice/cpp/include/generated/Ice/LocatorF.h +147 -0
- data/dist/ice/cpp/include/generated/Ice/Logger.h +237 -0
- data/dist/ice/cpp/include/generated/Ice/LoggerF.h +101 -0
- data/dist/ice/cpp/include/generated/Ice/Metrics.h +4769 -0
- data/dist/ice/cpp/include/generated/Ice/ObjectAdapter.h +1181 -0
- data/dist/ice/cpp/include/generated/Ice/ObjectAdapterF.h +101 -0
- data/dist/ice/cpp/include/generated/Ice/ObjectFactory.h +203 -0
- data/dist/ice/cpp/include/generated/Ice/Plugin.h +318 -0
- data/dist/ice/cpp/include/generated/Ice/PluginF.h +110 -0
- data/dist/ice/cpp/include/generated/Ice/Process.h +977 -0
- data/dist/ice/cpp/include/generated/Ice/ProcessF.h +125 -0
- data/dist/ice/cpp/include/generated/Ice/Properties.h +452 -0
- data/dist/ice/cpp/include/generated/Ice/PropertiesAdmin.h +1366 -0
- data/dist/ice/cpp/include/generated/Ice/PropertiesF.h +134 -0
- data/dist/ice/cpp/include/generated/Ice/RemoteLogger.h +2707 -0
- data/dist/ice/cpp/include/generated/Ice/Router.h +1850 -0
- data/dist/ice/cpp/include/generated/Ice/RouterF.h +125 -0
- data/dist/ice/cpp/include/generated/Ice/ServantLocator.h +305 -0
- data/dist/ice/cpp/include/generated/Ice/ServantLocatorF.h +101 -0
- data/dist/ice/cpp/include/generated/Ice/SliceChecksumDict.h +84 -0
- data/dist/ice/cpp/include/generated/Ice/ValueFactory.h +330 -0
- data/dist/ice/cpp/include/generated/Ice/Version.h +357 -0
- data/dist/ice/cpp/include/generated/IceBox/IceBox.h +3269 -0
- data/dist/ice/cpp/include/generated/IceGrid/Admin.h +33773 -0
- data/dist/ice/cpp/include/generated/IceGrid/Descriptor.h +5254 -0
- data/dist/ice/cpp/include/generated/IceGrid/Exception.h +2834 -0
- data/dist/ice/cpp/include/generated/IceGrid/FileParser.h +824 -0
- data/dist/ice/cpp/include/generated/IceGrid/PluginFacade.h +635 -0
- data/dist/ice/cpp/include/generated/IceGrid/Registry.h +5089 -0
- data/dist/ice/cpp/include/generated/IceGrid/Session.h +2240 -0
- data/dist/ice/cpp/include/generated/IceGrid/UserAccountMapper.h +800 -0
- data/dist/ice/cpp/include/generated/IcePatch2/FileInfo.h +325 -0
- data/dist/ice/cpp/include/generated/IcePatch2/FileServer.h +2891 -0
- data/dist/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +228 -0
- data/dist/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +101 -0
- data/dist/ice/cpp/include/generated/IceSSL/EndpointInfo.h +186 -0
- data/dist/ice/cpp/include/generated/IceStorm/IceStorm.h +6627 -0
- data/dist/ice/cpp/include/generated/IceStorm/Metrics.h +665 -0
- data/dist/ice/cpp/src/Ice/Acceptor.h +37 -0
- data/dist/ice/cpp/src/Ice/Application.cpp +661 -0
- data/dist/ice/cpp/src/Ice/ConnectionFactory.cpp +1972 -0
- data/dist/ice/cpp/src/Ice/ConnectionFactory.h +264 -0
- data/dist/ice/cpp/src/Ice/ConnectionI.cpp +3670 -0
- data/dist/ice/cpp/src/Ice/ConnectionI.h +389 -0
- data/dist/ice/cpp/src/Ice/CountDownLatch.cpp +171 -0
- data/dist/ice/cpp/src/Ice/DLLMain.cpp +50 -0
- data/dist/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +159 -0
- data/dist/ice/cpp/src/Ice/DynamicLibrary.cpp +284 -0
- data/dist/ice/cpp/src/Ice/EndpointFactory.cpp +189 -0
- data/dist/ice/cpp/src/Ice/EndpointI.cpp +98 -0
- data/dist/ice/cpp/src/Ice/EventHandler.cpp +32 -0
- data/dist/ice/cpp/src/Ice/EventHandler.h +81 -0
- data/dist/ice/cpp/src/Ice/Exception.cpp +818 -0
- data/dist/ice/cpp/src/Ice/IPEndpointI.cpp +710 -0
- data/dist/ice/cpp/src/Ice/IPEndpointI.h +152 -0
- data/dist/ice/cpp/src/Ice/InputStream.cpp +2741 -0
- data/dist/ice/cpp/src/Ice/Instance.cpp +1967 -0
- data/dist/ice/cpp/src/Ice/LoggerI.cpp +259 -0
- data/dist/ice/cpp/src/Ice/MetricsAdminI.cpp +694 -0
- data/dist/ice/cpp/src/Ice/Network.cpp +2249 -0
- data/dist/ice/cpp/src/Ice/Network.h +289 -0
- data/dist/ice/cpp/src/Ice/NetworkF.h +19 -0
- data/dist/ice/cpp/src/Ice/NetworkProxy.cpp +311 -0
- data/dist/ice/cpp/src/Ice/ObjectAdapterI.cpp +1530 -0
- data/dist/ice/cpp/src/Ice/OutgoingAsync.cpp +1322 -0
- data/dist/ice/cpp/src/Ice/PluginManagerI.cpp +503 -0
- data/dist/ice/cpp/src/Ice/PropertiesI.cpp +739 -0
- data/dist/ice/cpp/src/Ice/PropertyNames.cpp +1428 -0
- data/dist/ice/cpp/src/Ice/PropertyNames.h +78 -0
- data/dist/ice/cpp/src/Ice/Proxy.cpp +1604 -0
- data/dist/ice/cpp/src/Ice/SHA1.cpp +169 -0
- data/dist/ice/cpp/src/Ice/Selector.cpp +1535 -0
- data/dist/ice/cpp/src/Ice/Selector.h +292 -0
- data/dist/ice/cpp/src/Ice/Service.cpp +1883 -0
- data/dist/ice/cpp/src/Ice/StreamSocket.cpp +519 -0
- data/dist/ice/cpp/src/Ice/StreamSocket.h +85 -0
- data/dist/ice/cpp/src/Ice/TcpAcceptor.cpp +234 -0
- data/dist/ice/cpp/src/Ice/TcpAcceptor.h +61 -0
- data/dist/ice/cpp/src/Ice/TcpTransceiver.cpp +135 -0
- data/dist/ice/cpp/src/Ice/TcpTransceiver.h +58 -0
- data/dist/ice/cpp/src/Ice/Thread.cpp +569 -0
- data/dist/ice/cpp/src/Ice/ThreadPool.cpp +1292 -0
- data/dist/ice/cpp/src/Ice/ThreadPool.h +393 -0
- data/dist/ice/cpp/src/Ice/Transceiver.h +49 -0
- data/dist/ice/cpp/src/Ice/UdpConnector.cpp +131 -0
- data/dist/ice/cpp/src/Ice/UdpTransceiver.cpp +806 -0
- data/dist/ice/cpp/src/Ice/UdpTransceiver.h +96 -0
- data/dist/ice/cpp/src/Ice/WSAcceptor.cpp +92 -0
- data/dist/ice/cpp/src/Ice/WSAcceptor.h +52 -0
- data/dist/ice/cpp/src/Ice/WSTransceiver.cpp +1704 -0
- data/dist/ice/cpp/src/Ice/WSTransceiver.h +141 -0
- data/dist/ice/cpp/src/Ice/generated/BuiltinSequences.cpp +49 -0
- data/dist/ice/cpp/src/Ice/generated/Communicator.cpp +79 -0
- data/dist/ice/cpp/src/Ice/generated/CommunicatorF.cpp +61 -0
- data/dist/ice/cpp/src/Ice/generated/Connection.cpp +155 -0
- data/dist/ice/cpp/src/Ice/generated/ConnectionF.cpp +61 -0
- data/dist/ice/cpp/src/Ice/generated/Current.cpp +62 -0
- data/dist/ice/cpp/src/Ice/generated/Endpoint.cpp +147 -0
- data/dist/ice/cpp/src/Ice/generated/EndpointF.cpp +61 -0
- data/dist/ice/cpp/src/Ice/generated/EndpointTypes.cpp +51 -0
- data/dist/ice/cpp/src/Ice/generated/FacetMap.cpp +49 -0
- data/dist/ice/cpp/src/Ice/generated/Identity.cpp +57 -0
- data/dist/ice/cpp/src/Ice/generated/ImplicitContext.cpp +75 -0
- data/dist/ice/cpp/src/Ice/generated/ImplicitContextF.cpp +61 -0
- data/dist/ice/cpp/src/Ice/generated/Instrumentation.cpp +188 -0
- data/dist/ice/cpp/src/Ice/generated/InstrumentationF.cpp +66 -0
- data/dist/ice/cpp/src/Ice/generated/LocalException.cpp +3262 -0
- data/dist/ice/cpp/src/Ice/generated/Locator.cpp +2042 -0
- data/dist/ice/cpp/src/Ice/generated/LocatorF.cpp +63 -0
- data/dist/ice/cpp/src/Ice/generated/Logger.cpp +73 -0
- data/dist/ice/cpp/src/Ice/generated/LoggerF.cpp +61 -0
- data/dist/ice/cpp/src/Ice/generated/Metrics.cpp +2352 -0
- data/dist/ice/cpp/src/Ice/generated/ObjectAdapter.cpp +79 -0
- data/dist/ice/cpp/src/Ice/generated/ObjectAdapterF.cpp +61 -0
- data/dist/ice/cpp/src/Ice/generated/ObjectFactory.cpp +75 -0
- data/dist/ice/cpp/src/Ice/generated/Plugin.cpp +87 -0
- data/dist/ice/cpp/src/Ice/generated/PluginF.cpp +61 -0
- data/dist/ice/cpp/src/Ice/generated/Process.cpp +471 -0
- data/dist/ice/cpp/src/Ice/generated/ProcessF.cpp +63 -0
- data/dist/ice/cpp/src/Ice/generated/Properties.cpp +78 -0
- data/dist/ice/cpp/src/Ice/generated/PropertiesAdmin.cpp +603 -0
- data/dist/ice/cpp/src/Ice/generated/PropertiesF.cpp +63 -0
- data/dist/ice/cpp/src/Ice/generated/RemoteLogger.cpp +1171 -0
- data/dist/ice/cpp/src/Ice/generated/Router.cpp +977 -0
- data/dist/ice/cpp/src/Ice/generated/RouterF.cpp +63 -0
- data/dist/ice/cpp/src/Ice/generated/ServantLocator.cpp +75 -0
- data/dist/ice/cpp/src/Ice/generated/ServantLocatorF.cpp +61 -0
- data/dist/ice/cpp/src/Ice/generated/SliceChecksumDict.cpp +49 -0
- data/dist/ice/cpp/src/Ice/generated/ValueFactory.cpp +83 -0
- data/dist/ice/cpp/src/Ice/generated/Version.cpp +57 -0
- data/dist/ice/cpp/src/Ice/ios/StreamAcceptor.cpp +154 -0
- data/dist/ice/cpp/src/Ice/ios/StreamAcceptor.h +49 -0
- data/dist/ice/cpp/src/Ice/ios/StreamConnector.cpp +146 -0
- data/dist/ice/cpp/src/Ice/ios/StreamConnector.h +52 -0
- data/dist/ice/cpp/src/Ice/ios/StreamEndpointI.cpp +477 -0
- data/dist/ice/cpp/src/Ice/ios/StreamEndpointI.h +156 -0
- data/dist/ice/cpp/src/Ice/ios/StreamTransceiver.cpp +570 -0
- data/dist/ice/cpp/src/Ice/ios/StreamTransceiver.h +93 -0
- data/dist/ice/cpp/src/IceDiscovery/generated/IceDiscovery/IceDiscovery.h +1889 -0
- data/dist/ice/cpp/src/IceDiscovery/generated/IceDiscovery.cpp +915 -0
- data/dist/ice/cpp/src/IceLocatorDiscovery/generated/IceLocatorDiscovery/IceLocatorDiscovery.h +1197 -0
- data/dist/ice/cpp/src/IceLocatorDiscovery/generated/IceLocatorDiscovery.cpp +730 -0
- data/dist/ice/cpp/src/IceSSL/AcceptorI.cpp +105 -0
- data/dist/ice/cpp/src/IceSSL/AcceptorI.h +52 -0
- data/dist/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +1092 -0
- data/dist/ice/cpp/src/IceSSL/PluginI.cpp +246 -0
- data/dist/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +719 -0
- data/dist/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +868 -0
- data/dist/ice/cpp/src/IceSSL/Util.cpp +192 -0
- data/dist/ice/cpp/src/IceSSL/generated/ConnectionInfo.cpp +75 -0
- data/dist/ice/cpp/src/IceSSL/generated/ConnectionInfoF.cpp +61 -0
- data/dist/ice/cpp/src/IceSSL/generated/EndpointInfo.cpp +75 -0
- data/dist/ice/cpp/src/IceUtil/ConsoleUtil.cpp +157 -0
- data/dist/ice/cpp/src/IceUtil/FileUtil.cpp +471 -0
- data/dist/ice/cpp/src/IceUtil/RecMutex.cpp +238 -0
- data/dist/ice/cpp/src/IceUtil/StringConverter.cpp +690 -0
- data/dist/ice/cpp/src/IceUtil/StringUtil.cpp +1135 -0
- data/dist/ice/cpp/src/IceUtil/UUID.cpp +165 -0
- data/dist/ice/cpp/src/IceUtil/UtilException.cpp +839 -0
- data/dist/ice/cpp/src/Slice/JavaUtil.cpp +5183 -0
- data/dist/ice/cpp/src/Slice/JavaUtil.h +407 -0
- data/dist/ice/cpp/src/slice2rb/Main.cpp +35 -0
- data/dist/ice/mcpp/directive.c +1407 -0
- data/dist/ice/mcpp/internal.H +530 -0
- data/dist/ice/mcpp/mcpp_main.c +792 -0
- data/dist/ice/mcpp/support.c +1985 -0
- data/dist/ice/mcpp/system.c +2741 -0
- data/dist/ice/slice/Ice/Connection.ice +516 -0
- data/dist/ice/slice/Ice/Current.ice +170 -0
- data/dist/ice/slice/Ice/Locator.ice +239 -0
- data/dist/ice/slice/Ice/Metrics.ice +436 -0
- data/dist/ice/slice/Ice/ObjectAdapter.ice +710 -0
- data/dist/ice/slice/Ice/Properties.ice +244 -0
- data/dist/ice/slice/Ice/Router.ice +103 -0
- data/dist/ice/slice/IceGrid/PluginFacade.ice +329 -0
- data/dist/ice/slice/IceStorm/IceStorm.ice +414 -0
- data/dist/lib/Glacier2/Metrics.rb +56 -0
- data/dist/lib/Glacier2/PermissionsVerifier.rb +93 -0
- data/dist/lib/Glacier2/PermissionsVerifierF.rb +30 -0
- data/dist/lib/Glacier2/Router.rb +95 -0
- data/dist/lib/Glacier2/RouterF.rb +25 -0
- data/dist/lib/Glacier2/SSLInfo.rb +72 -0
- data/dist/lib/Glacier2/Session.rb +247 -0
- data/dist/lib/Ice/BuiltinSequences.rb +60 -0
- data/dist/lib/Ice/Communicator.rb +87 -0
- data/dist/lib/Ice/CommunicatorF.rb +24 -0
- data/dist/lib/Ice/Connection.rb +413 -0
- data/dist/lib/Ice/ConnectionF.rb +32 -0
- data/dist/lib/Ice/Current.rb +141 -0
- data/dist/lib/Ice/Endpoint.rb +187 -0
- data/dist/lib/Ice/EndpointF.rb +48 -0
- data/dist/lib/Ice/EndpointTypes.rb +69 -0
- data/dist/lib/Ice/FacetMap.rb +24 -0
- data/dist/lib/Ice/Identity.rb +63 -0
- data/dist/lib/Ice/ImplicitContext.rb +26 -0
- data/dist/lib/Ice/ImplicitContextF.rb +24 -0
- data/dist/lib/Ice/Instrumentation.rb +169 -0
- data/dist/lib/Ice/InstrumentationF.rb +31 -0
- data/dist/lib/Ice/LocalException.rb +1031 -0
- data/dist/lib/Ice/Locator.rb +196 -0
- data/dist/lib/Ice/LocatorF.rb +30 -0
- data/dist/lib/Ice/Logger.rb +24 -0
- data/dist/lib/Ice/LoggerF.rb +24 -0
- data/dist/lib/Ice/Metrics.rb +337 -0
- data/dist/lib/Ice/ObjectAdapter.rb +29 -0
- data/dist/lib/Ice/ObjectAdapterF.rb +24 -0
- data/dist/lib/Ice/ObjectFactory.rb +24 -0
- data/dist/lib/Ice/Plugin.rb +30 -0
- data/dist/lib/Ice/PluginF.rb +28 -0
- data/dist/lib/Ice/Process.rb +53 -0
- data/dist/lib/Ice/ProcessF.rb +25 -0
- data/dist/lib/Ice/Properties.rb +25 -0
- data/dist/lib/Ice/PropertiesAdmin.rb +63 -0
- data/dist/lib/Ice/PropertiesF.rb +29 -0
- data/dist/lib/Ice/RemoteLogger.rb +207 -0
- data/dist/lib/Ice/Router.rb +87 -0
- data/dist/lib/Ice/RouterF.rb +25 -0
- data/dist/lib/Ice/ServantLocator.rb +26 -0
- data/dist/lib/Ice/ServantLocatorF.rb +24 -0
- data/dist/lib/Ice/SliceChecksumDict.rb +24 -0
- data/dist/lib/Ice/ValueFactory.rb +28 -0
- data/dist/lib/Ice/Version.rb +90 -0
- data/dist/lib/IceBox/IceBox.rb +164 -0
- data/dist/lib/IceGrid/Admin.rb +1196 -0
- data/dist/lib/IceGrid/Descriptor.rb +1034 -0
- data/dist/lib/IceGrid/Exception.rb +376 -0
- data/dist/lib/IceGrid/FileParser.rb +65 -0
- data/dist/lib/IceGrid/PluginFacade.rb +35 -0
- data/dist/lib/IceGrid/Registry.rb +209 -0
- data/dist/lib/IceGrid/Session.rb +71 -0
- data/dist/lib/IceGrid/UserAccountMapper.rb +61 -0
- data/dist/lib/IcePatch2/FileInfo.rb +115 -0
- data/dist/lib/IcePatch2/FileServer.rb +123 -0
- data/dist/lib/IceStorm/IceStorm.rb +332 -0
- data/dist/lib/IceStorm/Metrics.rb +73 -0
- data/extconf.rb +91 -0
- data/ice.gemspec +21 -16
- metadata +715 -711
- data/ICE_LICENSE +0 -48
- data/LICENSE +0 -340
- data/MCPP_LICENSE +0 -29
- data/ext/Connection.cpp +0 -532
- data/ext/Endpoint.cpp +0 -340
- data/ext/ImplicitContext.cpp +0 -144
- data/ext/Logger.cpp +0 -147
- data/ext/Operation.cpp +0 -661
- data/ext/Properties.cpp +0 -365
- data/ext/Types.cpp +0 -3325
- data/ext/Types.h +0 -595
- data/ext/ValueFactoryManager.cpp +0 -441
- data/ext/extconf.rb +0 -97
- data/ext/ice/cpp/include/Ice/Config.h +0 -78
- data/ext/ice/cpp/include/Ice/ConsoleUtil.h +0 -23
- data/ext/ice/cpp/include/Ice/ExceptionHelpers.h +0 -74
- data/ext/ice/cpp/include/Ice/Ice.h +0 -55
- data/ext/ice/cpp/include/Ice/Initialize.h +0 -957
- data/ext/ice/cpp/include/Ice/MetricsObserverI.h +0 -669
- data/ext/ice/cpp/include/Ice/OutgoingAsync.h +0 -856
- data/ext/ice/cpp/include/Ice/Proxy.h +0 -5154
- data/ext/ice/cpp/include/Ice/SHA1.h +0 -42
- data/ext/ice/cpp/include/Ice/UserExceptionFactory.h +0 -88
- data/ext/ice/cpp/include/IceSSL/IceSSL.h +0 -28
- data/ext/ice/cpp/include/IceSSL/UWP.h +0 -62
- data/ext/ice/cpp/include/IceUtil/Cond.h +0 -317
- data/ext/ice/cpp/include/IceUtil/Config.h +0 -424
- data/ext/ice/cpp/include/IceUtil/ConsoleUtil.h +0 -92
- data/ext/ice/cpp/include/IceUtil/CtrlCHandler.h +0 -92
- data/ext/ice/cpp/include/IceUtil/FileUtil.h +0 -143
- data/ext/ice/cpp/include/IceUtil/IceUtil.h +0 -40
- data/ext/ice/cpp/include/IceUtil/InputUtil.h +0 -42
- data/ext/ice/cpp/include/IceUtil/Mutex.h +0 -353
- data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +0 -53
- data/ext/ice/cpp/include/IceUtil/Thread.h +0 -174
- data/ext/ice/cpp/include/IceUtil/Timer.h +0 -143
- data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +0 -170
- data/ext/ice/cpp/include/generated/Ice/Communicator.h +0 -1162
- data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +0 -101
- data/ext/ice/cpp/include/generated/Ice/Connection.h +0 -1703
- data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +0 -119
- data/ext/ice/cpp/include/generated/Ice/Current.h +0 -322
- data/ext/ice/cpp/include/generated/Ice/Endpoint.h +0 -979
- data/ext/ice/cpp/include/generated/Ice/EndpointF.h +0 -166
- data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +0 -118
- data/ext/ice/cpp/include/generated/Ice/FacetMap.h +0 -80
- data/ext/ice/cpp/include/generated/Ice/Identity.h +0 -264
- data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +0 -284
- data/ext/ice/cpp/include/generated/Ice/ImplicitContextF.h +0 -101
- data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +0 -1203
- data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +0 -128
- data/ext/ice/cpp/include/generated/Ice/LocalException.h +0 -7437
- data/ext/ice/cpp/include/generated/Ice/Locator.h +0 -3898
- data/ext/ice/cpp/include/generated/Ice/LocatorF.h +0 -147
- data/ext/ice/cpp/include/generated/Ice/Logger.h +0 -237
- data/ext/ice/cpp/include/generated/Ice/LoggerF.h +0 -101
- data/ext/ice/cpp/include/generated/Ice/Metrics.h +0 -4769
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +0 -1181
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapterF.h +0 -101
- data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +0 -203
- data/ext/ice/cpp/include/generated/Ice/Plugin.h +0 -318
- data/ext/ice/cpp/include/generated/Ice/PluginF.h +0 -110
- data/ext/ice/cpp/include/generated/Ice/Process.h +0 -977
- data/ext/ice/cpp/include/generated/Ice/ProcessF.h +0 -125
- data/ext/ice/cpp/include/generated/Ice/Properties.h +0 -452
- data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +0 -1366
- data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +0 -134
- data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +0 -2707
- data/ext/ice/cpp/include/generated/Ice/Router.h +0 -1850
- data/ext/ice/cpp/include/generated/Ice/RouterF.h +0 -125
- data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +0 -305
- data/ext/ice/cpp/include/generated/Ice/ServantLocatorF.h +0 -101
- data/ext/ice/cpp/include/generated/Ice/SliceChecksumDict.h +0 -84
- data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +0 -330
- data/ext/ice/cpp/include/generated/Ice/Version.h +0 -357
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +0 -228
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +0 -101
- data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +0 -186
- data/ext/ice/cpp/src/Ice/Acceptor.h +0 -37
- data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +0 -49
- data/ext/ice/cpp/src/Ice/Communicator.cpp +0 -79
- data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +0 -61
- data/ext/ice/cpp/src/Ice/Connection.cpp +0 -155
- data/ext/ice/cpp/src/Ice/ConnectionF.cpp +0 -61
- data/ext/ice/cpp/src/Ice/ConnectionFactory.cpp +0 -1972
- data/ext/ice/cpp/src/Ice/ConnectionFactory.h +0 -264
- data/ext/ice/cpp/src/Ice/ConnectionI.cpp +0 -3670
- data/ext/ice/cpp/src/Ice/ConnectionI.h +0 -391
- data/ext/ice/cpp/src/Ice/CountDownLatch.cpp +0 -179
- data/ext/ice/cpp/src/Ice/Current.cpp +0 -62
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +0 -161
- data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +0 -291
- data/ext/ice/cpp/src/Ice/Endpoint.cpp +0 -147
- data/ext/ice/cpp/src/Ice/EndpointF.cpp +0 -61
- data/ext/ice/cpp/src/Ice/EndpointFactory.cpp +0 -189
- data/ext/ice/cpp/src/Ice/EndpointI.cpp +0 -98
- data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +0 -51
- data/ext/ice/cpp/src/Ice/EventHandler.cpp +0 -32
- data/ext/ice/cpp/src/Ice/EventHandler.h +0 -81
- data/ext/ice/cpp/src/Ice/Exception.cpp +0 -845
- data/ext/ice/cpp/src/Ice/FacetMap.cpp +0 -49
- data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +0 -756
- data/ext/ice/cpp/src/Ice/IPEndpointI.h +0 -162
- data/ext/ice/cpp/src/Ice/Identity.cpp +0 -57
- data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +0 -75
- data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +0 -61
- data/ext/ice/cpp/src/Ice/InputStream.cpp +0 -2741
- data/ext/ice/cpp/src/Ice/Instance.cpp +0 -1971
- data/ext/ice/cpp/src/Ice/Instrumentation.cpp +0 -188
- data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +0 -66
- data/ext/ice/cpp/src/Ice/LocalException.cpp +0 -3262
- data/ext/ice/cpp/src/Ice/Locator.cpp +0 -2042
- data/ext/ice/cpp/src/Ice/LocatorF.cpp +0 -63
- data/ext/ice/cpp/src/Ice/Logger.cpp +0 -73
- data/ext/ice/cpp/src/Ice/LoggerF.cpp +0 -61
- data/ext/ice/cpp/src/Ice/LoggerI.cpp +0 -261
- data/ext/ice/cpp/src/Ice/Metrics.cpp +0 -2352
- data/ext/ice/cpp/src/Ice/MetricsAdminI.cpp +0 -694
- data/ext/ice/cpp/src/Ice/Network.cpp +0 -3075
- data/ext/ice/cpp/src/Ice/Network.h +0 -371
- data/ext/ice/cpp/src/Ice/NetworkF.h +0 -23
- data/ext/ice/cpp/src/Ice/NetworkProxy.cpp +0 -324
- data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +0 -79
- data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +0 -61
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +0 -1530
- data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +0 -75
- data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +0 -1322
- data/ext/ice/cpp/src/Ice/Plugin.cpp +0 -87
- data/ext/ice/cpp/src/Ice/PluginF.cpp +0 -61
- data/ext/ice/cpp/src/Ice/PluginManagerI.cpp +0 -503
- data/ext/ice/cpp/src/Ice/Process.cpp +0 -471
- data/ext/ice/cpp/src/Ice/ProcessF.cpp +0 -63
- data/ext/ice/cpp/src/Ice/Properties.cpp +0 -78
- data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +0 -603
- data/ext/ice/cpp/src/Ice/PropertiesF.cpp +0 -63
- data/ext/ice/cpp/src/Ice/PropertiesI.cpp +0 -747
- data/ext/ice/cpp/src/Ice/PropertyNames.cpp +0 -1429
- data/ext/ice/cpp/src/Ice/PropertyNames.h +0 -78
- data/ext/ice/cpp/src/Ice/Proxy.cpp +0 -1601
- data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +0 -1171
- data/ext/ice/cpp/src/Ice/Router.cpp +0 -977
- data/ext/ice/cpp/src/Ice/RouterF.cpp +0 -63
- data/ext/ice/cpp/src/Ice/SHA1.cpp +0 -185
- data/ext/ice/cpp/src/Ice/Selector.cpp +0 -1537
- data/ext/ice/cpp/src/Ice/Selector.h +0 -308
- data/ext/ice/cpp/src/Ice/ServantLocator.cpp +0 -75
- data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +0 -61
- data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +0 -49
- data/ext/ice/cpp/src/Ice/StreamSocket.cpp +0 -682
- data/ext/ice/cpp/src/Ice/StreamSocket.h +0 -92
- data/ext/ice/cpp/src/Ice/TcpAcceptor.cpp +0 -355
- data/ext/ice/cpp/src/Ice/TcpAcceptor.h +0 -69
- data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +0 -135
- data/ext/ice/cpp/src/Ice/TcpTransceiver.h +0 -58
- data/ext/ice/cpp/src/Ice/Thread.cpp +0 -811
- data/ext/ice/cpp/src/Ice/ThreadPool.cpp +0 -1328
- data/ext/ice/cpp/src/Ice/ThreadPool.h +0 -393
- data/ext/ice/cpp/src/Ice/Transceiver.h +0 -49
- data/ext/ice/cpp/src/Ice/UdpConnector.cpp +0 -136
- data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +0 -1153
- data/ext/ice/cpp/src/Ice/UdpTransceiver.h +0 -117
- data/ext/ice/cpp/src/Ice/ValueFactory.cpp +0 -83
- data/ext/ice/cpp/src/Ice/Version.cpp +0 -57
- data/ext/ice/cpp/src/Ice/WSAcceptor.cpp +0 -92
- data/ext/ice/cpp/src/Ice/WSAcceptor.h +0 -52
- data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +0 -1747
- data/ext/ice/cpp/src/Ice/WSTransceiver.h +0 -141
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +0 -915
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +0 -1889
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +0 -730
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +0 -1197
- data/ext/ice/cpp/src/IceSSL/AcceptorI.cpp +0 -105
- data/ext/ice/cpp/src/IceSSL/AcceptorI.h +0 -52
- data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +0 -75
- data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +0 -61
- data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +0 -75
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +0 -1092
- data/ext/ice/cpp/src/IceSSL/PluginI.cpp +0 -246
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +0 -719
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +0 -868
- data/ext/ice/cpp/src/IceSSL/UWPCertificateI.cpp +0 -266
- data/ext/ice/cpp/src/IceSSL/UWPEngine.cpp +0 -338
- data/ext/ice/cpp/src/IceSSL/UWPEngine.h +0 -41
- data/ext/ice/cpp/src/IceSSL/UWPEngineF.h +0 -26
- data/ext/ice/cpp/src/IceSSL/UWPPluginI.cpp +0 -89
- data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.cpp +0 -383
- data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.h +0 -71
- data/ext/ice/cpp/src/IceSSL/Util.cpp +0 -192
- data/ext/ice/cpp/src/IceUtil/ConsoleUtil.cpp +0 -157
- data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +0 -484
- data/ext/ice/cpp/src/IceUtil/RecMutex.cpp +0 -242
- data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +0 -690
- data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +0 -1180
- data/ext/ice/cpp/src/IceUtil/UUID.cpp +0 -169
- data/ext/ice/cpp/src/IceUtil/UtilException.cpp +0 -839
- data/ext/ice/cpp/src/Slice/JavaUtil.cpp +0 -5154
- data/ext/ice/cpp/src/Slice/JavaUtil.h +0 -398
- data/ext/ice/mcpp/CMakeLists.txt +0 -80
- data/ext/ice/mcpp/LICENSE +0 -29
- data/ext/ice/mcpp/Makefile +0 -63
- data/ext/ice/mcpp/README.md +0 -32
- data/ext/ice/mcpp/directive.c +0 -1404
- data/ext/ice/mcpp/internal.H +0 -530
- data/ext/ice/mcpp/main.c +0 -792
- data/ext/ice/mcpp/mcpp.gyp +0 -88
- data/ext/ice/mcpp/support.c +0 -1985
- data/ext/ice/mcpp/system.c +0 -2741
- data/lib/Glacier2/Metrics.rb +0 -56
- data/lib/Glacier2/PermissionsVerifier.rb +0 -93
- data/lib/Glacier2/PermissionsVerifierF.rb +0 -30
- data/lib/Glacier2/Router.rb +0 -95
- data/lib/Glacier2/RouterF.rb +0 -25
- data/lib/Glacier2/SSLInfo.rb +0 -72
- data/lib/Glacier2/Session.rb +0 -247
- data/lib/Ice/BuiltinSequences.rb +0 -60
- data/lib/Ice/Communicator.rb +0 -87
- data/lib/Ice/CommunicatorF.rb +0 -24
- data/lib/Ice/Connection.rb +0 -413
- data/lib/Ice/ConnectionF.rb +0 -32
- data/lib/Ice/Current.rb +0 -141
- data/lib/Ice/Endpoint.rb +0 -187
- data/lib/Ice/EndpointF.rb +0 -48
- data/lib/Ice/EndpointTypes.rb +0 -69
- data/lib/Ice/FacetMap.rb +0 -24
- data/lib/Ice/Identity.rb +0 -63
- data/lib/Ice/ImplicitContext.rb +0 -26
- data/lib/Ice/ImplicitContextF.rb +0 -24
- data/lib/Ice/Instrumentation.rb +0 -169
- data/lib/Ice/InstrumentationF.rb +0 -31
- data/lib/Ice/LocalException.rb +0 -1031
- data/lib/Ice/Locator.rb +0 -196
- data/lib/Ice/LocatorF.rb +0 -30
- data/lib/Ice/Logger.rb +0 -24
- data/lib/Ice/LoggerF.rb +0 -24
- data/lib/Ice/Metrics.rb +0 -337
- data/lib/Ice/ObjectAdapter.rb +0 -29
- data/lib/Ice/ObjectAdapterF.rb +0 -24
- data/lib/Ice/ObjectFactory.rb +0 -24
- data/lib/Ice/Plugin.rb +0 -30
- data/lib/Ice/PluginF.rb +0 -28
- data/lib/Ice/Process.rb +0 -53
- data/lib/Ice/ProcessF.rb +0 -25
- data/lib/Ice/Properties.rb +0 -25
- data/lib/Ice/PropertiesAdmin.rb +0 -63
- data/lib/Ice/PropertiesF.rb +0 -29
- data/lib/Ice/RemoteLogger.rb +0 -207
- data/lib/Ice/Router.rb +0 -87
- data/lib/Ice/RouterF.rb +0 -25
- data/lib/Ice/ServantLocator.rb +0 -26
- data/lib/Ice/ServantLocatorF.rb +0 -24
- data/lib/Ice/SliceChecksumDict.rb +0 -24
- data/lib/Ice/ValueFactory.rb +0 -28
- data/lib/Ice/Version.rb +0 -90
- data/lib/IceBox/IceBox.rb +0 -164
- data/lib/IceGrid/Admin.rb +0 -1196
- data/lib/IceGrid/Descriptor.rb +0 -1034
- data/lib/IceGrid/Exception.rb +0 -376
- data/lib/IceGrid/FileParser.rb +0 -65
- data/lib/IceGrid/PluginFacade.rb +0 -35
- data/lib/IceGrid/Registry.rb +0 -209
- data/lib/IceGrid/Session.rb +0 -71
- data/lib/IceGrid/UserAccountMapper.rb +0 -61
- data/lib/IcePatch2/FileInfo.rb +0 -115
- data/lib/IcePatch2/FileServer.rb +0 -123
- data/lib/IceStorm/IceStorm.rb +0 -332
- data/lib/IceStorm/Metrics.rb +0 -73
- data/slice/Ice/Connection.ice +0 -516
- data/slice/Ice/Current.ice +0 -170
- data/slice/Ice/Locator.ice +0 -239
- data/slice/Ice/Metrics.ice +0 -436
- data/slice/Ice/ObjectAdapter.ice +0 -710
- data/slice/Ice/Properties.ice +0 -244
- data/slice/Ice/Router.ice +0 -103
- data/slice/IceBT/ConnectionInfo.ice +0 -59
- data/slice/IceBT/EndpointInfo.ice +0 -57
- data/slice/IceBT/Types.ice +0 -45
- data/slice/IceDiscovery/IceDiscovery.ice +0 -98
- data/slice/IceGrid/PluginFacade.ice +0 -329
- data/slice/IceIAP/ConnectionInfo.ice +0 -74
- data/slice/IceIAP/EndpointInfo.ice +0 -68
- data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +0 -83
- data/slice/IceSSL/ConnectionInfo.ice +0 -54
- data/slice/IceSSL/ConnectionInfoF.ice +0 -31
- data/slice/IceSSL/EndpointInfo.ice +0 -45
- data/slice/IceStorm/IceStorm.ice +0 -414
- /data/{ext → dist/IceRuby}/Communicator.cpp +0 -0
- /data/{ext → dist/IceRuby}/Communicator.h +0 -0
- /data/{ext → dist/IceRuby}/Config.h +0 -0
- /data/{ext → dist/IceRuby}/Connection.h +0 -0
- /data/{ext → dist/IceRuby}/Endpoint.h +0 -0
- /data/{ext → dist/IceRuby}/ImplicitContext.h +0 -0
- /data/{ext → dist/IceRuby}/Init.cpp +0 -0
- /data/{ext → dist/IceRuby}/Logger.h +0 -0
- /data/{ext → dist/IceRuby}/Operation.h +0 -0
- /data/{ext → dist/IceRuby}/Properties.h +0 -0
- /data/{ext → dist/IceRuby}/Proxy.cpp +0 -0
- /data/{ext → dist/IceRuby}/Proxy.h +0 -0
- /data/{ext → dist/IceRuby}/Slice.cpp +0 -0
- /data/{ext → dist/IceRuby}/Slice.h +0 -0
- /data/{ext → dist/IceRuby}/Util.cpp +0 -0
- /data/{ext → dist/IceRuby}/Util.h +0 -0
- /data/{ext → dist/IceRuby}/ValueFactoryManager.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Application.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/AsyncResult.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/AsyncResultF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/BatchRequestInterceptor.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/BatchRequestQueueF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Buffer.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/CommunicatorAsync.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Comparable.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ConnectionAsync.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ConnectionIF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/DefaultValueFactory.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/DispatchInterceptor.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Dispatcher.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/DynamicLibrary.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/DynamicLibraryF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Exception.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/FactoryTable.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/FactoryTableInit.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Format.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Functional.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/GCObject.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Handle.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/IconvStringConverter.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Incoming.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/IncomingAsync.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/IncomingAsyncF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/InputStream.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/InstanceF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/InterfaceByValue.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/LocalObject.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/LocalObjectF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/LoggerUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/MetricsAdminI.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/MetricsFunctional.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/NativePropertiesAdmin.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Object.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ObjectF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ObserverHelper.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Optional.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/OutgoingAsyncF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/OutputStream.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Protocol.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ProxyF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ProxyFactoryF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ProxyHandle.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ReferenceF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/RegisterPlugins.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/RequestHandlerF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ResponseHandlerF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ServantManagerF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Service.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/SliceChecksums.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/SlicedData.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/SlicedDataF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/StreamHelpers.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/StringConverter.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ThreadPoolF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/UUID.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/UniquePtr.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/UniqueRef.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Value.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ValueF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceSSL/Config.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceSSL/OpenSSL.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceSSL/Plugin.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceSSL/SChannel.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceSSL/SecureTransport.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Atomic.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/CountDownLatch.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/DisableWarnings.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Exception.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Functional.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Handle.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Iterator.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Lock.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Monitor.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/MutexProtocol.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/MutexPtrLock.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/MutexPtrTryLock.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Optional.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Options.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/OutputUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/PopDisableWarnings.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/PushDisableWarnings.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Random.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/RecMutex.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/ScannerConfig.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/ScopedArray.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Shared.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/StopWatch.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/StringConverter.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/StringUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/ThreadException.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Time.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/UUID.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/UndefSysMacros.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ACM.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ACM.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ACMF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Acceptor.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/AcceptorF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ArgVector.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ArgVector.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/AsyncResult.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Base64.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Base64.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/BatchRequestQueue.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/BatchRequestQueue.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Buffer.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/CollocatedRequestHandler.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/CommunicatorI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/CommunicatorI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Cond.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ConnectRequestHandler.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ConnectRequestHandler.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ConnectRequestHandlerF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ConnectionFactoryF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ConnectionRequestHandler.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ConnectionRequestHandler.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Connector.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Connector.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ConnectorF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/DefaultsAndOverrides.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/DefaultsAndOverridesF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/DispatchInterceptor.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/EndpointFactory.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/EndpointFactoryF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/EndpointFactoryManager.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/EndpointFactoryManager.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/EndpointFactoryManagerF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/EndpointI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/EndpointIF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/EventHandlerF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/FactoryTable.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/FactoryTableInit.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/GCObject.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/HashUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/HttpParser.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/HttpParser.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/IPEndpointIF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/IconvStringConverter.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ImplicitContextI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ImplicitContextI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Incoming.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/IncomingAsync.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/IncomingRequest.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Initialize.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Instance.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/InstrumentationI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/InstrumentationI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/LocalObject.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/LocatorInfo.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/LocatorInfo.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/LocatorInfoF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/LoggerAdminI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/LoggerAdminI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/LoggerI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/LoggerUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/MetricsObserverI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/NetworkProxy.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/NetworkProxyF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/OSLogLoggerI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/OSLogLoggerI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Object.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ObjectAdapterFactory.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ObjectAdapterFactoryF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ObjectAdapterI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ObserverHelper.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/OpaqueEndpointI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/OpaqueEndpointI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/OutputStream.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/PluginManagerI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/PropertiesAdminI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/PropertiesAdminI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/PropertiesI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Protocol.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ProtocolInstance.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ProtocolInstance.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ProtocolInstanceF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ProtocolPluginFacade.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ProtocolPluginFacadeF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ProxyFactory.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ProxyFactory.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Reference.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Reference.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ReferenceFactory.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ReferenceFactory.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ReferenceFactoryF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RegisterPluginsInit.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RegisterPluginsInit.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ReplyStatus.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RequestHandler.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RequestHandler.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RequestHandlerFactory.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RequestHandlerFactory.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ResponseHandler.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ResponseHandler.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RetryQueue.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RetryQueue.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RetryQueueF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RouterInfo.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RouterInfo.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RouterInfoF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ServantManager.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ServantManager.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/SharedContext.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/SliceChecksums.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/SlicedData.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/StringConverterPlugin.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/StringUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/SysLoggerI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/SysLoggerI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/SystemdJournalI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/SystemdJournalI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/TcpConnector.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/TcpConnector.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/TcpEndpointI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/TcpEndpointI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Timer.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/TraceLevels.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/TraceLevels.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/TraceLevelsF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/TraceUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/TraceUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Transceiver.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/TransceiverF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/UdpConnector.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/UdpEndpointI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/UdpEndpointI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Value.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ValueFactoryManagerI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ValueFactoryManagerI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/VirtualShared.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/WSConnector.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/WSConnector.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/WSEndpoint.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/WSEndpoint.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceDiscovery/LocatorI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceDiscovery/LocatorI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceDiscovery/LookupI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceDiscovery/LookupI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceDiscovery/PluginI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceDiscovery/PluginI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceLocatorDiscovery/Plugin.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/CertificateI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/CertificateI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/ConnectorI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/ConnectorI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/EndpointI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/EndpointI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/Instance.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/Instance.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/InstanceF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLCertificateI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLEngine.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLEngineF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLPluginI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/PluginI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/RFC2253.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/RFC2253.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelCertificateI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelEngine.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelEngine.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelEngineF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelPluginI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelTransceiverI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SSLEngine.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SSLEngine.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SSLEngineF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportEngine.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportEngineF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportPluginI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/TrustManager.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/TrustManager.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/TrustManagerF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/Util.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/ConvertUTF.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/ConvertUTF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/CtrlCHandler.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/InputUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/MutexProtocol.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/Options.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/OutputUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/Random.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/Shared.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/ThreadException.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/Time.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/Unicode.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/Unicode.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/CPlusPlusUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/CPlusPlusUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Checksum.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Checksum.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/FileTracker.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/FileTracker.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Grammar.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Grammar.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/GrammarUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/MD5.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/MD5.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/MD5I.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/MD5I.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/PHPUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/PHPUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Parser.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Parser.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Preprocessor.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Preprocessor.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Python.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/PythonUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/PythonUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Ruby.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/RubyUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/RubyUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Scanner.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/SliceUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/StringLiteralUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Util.h +0 -0
- /data/{ext → dist}/ice/mcpp/config.h +0 -0
- /data/{ext → dist}/ice/mcpp/configed.H +0 -0
- /data/{ext → dist}/ice/mcpp/eval.c +0 -0
- /data/{ext → dist}/ice/mcpp/expand.c +0 -0
- /data/{ext → dist}/ice/mcpp/mbchar.c +0 -0
- /data/{ext → dist}/ice/mcpp/mcpp_lib.h +0 -0
- /data/{ext → dist}/ice/mcpp/mcpp_out.h +0 -0
- /data/{ext → dist}/ice/mcpp/system.H +0 -0
- /data/{slice → dist/ice/slice}/Glacier2/Metrics.ice +0 -0
- /data/{slice → dist/ice/slice}/Glacier2/PermissionsVerifier.ice +0 -0
- /data/{slice → dist/ice/slice}/Glacier2/PermissionsVerifierF.ice +0 -0
- /data/{slice → dist/ice/slice}/Glacier2/Router.ice +0 -0
- /data/{slice → dist/ice/slice}/Glacier2/RouterF.ice +0 -0
- /data/{slice → dist/ice/slice}/Glacier2/SSLInfo.ice +0 -0
- /data/{slice → dist/ice/slice}/Glacier2/Session.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/BuiltinSequences.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/Communicator.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/CommunicatorF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/ConnectionF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/Endpoint.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/EndpointF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/EndpointTypes.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/FacetMap.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/Identity.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/ImplicitContext.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/ImplicitContextF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/Instrumentation.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/InstrumentationF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/LocalException.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/LocatorF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/Logger.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/LoggerF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/ObjectAdapterF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/ObjectFactory.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/Plugin.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/PluginF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/Process.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/ProcessF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/PropertiesAdmin.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/PropertiesF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/RemoteLogger.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/RouterF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/ServantLocator.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/ServantLocatorF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/SliceChecksumDict.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/ValueFactory.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/Version.ice +0 -0
- /data/{slice → dist/ice/slice}/IceBox/IceBox.ice +0 -0
- /data/{slice → dist/ice/slice}/IceGrid/Admin.ice +0 -0
- /data/{slice → dist/ice/slice}/IceGrid/Descriptor.ice +0 -0
- /data/{slice → dist/ice/slice}/IceGrid/Exception.ice +0 -0
- /data/{slice → dist/ice/slice}/IceGrid/FileParser.ice +0 -0
- /data/{slice → dist/ice/slice}/IceGrid/Registry.ice +0 -0
- /data/{slice → dist/ice/slice}/IceGrid/Session.ice +0 -0
- /data/{slice → dist/ice/slice}/IceGrid/UserAccountMapper.ice +0 -0
- /data/{slice → dist/ice/slice}/IcePatch2/FileInfo.ice +0 -0
- /data/{slice → dist/ice/slice}/IcePatch2/FileServer.ice +0 -0
- /data/{slice → dist/ice/slice}/IceStorm/Metrics.ice +0 -0
- /data/{lib → dist/lib}/Glacier2.rb +0 -0
- /data/{lib → dist/lib}/Ice.rb +0 -0
- /data/{lib → dist/lib}/IceBox.rb +0 -0
- /data/{lib → dist/lib}/IceGrid.rb +0 -0
- /data/{lib → dist/lib}/IcePatch2.rb +0 -0
- /data/{lib → dist/lib}/IceStorm.rb +0 -0
- /data/{bin → scripts}/slice2rb +0 -0
|
@@ -0,0 +1,3269 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright (c) ZeroC, Inc. All rights reserved.
|
|
3
|
+
//
|
|
4
|
+
//
|
|
5
|
+
// Ice version 3.7.11
|
|
6
|
+
//
|
|
7
|
+
// <auto-generated>
|
|
8
|
+
//
|
|
9
|
+
// Generated from file `IceBox.ice'
|
|
10
|
+
//
|
|
11
|
+
// Warning: do not edit this file.
|
|
12
|
+
//
|
|
13
|
+
// </auto-generated>
|
|
14
|
+
//
|
|
15
|
+
|
|
16
|
+
#ifndef __IceBox_IceBox_h__
|
|
17
|
+
#define __IceBox_IceBox_h__
|
|
18
|
+
|
|
19
|
+
#include <IceUtil/PushDisableWarnings.h>
|
|
20
|
+
#include <Ice/ProxyF.h>
|
|
21
|
+
#include <Ice/ObjectF.h>
|
|
22
|
+
#include <Ice/ValueF.h>
|
|
23
|
+
#include <Ice/Exception.h>
|
|
24
|
+
#include <Ice/LocalObject.h>
|
|
25
|
+
#include <Ice/StreamHelpers.h>
|
|
26
|
+
#include <Ice/Comparable.h>
|
|
27
|
+
#include <Ice/Proxy.h>
|
|
28
|
+
#include <Ice/Object.h>
|
|
29
|
+
#include <Ice/GCObject.h>
|
|
30
|
+
#include <Ice/Value.h>
|
|
31
|
+
#include <Ice/Incoming.h>
|
|
32
|
+
#include <Ice/FactoryTableInit.h>
|
|
33
|
+
#include <IceUtil/ScopedArray.h>
|
|
34
|
+
#include <Ice/Optional.h>
|
|
35
|
+
#include <Ice/ExceptionHelpers.h>
|
|
36
|
+
#include <Ice/BuiltinSequences.h>
|
|
37
|
+
#include <Ice/CommunicatorF.h>
|
|
38
|
+
#include <Ice/PropertiesF.h>
|
|
39
|
+
#include <Ice/SliceChecksumDict.h>
|
|
40
|
+
#include <IceUtil/UndefSysMacros.h>
|
|
41
|
+
#include <IceBox/Config.h>
|
|
42
|
+
|
|
43
|
+
#ifndef ICE_IGNORE_VERSION
|
|
44
|
+
# if ICE_INT_VERSION / 100 != 307
|
|
45
|
+
# error Ice version mismatch!
|
|
46
|
+
# endif
|
|
47
|
+
# if ICE_INT_VERSION % 100 >= 50
|
|
48
|
+
# error Beta header file detected
|
|
49
|
+
# endif
|
|
50
|
+
# if ICE_INT_VERSION % 100 < 11
|
|
51
|
+
# error Ice patch level mismatch!
|
|
52
|
+
# endif
|
|
53
|
+
#endif
|
|
54
|
+
|
|
55
|
+
#ifndef ICEBOX_API
|
|
56
|
+
# if defined(ICE_STATIC_LIBS)
|
|
57
|
+
# define ICEBOX_API /**/
|
|
58
|
+
# elif defined(ICEBOX_API_EXPORTS)
|
|
59
|
+
# define ICEBOX_API ICE_DECLSPEC_EXPORT
|
|
60
|
+
# else
|
|
61
|
+
# define ICEBOX_API ICE_DECLSPEC_IMPORT
|
|
62
|
+
# endif
|
|
63
|
+
#endif
|
|
64
|
+
|
|
65
|
+
#ifdef ICE_CPP11_MAPPING // C++11 mapping
|
|
66
|
+
|
|
67
|
+
namespace IceBox
|
|
68
|
+
{
|
|
69
|
+
|
|
70
|
+
class Service;
|
|
71
|
+
class ServiceObserver;
|
|
72
|
+
class ServiceObserverPrx;
|
|
73
|
+
class ServiceManager;
|
|
74
|
+
class ServiceManagerPrx;
|
|
75
|
+
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
namespace IceBox
|
|
79
|
+
{
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* This exception is a general failure notification. It is thrown
|
|
83
|
+
* for errors such as a service encountering an error during
|
|
84
|
+
* initialization, or the service manager being unable
|
|
85
|
+
* to load a service executable.
|
|
86
|
+
* \headerfile IceBox/IceBox.h
|
|
87
|
+
*/
|
|
88
|
+
class ICE_CLASS(ICEBOX_API) FailureException : public ::Ice::LocalExceptionHelper<FailureException, ::Ice::LocalException>
|
|
89
|
+
{
|
|
90
|
+
public:
|
|
91
|
+
|
|
92
|
+
ICE_MEMBER(ICEBOX_API) virtual ~FailureException();
|
|
93
|
+
|
|
94
|
+
FailureException(const FailureException&) = default;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* The file and line number are required for all local exceptions.
|
|
98
|
+
* @param file The file name in which the exception was raised, typically __FILE__.
|
|
99
|
+
* @param line The line number at which the exception was raised, typically __LINE__.
|
|
100
|
+
*/
|
|
101
|
+
FailureException(const char* file, int line) : ::Ice::LocalExceptionHelper<FailureException, ::Ice::LocalException>(file, line)
|
|
102
|
+
{
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* One-shot constructor to initialize all data members.
|
|
107
|
+
* The file and line number are required for all local exceptions.
|
|
108
|
+
* @param file The file name in which the exception was raised, typically __FILE__.
|
|
109
|
+
* @param line The line number at which the exception was raised, typically __LINE__.
|
|
110
|
+
* @param reason The reason for the failure.
|
|
111
|
+
*/
|
|
112
|
+
FailureException(const char* file, int line, const ::std::string& reason) : ::Ice::LocalExceptionHelper<FailureException, ::Ice::LocalException>(file, line),
|
|
113
|
+
reason(reason)
|
|
114
|
+
{
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Obtains a tuple containing all of the exception's data members.
|
|
119
|
+
* @return The data members in a tuple.
|
|
120
|
+
*/
|
|
121
|
+
std::tuple<const ::std::string&> ice_tuple() const
|
|
122
|
+
{
|
|
123
|
+
return std::tie(reason);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Obtains the Slice type ID of this exception.
|
|
128
|
+
* @return The fully-scoped type ID.
|
|
129
|
+
*/
|
|
130
|
+
ICE_MEMBER(ICEBOX_API) static const ::std::string& ice_staticId();
|
|
131
|
+
/**
|
|
132
|
+
* Prints this exception to the given stream.
|
|
133
|
+
* @param stream The target stream.
|
|
134
|
+
*/
|
|
135
|
+
ICE_MEMBER(ICEBOX_API) virtual void ice_print(::std::ostream& stream) const override;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* The reason for the failure.
|
|
139
|
+
*/
|
|
140
|
+
::std::string reason;
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* This exception is thrown if an attempt is made to start an
|
|
145
|
+
* already-started service.
|
|
146
|
+
* \headerfile IceBox/IceBox.h
|
|
147
|
+
*/
|
|
148
|
+
class ICE_CLASS(ICEBOX_API) AlreadyStartedException : public ::Ice::UserExceptionHelper<AlreadyStartedException, ::Ice::UserException>
|
|
149
|
+
{
|
|
150
|
+
public:
|
|
151
|
+
|
|
152
|
+
ICE_MEMBER(ICEBOX_API) virtual ~AlreadyStartedException();
|
|
153
|
+
|
|
154
|
+
AlreadyStartedException(const AlreadyStartedException&) = default;
|
|
155
|
+
|
|
156
|
+
AlreadyStartedException() = default;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Obtains a tuple containing all of the exception's data members.
|
|
160
|
+
* @return The data members in a tuple.
|
|
161
|
+
*/
|
|
162
|
+
std::tuple<> ice_tuple() const
|
|
163
|
+
{
|
|
164
|
+
return std::tie();
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Obtains the Slice type ID of this exception.
|
|
169
|
+
* @return The fully-scoped type ID.
|
|
170
|
+
*/
|
|
171
|
+
ICE_MEMBER(ICEBOX_API) static const ::std::string& ice_staticId();
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
/// \cond INTERNAL
|
|
175
|
+
static AlreadyStartedException _iceS_AlreadyStartedException_init;
|
|
176
|
+
/// \endcond
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* This exception is thrown if an attempt is made to stop an
|
|
180
|
+
* already-stopped service.
|
|
181
|
+
* \headerfile IceBox/IceBox.h
|
|
182
|
+
*/
|
|
183
|
+
class ICE_CLASS(ICEBOX_API) AlreadyStoppedException : public ::Ice::UserExceptionHelper<AlreadyStoppedException, ::Ice::UserException>
|
|
184
|
+
{
|
|
185
|
+
public:
|
|
186
|
+
|
|
187
|
+
ICE_MEMBER(ICEBOX_API) virtual ~AlreadyStoppedException();
|
|
188
|
+
|
|
189
|
+
AlreadyStoppedException(const AlreadyStoppedException&) = default;
|
|
190
|
+
|
|
191
|
+
AlreadyStoppedException() = default;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Obtains a tuple containing all of the exception's data members.
|
|
195
|
+
* @return The data members in a tuple.
|
|
196
|
+
*/
|
|
197
|
+
std::tuple<> ice_tuple() const
|
|
198
|
+
{
|
|
199
|
+
return std::tie();
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Obtains the Slice type ID of this exception.
|
|
204
|
+
* @return The fully-scoped type ID.
|
|
205
|
+
*/
|
|
206
|
+
ICE_MEMBER(ICEBOX_API) static const ::std::string& ice_staticId();
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* This exception is thrown if a service name does not refer
|
|
211
|
+
* to an existing service.
|
|
212
|
+
* \headerfile IceBox/IceBox.h
|
|
213
|
+
*/
|
|
214
|
+
class ICE_CLASS(ICEBOX_API) NoSuchServiceException : public ::Ice::UserExceptionHelper<NoSuchServiceException, ::Ice::UserException>
|
|
215
|
+
{
|
|
216
|
+
public:
|
|
217
|
+
|
|
218
|
+
ICE_MEMBER(ICEBOX_API) virtual ~NoSuchServiceException();
|
|
219
|
+
|
|
220
|
+
NoSuchServiceException(const NoSuchServiceException&) = default;
|
|
221
|
+
|
|
222
|
+
NoSuchServiceException() = default;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Obtains a tuple containing all of the exception's data members.
|
|
226
|
+
* @return The data members in a tuple.
|
|
227
|
+
*/
|
|
228
|
+
std::tuple<> ice_tuple() const
|
|
229
|
+
{
|
|
230
|
+
return std::tie();
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Obtains the Slice type ID of this exception.
|
|
235
|
+
* @return The fully-scoped type ID.
|
|
236
|
+
*/
|
|
237
|
+
ICE_MEMBER(ICEBOX_API) static const ::std::string& ice_staticId();
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
namespace IceBox
|
|
243
|
+
{
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* An application service managed by a {@link ServiceManager}.
|
|
247
|
+
* \headerfile IceBox/IceBox.h
|
|
248
|
+
*/
|
|
249
|
+
class ICE_CLASS(ICEBOX_API) Service
|
|
250
|
+
{
|
|
251
|
+
public:
|
|
252
|
+
|
|
253
|
+
ICE_MEMBER(ICEBOX_API) virtual ~Service();
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Start the service. The given communicator is created by the
|
|
257
|
+
* {@link ServiceManager} for use by the service. This communicator may
|
|
258
|
+
* also be used by other services, depending on the service
|
|
259
|
+
* configuration.
|
|
260
|
+
*
|
|
261
|
+
* <p class="Note">The {@link ServiceManager} owns this communicator, and is
|
|
262
|
+
* responsible for destroying it.
|
|
263
|
+
* @param name The service's name, as determined by the
|
|
264
|
+
* configuration.
|
|
265
|
+
* @param communicator A communicator for use by the service.
|
|
266
|
+
* @param args The service arguments that were not converted into
|
|
267
|
+
* properties.
|
|
268
|
+
* @throws IceBox::FailureException Raised if {@link #start} failed.
|
|
269
|
+
*/
|
|
270
|
+
virtual void start(const ::std::string& name, const ::std::shared_ptr<::Ice::Communicator>& communicator, const ::Ice::StringSeq& args) = 0;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Stop the service.
|
|
274
|
+
*/
|
|
275
|
+
virtual void stop() = 0;
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
namespace IceBox
|
|
281
|
+
{
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* An Observer interface implemented by admin clients interested in the status
|
|
285
|
+
* of services.
|
|
286
|
+
* @see ServiceManager
|
|
287
|
+
* \headerfile IceBox/IceBox.h
|
|
288
|
+
*/
|
|
289
|
+
class ICEBOX_API ServiceObserver : public virtual ::Ice::Object
|
|
290
|
+
{
|
|
291
|
+
public:
|
|
292
|
+
|
|
293
|
+
using ProxyType = ServiceObserverPrx;
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* Determines whether this object supports an interface with the given Slice type ID.
|
|
297
|
+
* @param id The fully-scoped Slice type ID.
|
|
298
|
+
* @param current The Current object for the invocation.
|
|
299
|
+
* @return True if this object supports the interface, false, otherwise.
|
|
300
|
+
*/
|
|
301
|
+
virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
|
305
|
+
* @param current The Current object for the invocation.
|
|
306
|
+
* @return A list of fully-scoped type IDs.
|
|
307
|
+
*/
|
|
308
|
+
virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
|
312
|
+
* @param current The Current object for the invocation.
|
|
313
|
+
* @return A fully-scoped type ID.
|
|
314
|
+
*/
|
|
315
|
+
virtual ::std::string ice_id(const ::Ice::Current& current) const override;
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Obtains the Slice type ID corresponding to this class.
|
|
319
|
+
* @return A fully-scoped type ID.
|
|
320
|
+
*/
|
|
321
|
+
static const ::std::string& ice_staticId();
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* Receives the names of the services that were started.
|
|
325
|
+
* @param services The names of the services.
|
|
326
|
+
* @param current The Current object for the invocation.
|
|
327
|
+
*/
|
|
328
|
+
virtual void servicesStarted(::Ice::StringSeq services, const ::Ice::Current& current) = 0;
|
|
329
|
+
/// \cond INTERNAL
|
|
330
|
+
bool _iceD_servicesStarted(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
331
|
+
/// \endcond
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* Receives the names of the services that were stopped.
|
|
335
|
+
* @param services The names of the services.
|
|
336
|
+
* @param current The Current object for the invocation.
|
|
337
|
+
*/
|
|
338
|
+
virtual void servicesStopped(::Ice::StringSeq services, const ::Ice::Current& current) = 0;
|
|
339
|
+
/// \cond INTERNAL
|
|
340
|
+
bool _iceD_servicesStopped(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
341
|
+
/// \endcond
|
|
342
|
+
|
|
343
|
+
/// \cond INTERNAL
|
|
344
|
+
virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
|
|
345
|
+
/// \endcond
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* Administers a set of {@link Service} instances.
|
|
350
|
+
* @see Service
|
|
351
|
+
* \headerfile IceBox/IceBox.h
|
|
352
|
+
*/
|
|
353
|
+
class ICEBOX_API ServiceManager : public virtual ::Ice::Object
|
|
354
|
+
{
|
|
355
|
+
public:
|
|
356
|
+
|
|
357
|
+
using ProxyType = ServiceManagerPrx;
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Determines whether this object supports an interface with the given Slice type ID.
|
|
361
|
+
* @param id The fully-scoped Slice type ID.
|
|
362
|
+
* @param current The Current object for the invocation.
|
|
363
|
+
* @return True if this object supports the interface, false, otherwise.
|
|
364
|
+
*/
|
|
365
|
+
virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
|
369
|
+
* @param current The Current object for the invocation.
|
|
370
|
+
* @return A list of fully-scoped type IDs.
|
|
371
|
+
*/
|
|
372
|
+
virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
|
376
|
+
* @param current The Current object for the invocation.
|
|
377
|
+
* @return A fully-scoped type ID.
|
|
378
|
+
*/
|
|
379
|
+
virtual ::std::string ice_id(const ::Ice::Current& current) const override;
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Obtains the Slice type ID corresponding to this class.
|
|
383
|
+
* @return A fully-scoped type ID.
|
|
384
|
+
*/
|
|
385
|
+
static const ::std::string& ice_staticId();
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* Returns the checksums for the IceBox Slice definitions.
|
|
389
|
+
* @param current The Current object for the invocation.
|
|
390
|
+
* @return A dictionary mapping Slice type ids to their checksums.
|
|
391
|
+
*/
|
|
392
|
+
virtual ::Ice::SliceChecksumDict getSliceChecksums(const ::Ice::Current& current) const = 0;
|
|
393
|
+
/// \cond INTERNAL
|
|
394
|
+
bool _iceD_getSliceChecksums(::IceInternal::Incoming&, const ::Ice::Current&) const;
|
|
395
|
+
/// \endcond
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* Start an individual service.
|
|
399
|
+
* @param service The service name.
|
|
400
|
+
* @param current The Current object for the invocation.
|
|
401
|
+
* @throws IceBox::AlreadyStartedException If the service is already running.
|
|
402
|
+
* @throws IceBox::NoSuchServiceException If no service could be found with the given name.
|
|
403
|
+
*/
|
|
404
|
+
virtual void startService(::std::string service, const ::Ice::Current& current) = 0;
|
|
405
|
+
/// \cond INTERNAL
|
|
406
|
+
bool _iceD_startService(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
407
|
+
/// \endcond
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* Stop an individual service.
|
|
411
|
+
* @param service The service name.
|
|
412
|
+
* @param current The Current object for the invocation.
|
|
413
|
+
* @throws IceBox::AlreadyStoppedException If the service is already stopped.
|
|
414
|
+
* @throws IceBox::NoSuchServiceException If no service could be found with the given name.
|
|
415
|
+
*/
|
|
416
|
+
virtual void stopService(::std::string service, const ::Ice::Current& current) = 0;
|
|
417
|
+
/// \cond INTERNAL
|
|
418
|
+
bool _iceD_stopService(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
419
|
+
/// \endcond
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Registers a new observer with the ServiceManager.
|
|
423
|
+
* @param observer The new observer
|
|
424
|
+
* @param current The Current object for the invocation.
|
|
425
|
+
*/
|
|
426
|
+
virtual void addObserver(::std::shared_ptr<ServiceObserverPrx> observer, const ::Ice::Current& current) = 0;
|
|
427
|
+
/// \cond INTERNAL
|
|
428
|
+
bool _iceD_addObserver(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
429
|
+
/// \endcond
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Shut down all services. This causes stop to be invoked on all configured services.
|
|
433
|
+
* @param current The Current object for the invocation.
|
|
434
|
+
*/
|
|
435
|
+
virtual void shutdown(const ::Ice::Current& current) = 0;
|
|
436
|
+
/// \cond INTERNAL
|
|
437
|
+
bool _iceD_shutdown(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
438
|
+
/// \endcond
|
|
439
|
+
|
|
440
|
+
/// \cond INTERNAL
|
|
441
|
+
virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
|
|
442
|
+
/// \endcond
|
|
443
|
+
};
|
|
444
|
+
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
namespace IceBox
|
|
448
|
+
{
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* An Observer interface implemented by admin clients interested in the status
|
|
452
|
+
* of services.
|
|
453
|
+
* @see ServiceManager
|
|
454
|
+
* \headerfile IceBox/IceBox.h
|
|
455
|
+
*/
|
|
456
|
+
class ICE_CLASS(ICEBOX_API) ServiceObserverPrx : public virtual ::Ice::Proxy<ServiceObserverPrx, ::Ice::ObjectPrx>
|
|
457
|
+
{
|
|
458
|
+
public:
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* Receives the names of the services that were started.
|
|
462
|
+
* @param services The names of the services.
|
|
463
|
+
* @param context The Context map to send with the invocation.
|
|
464
|
+
*/
|
|
465
|
+
void servicesStarted(const ::Ice::StringSeq& services, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
466
|
+
{
|
|
467
|
+
_makePromiseOutgoing<void>(true, this, &ServiceObserverPrx::_iceI_servicesStarted, services, context).get();
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Receives the names of the services that were started.
|
|
472
|
+
* @param services The names of the services.
|
|
473
|
+
* @param context The Context map to send with the invocation.
|
|
474
|
+
* @return The future object for the invocation.
|
|
475
|
+
*/
|
|
476
|
+
template<template<typename> class P = ::std::promise>
|
|
477
|
+
auto servicesStartedAsync(const ::Ice::StringSeq& services, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
478
|
+
-> decltype(::std::declval<P<void>>().get_future())
|
|
479
|
+
{
|
|
480
|
+
return _makePromiseOutgoing<void, P>(false, this, &ServiceObserverPrx::_iceI_servicesStarted, services, context);
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* Receives the names of the services that were started.
|
|
485
|
+
* @param services The names of the services.
|
|
486
|
+
* @param response The response callback.
|
|
487
|
+
* @param ex The exception callback.
|
|
488
|
+
* @param sent The sent callback.
|
|
489
|
+
* @param context The Context map to send with the invocation.
|
|
490
|
+
* @return A function that can be called to cancel the invocation locally.
|
|
491
|
+
*/
|
|
492
|
+
::std::function<void()>
|
|
493
|
+
servicesStartedAsync(const ::Ice::StringSeq& services,
|
|
494
|
+
::std::function<void()> response,
|
|
495
|
+
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
|
496
|
+
::std::function<void(bool)> sent = nullptr,
|
|
497
|
+
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
498
|
+
{
|
|
499
|
+
return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceBox::ServiceObserverPrx::_iceI_servicesStarted, services, context);
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
/// \cond INTERNAL
|
|
503
|
+
ICE_MEMBER(ICEBOX_API) void _iceI_servicesStarted(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::StringSeq&, const ::Ice::Context&);
|
|
504
|
+
/// \endcond
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* Receives the names of the services that were stopped.
|
|
508
|
+
* @param services The names of the services.
|
|
509
|
+
* @param context The Context map to send with the invocation.
|
|
510
|
+
*/
|
|
511
|
+
void servicesStopped(const ::Ice::StringSeq& services, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
512
|
+
{
|
|
513
|
+
_makePromiseOutgoing<void>(true, this, &ServiceObserverPrx::_iceI_servicesStopped, services, context).get();
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* Receives the names of the services that were stopped.
|
|
518
|
+
* @param services The names of the services.
|
|
519
|
+
* @param context The Context map to send with the invocation.
|
|
520
|
+
* @return The future object for the invocation.
|
|
521
|
+
*/
|
|
522
|
+
template<template<typename> class P = ::std::promise>
|
|
523
|
+
auto servicesStoppedAsync(const ::Ice::StringSeq& services, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
524
|
+
-> decltype(::std::declval<P<void>>().get_future())
|
|
525
|
+
{
|
|
526
|
+
return _makePromiseOutgoing<void, P>(false, this, &ServiceObserverPrx::_iceI_servicesStopped, services, context);
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* Receives the names of the services that were stopped.
|
|
531
|
+
* @param services The names of the services.
|
|
532
|
+
* @param response The response callback.
|
|
533
|
+
* @param ex The exception callback.
|
|
534
|
+
* @param sent The sent callback.
|
|
535
|
+
* @param context The Context map to send with the invocation.
|
|
536
|
+
* @return A function that can be called to cancel the invocation locally.
|
|
537
|
+
*/
|
|
538
|
+
::std::function<void()>
|
|
539
|
+
servicesStoppedAsync(const ::Ice::StringSeq& services,
|
|
540
|
+
::std::function<void()> response,
|
|
541
|
+
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
|
542
|
+
::std::function<void(bool)> sent = nullptr,
|
|
543
|
+
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
544
|
+
{
|
|
545
|
+
return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceBox::ServiceObserverPrx::_iceI_servicesStopped, services, context);
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
/// \cond INTERNAL
|
|
549
|
+
ICE_MEMBER(ICEBOX_API) void _iceI_servicesStopped(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::StringSeq&, const ::Ice::Context&);
|
|
550
|
+
/// \endcond
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* Obtains the Slice type ID of this interface.
|
|
554
|
+
* @return The fully-scoped type ID.
|
|
555
|
+
*/
|
|
556
|
+
ICE_MEMBER(ICEBOX_API) static const ::std::string& ice_staticId();
|
|
557
|
+
|
|
558
|
+
protected:
|
|
559
|
+
|
|
560
|
+
/// \cond INTERNAL
|
|
561
|
+
ServiceObserverPrx() = default;
|
|
562
|
+
friend ::std::shared_ptr<ServiceObserverPrx> IceInternal::createProxy<ServiceObserverPrx>();
|
|
563
|
+
|
|
564
|
+
ICE_MEMBER(ICEBOX_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
|
|
565
|
+
/// \endcond
|
|
566
|
+
};
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* Administers a set of {@link Service} instances.
|
|
570
|
+
* @see Service
|
|
571
|
+
* \headerfile IceBox/IceBox.h
|
|
572
|
+
*/
|
|
573
|
+
class ICE_CLASS(ICEBOX_API) ServiceManagerPrx : public virtual ::Ice::Proxy<ServiceManagerPrx, ::Ice::ObjectPrx>
|
|
574
|
+
{
|
|
575
|
+
public:
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* Returns the checksums for the IceBox Slice definitions.
|
|
579
|
+
* @param context The Context map to send with the invocation.
|
|
580
|
+
* @return A dictionary mapping Slice type ids to their checksums.
|
|
581
|
+
*/
|
|
582
|
+
::Ice::SliceChecksumDict getSliceChecksums(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
583
|
+
{
|
|
584
|
+
return _makePromiseOutgoing<::Ice::SliceChecksumDict>(true, this, &ServiceManagerPrx::_iceI_getSliceChecksums, context).get();
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* Returns the checksums for the IceBox Slice definitions.
|
|
589
|
+
* @param context The Context map to send with the invocation.
|
|
590
|
+
* @return The future object for the invocation.
|
|
591
|
+
*/
|
|
592
|
+
template<template<typename> class P = ::std::promise>
|
|
593
|
+
auto getSliceChecksumsAsync(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
594
|
+
-> decltype(::std::declval<P<::Ice::SliceChecksumDict>>().get_future())
|
|
595
|
+
{
|
|
596
|
+
return _makePromiseOutgoing<::Ice::SliceChecksumDict, P>(false, this, &ServiceManagerPrx::_iceI_getSliceChecksums, context);
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* Returns the checksums for the IceBox Slice definitions.
|
|
601
|
+
* @param response The response callback.
|
|
602
|
+
* @param ex The exception callback.
|
|
603
|
+
* @param sent The sent callback.
|
|
604
|
+
* @param context The Context map to send with the invocation.
|
|
605
|
+
* @return A function that can be called to cancel the invocation locally.
|
|
606
|
+
*/
|
|
607
|
+
::std::function<void()>
|
|
608
|
+
getSliceChecksumsAsync(::std::function<void(::Ice::SliceChecksumDict)> response,
|
|
609
|
+
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
|
610
|
+
::std::function<void(bool)> sent = nullptr,
|
|
611
|
+
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
612
|
+
{
|
|
613
|
+
return _makeLambdaOutgoing<::Ice::SliceChecksumDict>(std::move(response), std::move(ex), std::move(sent), this, &IceBox::ServiceManagerPrx::_iceI_getSliceChecksums, context);
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
/// \cond INTERNAL
|
|
617
|
+
ICE_MEMBER(ICEBOX_API) void _iceI_getSliceChecksums(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::Ice::SliceChecksumDict>>&, const ::Ice::Context&);
|
|
618
|
+
/// \endcond
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* Start an individual service.
|
|
622
|
+
* @param service The service name.
|
|
623
|
+
* @param context The Context map to send with the invocation.
|
|
624
|
+
* @throws IceBox::AlreadyStartedException If the service is already running.
|
|
625
|
+
* @throws IceBox::NoSuchServiceException If no service could be found with the given name.
|
|
626
|
+
*/
|
|
627
|
+
void startService(const ::std::string& service, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
628
|
+
{
|
|
629
|
+
_makePromiseOutgoing<void>(true, this, &ServiceManagerPrx::_iceI_startService, service, context).get();
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* Start an individual service.
|
|
634
|
+
* @param service The service name.
|
|
635
|
+
* @param context The Context map to send with the invocation.
|
|
636
|
+
* @return The future object for the invocation.
|
|
637
|
+
*/
|
|
638
|
+
template<template<typename> class P = ::std::promise>
|
|
639
|
+
auto startServiceAsync(const ::std::string& service, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
640
|
+
-> decltype(::std::declval<P<void>>().get_future())
|
|
641
|
+
{
|
|
642
|
+
return _makePromiseOutgoing<void, P>(false, this, &ServiceManagerPrx::_iceI_startService, service, context);
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* Start an individual service.
|
|
647
|
+
* @param service The service name.
|
|
648
|
+
* @param response The response callback.
|
|
649
|
+
* @param ex The exception callback.
|
|
650
|
+
* @param sent The sent callback.
|
|
651
|
+
* @param context The Context map to send with the invocation.
|
|
652
|
+
* @return A function that can be called to cancel the invocation locally.
|
|
653
|
+
*/
|
|
654
|
+
::std::function<void()>
|
|
655
|
+
startServiceAsync(const ::std::string& service,
|
|
656
|
+
::std::function<void()> response,
|
|
657
|
+
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
|
658
|
+
::std::function<void(bool)> sent = nullptr,
|
|
659
|
+
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
660
|
+
{
|
|
661
|
+
return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceBox::ServiceManagerPrx::_iceI_startService, service, context);
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
/// \cond INTERNAL
|
|
665
|
+
ICE_MEMBER(ICEBOX_API) void _iceI_startService(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::Ice::Context&);
|
|
666
|
+
/// \endcond
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* Stop an individual service.
|
|
670
|
+
* @param service The service name.
|
|
671
|
+
* @param context The Context map to send with the invocation.
|
|
672
|
+
* @throws IceBox::AlreadyStoppedException If the service is already stopped.
|
|
673
|
+
* @throws IceBox::NoSuchServiceException If no service could be found with the given name.
|
|
674
|
+
*/
|
|
675
|
+
void stopService(const ::std::string& service, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
676
|
+
{
|
|
677
|
+
_makePromiseOutgoing<void>(true, this, &ServiceManagerPrx::_iceI_stopService, service, context).get();
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* Stop an individual service.
|
|
682
|
+
* @param service The service name.
|
|
683
|
+
* @param context The Context map to send with the invocation.
|
|
684
|
+
* @return The future object for the invocation.
|
|
685
|
+
*/
|
|
686
|
+
template<template<typename> class P = ::std::promise>
|
|
687
|
+
auto stopServiceAsync(const ::std::string& service, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
688
|
+
-> decltype(::std::declval<P<void>>().get_future())
|
|
689
|
+
{
|
|
690
|
+
return _makePromiseOutgoing<void, P>(false, this, &ServiceManagerPrx::_iceI_stopService, service, context);
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* Stop an individual service.
|
|
695
|
+
* @param service The service name.
|
|
696
|
+
* @param response The response callback.
|
|
697
|
+
* @param ex The exception callback.
|
|
698
|
+
* @param sent The sent callback.
|
|
699
|
+
* @param context The Context map to send with the invocation.
|
|
700
|
+
* @return A function that can be called to cancel the invocation locally.
|
|
701
|
+
*/
|
|
702
|
+
::std::function<void()>
|
|
703
|
+
stopServiceAsync(const ::std::string& service,
|
|
704
|
+
::std::function<void()> response,
|
|
705
|
+
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
|
706
|
+
::std::function<void(bool)> sent = nullptr,
|
|
707
|
+
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
708
|
+
{
|
|
709
|
+
return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceBox::ServiceManagerPrx::_iceI_stopService, service, context);
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
/// \cond INTERNAL
|
|
713
|
+
ICE_MEMBER(ICEBOX_API) void _iceI_stopService(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::Ice::Context&);
|
|
714
|
+
/// \endcond
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* Registers a new observer with the ServiceManager.
|
|
718
|
+
* @param observer The new observer
|
|
719
|
+
* @param context The Context map to send with the invocation.
|
|
720
|
+
*/
|
|
721
|
+
void addObserver(const ::std::shared_ptr<ServiceObserverPrx>& observer, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
722
|
+
{
|
|
723
|
+
_makePromiseOutgoing<void>(true, this, &ServiceManagerPrx::_iceI_addObserver, observer, context).get();
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* Registers a new observer with the ServiceManager.
|
|
728
|
+
* @param observer The new observer
|
|
729
|
+
* @param context The Context map to send with the invocation.
|
|
730
|
+
* @return The future object for the invocation.
|
|
731
|
+
*/
|
|
732
|
+
template<template<typename> class P = ::std::promise>
|
|
733
|
+
auto addObserverAsync(const ::std::shared_ptr<ServiceObserverPrx>& observer, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
734
|
+
-> decltype(::std::declval<P<void>>().get_future())
|
|
735
|
+
{
|
|
736
|
+
return _makePromiseOutgoing<void, P>(false, this, &ServiceManagerPrx::_iceI_addObserver, observer, context);
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* Registers a new observer with the ServiceManager.
|
|
741
|
+
* @param observer The new observer
|
|
742
|
+
* @param response The response callback.
|
|
743
|
+
* @param ex The exception callback.
|
|
744
|
+
* @param sent The sent callback.
|
|
745
|
+
* @param context The Context map to send with the invocation.
|
|
746
|
+
* @return A function that can be called to cancel the invocation locally.
|
|
747
|
+
*/
|
|
748
|
+
::std::function<void()>
|
|
749
|
+
addObserverAsync(const ::std::shared_ptr<ServiceObserverPrx>& observer,
|
|
750
|
+
::std::function<void()> response,
|
|
751
|
+
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
|
752
|
+
::std::function<void(bool)> sent = nullptr,
|
|
753
|
+
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
754
|
+
{
|
|
755
|
+
return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceBox::ServiceManagerPrx::_iceI_addObserver, observer, context);
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
/// \cond INTERNAL
|
|
759
|
+
ICE_MEMBER(ICEBOX_API) void _iceI_addObserver(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::shared_ptr<ServiceObserverPrx>&, const ::Ice::Context&);
|
|
760
|
+
/// \endcond
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* Shut down all services. This causes stop to be invoked on all configured services.
|
|
764
|
+
* @param context The Context map to send with the invocation.
|
|
765
|
+
*/
|
|
766
|
+
void shutdown(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
767
|
+
{
|
|
768
|
+
_makePromiseOutgoing<void>(true, this, &ServiceManagerPrx::_iceI_shutdown, context).get();
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
/**
|
|
772
|
+
* Shut down all services. This causes stop to be invoked on all configured services.
|
|
773
|
+
* @param context The Context map to send with the invocation.
|
|
774
|
+
* @return The future object for the invocation.
|
|
775
|
+
*/
|
|
776
|
+
template<template<typename> class P = ::std::promise>
|
|
777
|
+
auto shutdownAsync(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
778
|
+
-> decltype(::std::declval<P<void>>().get_future())
|
|
779
|
+
{
|
|
780
|
+
return _makePromiseOutgoing<void, P>(false, this, &ServiceManagerPrx::_iceI_shutdown, context);
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* Shut down all services. This causes stop to be invoked on all configured services.
|
|
785
|
+
* @param response The response callback.
|
|
786
|
+
* @param ex The exception callback.
|
|
787
|
+
* @param sent The sent callback.
|
|
788
|
+
* @param context The Context map to send with the invocation.
|
|
789
|
+
* @return A function that can be called to cancel the invocation locally.
|
|
790
|
+
*/
|
|
791
|
+
::std::function<void()>
|
|
792
|
+
shutdownAsync(::std::function<void()> response,
|
|
793
|
+
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
|
794
|
+
::std::function<void(bool)> sent = nullptr,
|
|
795
|
+
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
796
|
+
{
|
|
797
|
+
return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &IceBox::ServiceManagerPrx::_iceI_shutdown, context);
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
/// \cond INTERNAL
|
|
801
|
+
ICE_MEMBER(ICEBOX_API) void _iceI_shutdown(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::Context&);
|
|
802
|
+
/// \endcond
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* Obtains the Slice type ID of this interface.
|
|
806
|
+
* @return The fully-scoped type ID.
|
|
807
|
+
*/
|
|
808
|
+
ICE_MEMBER(ICEBOX_API) static const ::std::string& ice_staticId();
|
|
809
|
+
|
|
810
|
+
protected:
|
|
811
|
+
|
|
812
|
+
/// \cond INTERNAL
|
|
813
|
+
ServiceManagerPrx() = default;
|
|
814
|
+
friend ::std::shared_ptr<ServiceManagerPrx> IceInternal::createProxy<ServiceManagerPrx>();
|
|
815
|
+
|
|
816
|
+
ICE_MEMBER(ICEBOX_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
|
|
817
|
+
/// \endcond
|
|
818
|
+
};
|
|
819
|
+
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
/// \cond STREAM
|
|
823
|
+
namespace Ice
|
|
824
|
+
{
|
|
825
|
+
|
|
826
|
+
}
|
|
827
|
+
/// \endcond
|
|
828
|
+
|
|
829
|
+
/// \cond INTERNAL
|
|
830
|
+
namespace IceBox
|
|
831
|
+
{
|
|
832
|
+
|
|
833
|
+
using ServicePtr = ::std::shared_ptr<Service>;
|
|
834
|
+
|
|
835
|
+
using ServiceObserverPtr = ::std::shared_ptr<ServiceObserver>;
|
|
836
|
+
using ServiceObserverPrxPtr = ::std::shared_ptr<ServiceObserverPrx>;
|
|
837
|
+
|
|
838
|
+
using ServiceManagerPtr = ::std::shared_ptr<ServiceManager>;
|
|
839
|
+
using ServiceManagerPrxPtr = ::std::shared_ptr<ServiceManagerPrx>;
|
|
840
|
+
|
|
841
|
+
}
|
|
842
|
+
/// \endcond
|
|
843
|
+
|
|
844
|
+
#else // C++98 mapping
|
|
845
|
+
|
|
846
|
+
namespace IceProxy
|
|
847
|
+
{
|
|
848
|
+
|
|
849
|
+
namespace IceBox
|
|
850
|
+
{
|
|
851
|
+
|
|
852
|
+
class ServiceObserver;
|
|
853
|
+
/// \cond INTERNAL
|
|
854
|
+
ICEBOX_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ServiceObserver>&);
|
|
855
|
+
ICEBOX_API ::IceProxy::Ice::Object* upCast(ServiceObserver*);
|
|
856
|
+
/// \endcond
|
|
857
|
+
|
|
858
|
+
class ServiceManager;
|
|
859
|
+
/// \cond INTERNAL
|
|
860
|
+
ICEBOX_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ServiceManager>&);
|
|
861
|
+
ICEBOX_API ::IceProxy::Ice::Object* upCast(ServiceManager*);
|
|
862
|
+
/// \endcond
|
|
863
|
+
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
namespace IceBox
|
|
869
|
+
{
|
|
870
|
+
|
|
871
|
+
class Service;
|
|
872
|
+
/// \cond INTERNAL
|
|
873
|
+
ICEBOX_API ::Ice::LocalObject* upCast(Service*);
|
|
874
|
+
/// \endcond
|
|
875
|
+
typedef ::IceInternal::Handle< Service> ServicePtr;
|
|
876
|
+
|
|
877
|
+
class ServiceObserver;
|
|
878
|
+
/// \cond INTERNAL
|
|
879
|
+
ICEBOX_API ::Ice::Object* upCast(ServiceObserver*);
|
|
880
|
+
/// \endcond
|
|
881
|
+
typedef ::IceInternal::Handle< ServiceObserver> ServiceObserverPtr;
|
|
882
|
+
typedef ::IceInternal::ProxyHandle< ::IceProxy::IceBox::ServiceObserver> ServiceObserverPrx;
|
|
883
|
+
typedef ServiceObserverPrx ServiceObserverPrxPtr;
|
|
884
|
+
/// \cond INTERNAL
|
|
885
|
+
ICEBOX_API void _icePatchObjectPtr(ServiceObserverPtr&, const ::Ice::ObjectPtr&);
|
|
886
|
+
/// \endcond
|
|
887
|
+
|
|
888
|
+
class ServiceManager;
|
|
889
|
+
/// \cond INTERNAL
|
|
890
|
+
ICEBOX_API ::Ice::Object* upCast(ServiceManager*);
|
|
891
|
+
/// \endcond
|
|
892
|
+
typedef ::IceInternal::Handle< ServiceManager> ServiceManagerPtr;
|
|
893
|
+
typedef ::IceInternal::ProxyHandle< ::IceProxy::IceBox::ServiceManager> ServiceManagerPrx;
|
|
894
|
+
typedef ServiceManagerPrx ServiceManagerPrxPtr;
|
|
895
|
+
/// \cond INTERNAL
|
|
896
|
+
ICEBOX_API void _icePatchObjectPtr(ServiceManagerPtr&, const ::Ice::ObjectPtr&);
|
|
897
|
+
/// \endcond
|
|
898
|
+
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
namespace IceBox
|
|
902
|
+
{
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* This exception is a general failure notification. It is thrown
|
|
906
|
+
* for errors such as a service encountering an error during
|
|
907
|
+
* initialization, or the service manager being unable
|
|
908
|
+
* to load a service executable.
|
|
909
|
+
* \headerfile IceBox/IceBox.h
|
|
910
|
+
*/
|
|
911
|
+
class ICEBOX_API FailureException : public ::Ice::LocalException
|
|
912
|
+
{
|
|
913
|
+
public:
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* The file and line number are required for all local exceptions.
|
|
917
|
+
* @param file The file name in which the exception was raised, typically __FILE__.
|
|
918
|
+
* @param line The line number at which the exception was raised, typically __LINE__.
|
|
919
|
+
*/
|
|
920
|
+
FailureException(const char* file, int line);
|
|
921
|
+
/**
|
|
922
|
+
* One-shot constructor to initialize all data members.
|
|
923
|
+
* The file and line number are required for all local exceptions.
|
|
924
|
+
* @param file The file name in which the exception was raised, typically __FILE__.
|
|
925
|
+
* @param line The line number at which the exception was raised, typically __LINE__.
|
|
926
|
+
* @param reason The reason for the failure.
|
|
927
|
+
*/
|
|
928
|
+
FailureException(const char* file, int line, const ::std::string& reason);
|
|
929
|
+
|
|
930
|
+
#ifdef ICE_CPP11_COMPILER
|
|
931
|
+
FailureException(const FailureException&) = default;
|
|
932
|
+
virtual ~FailureException();
|
|
933
|
+
#else
|
|
934
|
+
virtual ~FailureException() throw();
|
|
935
|
+
#endif
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* Obtains the Slice type ID of this exception.
|
|
939
|
+
* @return The fully-scoped type ID.
|
|
940
|
+
*/
|
|
941
|
+
virtual ::std::string ice_id() const;
|
|
942
|
+
/**
|
|
943
|
+
* Prints this exception to the given stream.
|
|
944
|
+
* @param stream The target stream.
|
|
945
|
+
*/
|
|
946
|
+
virtual void ice_print(::std::ostream& stream) const;
|
|
947
|
+
/**
|
|
948
|
+
* Polymorphically clones this exception.
|
|
949
|
+
* @return A shallow copy of this exception.
|
|
950
|
+
*/
|
|
951
|
+
virtual FailureException* ice_clone() const;
|
|
952
|
+
/**
|
|
953
|
+
* Throws this exception.
|
|
954
|
+
*/
|
|
955
|
+
virtual void ice_throw() const;
|
|
956
|
+
|
|
957
|
+
/**
|
|
958
|
+
* The reason for the failure.
|
|
959
|
+
*/
|
|
960
|
+
::std::string reason;
|
|
961
|
+
};
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
* This exception is thrown if an attempt is made to start an
|
|
965
|
+
* already-started service.
|
|
966
|
+
* \headerfile IceBox/IceBox.h
|
|
967
|
+
*/
|
|
968
|
+
class ICEBOX_API AlreadyStartedException : public ::Ice::UserException
|
|
969
|
+
{
|
|
970
|
+
public:
|
|
971
|
+
|
|
972
|
+
AlreadyStartedException() {}
|
|
973
|
+
|
|
974
|
+
#ifdef ICE_CPP11_COMPILER
|
|
975
|
+
AlreadyStartedException(const AlreadyStartedException&) = default;
|
|
976
|
+
virtual ~AlreadyStartedException();
|
|
977
|
+
#else
|
|
978
|
+
virtual ~AlreadyStartedException() throw();
|
|
979
|
+
#endif
|
|
980
|
+
|
|
981
|
+
/**
|
|
982
|
+
* Obtains the Slice type ID of this exception.
|
|
983
|
+
* @return The fully-scoped type ID.
|
|
984
|
+
*/
|
|
985
|
+
virtual ::std::string ice_id() const;
|
|
986
|
+
/**
|
|
987
|
+
* Polymorphically clones this exception.
|
|
988
|
+
* @return A shallow copy of this exception.
|
|
989
|
+
*/
|
|
990
|
+
virtual AlreadyStartedException* ice_clone() const;
|
|
991
|
+
/**
|
|
992
|
+
* Throws this exception.
|
|
993
|
+
*/
|
|
994
|
+
virtual void ice_throw() const;
|
|
995
|
+
|
|
996
|
+
protected:
|
|
997
|
+
|
|
998
|
+
/// \cond STREAM
|
|
999
|
+
virtual void _writeImpl(::Ice::OutputStream*) const;
|
|
1000
|
+
virtual void _readImpl(::Ice::InputStream*);
|
|
1001
|
+
/// \endcond
|
|
1002
|
+
};
|
|
1003
|
+
|
|
1004
|
+
/// \cond INTERNAL
|
|
1005
|
+
static AlreadyStartedException _iceS_AlreadyStartedException_init;
|
|
1006
|
+
/// \endcond
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* This exception is thrown if an attempt is made to stop an
|
|
1010
|
+
* already-stopped service.
|
|
1011
|
+
* \headerfile IceBox/IceBox.h
|
|
1012
|
+
*/
|
|
1013
|
+
class ICEBOX_API AlreadyStoppedException : public ::Ice::UserException
|
|
1014
|
+
{
|
|
1015
|
+
public:
|
|
1016
|
+
|
|
1017
|
+
AlreadyStoppedException() {}
|
|
1018
|
+
|
|
1019
|
+
#ifdef ICE_CPP11_COMPILER
|
|
1020
|
+
AlreadyStoppedException(const AlreadyStoppedException&) = default;
|
|
1021
|
+
virtual ~AlreadyStoppedException();
|
|
1022
|
+
#else
|
|
1023
|
+
virtual ~AlreadyStoppedException() throw();
|
|
1024
|
+
#endif
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
* Obtains the Slice type ID of this exception.
|
|
1028
|
+
* @return The fully-scoped type ID.
|
|
1029
|
+
*/
|
|
1030
|
+
virtual ::std::string ice_id() const;
|
|
1031
|
+
/**
|
|
1032
|
+
* Polymorphically clones this exception.
|
|
1033
|
+
* @return A shallow copy of this exception.
|
|
1034
|
+
*/
|
|
1035
|
+
virtual AlreadyStoppedException* ice_clone() const;
|
|
1036
|
+
/**
|
|
1037
|
+
* Throws this exception.
|
|
1038
|
+
*/
|
|
1039
|
+
virtual void ice_throw() const;
|
|
1040
|
+
|
|
1041
|
+
protected:
|
|
1042
|
+
|
|
1043
|
+
/// \cond STREAM
|
|
1044
|
+
virtual void _writeImpl(::Ice::OutputStream*) const;
|
|
1045
|
+
virtual void _readImpl(::Ice::InputStream*);
|
|
1046
|
+
/// \endcond
|
|
1047
|
+
};
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* This exception is thrown if a service name does not refer
|
|
1051
|
+
* to an existing service.
|
|
1052
|
+
* \headerfile IceBox/IceBox.h
|
|
1053
|
+
*/
|
|
1054
|
+
class ICEBOX_API NoSuchServiceException : public ::Ice::UserException
|
|
1055
|
+
{
|
|
1056
|
+
public:
|
|
1057
|
+
|
|
1058
|
+
NoSuchServiceException() {}
|
|
1059
|
+
|
|
1060
|
+
#ifdef ICE_CPP11_COMPILER
|
|
1061
|
+
NoSuchServiceException(const NoSuchServiceException&) = default;
|
|
1062
|
+
virtual ~NoSuchServiceException();
|
|
1063
|
+
#else
|
|
1064
|
+
virtual ~NoSuchServiceException() throw();
|
|
1065
|
+
#endif
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* Obtains the Slice type ID of this exception.
|
|
1069
|
+
* @return The fully-scoped type ID.
|
|
1070
|
+
*/
|
|
1071
|
+
virtual ::std::string ice_id() const;
|
|
1072
|
+
/**
|
|
1073
|
+
* Polymorphically clones this exception.
|
|
1074
|
+
* @return A shallow copy of this exception.
|
|
1075
|
+
*/
|
|
1076
|
+
virtual NoSuchServiceException* ice_clone() const;
|
|
1077
|
+
/**
|
|
1078
|
+
* Throws this exception.
|
|
1079
|
+
*/
|
|
1080
|
+
virtual void ice_throw() const;
|
|
1081
|
+
|
|
1082
|
+
protected:
|
|
1083
|
+
|
|
1084
|
+
/// \cond STREAM
|
|
1085
|
+
virtual void _writeImpl(::Ice::OutputStream*) const;
|
|
1086
|
+
virtual void _readImpl(::Ice::InputStream*);
|
|
1087
|
+
/// \endcond
|
|
1088
|
+
};
|
|
1089
|
+
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
namespace IceBox
|
|
1093
|
+
{
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
|
1097
|
+
* IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
|
|
1098
|
+
* Create a wrapper instance by calling ::IceBox::newCallback_ServiceObserver_servicesStarted.
|
|
1099
|
+
*/
|
|
1100
|
+
class Callback_ServiceObserver_servicesStarted_Base : public virtual ::IceInternal::CallbackBase { };
|
|
1101
|
+
typedef ::IceUtil::Handle< Callback_ServiceObserver_servicesStarted_Base> Callback_ServiceObserver_servicesStartedPtr;
|
|
1102
|
+
|
|
1103
|
+
/**
|
|
1104
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
|
1105
|
+
* IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
|
|
1106
|
+
* Create a wrapper instance by calling ::IceBox::newCallback_ServiceObserver_servicesStopped.
|
|
1107
|
+
*/
|
|
1108
|
+
class Callback_ServiceObserver_servicesStopped_Base : public virtual ::IceInternal::CallbackBase { };
|
|
1109
|
+
typedef ::IceUtil::Handle< Callback_ServiceObserver_servicesStopped_Base> Callback_ServiceObserver_servicesStoppedPtr;
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
|
1113
|
+
* IceProxy::IceBox::ServiceManager::begin_getSliceChecksums.
|
|
1114
|
+
* Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_getSliceChecksums.
|
|
1115
|
+
*/
|
|
1116
|
+
class Callback_ServiceManager_getSliceChecksums_Base : public virtual ::IceInternal::CallbackBase { };
|
|
1117
|
+
typedef ::IceUtil::Handle< Callback_ServiceManager_getSliceChecksums_Base> Callback_ServiceManager_getSliceChecksumsPtr;
|
|
1118
|
+
|
|
1119
|
+
/**
|
|
1120
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
|
1121
|
+
* IceProxy::IceBox::ServiceManager::begin_startService.
|
|
1122
|
+
* Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_startService.
|
|
1123
|
+
*/
|
|
1124
|
+
class Callback_ServiceManager_startService_Base : public virtual ::IceInternal::CallbackBase { };
|
|
1125
|
+
typedef ::IceUtil::Handle< Callback_ServiceManager_startService_Base> Callback_ServiceManager_startServicePtr;
|
|
1126
|
+
|
|
1127
|
+
/**
|
|
1128
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
|
1129
|
+
* IceProxy::IceBox::ServiceManager::begin_stopService.
|
|
1130
|
+
* Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_stopService.
|
|
1131
|
+
*/
|
|
1132
|
+
class Callback_ServiceManager_stopService_Base : public virtual ::IceInternal::CallbackBase { };
|
|
1133
|
+
typedef ::IceUtil::Handle< Callback_ServiceManager_stopService_Base> Callback_ServiceManager_stopServicePtr;
|
|
1134
|
+
|
|
1135
|
+
/**
|
|
1136
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
|
1137
|
+
* IceProxy::IceBox::ServiceManager::begin_addObserver.
|
|
1138
|
+
* Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_addObserver.
|
|
1139
|
+
*/
|
|
1140
|
+
class Callback_ServiceManager_addObserver_Base : public virtual ::IceInternal::CallbackBase { };
|
|
1141
|
+
typedef ::IceUtil::Handle< Callback_ServiceManager_addObserver_Base> Callback_ServiceManager_addObserverPtr;
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* Base class for asynchronous callback wrapper classes used for calls to
|
|
1145
|
+
* IceProxy::IceBox::ServiceManager::begin_shutdown.
|
|
1146
|
+
* Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_shutdown.
|
|
1147
|
+
*/
|
|
1148
|
+
class Callback_ServiceManager_shutdown_Base : public virtual ::IceInternal::CallbackBase { };
|
|
1149
|
+
typedef ::IceUtil::Handle< Callback_ServiceManager_shutdown_Base> Callback_ServiceManager_shutdownPtr;
|
|
1150
|
+
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
namespace IceProxy
|
|
1154
|
+
{
|
|
1155
|
+
|
|
1156
|
+
namespace IceBox
|
|
1157
|
+
{
|
|
1158
|
+
|
|
1159
|
+
class ICE_CLASS(ICEBOX_API) ServiceObserver : public virtual ::Ice::Proxy<ServiceObserver, ::IceProxy::Ice::Object>
|
|
1160
|
+
{
|
|
1161
|
+
public:
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* Receives the names of the services that were started.
|
|
1165
|
+
* @param services The names of the services.
|
|
1166
|
+
* @param context The Context map to send with the invocation.
|
|
1167
|
+
*/
|
|
1168
|
+
ICE_MEMBER(ICEBOX_API) void servicesStarted(const ::Ice::StringSeq& services, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
1169
|
+
{
|
|
1170
|
+
end_servicesStarted(_iceI_begin_servicesStarted(services, context, ::IceInternal::dummyCallback, 0, true));
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
/**
|
|
1174
|
+
* Receives the names of the services that were started.
|
|
1175
|
+
* @param services The names of the services.
|
|
1176
|
+
* @param context The Context map to send with the invocation.
|
|
1177
|
+
* @return The asynchronous result object for the invocation.
|
|
1178
|
+
*/
|
|
1179
|
+
::Ice::AsyncResultPtr begin_servicesStarted(const ::Ice::StringSeq& services, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
1180
|
+
{
|
|
1181
|
+
return _iceI_begin_servicesStarted(services, context, ::IceInternal::dummyCallback, 0);
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
/**
|
|
1185
|
+
* Receives the names of the services that were started.
|
|
1186
|
+
* @param services The names of the services.
|
|
1187
|
+
* @param cb Asynchronous callback object.
|
|
1188
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1189
|
+
* @return The asynchronous result object for the invocation.
|
|
1190
|
+
*/
|
|
1191
|
+
::Ice::AsyncResultPtr begin_servicesStarted(const ::Ice::StringSeq& services, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1192
|
+
{
|
|
1193
|
+
return _iceI_begin_servicesStarted(services, ::Ice::noExplicitContext, cb, cookie);
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
/**
|
|
1197
|
+
* Receives the names of the services that were started.
|
|
1198
|
+
* @param services The names of the services.
|
|
1199
|
+
* @param context The Context map to send with the invocation.
|
|
1200
|
+
* @param cb Asynchronous callback object.
|
|
1201
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1202
|
+
* @return The asynchronous result object for the invocation.
|
|
1203
|
+
*/
|
|
1204
|
+
::Ice::AsyncResultPtr begin_servicesStarted(const ::Ice::StringSeq& services, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1205
|
+
{
|
|
1206
|
+
return _iceI_begin_servicesStarted(services, context, cb, cookie);
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
/**
|
|
1210
|
+
* Receives the names of the services that were started.
|
|
1211
|
+
* @param services The names of the services.
|
|
1212
|
+
* @param cb Asynchronous callback object.
|
|
1213
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1214
|
+
* @return The asynchronous result object for the invocation.
|
|
1215
|
+
*/
|
|
1216
|
+
::Ice::AsyncResultPtr begin_servicesStarted(const ::Ice::StringSeq& services, const ::IceBox::Callback_ServiceObserver_servicesStartedPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1217
|
+
{
|
|
1218
|
+
return _iceI_begin_servicesStarted(services, ::Ice::noExplicitContext, cb, cookie);
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* Receives the names of the services that were started.
|
|
1223
|
+
* @param services The names of the services.
|
|
1224
|
+
* @param context The Context map to send with the invocation.
|
|
1225
|
+
* @param cb Asynchronous callback object.
|
|
1226
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1227
|
+
* @return The asynchronous result object for the invocation.
|
|
1228
|
+
*/
|
|
1229
|
+
::Ice::AsyncResultPtr begin_servicesStarted(const ::Ice::StringSeq& services, const ::Ice::Context& context, const ::IceBox::Callback_ServiceObserver_servicesStartedPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1230
|
+
{
|
|
1231
|
+
return _iceI_begin_servicesStarted(services, context, cb, cookie);
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
/**
|
|
1235
|
+
* Completes an invocation of begin_servicesStarted.
|
|
1236
|
+
* @param result The asynchronous result object for the invocation.
|
|
1237
|
+
*/
|
|
1238
|
+
ICE_MEMBER(ICEBOX_API) void end_servicesStarted(const ::Ice::AsyncResultPtr& result);
|
|
1239
|
+
|
|
1240
|
+
private:
|
|
1241
|
+
|
|
1242
|
+
ICE_MEMBER(ICEBOX_API) ::Ice::AsyncResultPtr _iceI_begin_servicesStarted(const ::Ice::StringSeq&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
|
|
1243
|
+
|
|
1244
|
+
public:
|
|
1245
|
+
|
|
1246
|
+
/**
|
|
1247
|
+
* Receives the names of the services that were stopped.
|
|
1248
|
+
* @param services The names of the services.
|
|
1249
|
+
* @param context The Context map to send with the invocation.
|
|
1250
|
+
*/
|
|
1251
|
+
ICE_MEMBER(ICEBOX_API) void servicesStopped(const ::Ice::StringSeq& services, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
1252
|
+
{
|
|
1253
|
+
end_servicesStopped(_iceI_begin_servicesStopped(services, context, ::IceInternal::dummyCallback, 0, true));
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* Receives the names of the services that were stopped.
|
|
1258
|
+
* @param services The names of the services.
|
|
1259
|
+
* @param context The Context map to send with the invocation.
|
|
1260
|
+
* @return The asynchronous result object for the invocation.
|
|
1261
|
+
*/
|
|
1262
|
+
::Ice::AsyncResultPtr begin_servicesStopped(const ::Ice::StringSeq& services, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
1263
|
+
{
|
|
1264
|
+
return _iceI_begin_servicesStopped(services, context, ::IceInternal::dummyCallback, 0);
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* Receives the names of the services that were stopped.
|
|
1269
|
+
* @param services The names of the services.
|
|
1270
|
+
* @param cb Asynchronous callback object.
|
|
1271
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1272
|
+
* @return The asynchronous result object for the invocation.
|
|
1273
|
+
*/
|
|
1274
|
+
::Ice::AsyncResultPtr begin_servicesStopped(const ::Ice::StringSeq& services, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1275
|
+
{
|
|
1276
|
+
return _iceI_begin_servicesStopped(services, ::Ice::noExplicitContext, cb, cookie);
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* Receives the names of the services that were stopped.
|
|
1281
|
+
* @param services The names of the services.
|
|
1282
|
+
* @param context The Context map to send with the invocation.
|
|
1283
|
+
* @param cb Asynchronous callback object.
|
|
1284
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1285
|
+
* @return The asynchronous result object for the invocation.
|
|
1286
|
+
*/
|
|
1287
|
+
::Ice::AsyncResultPtr begin_servicesStopped(const ::Ice::StringSeq& services, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1288
|
+
{
|
|
1289
|
+
return _iceI_begin_servicesStopped(services, context, cb, cookie);
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
/**
|
|
1293
|
+
* Receives the names of the services that were stopped.
|
|
1294
|
+
* @param services The names of the services.
|
|
1295
|
+
* @param cb Asynchronous callback object.
|
|
1296
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1297
|
+
* @return The asynchronous result object for the invocation.
|
|
1298
|
+
*/
|
|
1299
|
+
::Ice::AsyncResultPtr begin_servicesStopped(const ::Ice::StringSeq& services, const ::IceBox::Callback_ServiceObserver_servicesStoppedPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1300
|
+
{
|
|
1301
|
+
return _iceI_begin_servicesStopped(services, ::Ice::noExplicitContext, cb, cookie);
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
/**
|
|
1305
|
+
* Receives the names of the services that were stopped.
|
|
1306
|
+
* @param services The names of the services.
|
|
1307
|
+
* @param context The Context map to send with the invocation.
|
|
1308
|
+
* @param cb Asynchronous callback object.
|
|
1309
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1310
|
+
* @return The asynchronous result object for the invocation.
|
|
1311
|
+
*/
|
|
1312
|
+
::Ice::AsyncResultPtr begin_servicesStopped(const ::Ice::StringSeq& services, const ::Ice::Context& context, const ::IceBox::Callback_ServiceObserver_servicesStoppedPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1313
|
+
{
|
|
1314
|
+
return _iceI_begin_servicesStopped(services, context, cb, cookie);
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
* Completes an invocation of begin_servicesStopped.
|
|
1319
|
+
* @param result The asynchronous result object for the invocation.
|
|
1320
|
+
*/
|
|
1321
|
+
ICE_MEMBER(ICEBOX_API) void end_servicesStopped(const ::Ice::AsyncResultPtr& result);
|
|
1322
|
+
|
|
1323
|
+
private:
|
|
1324
|
+
|
|
1325
|
+
ICE_MEMBER(ICEBOX_API) ::Ice::AsyncResultPtr _iceI_begin_servicesStopped(const ::Ice::StringSeq&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
|
|
1326
|
+
|
|
1327
|
+
public:
|
|
1328
|
+
|
|
1329
|
+
/**
|
|
1330
|
+
* Obtains the Slice type ID corresponding to this interface.
|
|
1331
|
+
* @return A fully-scoped type ID.
|
|
1332
|
+
*/
|
|
1333
|
+
ICE_MEMBER(ICEBOX_API) static const ::std::string& ice_staticId();
|
|
1334
|
+
|
|
1335
|
+
protected:
|
|
1336
|
+
/// \cond INTERNAL
|
|
1337
|
+
|
|
1338
|
+
ICE_MEMBER(ICEBOX_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
|
|
1339
|
+
/// \endcond
|
|
1340
|
+
};
|
|
1341
|
+
|
|
1342
|
+
class ICE_CLASS(ICEBOX_API) ServiceManager : public virtual ::Ice::Proxy<ServiceManager, ::IceProxy::Ice::Object>
|
|
1343
|
+
{
|
|
1344
|
+
public:
|
|
1345
|
+
|
|
1346
|
+
/**
|
|
1347
|
+
* Returns the checksums for the IceBox Slice definitions.
|
|
1348
|
+
* @param context The Context map to send with the invocation.
|
|
1349
|
+
* @return A dictionary mapping Slice type ids to their checksums.
|
|
1350
|
+
*/
|
|
1351
|
+
ICE_MEMBER(ICEBOX_API) ::Ice::SliceChecksumDict getSliceChecksums(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
1352
|
+
{
|
|
1353
|
+
return end_getSliceChecksums(_iceI_begin_getSliceChecksums(context, ::IceInternal::dummyCallback, 0, true));
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
/**
|
|
1357
|
+
* Returns the checksums for the IceBox Slice definitions.
|
|
1358
|
+
* @param context The Context map to send with the invocation.
|
|
1359
|
+
* @return The asynchronous result object for the invocation.
|
|
1360
|
+
*/
|
|
1361
|
+
::Ice::AsyncResultPtr begin_getSliceChecksums(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
1362
|
+
{
|
|
1363
|
+
return _iceI_begin_getSliceChecksums(context, ::IceInternal::dummyCallback, 0);
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
/**
|
|
1367
|
+
* Returns the checksums for the IceBox Slice definitions.
|
|
1368
|
+
* @param cb Asynchronous callback object.
|
|
1369
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1370
|
+
* @return The asynchronous result object for the invocation.
|
|
1371
|
+
*/
|
|
1372
|
+
::Ice::AsyncResultPtr begin_getSliceChecksums(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1373
|
+
{
|
|
1374
|
+
return _iceI_begin_getSliceChecksums(::Ice::noExplicitContext, cb, cookie);
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
/**
|
|
1378
|
+
* Returns the checksums for the IceBox Slice definitions.
|
|
1379
|
+
* @param context The Context map to send with the invocation.
|
|
1380
|
+
* @param cb Asynchronous callback object.
|
|
1381
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1382
|
+
* @return The asynchronous result object for the invocation.
|
|
1383
|
+
*/
|
|
1384
|
+
::Ice::AsyncResultPtr begin_getSliceChecksums(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1385
|
+
{
|
|
1386
|
+
return _iceI_begin_getSliceChecksums(context, cb, cookie);
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
/**
|
|
1390
|
+
* Returns the checksums for the IceBox Slice definitions.
|
|
1391
|
+
* @param cb Asynchronous callback object.
|
|
1392
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1393
|
+
* @return The asynchronous result object for the invocation.
|
|
1394
|
+
*/
|
|
1395
|
+
::Ice::AsyncResultPtr begin_getSliceChecksums(const ::IceBox::Callback_ServiceManager_getSliceChecksumsPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1396
|
+
{
|
|
1397
|
+
return _iceI_begin_getSliceChecksums(::Ice::noExplicitContext, cb, cookie);
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
/**
|
|
1401
|
+
* Returns the checksums for the IceBox Slice definitions.
|
|
1402
|
+
* @param context The Context map to send with the invocation.
|
|
1403
|
+
* @param cb Asynchronous callback object.
|
|
1404
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1405
|
+
* @return The asynchronous result object for the invocation.
|
|
1406
|
+
*/
|
|
1407
|
+
::Ice::AsyncResultPtr begin_getSliceChecksums(const ::Ice::Context& context, const ::IceBox::Callback_ServiceManager_getSliceChecksumsPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1408
|
+
{
|
|
1409
|
+
return _iceI_begin_getSliceChecksums(context, cb, cookie);
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
/**
|
|
1413
|
+
* Completes an invocation of begin_getSliceChecksums.
|
|
1414
|
+
* @param result The asynchronous result object for the invocation.
|
|
1415
|
+
* @return A dictionary mapping Slice type ids to their checksums.
|
|
1416
|
+
*/
|
|
1417
|
+
ICE_MEMBER(ICEBOX_API) ::Ice::SliceChecksumDict end_getSliceChecksums(const ::Ice::AsyncResultPtr& result);
|
|
1418
|
+
|
|
1419
|
+
private:
|
|
1420
|
+
|
|
1421
|
+
ICE_MEMBER(ICEBOX_API) ::Ice::AsyncResultPtr _iceI_begin_getSliceChecksums(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
|
|
1422
|
+
|
|
1423
|
+
public:
|
|
1424
|
+
|
|
1425
|
+
/**
|
|
1426
|
+
* Start an individual service.
|
|
1427
|
+
* @param service The service name.
|
|
1428
|
+
* @param context The Context map to send with the invocation.
|
|
1429
|
+
* @throws IceBox::AlreadyStartedException If the service is already running.
|
|
1430
|
+
* @throws IceBox::NoSuchServiceException If no service could be found with the given name.
|
|
1431
|
+
*/
|
|
1432
|
+
ICE_MEMBER(ICEBOX_API) void startService(const ::std::string& service, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
1433
|
+
{
|
|
1434
|
+
end_startService(_iceI_begin_startService(service, context, ::IceInternal::dummyCallback, 0, true));
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
/**
|
|
1438
|
+
* Start an individual service.
|
|
1439
|
+
* @param service The service name.
|
|
1440
|
+
* @param context The Context map to send with the invocation.
|
|
1441
|
+
* @return The asynchronous result object for the invocation.
|
|
1442
|
+
*/
|
|
1443
|
+
::Ice::AsyncResultPtr begin_startService(const ::std::string& service, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
1444
|
+
{
|
|
1445
|
+
return _iceI_begin_startService(service, context, ::IceInternal::dummyCallback, 0);
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
/**
|
|
1449
|
+
* Start an individual service.
|
|
1450
|
+
* @param service The service name.
|
|
1451
|
+
* @param cb Asynchronous callback object.
|
|
1452
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1453
|
+
* @return The asynchronous result object for the invocation.
|
|
1454
|
+
*/
|
|
1455
|
+
::Ice::AsyncResultPtr begin_startService(const ::std::string& service, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1456
|
+
{
|
|
1457
|
+
return _iceI_begin_startService(service, ::Ice::noExplicitContext, cb, cookie);
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* Start an individual service.
|
|
1462
|
+
* @param service The service name.
|
|
1463
|
+
* @param context The Context map to send with the invocation.
|
|
1464
|
+
* @param cb Asynchronous callback object.
|
|
1465
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1466
|
+
* @return The asynchronous result object for the invocation.
|
|
1467
|
+
*/
|
|
1468
|
+
::Ice::AsyncResultPtr begin_startService(const ::std::string& service, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1469
|
+
{
|
|
1470
|
+
return _iceI_begin_startService(service, context, cb, cookie);
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
/**
|
|
1474
|
+
* Start an individual service.
|
|
1475
|
+
* @param service The service name.
|
|
1476
|
+
* @param cb Asynchronous callback object.
|
|
1477
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1478
|
+
* @return The asynchronous result object for the invocation.
|
|
1479
|
+
*/
|
|
1480
|
+
::Ice::AsyncResultPtr begin_startService(const ::std::string& service, const ::IceBox::Callback_ServiceManager_startServicePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1481
|
+
{
|
|
1482
|
+
return _iceI_begin_startService(service, ::Ice::noExplicitContext, cb, cookie);
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
/**
|
|
1486
|
+
* Start an individual service.
|
|
1487
|
+
* @param service The service name.
|
|
1488
|
+
* @param context The Context map to send with the invocation.
|
|
1489
|
+
* @param cb Asynchronous callback object.
|
|
1490
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1491
|
+
* @return The asynchronous result object for the invocation.
|
|
1492
|
+
*/
|
|
1493
|
+
::Ice::AsyncResultPtr begin_startService(const ::std::string& service, const ::Ice::Context& context, const ::IceBox::Callback_ServiceManager_startServicePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1494
|
+
{
|
|
1495
|
+
return _iceI_begin_startService(service, context, cb, cookie);
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
/**
|
|
1499
|
+
* Completes an invocation of begin_startService.
|
|
1500
|
+
* @param result The asynchronous result object for the invocation.
|
|
1501
|
+
* @throws IceBox::AlreadyStartedException If the service is already running.
|
|
1502
|
+
* @throws IceBox::NoSuchServiceException If no service could be found with the given name.
|
|
1503
|
+
*/
|
|
1504
|
+
ICE_MEMBER(ICEBOX_API) void end_startService(const ::Ice::AsyncResultPtr& result);
|
|
1505
|
+
|
|
1506
|
+
private:
|
|
1507
|
+
|
|
1508
|
+
ICE_MEMBER(ICEBOX_API) ::Ice::AsyncResultPtr _iceI_begin_startService(const ::std::string&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
|
|
1509
|
+
|
|
1510
|
+
public:
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* Stop an individual service.
|
|
1514
|
+
* @param service The service name.
|
|
1515
|
+
* @param context The Context map to send with the invocation.
|
|
1516
|
+
* @throws IceBox::AlreadyStoppedException If the service is already stopped.
|
|
1517
|
+
* @throws IceBox::NoSuchServiceException If no service could be found with the given name.
|
|
1518
|
+
*/
|
|
1519
|
+
ICE_MEMBER(ICEBOX_API) void stopService(const ::std::string& service, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
1520
|
+
{
|
|
1521
|
+
end_stopService(_iceI_begin_stopService(service, context, ::IceInternal::dummyCallback, 0, true));
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
/**
|
|
1525
|
+
* Stop an individual service.
|
|
1526
|
+
* @param service The service name.
|
|
1527
|
+
* @param context The Context map to send with the invocation.
|
|
1528
|
+
* @return The asynchronous result object for the invocation.
|
|
1529
|
+
*/
|
|
1530
|
+
::Ice::AsyncResultPtr begin_stopService(const ::std::string& service, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
1531
|
+
{
|
|
1532
|
+
return _iceI_begin_stopService(service, context, ::IceInternal::dummyCallback, 0);
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
/**
|
|
1536
|
+
* Stop an individual service.
|
|
1537
|
+
* @param service The service name.
|
|
1538
|
+
* @param cb Asynchronous callback object.
|
|
1539
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1540
|
+
* @return The asynchronous result object for the invocation.
|
|
1541
|
+
*/
|
|
1542
|
+
::Ice::AsyncResultPtr begin_stopService(const ::std::string& service, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1543
|
+
{
|
|
1544
|
+
return _iceI_begin_stopService(service, ::Ice::noExplicitContext, cb, cookie);
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1547
|
+
/**
|
|
1548
|
+
* Stop an individual service.
|
|
1549
|
+
* @param service The service name.
|
|
1550
|
+
* @param context The Context map to send with the invocation.
|
|
1551
|
+
* @param cb Asynchronous callback object.
|
|
1552
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1553
|
+
* @return The asynchronous result object for the invocation.
|
|
1554
|
+
*/
|
|
1555
|
+
::Ice::AsyncResultPtr begin_stopService(const ::std::string& service, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1556
|
+
{
|
|
1557
|
+
return _iceI_begin_stopService(service, context, cb, cookie);
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* Stop an individual service.
|
|
1562
|
+
* @param service The service name.
|
|
1563
|
+
* @param cb Asynchronous callback object.
|
|
1564
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1565
|
+
* @return The asynchronous result object for the invocation.
|
|
1566
|
+
*/
|
|
1567
|
+
::Ice::AsyncResultPtr begin_stopService(const ::std::string& service, const ::IceBox::Callback_ServiceManager_stopServicePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1568
|
+
{
|
|
1569
|
+
return _iceI_begin_stopService(service, ::Ice::noExplicitContext, cb, cookie);
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
/**
|
|
1573
|
+
* Stop an individual service.
|
|
1574
|
+
* @param service The service name.
|
|
1575
|
+
* @param context The Context map to send with the invocation.
|
|
1576
|
+
* @param cb Asynchronous callback object.
|
|
1577
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1578
|
+
* @return The asynchronous result object for the invocation.
|
|
1579
|
+
*/
|
|
1580
|
+
::Ice::AsyncResultPtr begin_stopService(const ::std::string& service, const ::Ice::Context& context, const ::IceBox::Callback_ServiceManager_stopServicePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1581
|
+
{
|
|
1582
|
+
return _iceI_begin_stopService(service, context, cb, cookie);
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
/**
|
|
1586
|
+
* Completes an invocation of begin_stopService.
|
|
1587
|
+
* @param result The asynchronous result object for the invocation.
|
|
1588
|
+
* @throws IceBox::AlreadyStoppedException If the service is already stopped.
|
|
1589
|
+
* @throws IceBox::NoSuchServiceException If no service could be found with the given name.
|
|
1590
|
+
*/
|
|
1591
|
+
ICE_MEMBER(ICEBOX_API) void end_stopService(const ::Ice::AsyncResultPtr& result);
|
|
1592
|
+
|
|
1593
|
+
private:
|
|
1594
|
+
|
|
1595
|
+
ICE_MEMBER(ICEBOX_API) ::Ice::AsyncResultPtr _iceI_begin_stopService(const ::std::string&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
|
|
1596
|
+
|
|
1597
|
+
public:
|
|
1598
|
+
|
|
1599
|
+
/**
|
|
1600
|
+
* Registers a new observer with the ServiceManager.
|
|
1601
|
+
* @param observer The new observer
|
|
1602
|
+
* @param context The Context map to send with the invocation.
|
|
1603
|
+
*/
|
|
1604
|
+
ICE_MEMBER(ICEBOX_API) void addObserver(const ::IceBox::ServiceObserverPrx& observer, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
1605
|
+
{
|
|
1606
|
+
end_addObserver(_iceI_begin_addObserver(observer, context, ::IceInternal::dummyCallback, 0, true));
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
/**
|
|
1610
|
+
* Registers a new observer with the ServiceManager.
|
|
1611
|
+
* @param observer The new observer
|
|
1612
|
+
* @param context The Context map to send with the invocation.
|
|
1613
|
+
* @return The asynchronous result object for the invocation.
|
|
1614
|
+
*/
|
|
1615
|
+
::Ice::AsyncResultPtr begin_addObserver(const ::IceBox::ServiceObserverPrx& observer, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
1616
|
+
{
|
|
1617
|
+
return _iceI_begin_addObserver(observer, context, ::IceInternal::dummyCallback, 0);
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
/**
|
|
1621
|
+
* Registers a new observer with the ServiceManager.
|
|
1622
|
+
* @param observer The new observer
|
|
1623
|
+
* @param cb Asynchronous callback object.
|
|
1624
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1625
|
+
* @return The asynchronous result object for the invocation.
|
|
1626
|
+
*/
|
|
1627
|
+
::Ice::AsyncResultPtr begin_addObserver(const ::IceBox::ServiceObserverPrx& observer, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1628
|
+
{
|
|
1629
|
+
return _iceI_begin_addObserver(observer, ::Ice::noExplicitContext, cb, cookie);
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
/**
|
|
1633
|
+
* Registers a new observer with the ServiceManager.
|
|
1634
|
+
* @param observer The new observer
|
|
1635
|
+
* @param context The Context map to send with the invocation.
|
|
1636
|
+
* @param cb Asynchronous callback object.
|
|
1637
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1638
|
+
* @return The asynchronous result object for the invocation.
|
|
1639
|
+
*/
|
|
1640
|
+
::Ice::AsyncResultPtr begin_addObserver(const ::IceBox::ServiceObserverPrx& observer, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1641
|
+
{
|
|
1642
|
+
return _iceI_begin_addObserver(observer, context, cb, cookie);
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
/**
|
|
1646
|
+
* Registers a new observer with the ServiceManager.
|
|
1647
|
+
* @param observer The new observer
|
|
1648
|
+
* @param cb Asynchronous callback object.
|
|
1649
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1650
|
+
* @return The asynchronous result object for the invocation.
|
|
1651
|
+
*/
|
|
1652
|
+
::Ice::AsyncResultPtr begin_addObserver(const ::IceBox::ServiceObserverPrx& observer, const ::IceBox::Callback_ServiceManager_addObserverPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1653
|
+
{
|
|
1654
|
+
return _iceI_begin_addObserver(observer, ::Ice::noExplicitContext, cb, cookie);
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
/**
|
|
1658
|
+
* Registers a new observer with the ServiceManager.
|
|
1659
|
+
* @param observer The new observer
|
|
1660
|
+
* @param context The Context map to send with the invocation.
|
|
1661
|
+
* @param cb Asynchronous callback object.
|
|
1662
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1663
|
+
* @return The asynchronous result object for the invocation.
|
|
1664
|
+
*/
|
|
1665
|
+
::Ice::AsyncResultPtr begin_addObserver(const ::IceBox::ServiceObserverPrx& observer, const ::Ice::Context& context, const ::IceBox::Callback_ServiceManager_addObserverPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1666
|
+
{
|
|
1667
|
+
return _iceI_begin_addObserver(observer, context, cb, cookie);
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
/**
|
|
1671
|
+
* Completes an invocation of begin_addObserver.
|
|
1672
|
+
* @param result The asynchronous result object for the invocation.
|
|
1673
|
+
*/
|
|
1674
|
+
ICE_MEMBER(ICEBOX_API) void end_addObserver(const ::Ice::AsyncResultPtr& result);
|
|
1675
|
+
|
|
1676
|
+
private:
|
|
1677
|
+
|
|
1678
|
+
ICE_MEMBER(ICEBOX_API) ::Ice::AsyncResultPtr _iceI_begin_addObserver(const ::IceBox::ServiceObserverPrx&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
|
|
1679
|
+
|
|
1680
|
+
public:
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* Shut down all services. This causes stop to be invoked on all configured services.
|
|
1684
|
+
* @param context The Context map to send with the invocation.
|
|
1685
|
+
*/
|
|
1686
|
+
ICE_MEMBER(ICEBOX_API) void shutdown(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
1687
|
+
{
|
|
1688
|
+
end_shutdown(_iceI_begin_shutdown(context, ::IceInternal::dummyCallback, 0, true));
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1691
|
+
/**
|
|
1692
|
+
* Shut down all services. This causes stop to be invoked on all configured services.
|
|
1693
|
+
* @param context The Context map to send with the invocation.
|
|
1694
|
+
* @return The asynchronous result object for the invocation.
|
|
1695
|
+
*/
|
|
1696
|
+
::Ice::AsyncResultPtr begin_shutdown(const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
1697
|
+
{
|
|
1698
|
+
return _iceI_begin_shutdown(context, ::IceInternal::dummyCallback, 0);
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
/**
|
|
1702
|
+
* Shut down all services. This causes stop to be invoked on all configured services.
|
|
1703
|
+
* @param cb Asynchronous callback object.
|
|
1704
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1705
|
+
* @return The asynchronous result object for the invocation.
|
|
1706
|
+
*/
|
|
1707
|
+
::Ice::AsyncResultPtr begin_shutdown(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1708
|
+
{
|
|
1709
|
+
return _iceI_begin_shutdown(::Ice::noExplicitContext, cb, cookie);
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
/**
|
|
1713
|
+
* Shut down all services. This causes stop to be invoked on all configured services.
|
|
1714
|
+
* @param context The Context map to send with the invocation.
|
|
1715
|
+
* @param cb Asynchronous callback object.
|
|
1716
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1717
|
+
* @return The asynchronous result object for the invocation.
|
|
1718
|
+
*/
|
|
1719
|
+
::Ice::AsyncResultPtr begin_shutdown(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1720
|
+
{
|
|
1721
|
+
return _iceI_begin_shutdown(context, cb, cookie);
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
/**
|
|
1725
|
+
* Shut down all services. This causes stop to be invoked on all configured services.
|
|
1726
|
+
* @param cb Asynchronous callback object.
|
|
1727
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1728
|
+
* @return The asynchronous result object for the invocation.
|
|
1729
|
+
*/
|
|
1730
|
+
::Ice::AsyncResultPtr begin_shutdown(const ::IceBox::Callback_ServiceManager_shutdownPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1731
|
+
{
|
|
1732
|
+
return _iceI_begin_shutdown(::Ice::noExplicitContext, cb, cookie);
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1735
|
+
/**
|
|
1736
|
+
* Shut down all services. This causes stop to be invoked on all configured services.
|
|
1737
|
+
* @param context The Context map to send with the invocation.
|
|
1738
|
+
* @param cb Asynchronous callback object.
|
|
1739
|
+
* @param cookie User-defined data to associate with the invocation.
|
|
1740
|
+
* @return The asynchronous result object for the invocation.
|
|
1741
|
+
*/
|
|
1742
|
+
::Ice::AsyncResultPtr begin_shutdown(const ::Ice::Context& context, const ::IceBox::Callback_ServiceManager_shutdownPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
1743
|
+
{
|
|
1744
|
+
return _iceI_begin_shutdown(context, cb, cookie);
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
/**
|
|
1748
|
+
* Completes an invocation of begin_shutdown.
|
|
1749
|
+
* @param result The asynchronous result object for the invocation.
|
|
1750
|
+
*/
|
|
1751
|
+
ICE_MEMBER(ICEBOX_API) void end_shutdown(const ::Ice::AsyncResultPtr& result);
|
|
1752
|
+
|
|
1753
|
+
private:
|
|
1754
|
+
|
|
1755
|
+
ICE_MEMBER(ICEBOX_API) ::Ice::AsyncResultPtr _iceI_begin_shutdown(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
|
|
1756
|
+
|
|
1757
|
+
public:
|
|
1758
|
+
|
|
1759
|
+
/**
|
|
1760
|
+
* Obtains the Slice type ID corresponding to this interface.
|
|
1761
|
+
* @return A fully-scoped type ID.
|
|
1762
|
+
*/
|
|
1763
|
+
ICE_MEMBER(ICEBOX_API) static const ::std::string& ice_staticId();
|
|
1764
|
+
|
|
1765
|
+
protected:
|
|
1766
|
+
/// \cond INTERNAL
|
|
1767
|
+
|
|
1768
|
+
ICE_MEMBER(ICEBOX_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
|
|
1769
|
+
/// \endcond
|
|
1770
|
+
};
|
|
1771
|
+
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1776
|
+
namespace IceBox
|
|
1777
|
+
{
|
|
1778
|
+
|
|
1779
|
+
/**
|
|
1780
|
+
* An application service managed by a {@link ServiceManager}.
|
|
1781
|
+
* \headerfile IceBox/IceBox.h
|
|
1782
|
+
*/
|
|
1783
|
+
class ICEBOX_API Service : public virtual ::Ice::LocalObject
|
|
1784
|
+
{
|
|
1785
|
+
public:
|
|
1786
|
+
|
|
1787
|
+
typedef ServicePtr PointerType;
|
|
1788
|
+
|
|
1789
|
+
virtual ~Service();
|
|
1790
|
+
|
|
1791
|
+
#ifdef ICE_CPP11_COMPILER
|
|
1792
|
+
Service() = default;
|
|
1793
|
+
Service(const Service&) = default;
|
|
1794
|
+
Service& operator=(const Service&) = default;
|
|
1795
|
+
#endif
|
|
1796
|
+
|
|
1797
|
+
/**
|
|
1798
|
+
* Start the service. The given communicator is created by the
|
|
1799
|
+
* {@link ServiceManager} for use by the service. This communicator may
|
|
1800
|
+
* also be used by other services, depending on the service
|
|
1801
|
+
* configuration.
|
|
1802
|
+
*
|
|
1803
|
+
* <p class="Note">The {@link ServiceManager} owns this communicator, and is
|
|
1804
|
+
* responsible for destroying it.
|
|
1805
|
+
* @param name The service's name, as determined by the
|
|
1806
|
+
* configuration.
|
|
1807
|
+
* @param communicator A communicator for use by the service.
|
|
1808
|
+
* @param args The service arguments that were not converted into
|
|
1809
|
+
* properties.
|
|
1810
|
+
* @throws IceBox::FailureException Raised if {@link #start} failed.
|
|
1811
|
+
*/
|
|
1812
|
+
virtual void start(const ::std::string& name, const ::Ice::CommunicatorPtr& communicator, const ::Ice::StringSeq& args) = 0;
|
|
1813
|
+
|
|
1814
|
+
/**
|
|
1815
|
+
* Stop the service.
|
|
1816
|
+
*/
|
|
1817
|
+
virtual void stop() = 0;
|
|
1818
|
+
};
|
|
1819
|
+
|
|
1820
|
+
/// \cond INTERNAL
|
|
1821
|
+
inline bool operator==(const Service& lhs, const Service& rhs)
|
|
1822
|
+
{
|
|
1823
|
+
return static_cast<const ::Ice::LocalObject&>(lhs) == static_cast<const ::Ice::LocalObject&>(rhs);
|
|
1824
|
+
}
|
|
1825
|
+
|
|
1826
|
+
inline bool operator<(const Service& lhs, const Service& rhs)
|
|
1827
|
+
{
|
|
1828
|
+
return static_cast<const ::Ice::LocalObject&>(lhs) < static_cast<const ::Ice::LocalObject&>(rhs);
|
|
1829
|
+
}
|
|
1830
|
+
/// \endcond
|
|
1831
|
+
|
|
1832
|
+
/**
|
|
1833
|
+
* An Observer interface implemented by admin clients interested in the status
|
|
1834
|
+
* of services.
|
|
1835
|
+
* @see ServiceManager
|
|
1836
|
+
* \headerfile IceBox/IceBox.h
|
|
1837
|
+
*/
|
|
1838
|
+
class ICEBOX_API ServiceObserver : public virtual ::Ice::Object
|
|
1839
|
+
{
|
|
1840
|
+
public:
|
|
1841
|
+
|
|
1842
|
+
typedef ServiceObserverPrx ProxyType;
|
|
1843
|
+
typedef ServiceObserverPtr PointerType;
|
|
1844
|
+
|
|
1845
|
+
virtual ~ServiceObserver();
|
|
1846
|
+
|
|
1847
|
+
#ifdef ICE_CPP11_COMPILER
|
|
1848
|
+
ServiceObserver() = default;
|
|
1849
|
+
ServiceObserver(const ServiceObserver&) = default;
|
|
1850
|
+
ServiceObserver& operator=(const ServiceObserver&) = default;
|
|
1851
|
+
#endif
|
|
1852
|
+
|
|
1853
|
+
/**
|
|
1854
|
+
* Determines whether this object supports an interface with the given Slice type ID.
|
|
1855
|
+
* @param id The fully-scoped Slice type ID.
|
|
1856
|
+
* @param current The Current object for the invocation.
|
|
1857
|
+
* @return True if this object supports the interface, false, otherwise.
|
|
1858
|
+
*/
|
|
1859
|
+
virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
|
|
1860
|
+
|
|
1861
|
+
/**
|
|
1862
|
+
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
|
1863
|
+
* @param current The Current object for the invocation.
|
|
1864
|
+
* @return A list of fully-scoped type IDs.
|
|
1865
|
+
*/
|
|
1866
|
+
virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
|
|
1867
|
+
|
|
1868
|
+
/**
|
|
1869
|
+
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
|
1870
|
+
* @param current The Current object for the invocation.
|
|
1871
|
+
* @return A fully-scoped type ID.
|
|
1872
|
+
*/
|
|
1873
|
+
virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
|
|
1874
|
+
|
|
1875
|
+
/**
|
|
1876
|
+
* Obtains the Slice type ID corresponding to this class.
|
|
1877
|
+
* @return A fully-scoped type ID.
|
|
1878
|
+
*/
|
|
1879
|
+
static const ::std::string& ice_staticId();
|
|
1880
|
+
|
|
1881
|
+
/**
|
|
1882
|
+
* Receives the names of the services that were started.
|
|
1883
|
+
* @param services The names of the services.
|
|
1884
|
+
* @param current The Current object for the invocation.
|
|
1885
|
+
*/
|
|
1886
|
+
virtual void servicesStarted(const ::Ice::StringSeq& services, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
|
|
1887
|
+
/// \cond INTERNAL
|
|
1888
|
+
bool _iceD_servicesStarted(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
1889
|
+
/// \endcond
|
|
1890
|
+
|
|
1891
|
+
/**
|
|
1892
|
+
* Receives the names of the services that were stopped.
|
|
1893
|
+
* @param services The names of the services.
|
|
1894
|
+
* @param current The Current object for the invocation.
|
|
1895
|
+
*/
|
|
1896
|
+
virtual void servicesStopped(const ::Ice::StringSeq& services, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
|
|
1897
|
+
/// \cond INTERNAL
|
|
1898
|
+
bool _iceD_servicesStopped(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
1899
|
+
/// \endcond
|
|
1900
|
+
|
|
1901
|
+
/// \cond INTERNAL
|
|
1902
|
+
virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
1903
|
+
/// \endcond
|
|
1904
|
+
|
|
1905
|
+
protected:
|
|
1906
|
+
|
|
1907
|
+
/// \cond STREAM
|
|
1908
|
+
virtual void _iceWriteImpl(::Ice::OutputStream*) const;
|
|
1909
|
+
virtual void _iceReadImpl(::Ice::InputStream*);
|
|
1910
|
+
/// \endcond
|
|
1911
|
+
};
|
|
1912
|
+
|
|
1913
|
+
/// \cond INTERNAL
|
|
1914
|
+
inline bool operator==(const ServiceObserver& lhs, const ServiceObserver& rhs)
|
|
1915
|
+
{
|
|
1916
|
+
return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
inline bool operator<(const ServiceObserver& lhs, const ServiceObserver& rhs)
|
|
1920
|
+
{
|
|
1921
|
+
return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
|
|
1922
|
+
}
|
|
1923
|
+
/// \endcond
|
|
1924
|
+
|
|
1925
|
+
/**
|
|
1926
|
+
* Administers a set of {@link Service} instances.
|
|
1927
|
+
* @see Service
|
|
1928
|
+
* \headerfile IceBox/IceBox.h
|
|
1929
|
+
*/
|
|
1930
|
+
class ICEBOX_API ServiceManager : public virtual ::Ice::Object
|
|
1931
|
+
{
|
|
1932
|
+
public:
|
|
1933
|
+
|
|
1934
|
+
typedef ServiceManagerPrx ProxyType;
|
|
1935
|
+
typedef ServiceManagerPtr PointerType;
|
|
1936
|
+
|
|
1937
|
+
virtual ~ServiceManager();
|
|
1938
|
+
|
|
1939
|
+
#ifdef ICE_CPP11_COMPILER
|
|
1940
|
+
ServiceManager() = default;
|
|
1941
|
+
ServiceManager(const ServiceManager&) = default;
|
|
1942
|
+
ServiceManager& operator=(const ServiceManager&) = default;
|
|
1943
|
+
#endif
|
|
1944
|
+
|
|
1945
|
+
/**
|
|
1946
|
+
* Determines whether this object supports an interface with the given Slice type ID.
|
|
1947
|
+
* @param id The fully-scoped Slice type ID.
|
|
1948
|
+
* @param current The Current object for the invocation.
|
|
1949
|
+
* @return True if this object supports the interface, false, otherwise.
|
|
1950
|
+
*/
|
|
1951
|
+
virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
|
|
1952
|
+
|
|
1953
|
+
/**
|
|
1954
|
+
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
|
1955
|
+
* @param current The Current object for the invocation.
|
|
1956
|
+
* @return A list of fully-scoped type IDs.
|
|
1957
|
+
*/
|
|
1958
|
+
virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
|
|
1959
|
+
|
|
1960
|
+
/**
|
|
1961
|
+
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
|
1962
|
+
* @param current The Current object for the invocation.
|
|
1963
|
+
* @return A fully-scoped type ID.
|
|
1964
|
+
*/
|
|
1965
|
+
virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
|
|
1966
|
+
|
|
1967
|
+
/**
|
|
1968
|
+
* Obtains the Slice type ID corresponding to this class.
|
|
1969
|
+
* @return A fully-scoped type ID.
|
|
1970
|
+
*/
|
|
1971
|
+
static const ::std::string& ice_staticId();
|
|
1972
|
+
|
|
1973
|
+
/**
|
|
1974
|
+
* Returns the checksums for the IceBox Slice definitions.
|
|
1975
|
+
* @param current The Current object for the invocation.
|
|
1976
|
+
* @return A dictionary mapping Slice type ids to their checksums.
|
|
1977
|
+
*/
|
|
1978
|
+
virtual ::Ice::SliceChecksumDict getSliceChecksums(const ::Ice::Current& current = ::Ice::emptyCurrent) const = 0;
|
|
1979
|
+
/// \cond INTERNAL
|
|
1980
|
+
bool _iceD_getSliceChecksums(::IceInternal::Incoming&, const ::Ice::Current&) const;
|
|
1981
|
+
/// \endcond
|
|
1982
|
+
|
|
1983
|
+
/**
|
|
1984
|
+
* Start an individual service.
|
|
1985
|
+
* @param service The service name.
|
|
1986
|
+
* @param current The Current object for the invocation.
|
|
1987
|
+
* @throws IceBox::AlreadyStartedException If the service is already running.
|
|
1988
|
+
* @throws IceBox::NoSuchServiceException If no service could be found with the given name.
|
|
1989
|
+
*/
|
|
1990
|
+
virtual void startService(const ::std::string& service, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
|
|
1991
|
+
/// \cond INTERNAL
|
|
1992
|
+
bool _iceD_startService(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
1993
|
+
/// \endcond
|
|
1994
|
+
|
|
1995
|
+
/**
|
|
1996
|
+
* Stop an individual service.
|
|
1997
|
+
* @param service The service name.
|
|
1998
|
+
* @param current The Current object for the invocation.
|
|
1999
|
+
* @throws IceBox::AlreadyStoppedException If the service is already stopped.
|
|
2000
|
+
* @throws IceBox::NoSuchServiceException If no service could be found with the given name.
|
|
2001
|
+
*/
|
|
2002
|
+
virtual void stopService(const ::std::string& service, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
|
|
2003
|
+
/// \cond INTERNAL
|
|
2004
|
+
bool _iceD_stopService(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
2005
|
+
/// \endcond
|
|
2006
|
+
|
|
2007
|
+
/**
|
|
2008
|
+
* Registers a new observer with the ServiceManager.
|
|
2009
|
+
* @param observer The new observer
|
|
2010
|
+
* @param current The Current object for the invocation.
|
|
2011
|
+
*/
|
|
2012
|
+
virtual void addObserver(const ServiceObserverPrx& observer, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
|
|
2013
|
+
/// \cond INTERNAL
|
|
2014
|
+
bool _iceD_addObserver(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
2015
|
+
/// \endcond
|
|
2016
|
+
|
|
2017
|
+
/**
|
|
2018
|
+
* Shut down all services. This causes stop to be invoked on all configured services.
|
|
2019
|
+
* @param current The Current object for the invocation.
|
|
2020
|
+
*/
|
|
2021
|
+
virtual void shutdown(const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
|
|
2022
|
+
/// \cond INTERNAL
|
|
2023
|
+
bool _iceD_shutdown(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
2024
|
+
/// \endcond
|
|
2025
|
+
|
|
2026
|
+
/// \cond INTERNAL
|
|
2027
|
+
virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
2028
|
+
/// \endcond
|
|
2029
|
+
|
|
2030
|
+
protected:
|
|
2031
|
+
|
|
2032
|
+
/// \cond STREAM
|
|
2033
|
+
virtual void _iceWriteImpl(::Ice::OutputStream*) const;
|
|
2034
|
+
virtual void _iceReadImpl(::Ice::InputStream*);
|
|
2035
|
+
/// \endcond
|
|
2036
|
+
};
|
|
2037
|
+
|
|
2038
|
+
/// \cond INTERNAL
|
|
2039
|
+
inline bool operator==(const ServiceManager& lhs, const ServiceManager& rhs)
|
|
2040
|
+
{
|
|
2041
|
+
return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
|
|
2042
|
+
}
|
|
2043
|
+
|
|
2044
|
+
inline bool operator<(const ServiceManager& lhs, const ServiceManager& rhs)
|
|
2045
|
+
{
|
|
2046
|
+
return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
|
|
2047
|
+
}
|
|
2048
|
+
/// \endcond
|
|
2049
|
+
|
|
2050
|
+
}
|
|
2051
|
+
|
|
2052
|
+
/// \cond STREAM
|
|
2053
|
+
namespace Ice
|
|
2054
|
+
{
|
|
2055
|
+
|
|
2056
|
+
template<>
|
|
2057
|
+
struct StreamableTraits< ::IceBox::AlreadyStartedException>
|
|
2058
|
+
{
|
|
2059
|
+
static const StreamHelperCategory helper = StreamHelperCategoryUserException;
|
|
2060
|
+
};
|
|
2061
|
+
|
|
2062
|
+
template<>
|
|
2063
|
+
struct StreamableTraits< ::IceBox::AlreadyStoppedException>
|
|
2064
|
+
{
|
|
2065
|
+
static const StreamHelperCategory helper = StreamHelperCategoryUserException;
|
|
2066
|
+
};
|
|
2067
|
+
|
|
2068
|
+
template<>
|
|
2069
|
+
struct StreamableTraits< ::IceBox::NoSuchServiceException>
|
|
2070
|
+
{
|
|
2071
|
+
static const StreamHelperCategory helper = StreamHelperCategoryUserException;
|
|
2072
|
+
};
|
|
2073
|
+
|
|
2074
|
+
}
|
|
2075
|
+
/// \endcond
|
|
2076
|
+
|
|
2077
|
+
namespace IceBox
|
|
2078
|
+
{
|
|
2079
|
+
|
|
2080
|
+
/**
|
|
2081
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
|
2082
|
+
* IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
|
|
2083
|
+
* Create a wrapper instance by calling ::IceBox::newCallback_ServiceObserver_servicesStarted.
|
|
2084
|
+
*/
|
|
2085
|
+
template<class T>
|
|
2086
|
+
class CallbackNC_ServiceObserver_servicesStarted : public Callback_ServiceObserver_servicesStarted_Base, public ::IceInternal::OnewayCallbackNC<T>
|
|
2087
|
+
{
|
|
2088
|
+
public:
|
|
2089
|
+
|
|
2090
|
+
typedef IceUtil::Handle<T> TPtr;
|
|
2091
|
+
|
|
2092
|
+
typedef void (T::*Exception)(const ::Ice::Exception&);
|
|
2093
|
+
typedef void (T::*Sent)(bool);
|
|
2094
|
+
typedef void (T::*Response)();
|
|
2095
|
+
|
|
2096
|
+
CallbackNC_ServiceObserver_servicesStarted(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
|
2097
|
+
: ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
|
|
2098
|
+
{
|
|
2099
|
+
}
|
|
2100
|
+
};
|
|
2101
|
+
|
|
2102
|
+
/**
|
|
2103
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2104
|
+
* @param instance The callback object.
|
|
2105
|
+
* @param cb The success method of the callback object.
|
|
2106
|
+
* @param excb The exception method of the callback object.
|
|
2107
|
+
* @param sentcb The sent method of the callback object.
|
|
2108
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
|
|
2109
|
+
*/
|
|
2110
|
+
template<class T> Callback_ServiceObserver_servicesStartedPtr
|
|
2111
|
+
newCallback_ServiceObserver_servicesStarted(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
2112
|
+
{
|
|
2113
|
+
return new CallbackNC_ServiceObserver_servicesStarted<T>(instance, cb, excb, sentcb);
|
|
2114
|
+
}
|
|
2115
|
+
|
|
2116
|
+
/**
|
|
2117
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2118
|
+
* @param instance The callback object.
|
|
2119
|
+
* @param excb The exception method of the callback object.
|
|
2120
|
+
* @param sentcb The sent method of the callback object.
|
|
2121
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
|
|
2122
|
+
*/
|
|
2123
|
+
template<class T> Callback_ServiceObserver_servicesStartedPtr
|
|
2124
|
+
newCallback_ServiceObserver_servicesStarted(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
2125
|
+
{
|
|
2126
|
+
return new CallbackNC_ServiceObserver_servicesStarted<T>(instance, 0, excb, sentcb);
|
|
2127
|
+
}
|
|
2128
|
+
|
|
2129
|
+
/**
|
|
2130
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2131
|
+
* @param instance The callback object.
|
|
2132
|
+
* @param cb The success method of the callback object.
|
|
2133
|
+
* @param excb The exception method of the callback object.
|
|
2134
|
+
* @param sentcb The sent method of the callback object.
|
|
2135
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
|
|
2136
|
+
*/
|
|
2137
|
+
template<class T> Callback_ServiceObserver_servicesStartedPtr
|
|
2138
|
+
newCallback_ServiceObserver_servicesStarted(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
2139
|
+
{
|
|
2140
|
+
return new CallbackNC_ServiceObserver_servicesStarted<T>(instance, cb, excb, sentcb);
|
|
2141
|
+
}
|
|
2142
|
+
|
|
2143
|
+
/**
|
|
2144
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2145
|
+
* @param instance The callback object.
|
|
2146
|
+
* @param excb The exception method of the callback object.
|
|
2147
|
+
* @param sentcb The sent method of the callback object.
|
|
2148
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
|
|
2149
|
+
*/
|
|
2150
|
+
template<class T> Callback_ServiceObserver_servicesStartedPtr
|
|
2151
|
+
newCallback_ServiceObserver_servicesStarted(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
2152
|
+
{
|
|
2153
|
+
return new CallbackNC_ServiceObserver_servicesStarted<T>(instance, 0, excb, sentcb);
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
/**
|
|
2157
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
|
2158
|
+
* IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
|
|
2159
|
+
* Create a wrapper instance by calling ::IceBox::newCallback_ServiceObserver_servicesStarted.
|
|
2160
|
+
*/
|
|
2161
|
+
template<class T, typename CT>
|
|
2162
|
+
class Callback_ServiceObserver_servicesStarted : public Callback_ServiceObserver_servicesStarted_Base, public ::IceInternal::OnewayCallback<T, CT>
|
|
2163
|
+
{
|
|
2164
|
+
public:
|
|
2165
|
+
|
|
2166
|
+
typedef IceUtil::Handle<T> TPtr;
|
|
2167
|
+
|
|
2168
|
+
typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
|
|
2169
|
+
typedef void (T::*Sent)(bool , const CT&);
|
|
2170
|
+
typedef void (T::*Response)(const CT&);
|
|
2171
|
+
|
|
2172
|
+
Callback_ServiceObserver_servicesStarted(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
|
2173
|
+
: ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
|
|
2174
|
+
{
|
|
2175
|
+
}
|
|
2176
|
+
};
|
|
2177
|
+
|
|
2178
|
+
/**
|
|
2179
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2180
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
2181
|
+
* @param instance The callback object.
|
|
2182
|
+
* @param cb The success method of the callback object.
|
|
2183
|
+
* @param excb The exception method of the callback object.
|
|
2184
|
+
* @param sentcb The sent method of the callback object.
|
|
2185
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
|
|
2186
|
+
*/
|
|
2187
|
+
template<class T, typename CT> Callback_ServiceObserver_servicesStartedPtr
|
|
2188
|
+
newCallback_ServiceObserver_servicesStarted(const IceUtil::Handle<T>& instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
2189
|
+
{
|
|
2190
|
+
return new Callback_ServiceObserver_servicesStarted<T, CT>(instance, cb, excb, sentcb);
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2193
|
+
/**
|
|
2194
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2195
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
2196
|
+
* @param instance The callback object.
|
|
2197
|
+
* @param excb The exception method of the callback object.
|
|
2198
|
+
* @param sentcb The sent method of the callback object.
|
|
2199
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
|
|
2200
|
+
*/
|
|
2201
|
+
template<class T, typename CT> Callback_ServiceObserver_servicesStartedPtr
|
|
2202
|
+
newCallback_ServiceObserver_servicesStarted(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
2203
|
+
{
|
|
2204
|
+
return new Callback_ServiceObserver_servicesStarted<T, CT>(instance, 0, excb, sentcb);
|
|
2205
|
+
}
|
|
2206
|
+
|
|
2207
|
+
/**
|
|
2208
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2209
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
2210
|
+
* @param instance The callback object.
|
|
2211
|
+
* @param cb The success method of the callback object.
|
|
2212
|
+
* @param excb The exception method of the callback object.
|
|
2213
|
+
* @param sentcb The sent method of the callback object.
|
|
2214
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
|
|
2215
|
+
*/
|
|
2216
|
+
template<class T, typename CT> Callback_ServiceObserver_servicesStartedPtr
|
|
2217
|
+
newCallback_ServiceObserver_servicesStarted(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
2218
|
+
{
|
|
2219
|
+
return new Callback_ServiceObserver_servicesStarted<T, CT>(instance, cb, excb, sentcb);
|
|
2220
|
+
}
|
|
2221
|
+
|
|
2222
|
+
/**
|
|
2223
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2224
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
2225
|
+
* @param instance The callback object.
|
|
2226
|
+
* @param excb The exception method of the callback object.
|
|
2227
|
+
* @param sentcb The sent method of the callback object.
|
|
2228
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStarted.
|
|
2229
|
+
*/
|
|
2230
|
+
template<class T, typename CT> Callback_ServiceObserver_servicesStartedPtr
|
|
2231
|
+
newCallback_ServiceObserver_servicesStarted(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
2232
|
+
{
|
|
2233
|
+
return new Callback_ServiceObserver_servicesStarted<T, CT>(instance, 0, excb, sentcb);
|
|
2234
|
+
}
|
|
2235
|
+
|
|
2236
|
+
/**
|
|
2237
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
|
2238
|
+
* IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
|
|
2239
|
+
* Create a wrapper instance by calling ::IceBox::newCallback_ServiceObserver_servicesStopped.
|
|
2240
|
+
*/
|
|
2241
|
+
template<class T>
|
|
2242
|
+
class CallbackNC_ServiceObserver_servicesStopped : public Callback_ServiceObserver_servicesStopped_Base, public ::IceInternal::OnewayCallbackNC<T>
|
|
2243
|
+
{
|
|
2244
|
+
public:
|
|
2245
|
+
|
|
2246
|
+
typedef IceUtil::Handle<T> TPtr;
|
|
2247
|
+
|
|
2248
|
+
typedef void (T::*Exception)(const ::Ice::Exception&);
|
|
2249
|
+
typedef void (T::*Sent)(bool);
|
|
2250
|
+
typedef void (T::*Response)();
|
|
2251
|
+
|
|
2252
|
+
CallbackNC_ServiceObserver_servicesStopped(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
|
2253
|
+
: ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
|
|
2254
|
+
{
|
|
2255
|
+
}
|
|
2256
|
+
};
|
|
2257
|
+
|
|
2258
|
+
/**
|
|
2259
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2260
|
+
* @param instance The callback object.
|
|
2261
|
+
* @param cb The success method of the callback object.
|
|
2262
|
+
* @param excb The exception method of the callback object.
|
|
2263
|
+
* @param sentcb The sent method of the callback object.
|
|
2264
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
|
|
2265
|
+
*/
|
|
2266
|
+
template<class T> Callback_ServiceObserver_servicesStoppedPtr
|
|
2267
|
+
newCallback_ServiceObserver_servicesStopped(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
2268
|
+
{
|
|
2269
|
+
return new CallbackNC_ServiceObserver_servicesStopped<T>(instance, cb, excb, sentcb);
|
|
2270
|
+
}
|
|
2271
|
+
|
|
2272
|
+
/**
|
|
2273
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2274
|
+
* @param instance The callback object.
|
|
2275
|
+
* @param excb The exception method of the callback object.
|
|
2276
|
+
* @param sentcb The sent method of the callback object.
|
|
2277
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
|
|
2278
|
+
*/
|
|
2279
|
+
template<class T> Callback_ServiceObserver_servicesStoppedPtr
|
|
2280
|
+
newCallback_ServiceObserver_servicesStopped(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
2281
|
+
{
|
|
2282
|
+
return new CallbackNC_ServiceObserver_servicesStopped<T>(instance, 0, excb, sentcb);
|
|
2283
|
+
}
|
|
2284
|
+
|
|
2285
|
+
/**
|
|
2286
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2287
|
+
* @param instance The callback object.
|
|
2288
|
+
* @param cb The success method of the callback object.
|
|
2289
|
+
* @param excb The exception method of the callback object.
|
|
2290
|
+
* @param sentcb The sent method of the callback object.
|
|
2291
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
|
|
2292
|
+
*/
|
|
2293
|
+
template<class T> Callback_ServiceObserver_servicesStoppedPtr
|
|
2294
|
+
newCallback_ServiceObserver_servicesStopped(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
2295
|
+
{
|
|
2296
|
+
return new CallbackNC_ServiceObserver_servicesStopped<T>(instance, cb, excb, sentcb);
|
|
2297
|
+
}
|
|
2298
|
+
|
|
2299
|
+
/**
|
|
2300
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2301
|
+
* @param instance The callback object.
|
|
2302
|
+
* @param excb The exception method of the callback object.
|
|
2303
|
+
* @param sentcb The sent method of the callback object.
|
|
2304
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
|
|
2305
|
+
*/
|
|
2306
|
+
template<class T> Callback_ServiceObserver_servicesStoppedPtr
|
|
2307
|
+
newCallback_ServiceObserver_servicesStopped(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
2308
|
+
{
|
|
2309
|
+
return new CallbackNC_ServiceObserver_servicesStopped<T>(instance, 0, excb, sentcb);
|
|
2310
|
+
}
|
|
2311
|
+
|
|
2312
|
+
/**
|
|
2313
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
|
2314
|
+
* IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
|
|
2315
|
+
* Create a wrapper instance by calling ::IceBox::newCallback_ServiceObserver_servicesStopped.
|
|
2316
|
+
*/
|
|
2317
|
+
template<class T, typename CT>
|
|
2318
|
+
class Callback_ServiceObserver_servicesStopped : public Callback_ServiceObserver_servicesStopped_Base, public ::IceInternal::OnewayCallback<T, CT>
|
|
2319
|
+
{
|
|
2320
|
+
public:
|
|
2321
|
+
|
|
2322
|
+
typedef IceUtil::Handle<T> TPtr;
|
|
2323
|
+
|
|
2324
|
+
typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
|
|
2325
|
+
typedef void (T::*Sent)(bool , const CT&);
|
|
2326
|
+
typedef void (T::*Response)(const CT&);
|
|
2327
|
+
|
|
2328
|
+
Callback_ServiceObserver_servicesStopped(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
|
2329
|
+
: ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
|
|
2330
|
+
{
|
|
2331
|
+
}
|
|
2332
|
+
};
|
|
2333
|
+
|
|
2334
|
+
/**
|
|
2335
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2336
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
2337
|
+
* @param instance The callback object.
|
|
2338
|
+
* @param cb The success method of the callback object.
|
|
2339
|
+
* @param excb The exception method of the callback object.
|
|
2340
|
+
* @param sentcb The sent method of the callback object.
|
|
2341
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
|
|
2342
|
+
*/
|
|
2343
|
+
template<class T, typename CT> Callback_ServiceObserver_servicesStoppedPtr
|
|
2344
|
+
newCallback_ServiceObserver_servicesStopped(const IceUtil::Handle<T>& instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
2345
|
+
{
|
|
2346
|
+
return new Callback_ServiceObserver_servicesStopped<T, CT>(instance, cb, excb, sentcb);
|
|
2347
|
+
}
|
|
2348
|
+
|
|
2349
|
+
/**
|
|
2350
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2351
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
2352
|
+
* @param instance The callback object.
|
|
2353
|
+
* @param excb The exception method of the callback object.
|
|
2354
|
+
* @param sentcb The sent method of the callback object.
|
|
2355
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
|
|
2356
|
+
*/
|
|
2357
|
+
template<class T, typename CT> Callback_ServiceObserver_servicesStoppedPtr
|
|
2358
|
+
newCallback_ServiceObserver_servicesStopped(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
2359
|
+
{
|
|
2360
|
+
return new Callback_ServiceObserver_servicesStopped<T, CT>(instance, 0, excb, sentcb);
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
/**
|
|
2364
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2365
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
2366
|
+
* @param instance The callback object.
|
|
2367
|
+
* @param cb The success method of the callback object.
|
|
2368
|
+
* @param excb The exception method of the callback object.
|
|
2369
|
+
* @param sentcb The sent method of the callback object.
|
|
2370
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
|
|
2371
|
+
*/
|
|
2372
|
+
template<class T, typename CT> Callback_ServiceObserver_servicesStoppedPtr
|
|
2373
|
+
newCallback_ServiceObserver_servicesStopped(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
2374
|
+
{
|
|
2375
|
+
return new Callback_ServiceObserver_servicesStopped<T, CT>(instance, cb, excb, sentcb);
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2378
|
+
/**
|
|
2379
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2380
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
2381
|
+
* @param instance The callback object.
|
|
2382
|
+
* @param excb The exception method of the callback object.
|
|
2383
|
+
* @param sentcb The sent method of the callback object.
|
|
2384
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceObserver::begin_servicesStopped.
|
|
2385
|
+
*/
|
|
2386
|
+
template<class T, typename CT> Callback_ServiceObserver_servicesStoppedPtr
|
|
2387
|
+
newCallback_ServiceObserver_servicesStopped(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
2388
|
+
{
|
|
2389
|
+
return new Callback_ServiceObserver_servicesStopped<T, CT>(instance, 0, excb, sentcb);
|
|
2390
|
+
}
|
|
2391
|
+
|
|
2392
|
+
/**
|
|
2393
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
|
2394
|
+
* IceProxy::IceBox::ServiceManager::begin_getSliceChecksums.
|
|
2395
|
+
* Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_getSliceChecksums.
|
|
2396
|
+
*/
|
|
2397
|
+
template<class T>
|
|
2398
|
+
class CallbackNC_ServiceManager_getSliceChecksums : public Callback_ServiceManager_getSliceChecksums_Base, public ::IceInternal::TwowayCallbackNC<T>
|
|
2399
|
+
{
|
|
2400
|
+
public:
|
|
2401
|
+
|
|
2402
|
+
typedef IceUtil::Handle<T> TPtr;
|
|
2403
|
+
|
|
2404
|
+
typedef void (T::*Exception)(const ::Ice::Exception&);
|
|
2405
|
+
typedef void (T::*Sent)(bool);
|
|
2406
|
+
typedef void (T::*Response)(const ::Ice::SliceChecksumDict&);
|
|
2407
|
+
|
|
2408
|
+
CallbackNC_ServiceManager_getSliceChecksums(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
|
2409
|
+
: ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
|
|
2410
|
+
{
|
|
2411
|
+
}
|
|
2412
|
+
|
|
2413
|
+
/// \cond INTERNAL
|
|
2414
|
+
virtual void completed(const ::Ice::AsyncResultPtr& result) const
|
|
2415
|
+
{
|
|
2416
|
+
ServiceManagerPrx proxy = ServiceManagerPrx::uncheckedCast(result->getProxy());
|
|
2417
|
+
::Ice::SliceChecksumDict ret;
|
|
2418
|
+
try
|
|
2419
|
+
{
|
|
2420
|
+
ret = proxy->end_getSliceChecksums(result);
|
|
2421
|
+
}
|
|
2422
|
+
catch(const ::Ice::Exception& ex)
|
|
2423
|
+
{
|
|
2424
|
+
::IceInternal::CallbackNC<T>::exception(result, ex);
|
|
2425
|
+
return;
|
|
2426
|
+
}
|
|
2427
|
+
if(_response)
|
|
2428
|
+
{
|
|
2429
|
+
(::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
|
|
2430
|
+
}
|
|
2431
|
+
}
|
|
2432
|
+
/// \endcond
|
|
2433
|
+
|
|
2434
|
+
private:
|
|
2435
|
+
|
|
2436
|
+
Response _response;
|
|
2437
|
+
};
|
|
2438
|
+
|
|
2439
|
+
/**
|
|
2440
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2441
|
+
* @param instance The callback object.
|
|
2442
|
+
* @param cb The success method of the callback object.
|
|
2443
|
+
* @param excb The exception method of the callback object.
|
|
2444
|
+
* @param sentcb The sent method of the callback object.
|
|
2445
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_getSliceChecksums.
|
|
2446
|
+
*/
|
|
2447
|
+
template<class T> Callback_ServiceManager_getSliceChecksumsPtr
|
|
2448
|
+
newCallback_ServiceManager_getSliceChecksums(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::SliceChecksumDict&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
2449
|
+
{
|
|
2450
|
+
return new CallbackNC_ServiceManager_getSliceChecksums<T>(instance, cb, excb, sentcb);
|
|
2451
|
+
}
|
|
2452
|
+
|
|
2453
|
+
/**
|
|
2454
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2455
|
+
* @param instance The callback object.
|
|
2456
|
+
* @param cb The success method of the callback object.
|
|
2457
|
+
* @param excb The exception method of the callback object.
|
|
2458
|
+
* @param sentcb The sent method of the callback object.
|
|
2459
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_getSliceChecksums.
|
|
2460
|
+
*/
|
|
2461
|
+
template<class T> Callback_ServiceManager_getSliceChecksumsPtr
|
|
2462
|
+
newCallback_ServiceManager_getSliceChecksums(T* instance, void (T::*cb)(const ::Ice::SliceChecksumDict&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
2463
|
+
{
|
|
2464
|
+
return new CallbackNC_ServiceManager_getSliceChecksums<T>(instance, cb, excb, sentcb);
|
|
2465
|
+
}
|
|
2466
|
+
|
|
2467
|
+
/**
|
|
2468
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
|
2469
|
+
* IceProxy::IceBox::ServiceManager::begin_getSliceChecksums.
|
|
2470
|
+
* Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_getSliceChecksums.
|
|
2471
|
+
*/
|
|
2472
|
+
template<class T, typename CT>
|
|
2473
|
+
class Callback_ServiceManager_getSliceChecksums : public Callback_ServiceManager_getSliceChecksums_Base, public ::IceInternal::TwowayCallback<T, CT>
|
|
2474
|
+
{
|
|
2475
|
+
public:
|
|
2476
|
+
|
|
2477
|
+
typedef IceUtil::Handle<T> TPtr;
|
|
2478
|
+
|
|
2479
|
+
typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
|
|
2480
|
+
typedef void (T::*Sent)(bool , const CT&);
|
|
2481
|
+
typedef void (T::*Response)(const ::Ice::SliceChecksumDict&, const CT&);
|
|
2482
|
+
|
|
2483
|
+
Callback_ServiceManager_getSliceChecksums(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
|
2484
|
+
: ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
|
|
2485
|
+
{
|
|
2486
|
+
}
|
|
2487
|
+
|
|
2488
|
+
/// \cond INTERNAL
|
|
2489
|
+
virtual void completed(const ::Ice::AsyncResultPtr& result) const
|
|
2490
|
+
{
|
|
2491
|
+
ServiceManagerPrx proxy = ServiceManagerPrx::uncheckedCast(result->getProxy());
|
|
2492
|
+
::Ice::SliceChecksumDict ret;
|
|
2493
|
+
try
|
|
2494
|
+
{
|
|
2495
|
+
ret = proxy->end_getSliceChecksums(result);
|
|
2496
|
+
}
|
|
2497
|
+
catch(const ::Ice::Exception& ex)
|
|
2498
|
+
{
|
|
2499
|
+
::IceInternal::Callback<T, CT>::exception(result, ex);
|
|
2500
|
+
return;
|
|
2501
|
+
}
|
|
2502
|
+
if(_response)
|
|
2503
|
+
{
|
|
2504
|
+
(::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
|
|
2505
|
+
}
|
|
2506
|
+
}
|
|
2507
|
+
/// \endcond
|
|
2508
|
+
|
|
2509
|
+
private:
|
|
2510
|
+
|
|
2511
|
+
Response _response;
|
|
2512
|
+
};
|
|
2513
|
+
|
|
2514
|
+
/**
|
|
2515
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2516
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
2517
|
+
* @param instance The callback object.
|
|
2518
|
+
* @param cb The success method of the callback object.
|
|
2519
|
+
* @param excb The exception method of the callback object.
|
|
2520
|
+
* @param sentcb The sent method of the callback object.
|
|
2521
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_getSliceChecksums.
|
|
2522
|
+
*/
|
|
2523
|
+
template<class T, typename CT> Callback_ServiceManager_getSliceChecksumsPtr
|
|
2524
|
+
newCallback_ServiceManager_getSliceChecksums(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::Ice::SliceChecksumDict&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
2525
|
+
{
|
|
2526
|
+
return new Callback_ServiceManager_getSliceChecksums<T, CT>(instance, cb, excb, sentcb);
|
|
2527
|
+
}
|
|
2528
|
+
|
|
2529
|
+
/**
|
|
2530
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2531
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
2532
|
+
* @param instance The callback object.
|
|
2533
|
+
* @param cb The success method of the callback object.
|
|
2534
|
+
* @param excb The exception method of the callback object.
|
|
2535
|
+
* @param sentcb The sent method of the callback object.
|
|
2536
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_getSliceChecksums.
|
|
2537
|
+
*/
|
|
2538
|
+
template<class T, typename CT> Callback_ServiceManager_getSliceChecksumsPtr
|
|
2539
|
+
newCallback_ServiceManager_getSliceChecksums(T* instance, void (T::*cb)(const ::Ice::SliceChecksumDict&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
2540
|
+
{
|
|
2541
|
+
return new Callback_ServiceManager_getSliceChecksums<T, CT>(instance, cb, excb, sentcb);
|
|
2542
|
+
}
|
|
2543
|
+
|
|
2544
|
+
/**
|
|
2545
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
|
2546
|
+
* IceProxy::IceBox::ServiceManager::begin_startService.
|
|
2547
|
+
* Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_startService.
|
|
2548
|
+
*/
|
|
2549
|
+
template<class T>
|
|
2550
|
+
class CallbackNC_ServiceManager_startService : public Callback_ServiceManager_startService_Base, public ::IceInternal::TwowayCallbackNC<T>
|
|
2551
|
+
{
|
|
2552
|
+
public:
|
|
2553
|
+
|
|
2554
|
+
typedef IceUtil::Handle<T> TPtr;
|
|
2555
|
+
|
|
2556
|
+
typedef void (T::*Exception)(const ::Ice::Exception&);
|
|
2557
|
+
typedef void (T::*Sent)(bool);
|
|
2558
|
+
typedef void (T::*Response)();
|
|
2559
|
+
|
|
2560
|
+
CallbackNC_ServiceManager_startService(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
|
2561
|
+
: ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
|
|
2562
|
+
{
|
|
2563
|
+
}
|
|
2564
|
+
|
|
2565
|
+
/// \cond INTERNAL
|
|
2566
|
+
virtual void completed(const ::Ice::AsyncResultPtr& result) const
|
|
2567
|
+
{
|
|
2568
|
+
ServiceManagerPrx proxy = ServiceManagerPrx::uncheckedCast(result->getProxy());
|
|
2569
|
+
try
|
|
2570
|
+
{
|
|
2571
|
+
proxy->end_startService(result);
|
|
2572
|
+
}
|
|
2573
|
+
catch(const ::Ice::Exception& ex)
|
|
2574
|
+
{
|
|
2575
|
+
::IceInternal::CallbackNC<T>::exception(result, ex);
|
|
2576
|
+
return;
|
|
2577
|
+
}
|
|
2578
|
+
if(_response)
|
|
2579
|
+
{
|
|
2580
|
+
(::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
|
|
2581
|
+
}
|
|
2582
|
+
}
|
|
2583
|
+
/// \endcond
|
|
2584
|
+
|
|
2585
|
+
private:
|
|
2586
|
+
|
|
2587
|
+
Response _response;
|
|
2588
|
+
};
|
|
2589
|
+
|
|
2590
|
+
/**
|
|
2591
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2592
|
+
* @param instance The callback object.
|
|
2593
|
+
* @param cb The success method of the callback object.
|
|
2594
|
+
* @param excb The exception method of the callback object.
|
|
2595
|
+
* @param sentcb The sent method of the callback object.
|
|
2596
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_startService.
|
|
2597
|
+
*/
|
|
2598
|
+
template<class T> Callback_ServiceManager_startServicePtr
|
|
2599
|
+
newCallback_ServiceManager_startService(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
2600
|
+
{
|
|
2601
|
+
return new CallbackNC_ServiceManager_startService<T>(instance, cb, excb, sentcb);
|
|
2602
|
+
}
|
|
2603
|
+
|
|
2604
|
+
/**
|
|
2605
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2606
|
+
* @param instance The callback object.
|
|
2607
|
+
* @param excb The exception method of the callback object.
|
|
2608
|
+
* @param sentcb The sent method of the callback object.
|
|
2609
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_startService.
|
|
2610
|
+
*/
|
|
2611
|
+
template<class T> Callback_ServiceManager_startServicePtr
|
|
2612
|
+
newCallback_ServiceManager_startService(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
2613
|
+
{
|
|
2614
|
+
return new CallbackNC_ServiceManager_startService<T>(instance, 0, excb, sentcb);
|
|
2615
|
+
}
|
|
2616
|
+
|
|
2617
|
+
/**
|
|
2618
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2619
|
+
* @param instance The callback object.
|
|
2620
|
+
* @param cb The success method of the callback object.
|
|
2621
|
+
* @param excb The exception method of the callback object.
|
|
2622
|
+
* @param sentcb The sent method of the callback object.
|
|
2623
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_startService.
|
|
2624
|
+
*/
|
|
2625
|
+
template<class T> Callback_ServiceManager_startServicePtr
|
|
2626
|
+
newCallback_ServiceManager_startService(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
2627
|
+
{
|
|
2628
|
+
return new CallbackNC_ServiceManager_startService<T>(instance, cb, excb, sentcb);
|
|
2629
|
+
}
|
|
2630
|
+
|
|
2631
|
+
/**
|
|
2632
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2633
|
+
* @param instance The callback object.
|
|
2634
|
+
* @param excb The exception method of the callback object.
|
|
2635
|
+
* @param sentcb The sent method of the callback object.
|
|
2636
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_startService.
|
|
2637
|
+
*/
|
|
2638
|
+
template<class T> Callback_ServiceManager_startServicePtr
|
|
2639
|
+
newCallback_ServiceManager_startService(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
2640
|
+
{
|
|
2641
|
+
return new CallbackNC_ServiceManager_startService<T>(instance, 0, excb, sentcb);
|
|
2642
|
+
}
|
|
2643
|
+
|
|
2644
|
+
/**
|
|
2645
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
|
2646
|
+
* IceProxy::IceBox::ServiceManager::begin_startService.
|
|
2647
|
+
* Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_startService.
|
|
2648
|
+
*/
|
|
2649
|
+
template<class T, typename CT>
|
|
2650
|
+
class Callback_ServiceManager_startService : public Callback_ServiceManager_startService_Base, public ::IceInternal::TwowayCallback<T, CT>
|
|
2651
|
+
{
|
|
2652
|
+
public:
|
|
2653
|
+
|
|
2654
|
+
typedef IceUtil::Handle<T> TPtr;
|
|
2655
|
+
|
|
2656
|
+
typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
|
|
2657
|
+
typedef void (T::*Sent)(bool , const CT&);
|
|
2658
|
+
typedef void (T::*Response)(const CT&);
|
|
2659
|
+
|
|
2660
|
+
Callback_ServiceManager_startService(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
|
2661
|
+
: ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
|
|
2662
|
+
{
|
|
2663
|
+
}
|
|
2664
|
+
|
|
2665
|
+
/// \cond INTERNAL
|
|
2666
|
+
virtual void completed(const ::Ice::AsyncResultPtr& result) const
|
|
2667
|
+
{
|
|
2668
|
+
ServiceManagerPrx proxy = ServiceManagerPrx::uncheckedCast(result->getProxy());
|
|
2669
|
+
try
|
|
2670
|
+
{
|
|
2671
|
+
proxy->end_startService(result);
|
|
2672
|
+
}
|
|
2673
|
+
catch(const ::Ice::Exception& ex)
|
|
2674
|
+
{
|
|
2675
|
+
::IceInternal::Callback<T, CT>::exception(result, ex);
|
|
2676
|
+
return;
|
|
2677
|
+
}
|
|
2678
|
+
if(_response)
|
|
2679
|
+
{
|
|
2680
|
+
(::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
|
|
2681
|
+
}
|
|
2682
|
+
}
|
|
2683
|
+
/// \endcond
|
|
2684
|
+
|
|
2685
|
+
private:
|
|
2686
|
+
|
|
2687
|
+
Response _response;
|
|
2688
|
+
};
|
|
2689
|
+
|
|
2690
|
+
/**
|
|
2691
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2692
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
2693
|
+
* @param instance The callback object.
|
|
2694
|
+
* @param cb The success method of the callback object.
|
|
2695
|
+
* @param excb The exception method of the callback object.
|
|
2696
|
+
* @param sentcb The sent method of the callback object.
|
|
2697
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_startService.
|
|
2698
|
+
*/
|
|
2699
|
+
template<class T, typename CT> Callback_ServiceManager_startServicePtr
|
|
2700
|
+
newCallback_ServiceManager_startService(const IceUtil::Handle<T>& instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
2701
|
+
{
|
|
2702
|
+
return new Callback_ServiceManager_startService<T, CT>(instance, cb, excb, sentcb);
|
|
2703
|
+
}
|
|
2704
|
+
|
|
2705
|
+
/**
|
|
2706
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2707
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
2708
|
+
* @param instance The callback object.
|
|
2709
|
+
* @param excb The exception method of the callback object.
|
|
2710
|
+
* @param sentcb The sent method of the callback object.
|
|
2711
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_startService.
|
|
2712
|
+
*/
|
|
2713
|
+
template<class T, typename CT> Callback_ServiceManager_startServicePtr
|
|
2714
|
+
newCallback_ServiceManager_startService(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
2715
|
+
{
|
|
2716
|
+
return new Callback_ServiceManager_startService<T, CT>(instance, 0, excb, sentcb);
|
|
2717
|
+
}
|
|
2718
|
+
|
|
2719
|
+
/**
|
|
2720
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2721
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
2722
|
+
* @param instance The callback object.
|
|
2723
|
+
* @param cb The success method of the callback object.
|
|
2724
|
+
* @param excb The exception method of the callback object.
|
|
2725
|
+
* @param sentcb The sent method of the callback object.
|
|
2726
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_startService.
|
|
2727
|
+
*/
|
|
2728
|
+
template<class T, typename CT> Callback_ServiceManager_startServicePtr
|
|
2729
|
+
newCallback_ServiceManager_startService(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
2730
|
+
{
|
|
2731
|
+
return new Callback_ServiceManager_startService<T, CT>(instance, cb, excb, sentcb);
|
|
2732
|
+
}
|
|
2733
|
+
|
|
2734
|
+
/**
|
|
2735
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2736
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
2737
|
+
* @param instance The callback object.
|
|
2738
|
+
* @param excb The exception method of the callback object.
|
|
2739
|
+
* @param sentcb The sent method of the callback object.
|
|
2740
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_startService.
|
|
2741
|
+
*/
|
|
2742
|
+
template<class T, typename CT> Callback_ServiceManager_startServicePtr
|
|
2743
|
+
newCallback_ServiceManager_startService(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
2744
|
+
{
|
|
2745
|
+
return new Callback_ServiceManager_startService<T, CT>(instance, 0, excb, sentcb);
|
|
2746
|
+
}
|
|
2747
|
+
|
|
2748
|
+
/**
|
|
2749
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
|
2750
|
+
* IceProxy::IceBox::ServiceManager::begin_stopService.
|
|
2751
|
+
* Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_stopService.
|
|
2752
|
+
*/
|
|
2753
|
+
template<class T>
|
|
2754
|
+
class CallbackNC_ServiceManager_stopService : public Callback_ServiceManager_stopService_Base, public ::IceInternal::TwowayCallbackNC<T>
|
|
2755
|
+
{
|
|
2756
|
+
public:
|
|
2757
|
+
|
|
2758
|
+
typedef IceUtil::Handle<T> TPtr;
|
|
2759
|
+
|
|
2760
|
+
typedef void (T::*Exception)(const ::Ice::Exception&);
|
|
2761
|
+
typedef void (T::*Sent)(bool);
|
|
2762
|
+
typedef void (T::*Response)();
|
|
2763
|
+
|
|
2764
|
+
CallbackNC_ServiceManager_stopService(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
|
2765
|
+
: ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
|
|
2766
|
+
{
|
|
2767
|
+
}
|
|
2768
|
+
|
|
2769
|
+
/// \cond INTERNAL
|
|
2770
|
+
virtual void completed(const ::Ice::AsyncResultPtr& result) const
|
|
2771
|
+
{
|
|
2772
|
+
ServiceManagerPrx proxy = ServiceManagerPrx::uncheckedCast(result->getProxy());
|
|
2773
|
+
try
|
|
2774
|
+
{
|
|
2775
|
+
proxy->end_stopService(result);
|
|
2776
|
+
}
|
|
2777
|
+
catch(const ::Ice::Exception& ex)
|
|
2778
|
+
{
|
|
2779
|
+
::IceInternal::CallbackNC<T>::exception(result, ex);
|
|
2780
|
+
return;
|
|
2781
|
+
}
|
|
2782
|
+
if(_response)
|
|
2783
|
+
{
|
|
2784
|
+
(::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
|
|
2785
|
+
}
|
|
2786
|
+
}
|
|
2787
|
+
/// \endcond
|
|
2788
|
+
|
|
2789
|
+
private:
|
|
2790
|
+
|
|
2791
|
+
Response _response;
|
|
2792
|
+
};
|
|
2793
|
+
|
|
2794
|
+
/**
|
|
2795
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2796
|
+
* @param instance The callback object.
|
|
2797
|
+
* @param cb The success method of the callback object.
|
|
2798
|
+
* @param excb The exception method of the callback object.
|
|
2799
|
+
* @param sentcb The sent method of the callback object.
|
|
2800
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_stopService.
|
|
2801
|
+
*/
|
|
2802
|
+
template<class T> Callback_ServiceManager_stopServicePtr
|
|
2803
|
+
newCallback_ServiceManager_stopService(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
2804
|
+
{
|
|
2805
|
+
return new CallbackNC_ServiceManager_stopService<T>(instance, cb, excb, sentcb);
|
|
2806
|
+
}
|
|
2807
|
+
|
|
2808
|
+
/**
|
|
2809
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2810
|
+
* @param instance The callback object.
|
|
2811
|
+
* @param excb The exception method of the callback object.
|
|
2812
|
+
* @param sentcb The sent method of the callback object.
|
|
2813
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_stopService.
|
|
2814
|
+
*/
|
|
2815
|
+
template<class T> Callback_ServiceManager_stopServicePtr
|
|
2816
|
+
newCallback_ServiceManager_stopService(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
2817
|
+
{
|
|
2818
|
+
return new CallbackNC_ServiceManager_stopService<T>(instance, 0, excb, sentcb);
|
|
2819
|
+
}
|
|
2820
|
+
|
|
2821
|
+
/**
|
|
2822
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2823
|
+
* @param instance The callback object.
|
|
2824
|
+
* @param cb The success method of the callback object.
|
|
2825
|
+
* @param excb The exception method of the callback object.
|
|
2826
|
+
* @param sentcb The sent method of the callback object.
|
|
2827
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_stopService.
|
|
2828
|
+
*/
|
|
2829
|
+
template<class T> Callback_ServiceManager_stopServicePtr
|
|
2830
|
+
newCallback_ServiceManager_stopService(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
2831
|
+
{
|
|
2832
|
+
return new CallbackNC_ServiceManager_stopService<T>(instance, cb, excb, sentcb);
|
|
2833
|
+
}
|
|
2834
|
+
|
|
2835
|
+
/**
|
|
2836
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2837
|
+
* @param instance The callback object.
|
|
2838
|
+
* @param excb The exception method of the callback object.
|
|
2839
|
+
* @param sentcb The sent method of the callback object.
|
|
2840
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_stopService.
|
|
2841
|
+
*/
|
|
2842
|
+
template<class T> Callback_ServiceManager_stopServicePtr
|
|
2843
|
+
newCallback_ServiceManager_stopService(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
2844
|
+
{
|
|
2845
|
+
return new CallbackNC_ServiceManager_stopService<T>(instance, 0, excb, sentcb);
|
|
2846
|
+
}
|
|
2847
|
+
|
|
2848
|
+
/**
|
|
2849
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
|
2850
|
+
* IceProxy::IceBox::ServiceManager::begin_stopService.
|
|
2851
|
+
* Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_stopService.
|
|
2852
|
+
*/
|
|
2853
|
+
template<class T, typename CT>
|
|
2854
|
+
class Callback_ServiceManager_stopService : public Callback_ServiceManager_stopService_Base, public ::IceInternal::TwowayCallback<T, CT>
|
|
2855
|
+
{
|
|
2856
|
+
public:
|
|
2857
|
+
|
|
2858
|
+
typedef IceUtil::Handle<T> TPtr;
|
|
2859
|
+
|
|
2860
|
+
typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
|
|
2861
|
+
typedef void (T::*Sent)(bool , const CT&);
|
|
2862
|
+
typedef void (T::*Response)(const CT&);
|
|
2863
|
+
|
|
2864
|
+
Callback_ServiceManager_stopService(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
|
2865
|
+
: ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
|
|
2866
|
+
{
|
|
2867
|
+
}
|
|
2868
|
+
|
|
2869
|
+
/// \cond INTERNAL
|
|
2870
|
+
virtual void completed(const ::Ice::AsyncResultPtr& result) const
|
|
2871
|
+
{
|
|
2872
|
+
ServiceManagerPrx proxy = ServiceManagerPrx::uncheckedCast(result->getProxy());
|
|
2873
|
+
try
|
|
2874
|
+
{
|
|
2875
|
+
proxy->end_stopService(result);
|
|
2876
|
+
}
|
|
2877
|
+
catch(const ::Ice::Exception& ex)
|
|
2878
|
+
{
|
|
2879
|
+
::IceInternal::Callback<T, CT>::exception(result, ex);
|
|
2880
|
+
return;
|
|
2881
|
+
}
|
|
2882
|
+
if(_response)
|
|
2883
|
+
{
|
|
2884
|
+
(::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
|
|
2885
|
+
}
|
|
2886
|
+
}
|
|
2887
|
+
/// \endcond
|
|
2888
|
+
|
|
2889
|
+
private:
|
|
2890
|
+
|
|
2891
|
+
Response _response;
|
|
2892
|
+
};
|
|
2893
|
+
|
|
2894
|
+
/**
|
|
2895
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2896
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
2897
|
+
* @param instance The callback object.
|
|
2898
|
+
* @param cb The success method of the callback object.
|
|
2899
|
+
* @param excb The exception method of the callback object.
|
|
2900
|
+
* @param sentcb The sent method of the callback object.
|
|
2901
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_stopService.
|
|
2902
|
+
*/
|
|
2903
|
+
template<class T, typename CT> Callback_ServiceManager_stopServicePtr
|
|
2904
|
+
newCallback_ServiceManager_stopService(const IceUtil::Handle<T>& instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
2905
|
+
{
|
|
2906
|
+
return new Callback_ServiceManager_stopService<T, CT>(instance, cb, excb, sentcb);
|
|
2907
|
+
}
|
|
2908
|
+
|
|
2909
|
+
/**
|
|
2910
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2911
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
2912
|
+
* @param instance The callback object.
|
|
2913
|
+
* @param excb The exception method of the callback object.
|
|
2914
|
+
* @param sentcb The sent method of the callback object.
|
|
2915
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_stopService.
|
|
2916
|
+
*/
|
|
2917
|
+
template<class T, typename CT> Callback_ServiceManager_stopServicePtr
|
|
2918
|
+
newCallback_ServiceManager_stopService(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
2919
|
+
{
|
|
2920
|
+
return new Callback_ServiceManager_stopService<T, CT>(instance, 0, excb, sentcb);
|
|
2921
|
+
}
|
|
2922
|
+
|
|
2923
|
+
/**
|
|
2924
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2925
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
2926
|
+
* @param instance The callback object.
|
|
2927
|
+
* @param cb The success method of the callback object.
|
|
2928
|
+
* @param excb The exception method of the callback object.
|
|
2929
|
+
* @param sentcb The sent method of the callback object.
|
|
2930
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_stopService.
|
|
2931
|
+
*/
|
|
2932
|
+
template<class T, typename CT> Callback_ServiceManager_stopServicePtr
|
|
2933
|
+
newCallback_ServiceManager_stopService(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
2934
|
+
{
|
|
2935
|
+
return new Callback_ServiceManager_stopService<T, CT>(instance, cb, excb, sentcb);
|
|
2936
|
+
}
|
|
2937
|
+
|
|
2938
|
+
/**
|
|
2939
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2940
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
2941
|
+
* @param instance The callback object.
|
|
2942
|
+
* @param excb The exception method of the callback object.
|
|
2943
|
+
* @param sentcb The sent method of the callback object.
|
|
2944
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_stopService.
|
|
2945
|
+
*/
|
|
2946
|
+
template<class T, typename CT> Callback_ServiceManager_stopServicePtr
|
|
2947
|
+
newCallback_ServiceManager_stopService(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
2948
|
+
{
|
|
2949
|
+
return new Callback_ServiceManager_stopService<T, CT>(instance, 0, excb, sentcb);
|
|
2950
|
+
}
|
|
2951
|
+
|
|
2952
|
+
/**
|
|
2953
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
|
2954
|
+
* IceProxy::IceBox::ServiceManager::begin_addObserver.
|
|
2955
|
+
* Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_addObserver.
|
|
2956
|
+
*/
|
|
2957
|
+
template<class T>
|
|
2958
|
+
class CallbackNC_ServiceManager_addObserver : public Callback_ServiceManager_addObserver_Base, public ::IceInternal::OnewayCallbackNC<T>
|
|
2959
|
+
{
|
|
2960
|
+
public:
|
|
2961
|
+
|
|
2962
|
+
typedef IceUtil::Handle<T> TPtr;
|
|
2963
|
+
|
|
2964
|
+
typedef void (T::*Exception)(const ::Ice::Exception&);
|
|
2965
|
+
typedef void (T::*Sent)(bool);
|
|
2966
|
+
typedef void (T::*Response)();
|
|
2967
|
+
|
|
2968
|
+
CallbackNC_ServiceManager_addObserver(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
|
2969
|
+
: ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
|
|
2970
|
+
{
|
|
2971
|
+
}
|
|
2972
|
+
};
|
|
2973
|
+
|
|
2974
|
+
/**
|
|
2975
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2976
|
+
* @param instance The callback object.
|
|
2977
|
+
* @param cb The success method of the callback object.
|
|
2978
|
+
* @param excb The exception method of the callback object.
|
|
2979
|
+
* @param sentcb The sent method of the callback object.
|
|
2980
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_addObserver.
|
|
2981
|
+
*/
|
|
2982
|
+
template<class T> Callback_ServiceManager_addObserverPtr
|
|
2983
|
+
newCallback_ServiceManager_addObserver(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
2984
|
+
{
|
|
2985
|
+
return new CallbackNC_ServiceManager_addObserver<T>(instance, cb, excb, sentcb);
|
|
2986
|
+
}
|
|
2987
|
+
|
|
2988
|
+
/**
|
|
2989
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
2990
|
+
* @param instance The callback object.
|
|
2991
|
+
* @param excb The exception method of the callback object.
|
|
2992
|
+
* @param sentcb The sent method of the callback object.
|
|
2993
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_addObserver.
|
|
2994
|
+
*/
|
|
2995
|
+
template<class T> Callback_ServiceManager_addObserverPtr
|
|
2996
|
+
newCallback_ServiceManager_addObserver(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
2997
|
+
{
|
|
2998
|
+
return new CallbackNC_ServiceManager_addObserver<T>(instance, 0, excb, sentcb);
|
|
2999
|
+
}
|
|
3000
|
+
|
|
3001
|
+
/**
|
|
3002
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
3003
|
+
* @param instance The callback object.
|
|
3004
|
+
* @param cb The success method of the callback object.
|
|
3005
|
+
* @param excb The exception method of the callback object.
|
|
3006
|
+
* @param sentcb The sent method of the callback object.
|
|
3007
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_addObserver.
|
|
3008
|
+
*/
|
|
3009
|
+
template<class T> Callback_ServiceManager_addObserverPtr
|
|
3010
|
+
newCallback_ServiceManager_addObserver(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
3011
|
+
{
|
|
3012
|
+
return new CallbackNC_ServiceManager_addObserver<T>(instance, cb, excb, sentcb);
|
|
3013
|
+
}
|
|
3014
|
+
|
|
3015
|
+
/**
|
|
3016
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
3017
|
+
* @param instance The callback object.
|
|
3018
|
+
* @param excb The exception method of the callback object.
|
|
3019
|
+
* @param sentcb The sent method of the callback object.
|
|
3020
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_addObserver.
|
|
3021
|
+
*/
|
|
3022
|
+
template<class T> Callback_ServiceManager_addObserverPtr
|
|
3023
|
+
newCallback_ServiceManager_addObserver(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
3024
|
+
{
|
|
3025
|
+
return new CallbackNC_ServiceManager_addObserver<T>(instance, 0, excb, sentcb);
|
|
3026
|
+
}
|
|
3027
|
+
|
|
3028
|
+
/**
|
|
3029
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
|
3030
|
+
* IceProxy::IceBox::ServiceManager::begin_addObserver.
|
|
3031
|
+
* Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_addObserver.
|
|
3032
|
+
*/
|
|
3033
|
+
template<class T, typename CT>
|
|
3034
|
+
class Callback_ServiceManager_addObserver : public Callback_ServiceManager_addObserver_Base, public ::IceInternal::OnewayCallback<T, CT>
|
|
3035
|
+
{
|
|
3036
|
+
public:
|
|
3037
|
+
|
|
3038
|
+
typedef IceUtil::Handle<T> TPtr;
|
|
3039
|
+
|
|
3040
|
+
typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
|
|
3041
|
+
typedef void (T::*Sent)(bool , const CT&);
|
|
3042
|
+
typedef void (T::*Response)(const CT&);
|
|
3043
|
+
|
|
3044
|
+
Callback_ServiceManager_addObserver(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
|
3045
|
+
: ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
|
|
3046
|
+
{
|
|
3047
|
+
}
|
|
3048
|
+
};
|
|
3049
|
+
|
|
3050
|
+
/**
|
|
3051
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
3052
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
3053
|
+
* @param instance The callback object.
|
|
3054
|
+
* @param cb The success method of the callback object.
|
|
3055
|
+
* @param excb The exception method of the callback object.
|
|
3056
|
+
* @param sentcb The sent method of the callback object.
|
|
3057
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_addObserver.
|
|
3058
|
+
*/
|
|
3059
|
+
template<class T, typename CT> Callback_ServiceManager_addObserverPtr
|
|
3060
|
+
newCallback_ServiceManager_addObserver(const IceUtil::Handle<T>& instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
3061
|
+
{
|
|
3062
|
+
return new Callback_ServiceManager_addObserver<T, CT>(instance, cb, excb, sentcb);
|
|
3063
|
+
}
|
|
3064
|
+
|
|
3065
|
+
/**
|
|
3066
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
3067
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
3068
|
+
* @param instance The callback object.
|
|
3069
|
+
* @param excb The exception method of the callback object.
|
|
3070
|
+
* @param sentcb The sent method of the callback object.
|
|
3071
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_addObserver.
|
|
3072
|
+
*/
|
|
3073
|
+
template<class T, typename CT> Callback_ServiceManager_addObserverPtr
|
|
3074
|
+
newCallback_ServiceManager_addObserver(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
3075
|
+
{
|
|
3076
|
+
return new Callback_ServiceManager_addObserver<T, CT>(instance, 0, excb, sentcb);
|
|
3077
|
+
}
|
|
3078
|
+
|
|
3079
|
+
/**
|
|
3080
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
3081
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
3082
|
+
* @param instance The callback object.
|
|
3083
|
+
* @param cb The success method of the callback object.
|
|
3084
|
+
* @param excb The exception method of the callback object.
|
|
3085
|
+
* @param sentcb The sent method of the callback object.
|
|
3086
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_addObserver.
|
|
3087
|
+
*/
|
|
3088
|
+
template<class T, typename CT> Callback_ServiceManager_addObserverPtr
|
|
3089
|
+
newCallback_ServiceManager_addObserver(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
3090
|
+
{
|
|
3091
|
+
return new Callback_ServiceManager_addObserver<T, CT>(instance, cb, excb, sentcb);
|
|
3092
|
+
}
|
|
3093
|
+
|
|
3094
|
+
/**
|
|
3095
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
3096
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
3097
|
+
* @param instance The callback object.
|
|
3098
|
+
* @param excb The exception method of the callback object.
|
|
3099
|
+
* @param sentcb The sent method of the callback object.
|
|
3100
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_addObserver.
|
|
3101
|
+
*/
|
|
3102
|
+
template<class T, typename CT> Callback_ServiceManager_addObserverPtr
|
|
3103
|
+
newCallback_ServiceManager_addObserver(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
3104
|
+
{
|
|
3105
|
+
return new Callback_ServiceManager_addObserver<T, CT>(instance, 0, excb, sentcb);
|
|
3106
|
+
}
|
|
3107
|
+
|
|
3108
|
+
/**
|
|
3109
|
+
* Type-safe asynchronous callback wrapper class used for calls to
|
|
3110
|
+
* IceProxy::IceBox::ServiceManager::begin_shutdown.
|
|
3111
|
+
* Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_shutdown.
|
|
3112
|
+
*/
|
|
3113
|
+
template<class T>
|
|
3114
|
+
class CallbackNC_ServiceManager_shutdown : public Callback_ServiceManager_shutdown_Base, public ::IceInternal::OnewayCallbackNC<T>
|
|
3115
|
+
{
|
|
3116
|
+
public:
|
|
3117
|
+
|
|
3118
|
+
typedef IceUtil::Handle<T> TPtr;
|
|
3119
|
+
|
|
3120
|
+
typedef void (T::*Exception)(const ::Ice::Exception&);
|
|
3121
|
+
typedef void (T::*Sent)(bool);
|
|
3122
|
+
typedef void (T::*Response)();
|
|
3123
|
+
|
|
3124
|
+
CallbackNC_ServiceManager_shutdown(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
|
3125
|
+
: ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
|
|
3126
|
+
{
|
|
3127
|
+
}
|
|
3128
|
+
};
|
|
3129
|
+
|
|
3130
|
+
/**
|
|
3131
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
3132
|
+
* @param instance The callback object.
|
|
3133
|
+
* @param cb The success method of the callback object.
|
|
3134
|
+
* @param excb The exception method of the callback object.
|
|
3135
|
+
* @param sentcb The sent method of the callback object.
|
|
3136
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_shutdown.
|
|
3137
|
+
*/
|
|
3138
|
+
template<class T> Callback_ServiceManager_shutdownPtr
|
|
3139
|
+
newCallback_ServiceManager_shutdown(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
3140
|
+
{
|
|
3141
|
+
return new CallbackNC_ServiceManager_shutdown<T>(instance, cb, excb, sentcb);
|
|
3142
|
+
}
|
|
3143
|
+
|
|
3144
|
+
/**
|
|
3145
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
3146
|
+
* @param instance The callback object.
|
|
3147
|
+
* @param excb The exception method of the callback object.
|
|
3148
|
+
* @param sentcb The sent method of the callback object.
|
|
3149
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_shutdown.
|
|
3150
|
+
*/
|
|
3151
|
+
template<class T> Callback_ServiceManager_shutdownPtr
|
|
3152
|
+
newCallback_ServiceManager_shutdown(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
3153
|
+
{
|
|
3154
|
+
return new CallbackNC_ServiceManager_shutdown<T>(instance, 0, excb, sentcb);
|
|
3155
|
+
}
|
|
3156
|
+
|
|
3157
|
+
/**
|
|
3158
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
3159
|
+
* @param instance The callback object.
|
|
3160
|
+
* @param cb The success method of the callback object.
|
|
3161
|
+
* @param excb The exception method of the callback object.
|
|
3162
|
+
* @param sentcb The sent method of the callback object.
|
|
3163
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_shutdown.
|
|
3164
|
+
*/
|
|
3165
|
+
template<class T> Callback_ServiceManager_shutdownPtr
|
|
3166
|
+
newCallback_ServiceManager_shutdown(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
3167
|
+
{
|
|
3168
|
+
return new CallbackNC_ServiceManager_shutdown<T>(instance, cb, excb, sentcb);
|
|
3169
|
+
}
|
|
3170
|
+
|
|
3171
|
+
/**
|
|
3172
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
3173
|
+
* @param instance The callback object.
|
|
3174
|
+
* @param excb The exception method of the callback object.
|
|
3175
|
+
* @param sentcb The sent method of the callback object.
|
|
3176
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_shutdown.
|
|
3177
|
+
*/
|
|
3178
|
+
template<class T> Callback_ServiceManager_shutdownPtr
|
|
3179
|
+
newCallback_ServiceManager_shutdown(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
3180
|
+
{
|
|
3181
|
+
return new CallbackNC_ServiceManager_shutdown<T>(instance, 0, excb, sentcb);
|
|
3182
|
+
}
|
|
3183
|
+
|
|
3184
|
+
/**
|
|
3185
|
+
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
|
3186
|
+
* IceProxy::IceBox::ServiceManager::begin_shutdown.
|
|
3187
|
+
* Create a wrapper instance by calling ::IceBox::newCallback_ServiceManager_shutdown.
|
|
3188
|
+
*/
|
|
3189
|
+
template<class T, typename CT>
|
|
3190
|
+
class Callback_ServiceManager_shutdown : public Callback_ServiceManager_shutdown_Base, public ::IceInternal::OnewayCallback<T, CT>
|
|
3191
|
+
{
|
|
3192
|
+
public:
|
|
3193
|
+
|
|
3194
|
+
typedef IceUtil::Handle<T> TPtr;
|
|
3195
|
+
|
|
3196
|
+
typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
|
|
3197
|
+
typedef void (T::*Sent)(bool , const CT&);
|
|
3198
|
+
typedef void (T::*Response)(const CT&);
|
|
3199
|
+
|
|
3200
|
+
Callback_ServiceManager_shutdown(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
|
3201
|
+
: ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
|
|
3202
|
+
{
|
|
3203
|
+
}
|
|
3204
|
+
};
|
|
3205
|
+
|
|
3206
|
+
/**
|
|
3207
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
3208
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
3209
|
+
* @param instance The callback object.
|
|
3210
|
+
* @param cb The success method of the callback object.
|
|
3211
|
+
* @param excb The exception method of the callback object.
|
|
3212
|
+
* @param sentcb The sent method of the callback object.
|
|
3213
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_shutdown.
|
|
3214
|
+
*/
|
|
3215
|
+
template<class T, typename CT> Callback_ServiceManager_shutdownPtr
|
|
3216
|
+
newCallback_ServiceManager_shutdown(const IceUtil::Handle<T>& instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
3217
|
+
{
|
|
3218
|
+
return new Callback_ServiceManager_shutdown<T, CT>(instance, cb, excb, sentcb);
|
|
3219
|
+
}
|
|
3220
|
+
|
|
3221
|
+
/**
|
|
3222
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
3223
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
3224
|
+
* @param instance The callback object.
|
|
3225
|
+
* @param excb The exception method of the callback object.
|
|
3226
|
+
* @param sentcb The sent method of the callback object.
|
|
3227
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_shutdown.
|
|
3228
|
+
*/
|
|
3229
|
+
template<class T, typename CT> Callback_ServiceManager_shutdownPtr
|
|
3230
|
+
newCallback_ServiceManager_shutdown(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
3231
|
+
{
|
|
3232
|
+
return new Callback_ServiceManager_shutdown<T, CT>(instance, 0, excb, sentcb);
|
|
3233
|
+
}
|
|
3234
|
+
|
|
3235
|
+
/**
|
|
3236
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
3237
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
3238
|
+
* @param instance The callback object.
|
|
3239
|
+
* @param cb The success method of the callback object.
|
|
3240
|
+
* @param excb The exception method of the callback object.
|
|
3241
|
+
* @param sentcb The sent method of the callback object.
|
|
3242
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_shutdown.
|
|
3243
|
+
*/
|
|
3244
|
+
template<class T, typename CT> Callback_ServiceManager_shutdownPtr
|
|
3245
|
+
newCallback_ServiceManager_shutdown(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
3246
|
+
{
|
|
3247
|
+
return new Callback_ServiceManager_shutdown<T, CT>(instance, cb, excb, sentcb);
|
|
3248
|
+
}
|
|
3249
|
+
|
|
3250
|
+
/**
|
|
3251
|
+
* Creates a callback wrapper instance that delegates to your object.
|
|
3252
|
+
* Use this overload when your callback methods receive a cookie value.
|
|
3253
|
+
* @param instance The callback object.
|
|
3254
|
+
* @param excb The exception method of the callback object.
|
|
3255
|
+
* @param sentcb The sent method of the callback object.
|
|
3256
|
+
* @return An object that can be passed to an asynchronous invocation of IceProxy::IceBox::ServiceManager::begin_shutdown.
|
|
3257
|
+
*/
|
|
3258
|
+
template<class T, typename CT> Callback_ServiceManager_shutdownPtr
|
|
3259
|
+
newCallback_ServiceManager_shutdown(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
3260
|
+
{
|
|
3261
|
+
return new Callback_ServiceManager_shutdown<T, CT>(instance, 0, excb, sentcb);
|
|
3262
|
+
}
|
|
3263
|
+
|
|
3264
|
+
}
|
|
3265
|
+
|
|
3266
|
+
#endif
|
|
3267
|
+
|
|
3268
|
+
#include <IceUtil/PopDisableWarnings.h>
|
|
3269
|
+
#endif
|