zeroc-ice 3.7.2 → 3.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ext/Config.h +4 -0
- data/ext/Operation.cpp +5 -5
- data/ext/Properties.cpp +1 -1
- data/ext/Proxy.cpp +16 -2
- data/ext/Types.cpp +45 -40
- data/ext/Util.cpp +1 -1
- data/ext/Util.h +10 -8
- data/ext/ice/cpp/include/Ice/Config.h +4 -0
- data/ext/ice/cpp/include/Ice/FactoryTableInit.h +1 -1
- data/ext/ice/cpp/include/Ice/IconvStringConverter.h +4 -3
- data/ext/ice/cpp/include/Ice/InputStream.h +4 -4
- data/ext/ice/cpp/include/Ice/Optional.h +11 -0
- data/ext/ice/cpp/include/Ice/OutgoingAsync.h +1 -1
- data/ext/ice/cpp/include/Ice/OutputStream.h +5 -5
- data/ext/ice/cpp/include/Ice/Proxy.h +17 -5
- data/ext/ice/cpp/include/Ice/StreamHelpers.h +1 -1
- data/ext/ice/cpp/include/Ice/Value.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Atomic.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Config.h +16 -6
- data/ext/ice/cpp/include/IceUtil/ConsoleUtil.h +4 -4
- data/ext/ice/cpp/include/IceUtil/Optional.h +8 -0
- data/ext/ice/cpp/include/IceUtil/OutputUtil.h +17 -14
- data/ext/ice/cpp/include/IceUtil/Random.h +1 -1
- data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +2 -2
- data/ext/ice/cpp/include/IceUtil/ScannerConfig.h +6 -0
- data/ext/ice/cpp/include/IceUtil/StringConverter.h +1 -1
- data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Communicator.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Connection.h +33 -36
- data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Current.h +20 -21
- data/ext/ice/cpp/include/generated/Ice/Endpoint.h +24 -24
- data/ext/ice/cpp/include/generated/Ice/EndpointF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/FacetMap.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Identity.h +4 -5
- data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/ImplicitContextF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +15 -15
- data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/LocalException.h +27 -93
- data/ext/ice/cpp/include/generated/Ice/Locator.h +27 -32
- data/ext/ice/cpp/include/generated/Ice/LocatorF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Logger.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/LoggerF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Metrics.h +75 -79
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapterF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Plugin.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/PluginF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Process.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/ProcessF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Properties.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +9 -9
- data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +9 -11
- data/ext/ice/cpp/include/generated/Ice/Router.h +22 -22
- data/ext/ice/cpp/include/generated/Ice/RouterF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/ServantLocatorF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/SliceChecksumDict.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Version.h +15 -17
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +3 -3
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +3 -3
- data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +3 -3
- data/ext/ice/cpp/src/Ice/ArgVector.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Base64.cpp +11 -12
- data/ext/ice/cpp/src/Ice/BatchRequestQueue.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Buffer.cpp +2 -2
- data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Communicator.cpp +3 -3
- data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +19 -0
- data/ext/ice/cpp/src/Ice/CommunicatorI.h +5 -0
- data/ext/ice/cpp/src/Ice/Connection.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ConnectionF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ConnectionI.cpp +31 -16
- data/ext/ice/cpp/src/Ice/Current.cpp +3 -3
- data/ext/ice/cpp/src/Ice/DispatchInterceptor.cpp +13 -0
- data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +6 -5
- data/ext/ice/cpp/src/Ice/Endpoint.cpp +3 -3
- data/ext/ice/cpp/src/Ice/EndpointF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Exception.cpp +5 -5
- data/ext/ice/cpp/src/Ice/FacetMap.cpp +3 -3
- data/ext/ice/cpp/src/Ice/HashUtil.h +1 -1
- data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +12 -1
- data/ext/ice/cpp/src/Ice/Identity.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Incoming.cpp +2 -0
- data/ext/ice/cpp/src/Ice/Initialize.cpp +4 -3
- data/ext/ice/cpp/src/Ice/InputStream.cpp +19 -19
- data/ext/ice/cpp/src/Ice/Instance.cpp +28 -8
- data/ext/ice/cpp/src/Ice/Instrumentation.cpp +3 -3
- data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/LocalException.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Locator.cpp +7 -7
- data/ext/ice/cpp/src/Ice/LocatorF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Logger.cpp +3 -3
- data/ext/ice/cpp/src/Ice/LoggerAdminI.cpp +1 -7
- data/ext/ice/cpp/src/Ice/LoggerF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/LoggerI.cpp +6 -0
- data/ext/ice/cpp/src/Ice/Metrics.cpp +5 -5
- data/ext/ice/cpp/src/Ice/Network.cpp +23 -22
- data/ext/ice/cpp/src/Ice/Network.h +1 -1
- data/ext/ice/cpp/src/Ice/OSLogLoggerI.cpp +57 -0
- data/ext/ice/cpp/src/Ice/OSLogLoggerI.h +40 -0
- data/ext/ice/cpp/src/Ice/Object.cpp +9 -7
- data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +13 -1
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +4 -0
- data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +3 -3
- data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +1 -1
- data/ext/ice/cpp/src/Ice/OutputStream.cpp +24 -24
- data/ext/ice/cpp/src/Ice/Plugin.cpp +3 -3
- data/ext/ice/cpp/src/Ice/PluginF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Process.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ProcessF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Properties.cpp +3 -3
- data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +4 -4
- data/ext/ice/cpp/src/Ice/PropertiesF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/PropertyNames.cpp +2 -1
- data/ext/ice/cpp/src/Ice/PropertyNames.h +1 -1
- data/ext/ice/cpp/src/Ice/Proxy.cpp +6 -0
- data/ext/ice/cpp/src/Ice/ProxyFactory.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ReferenceFactory.cpp +1 -1
- data/ext/ice/cpp/src/Ice/RegisterPluginsInit.cpp +3 -2
- data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Router.cpp +6 -6
- data/ext/ice/cpp/src/Ice/RouterF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/SHA1.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Selector.cpp +18 -13
- data/ext/ice/cpp/src/Ice/ServantLocator.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +3 -3
- data/ext/ice/cpp/src/Ice/StreamSocket.cpp +6 -6
- data/ext/ice/cpp/src/Ice/TcpAcceptor.cpp +6 -0
- data/ext/ice/cpp/src/Ice/TcpConnector.cpp +5 -0
- data/ext/ice/cpp/src/Ice/TcpEndpointI.cpp +5 -0
- data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +5 -0
- data/ext/ice/cpp/src/Ice/ThreadPool.cpp +63 -0
- data/ext/ice/cpp/src/Ice/ThreadPool.h +10 -2
- data/ext/ice/cpp/src/Ice/Timer.cpp +10 -0
- data/ext/ice/cpp/src/Ice/UdpEndpointI.cpp +11 -1
- data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +10 -2
- data/ext/ice/cpp/src/Ice/ValueFactory.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Version.cpp +3 -3
- data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +16 -15
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +3 -3
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +3 -3
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +3 -3
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +3 -3
- data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +37 -8
- data/ext/ice/cpp/src/IceSSL/CertificateI.cpp +3 -3
- data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +3 -3
- data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +3 -3
- data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +3 -3
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +4 -16
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.h +0 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +40 -3
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.cpp +0 -7
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.h +0 -2
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +18 -6
- data/ext/ice/cpp/src/IceSSL/SSLEngine.cpp +19 -7
- data/ext/ice/cpp/src/IceSSL/SSLEngine.h +2 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +32 -21
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +21 -6
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +19 -16
- data/ext/ice/cpp/src/IceSSL/Util.cpp +11 -5
- data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/Options.cpp +3 -3
- data/ext/ice/cpp/src/IceUtil/OutputUtil.cpp +40 -10
- data/ext/ice/cpp/src/IceUtil/Random.cpp +2 -2
- data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +5 -5
- data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +3 -3
- data/ext/ice/cpp/src/IceUtil/Time.cpp +3 -3
- data/ext/ice/cpp/src/IceUtil/UUID.cpp +5 -5
- data/ext/ice/cpp/src/IceUtil/UtilException.cpp +4 -4
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.cpp +13 -9
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.h +1 -1
- data/ext/ice/cpp/src/Slice/Grammar.cpp +8 -0
- data/ext/ice/cpp/src/Slice/JavaUtil.cpp +1 -2
- data/ext/ice/cpp/src/Slice/MD5I.cpp +8 -0
- data/ext/ice/cpp/src/Slice/Parser.cpp +60 -112
- data/ext/ice/cpp/src/Slice/Parser.h +27 -1
- data/ext/ice/cpp/src/Slice/Preprocessor.cpp +2 -1
- data/ext/ice/cpp/src/Slice/PythonUtil.cpp +10 -10
- data/ext/ice/cpp/src/Slice/RubyUtil.cpp +1 -1
- data/ext/ice/cpp/src/Slice/Scanner.cpp +8 -0
- data/ext/ice/cpp/src/Slice/StringLiteralUtil.cpp +11 -6
- data/ext/ice/mcpp/Makefile +2 -5
- data/ice.gemspec +1 -1
- data/lib/Glacier2/Metrics.rb +1 -1
- data/lib/Glacier2/PermissionsVerifier.rb +1 -1
- data/lib/Glacier2/PermissionsVerifierF.rb +1 -1
- data/lib/Glacier2/Router.rb +1 -1
- data/lib/Glacier2/RouterF.rb +1 -1
- data/lib/Glacier2/SSLInfo.rb +1 -1
- data/lib/Glacier2/Session.rb +1 -1
- data/lib/Ice/BuiltinSequences.rb +1 -1
- data/lib/Ice/Communicator.rb +1 -1
- data/lib/Ice/CommunicatorF.rb +1 -1
- data/lib/Ice/Connection.rb +1 -1
- data/lib/Ice/ConnectionF.rb +1 -1
- data/lib/Ice/Current.rb +1 -1
- data/lib/Ice/Endpoint.rb +1 -1
- data/lib/Ice/EndpointF.rb +1 -1
- data/lib/Ice/EndpointTypes.rb +1 -1
- data/lib/Ice/FacetMap.rb +1 -1
- data/lib/Ice/Identity.rb +1 -1
- data/lib/Ice/ImplicitContext.rb +1 -1
- data/lib/Ice/ImplicitContextF.rb +1 -1
- data/lib/Ice/Instrumentation.rb +1 -1
- data/lib/Ice/InstrumentationF.rb +1 -1
- data/lib/Ice/LocalException.rb +1 -1
- data/lib/Ice/Locator.rb +1 -1
- data/lib/Ice/LocatorF.rb +1 -1
- data/lib/Ice/Logger.rb +1 -1
- data/lib/Ice/LoggerF.rb +1 -1
- data/lib/Ice/Metrics.rb +1 -1
- data/lib/Ice/ObjectAdapter.rb +1 -1
- data/lib/Ice/ObjectAdapterF.rb +1 -1
- data/lib/Ice/ObjectFactory.rb +1 -1
- data/lib/Ice/Plugin.rb +1 -1
- data/lib/Ice/PluginF.rb +1 -1
- data/lib/Ice/Process.rb +1 -1
- data/lib/Ice/ProcessF.rb +1 -1
- data/lib/Ice/Properties.rb +1 -1
- data/lib/Ice/PropertiesAdmin.rb +1 -1
- data/lib/Ice/PropertiesF.rb +1 -1
- data/lib/Ice/RemoteLogger.rb +1 -1
- data/lib/Ice/Router.rb +1 -1
- data/lib/Ice/RouterF.rb +1 -1
- data/lib/Ice/ServantLocator.rb +1 -1
- data/lib/Ice/ServantLocatorF.rb +1 -1
- data/lib/Ice/SliceChecksumDict.rb +1 -1
- data/lib/Ice/ValueFactory.rb +1 -1
- data/lib/Ice/Version.rb +1 -1
- data/lib/IceBox/IceBox.rb +1 -1
- data/lib/IceGrid/Admin.rb +1 -1
- data/lib/IceGrid/Descriptor.rb +1 -1
- data/lib/IceGrid/Exception.rb +1 -1
- data/lib/IceGrid/FileParser.rb +1 -1
- data/lib/IceGrid/PluginFacade.rb +1 -1
- data/lib/IceGrid/Registry.rb +1 -1
- data/lib/IceGrid/Session.rb +1 -1
- data/lib/IceGrid/UserAccountMapper.rb +1 -1
- data/lib/IcePatch2/FileInfo.rb +1 -1
- data/lib/IcePatch2/FileServer.rb +1 -1
- data/lib/IceStorm/IceStorm.rb +1 -1
- data/lib/IceStorm/Metrics.rb +1 -1
- data/slice/Glacier2/Metrics.ice +1 -1
- data/slice/Ice/Communicator.ice +57 -25
- data/slice/Ice/Connection.ice +14 -14
- data/slice/Ice/Current.ice +1 -1
- data/slice/Ice/Endpoint.ice +6 -6
- data/slice/Ice/EndpointF.ice +1 -1
- data/slice/Ice/FacetMap.ice +1 -1
- data/slice/Ice/ImplicitContext.ice +6 -6
- data/slice/Ice/Instrumentation.ice +6 -6
- data/slice/Ice/Logger.ice +6 -6
- data/slice/Ice/Metrics.ice +12 -9
- data/slice/Ice/ObjectAdapter.ice +43 -31
- data/slice/Ice/ObjectFactory.ice +1 -1
- data/slice/Ice/Plugin.ice +2 -2
- data/slice/Ice/Properties.ice +10 -10
- data/slice/Ice/ServantLocator.ice +4 -2
- data/slice/Ice/ValueFactory.ice +3 -3
- data/slice/IceBT/EndpointInfo.ice +1 -1
- data/slice/IceGrid/PluginFacade.ice +4 -4
- data/slice/IceIAP/ConnectionInfo.ice +1 -1
- data/slice/IceIAP/EndpointInfo.ice +1 -1
- data/slice/IceSSL/ConnectionInfo.ice +3 -2
- data/slice/IceSSL/ConnectionInfoF.ice +1 -1
- data/slice/IceSSL/EndpointInfo.ice +1 -1
- data/slice/IceStorm/Metrics.ice +1 -1
- metadata +5 -3
@@ -2,7 +2,7 @@
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
3
3
|
//
|
4
4
|
//
|
5
|
-
// Ice version 3.7.
|
5
|
+
// Ice version 3.7.3
|
6
6
|
//
|
7
7
|
// <auto-generated>
|
8
8
|
//
|
@@ -42,10 +42,10 @@
|
|
42
42
|
# if ICE_INT_VERSION / 100 != 307
|
43
43
|
# error Ice version mismatch!
|
44
44
|
# endif
|
45
|
-
# if ICE_INT_VERSION % 100
|
45
|
+
# if ICE_INT_VERSION % 100 >= 50
|
46
46
|
# error Beta header file detected
|
47
47
|
# endif
|
48
|
-
# if ICE_INT_VERSION % 100 <
|
48
|
+
# if ICE_INT_VERSION % 100 < 3
|
49
49
|
# error Ice patch level mismatch!
|
50
50
|
# endif
|
51
51
|
#endif
|
@@ -95,7 +95,6 @@ public:
|
|
95
95
|
* Obtains a tuple containing all of the exception's data members.
|
96
96
|
* @return The data members in a tuple.
|
97
97
|
*/
|
98
|
-
|
99
98
|
std::tuple<> ice_tuple() const
|
100
99
|
{
|
101
100
|
return std::tie();
|
@@ -131,7 +130,6 @@ public:
|
|
131
130
|
* Obtains a tuple containing all of the exception's data members.
|
132
131
|
* @return The data members in a tuple.
|
133
132
|
*/
|
134
|
-
|
135
133
|
std::tuple<> ice_tuple() const
|
136
134
|
{
|
137
135
|
return std::tie();
|
@@ -163,7 +161,6 @@ public:
|
|
163
161
|
* Obtains a tuple containing all of the exception's data members.
|
164
162
|
* @return The data members in a tuple.
|
165
163
|
*/
|
166
|
-
|
167
164
|
std::tuple<> ice_tuple() const
|
168
165
|
{
|
169
166
|
return std::tie();
|
@@ -194,7 +191,6 @@ public:
|
|
194
191
|
* Obtains a tuple containing all of the exception's data members.
|
195
192
|
* @return The data members in a tuple.
|
196
193
|
*/
|
197
|
-
|
198
194
|
std::tuple<> ice_tuple() const
|
199
195
|
{
|
200
196
|
return std::tie();
|
@@ -225,7 +221,6 @@ public:
|
|
225
221
|
* Obtains a tuple containing all of the exception's data members.
|
226
222
|
* @return The data members in a tuple.
|
227
223
|
*/
|
228
|
-
|
229
224
|
std::tuple<> ice_tuple() const
|
230
225
|
{
|
231
226
|
return std::tie();
|
@@ -534,7 +529,7 @@ public:
|
|
534
529
|
*/
|
535
530
|
::std::shared_ptr<ObjectPrx> findObjectById(const Identity& id, const Context& context = noExplicitContext)
|
536
531
|
{
|
537
|
-
return _makePromiseOutgoing<::std::shared_ptr
|
532
|
+
return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(true, this, &LocatorPrx::_iceI_findObjectById, id, context).get();
|
538
533
|
}
|
539
534
|
|
540
535
|
/**
|
@@ -547,9 +542,9 @@ public:
|
|
547
542
|
*/
|
548
543
|
template<template<typename> class P = ::std::promise>
|
549
544
|
auto findObjectByIdAsync(const Identity& id, const Context& context = noExplicitContext)
|
550
|
-
-> decltype(::std::declval<P<::std::shared_ptr
|
545
|
+
-> decltype(::std::declval<P<::std::shared_ptr<::Ice::ObjectPrx>>>().get_future())
|
551
546
|
{
|
552
|
-
return _makePromiseOutgoing<::std::shared_ptr
|
547
|
+
return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>, P>(false, this, &LocatorPrx::_iceI_findObjectById, id, context);
|
553
548
|
}
|
554
549
|
|
555
550
|
/**
|
@@ -565,16 +560,16 @@ public:
|
|
565
560
|
*/
|
566
561
|
::std::function<void()>
|
567
562
|
findObjectByIdAsync(const Identity& id,
|
568
|
-
::std::function<void(::std::shared_ptr
|
563
|
+
::std::function<void(::std::shared_ptr<::Ice::ObjectPrx>)> response,
|
569
564
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
570
565
|
::std::function<void(bool)> sent = nullptr,
|
571
566
|
const Context& context = noExplicitContext)
|
572
567
|
{
|
573
|
-
return _makeLamdaOutgoing<::std::shared_ptr
|
568
|
+
return _makeLamdaOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(response, ex, sent, this, &Ice::LocatorPrx::_iceI_findObjectById, id, context);
|
574
569
|
}
|
575
570
|
|
576
571
|
/// \cond INTERNAL
|
577
|
-
ICE_MEMBER(ICE_API) void _iceI_findObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr
|
572
|
+
ICE_MEMBER(ICE_API) void _iceI_findObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>&, const Identity&, const Context&);
|
578
573
|
/// \endcond
|
579
574
|
|
580
575
|
/**
|
@@ -588,7 +583,7 @@ public:
|
|
588
583
|
*/
|
589
584
|
::std::shared_ptr<ObjectPrx> findAdapterById(const ::std::string& id, const Context& context = noExplicitContext)
|
590
585
|
{
|
591
|
-
return _makePromiseOutgoing<::std::shared_ptr
|
586
|
+
return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(true, this, &LocatorPrx::_iceI_findAdapterById, id, context).get();
|
592
587
|
}
|
593
588
|
|
594
589
|
/**
|
@@ -600,9 +595,9 @@ public:
|
|
600
595
|
*/
|
601
596
|
template<template<typename> class P = ::std::promise>
|
602
597
|
auto findAdapterByIdAsync(const ::std::string& id, const Context& context = noExplicitContext)
|
603
|
-
-> decltype(::std::declval<P<::std::shared_ptr
|
598
|
+
-> decltype(::std::declval<P<::std::shared_ptr<::Ice::ObjectPrx>>>().get_future())
|
604
599
|
{
|
605
|
-
return _makePromiseOutgoing<::std::shared_ptr
|
600
|
+
return _makePromiseOutgoing<::std::shared_ptr<::Ice::ObjectPrx>, P>(false, this, &LocatorPrx::_iceI_findAdapterById, id, context);
|
606
601
|
}
|
607
602
|
|
608
603
|
/**
|
@@ -617,16 +612,16 @@ public:
|
|
617
612
|
*/
|
618
613
|
::std::function<void()>
|
619
614
|
findAdapterByIdAsync(const ::std::string& id,
|
620
|
-
::std::function<void(::std::shared_ptr
|
615
|
+
::std::function<void(::std::shared_ptr<::Ice::ObjectPrx>)> response,
|
621
616
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
622
617
|
::std::function<void(bool)> sent = nullptr,
|
623
618
|
const Context& context = noExplicitContext)
|
624
619
|
{
|
625
|
-
return _makeLamdaOutgoing<::std::shared_ptr
|
620
|
+
return _makeLamdaOutgoing<::std::shared_ptr<::Ice::ObjectPrx>>(response, ex, sent, this, &Ice::LocatorPrx::_iceI_findAdapterById, id, context);
|
626
621
|
}
|
627
622
|
|
628
623
|
/// \cond INTERNAL
|
629
|
-
ICE_MEMBER(ICE_API) void _iceI_findAdapterById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr
|
624
|
+
ICE_MEMBER(ICE_API) void _iceI_findAdapterById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>&, const ::std::string&, const Context&);
|
630
625
|
/// \endcond
|
631
626
|
|
632
627
|
/**
|
@@ -636,7 +631,7 @@ public:
|
|
636
631
|
*/
|
637
632
|
::std::shared_ptr<LocatorRegistryPrx> getRegistry(const Context& context = noExplicitContext)
|
638
633
|
{
|
639
|
-
return _makePromiseOutgoing<::std::shared_ptr
|
634
|
+
return _makePromiseOutgoing<::std::shared_ptr<::Ice::LocatorRegistryPrx>>(true, this, &LocatorPrx::_iceI_getRegistry, context).get();
|
640
635
|
}
|
641
636
|
|
642
637
|
/**
|
@@ -646,9 +641,9 @@ public:
|
|
646
641
|
*/
|
647
642
|
template<template<typename> class P = ::std::promise>
|
648
643
|
auto getRegistryAsync(const Context& context = noExplicitContext)
|
649
|
-
-> decltype(::std::declval<P<::std::shared_ptr
|
644
|
+
-> decltype(::std::declval<P<::std::shared_ptr<::Ice::LocatorRegistryPrx>>>().get_future())
|
650
645
|
{
|
651
|
-
return _makePromiseOutgoing<::std::shared_ptr
|
646
|
+
return _makePromiseOutgoing<::std::shared_ptr<::Ice::LocatorRegistryPrx>, P>(false, this, &LocatorPrx::_iceI_getRegistry, context);
|
652
647
|
}
|
653
648
|
|
654
649
|
/**
|
@@ -660,16 +655,16 @@ public:
|
|
660
655
|
* @return A function that can be called to cancel the invocation locally.
|
661
656
|
*/
|
662
657
|
::std::function<void()>
|
663
|
-
getRegistryAsync(::std::function<void(::std::shared_ptr
|
658
|
+
getRegistryAsync(::std::function<void(::std::shared_ptr<::Ice::LocatorRegistryPrx>)> response,
|
664
659
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
665
660
|
::std::function<void(bool)> sent = nullptr,
|
666
661
|
const Context& context = noExplicitContext)
|
667
662
|
{
|
668
|
-
return _makeLamdaOutgoing<::std::shared_ptr
|
663
|
+
return _makeLamdaOutgoing<::std::shared_ptr<::Ice::LocatorRegistryPrx>>(response, ex, sent, this, &Ice::LocatorPrx::_iceI_getRegistry, context);
|
669
664
|
}
|
670
665
|
|
671
666
|
/// \cond INTERNAL
|
672
|
-
ICE_MEMBER(ICE_API) void _iceI_getRegistry(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr
|
667
|
+
ICE_MEMBER(ICE_API) void _iceI_getRegistry(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::LocatorRegistryPrx>>>&, const Context&);
|
673
668
|
/// \endcond
|
674
669
|
|
675
670
|
/**
|
@@ -917,7 +912,7 @@ public:
|
|
917
912
|
*/
|
918
913
|
::std::shared_ptr<LocatorPrx> getLocator(const Context& context = noExplicitContext)
|
919
914
|
{
|
920
|
-
return _makePromiseOutgoing<::std::shared_ptr
|
915
|
+
return _makePromiseOutgoing<::std::shared_ptr<::Ice::LocatorPrx>>(true, this, &LocatorFinderPrx::_iceI_getLocator, context).get();
|
921
916
|
}
|
922
917
|
|
923
918
|
/**
|
@@ -928,9 +923,9 @@ public:
|
|
928
923
|
*/
|
929
924
|
template<template<typename> class P = ::std::promise>
|
930
925
|
auto getLocatorAsync(const Context& context = noExplicitContext)
|
931
|
-
-> decltype(::std::declval<P<::std::shared_ptr
|
926
|
+
-> decltype(::std::declval<P<::std::shared_ptr<::Ice::LocatorPrx>>>().get_future())
|
932
927
|
{
|
933
|
-
return _makePromiseOutgoing<::std::shared_ptr
|
928
|
+
return _makePromiseOutgoing<::std::shared_ptr<::Ice::LocatorPrx>, P>(false, this, &LocatorFinderPrx::_iceI_getLocator, context);
|
934
929
|
}
|
935
930
|
|
936
931
|
/**
|
@@ -943,16 +938,16 @@ public:
|
|
943
938
|
* @return A function that can be called to cancel the invocation locally.
|
944
939
|
*/
|
945
940
|
::std::function<void()>
|
946
|
-
getLocatorAsync(::std::function<void(::std::shared_ptr
|
941
|
+
getLocatorAsync(::std::function<void(::std::shared_ptr<::Ice::LocatorPrx>)> response,
|
947
942
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
948
943
|
::std::function<void(bool)> sent = nullptr,
|
949
944
|
const Context& context = noExplicitContext)
|
950
945
|
{
|
951
|
-
return _makeLamdaOutgoing<::std::shared_ptr
|
946
|
+
return _makeLamdaOutgoing<::std::shared_ptr<::Ice::LocatorPrx>>(response, ex, sent, this, &Ice::LocatorFinderPrx::_iceI_getLocator, context);
|
952
947
|
}
|
953
948
|
|
954
949
|
/// \cond INTERNAL
|
955
|
-
ICE_MEMBER(ICE_API) void _iceI_getLocator(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr
|
950
|
+
ICE_MEMBER(ICE_API) void _iceI_getLocator(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::LocatorPrx>>>&, const Context&);
|
956
951
|
/// \endcond
|
957
952
|
|
958
953
|
/**
|
@@ -2,7 +2,7 @@
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
3
3
|
//
|
4
4
|
//
|
5
|
-
// Ice version 3.7.
|
5
|
+
// Ice version 3.7.3
|
6
6
|
//
|
7
7
|
// <auto-generated>
|
8
8
|
//
|
@@ -33,10 +33,10 @@
|
|
33
33
|
# if ICE_INT_VERSION / 100 != 307
|
34
34
|
# error Ice version mismatch!
|
35
35
|
# endif
|
36
|
-
# if ICE_INT_VERSION % 100
|
36
|
+
# if ICE_INT_VERSION % 100 >= 50
|
37
37
|
# error Beta header file detected
|
38
38
|
# endif
|
39
|
-
# if ICE_INT_VERSION % 100 <
|
39
|
+
# if ICE_INT_VERSION % 100 < 3
|
40
40
|
# error Ice patch level mismatch!
|
41
41
|
# endif
|
42
42
|
#endif
|
@@ -2,7 +2,7 @@
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
3
3
|
//
|
4
4
|
//
|
5
|
-
// Ice version 3.7.
|
5
|
+
// Ice version 3.7.3
|
6
6
|
//
|
7
7
|
// <auto-generated>
|
8
8
|
//
|
@@ -32,10 +32,10 @@
|
|
32
32
|
# if ICE_INT_VERSION / 100 != 307
|
33
33
|
# error Ice version mismatch!
|
34
34
|
# endif
|
35
|
-
# if ICE_INT_VERSION % 100
|
35
|
+
# if ICE_INT_VERSION % 100 >= 50
|
36
36
|
# error Beta header file detected
|
37
37
|
# endif
|
38
|
-
# if ICE_INT_VERSION % 100 <
|
38
|
+
# if ICE_INT_VERSION % 100 < 3
|
39
39
|
# error Ice patch level mismatch!
|
40
40
|
# endif
|
41
41
|
#endif
|
@@ -2,7 +2,7 @@
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
3
3
|
//
|
4
4
|
//
|
5
|
-
// Ice version 3.7.
|
5
|
+
// Ice version 3.7.3
|
6
6
|
//
|
7
7
|
// <auto-generated>
|
8
8
|
//
|
@@ -32,10 +32,10 @@
|
|
32
32
|
# if ICE_INT_VERSION / 100 != 307
|
33
33
|
# error Ice version mismatch!
|
34
34
|
# endif
|
35
|
-
# if ICE_INT_VERSION % 100
|
35
|
+
# if ICE_INT_VERSION % 100 >= 50
|
36
36
|
# error Beta header file detected
|
37
37
|
# endif
|
38
|
-
# if ICE_INT_VERSION % 100 <
|
38
|
+
# if ICE_INT_VERSION % 100 < 3
|
39
39
|
# error Ice patch level mismatch!
|
40
40
|
# endif
|
41
41
|
#endif
|
@@ -2,7 +2,7 @@
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
3
3
|
//
|
4
4
|
//
|
5
|
-
// Ice version 3.7.
|
5
|
+
// Ice version 3.7.3
|
6
6
|
//
|
7
7
|
// <auto-generated>
|
8
8
|
//
|
@@ -40,10 +40,10 @@
|
|
40
40
|
# if ICE_INT_VERSION / 100 != 307
|
41
41
|
# error Ice version mismatch!
|
42
42
|
# endif
|
43
|
-
# if ICE_INT_VERSION % 100
|
43
|
+
# if ICE_INT_VERSION % 100 >= 50
|
44
44
|
# error Beta header file detected
|
45
45
|
# endif
|
46
|
-
# if ICE_INT_VERSION % 100 <
|
46
|
+
# if ICE_INT_VERSION % 100 < 3
|
47
47
|
# error Ice patch level mismatch!
|
48
48
|
# endif
|
49
49
|
#endif
|
@@ -99,14 +99,13 @@ struct MetricsFailures
|
|
99
99
|
/**
|
100
100
|
* The failures observed for this metrics.
|
101
101
|
*/
|
102
|
-
StringIntDict failures;
|
102
|
+
::IceMX::StringIntDict failures;
|
103
103
|
|
104
104
|
/**
|
105
|
-
* Obtains a tuple containing all of the
|
105
|
+
* Obtains a tuple containing all of the struct's data members.
|
106
106
|
* @return The data members in a tuple.
|
107
107
|
*/
|
108
|
-
|
109
|
-
std::tuple<const ::std::string&, const StringIntDict&> ice_tuple() const
|
108
|
+
std::tuple<const ::std::string&, const ::IceMX::StringIntDict&> ice_tuple() const
|
110
109
|
{
|
111
110
|
return std::tie(id, failures);
|
112
111
|
}
|
@@ -149,7 +148,6 @@ public:
|
|
149
148
|
* Obtains a tuple containing all of the exception's data members.
|
150
149
|
* @return The data members in a tuple.
|
151
150
|
*/
|
152
|
-
|
153
151
|
std::tuple<> ice_tuple() const
|
154
152
|
{
|
155
153
|
return std::tie();
|
@@ -355,8 +353,8 @@ public:
|
|
355
353
|
/**
|
356
354
|
* One-shot constructor to initialize all data members.
|
357
355
|
* @param id The metrics identifier.
|
358
|
-
* @param total The total number of objects
|
359
|
-
* @param current The
|
356
|
+
* @param total The total number of objects observed by this metrics.
|
357
|
+
* @param current The number of objects currently observed by this metrics.
|
360
358
|
* @param totalLifetime The sum of the lifetime of each observed objects.
|
361
359
|
* @param failures The number of failures observed.
|
362
360
|
*/
|
@@ -373,7 +371,6 @@ public:
|
|
373
371
|
* Obtains a tuple containing all of the value's data members.
|
374
372
|
* @return The data members in a tuple.
|
375
373
|
*/
|
376
|
-
|
377
374
|
std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&> ice_tuple() const
|
378
375
|
{
|
379
376
|
return std::tie(id, total, current, totalLifetime, failures);
|
@@ -390,16 +387,19 @@ public:
|
|
390
387
|
*/
|
391
388
|
::std::string id;
|
392
389
|
/**
|
393
|
-
* The total number of objects
|
390
|
+
* The total number of objects observed by this metrics. This includes
|
391
|
+
* the number of currently observed objects and the number of objects
|
392
|
+
* observed in the past.
|
394
393
|
*/
|
395
394
|
long long int total = 0LL;
|
396
395
|
/**
|
397
|
-
* The
|
396
|
+
* The number of objects currently observed by this metrics.
|
398
397
|
*/
|
399
398
|
int current = 0;
|
400
399
|
/**
|
401
400
|
* The sum of the lifetime of each observed objects. This does not
|
402
|
-
* include the lifetime of objects which are currently observed
|
401
|
+
* include the lifetime of objects which are currently observed,
|
402
|
+
* only the objects observed in the past.
|
403
403
|
*/
|
404
404
|
long long int totalLifetime = 0LL;
|
405
405
|
/**
|
@@ -433,8 +433,8 @@ public:
|
|
433
433
|
/**
|
434
434
|
* One-shot constructor to initialize all data members.
|
435
435
|
* @param id The metrics identifier.
|
436
|
-
* @param total The total number of objects
|
437
|
-
* @param current The
|
436
|
+
* @param total The total number of objects observed by this metrics.
|
437
|
+
* @param current The number of objects currently observed by this metrics.
|
438
438
|
* @param totalLifetime The sum of the lifetime of each observed objects.
|
439
439
|
* @param failures The number of failures observed.
|
440
440
|
* @param inUseForIO The number of threads which are currently performing socket read or writes.
|
@@ -453,7 +453,6 @@ public:
|
|
453
453
|
* Obtains a tuple containing all of the value's data members.
|
454
454
|
* @return The data members in a tuple.
|
455
455
|
*/
|
456
|
-
|
457
456
|
std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const int&, const int&, const int&> ice_tuple() const
|
458
457
|
{
|
459
458
|
return std::tie(id, total, current, totalLifetime, failures, inUseForIO, inUseForUser, inUseForOther);
|
@@ -504,8 +503,8 @@ public:
|
|
504
503
|
/**
|
505
504
|
* One-shot constructor to initialize all data members.
|
506
505
|
* @param id The metrics identifier.
|
507
|
-
* @param total The total number of objects
|
508
|
-
* @param current The
|
506
|
+
* @param total The total number of objects observed by this metrics.
|
507
|
+
* @param current The number of objects currently observed by this metrics.
|
509
508
|
* @param totalLifetime The sum of the lifetime of each observed objects.
|
510
509
|
* @param failures The number of failures observed.
|
511
510
|
* @param userException The number of dispatch that failed with a user exception.
|
@@ -524,7 +523,6 @@ public:
|
|
524
523
|
* Obtains a tuple containing all of the value's data members.
|
525
524
|
* @return The data members in a tuple.
|
526
525
|
*/
|
527
|
-
|
528
526
|
std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const int&, const long long int&, const long long int&> ice_tuple() const
|
529
527
|
{
|
530
528
|
return std::tie(id, total, current, totalLifetime, failures, userException, size, replySize);
|
@@ -556,8 +554,8 @@ public:
|
|
556
554
|
* Provides information on child invocations. A child invocation is
|
557
555
|
* either remote (sent over an Ice connection) or collocated. An
|
558
556
|
* invocation can have multiple child invocation if it is
|
559
|
-
* retried. Child invocation metrics are embedded within
|
560
|
-
* InvocationMetrics}.
|
557
|
+
* retried. Child invocation metrics are embedded within
|
558
|
+
* {@link InvocationMetrics}.
|
561
559
|
* \headerfile Ice/Ice.h
|
562
560
|
*/
|
563
561
|
class ICE_CLASS(ICE_API) ChildInvocationMetrics : public ::Ice::ValueHelper<ChildInvocationMetrics, Metrics>
|
@@ -576,8 +574,8 @@ public:
|
|
576
574
|
/**
|
577
575
|
* One-shot constructor to initialize all data members.
|
578
576
|
* @param id The metrics identifier.
|
579
|
-
* @param total The total number of objects
|
580
|
-
* @param current The
|
577
|
+
* @param total The total number of objects observed by this metrics.
|
578
|
+
* @param current The number of objects currently observed by this metrics.
|
581
579
|
* @param totalLifetime The sum of the lifetime of each observed objects.
|
582
580
|
* @param failures The number of failures observed.
|
583
581
|
* @param size The size of the invocation.
|
@@ -594,7 +592,6 @@ public:
|
|
594
592
|
* Obtains a tuple containing all of the value's data members.
|
595
593
|
* @return The data members in a tuple.
|
596
594
|
*/
|
597
|
-
|
598
595
|
std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const long long int&, const long long int&> ice_tuple() const
|
599
596
|
{
|
600
597
|
return std::tie(id, total, current, totalLifetime, failures, size, replySize);
|
@@ -639,8 +636,8 @@ public:
|
|
639
636
|
/**
|
640
637
|
* One-shot constructor to initialize all data members.
|
641
638
|
* @param id The metrics identifier.
|
642
|
-
* @param total The total number of objects
|
643
|
-
* @param current The
|
639
|
+
* @param total The total number of objects observed by this metrics.
|
640
|
+
* @param current The number of objects currently observed by this metrics.
|
644
641
|
* @param totalLifetime The sum of the lifetime of each observed objects.
|
645
642
|
* @param failures The number of failures observed.
|
646
643
|
* @param size The size of the invocation.
|
@@ -655,7 +652,6 @@ public:
|
|
655
652
|
* Obtains a tuple containing all of the value's data members.
|
656
653
|
* @return The data members in a tuple.
|
657
654
|
*/
|
658
|
-
|
659
655
|
std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const long long int&, const long long int&> ice_tuple() const
|
660
656
|
{
|
661
657
|
return std::tie(id, total, current, totalLifetime, failures, size, replySize);
|
@@ -689,8 +685,8 @@ public:
|
|
689
685
|
/**
|
690
686
|
* One-shot constructor to initialize all data members.
|
691
687
|
* @param id The metrics identifier.
|
692
|
-
* @param total The total number of objects
|
693
|
-
* @param current The
|
688
|
+
* @param total The total number of objects observed by this metrics.
|
689
|
+
* @param current The number of objects currently observed by this metrics.
|
694
690
|
* @param totalLifetime The sum of the lifetime of each observed objects.
|
695
691
|
* @param failures The number of failures observed.
|
696
692
|
* @param size The size of the invocation.
|
@@ -705,7 +701,6 @@ public:
|
|
705
701
|
* Obtains a tuple containing all of the value's data members.
|
706
702
|
* @return The data members in a tuple.
|
707
703
|
*/
|
708
|
-
|
709
704
|
std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const long long int&, const long long int&> ice_tuple() const
|
710
705
|
{
|
711
706
|
return std::tie(id, total, current, totalLifetime, failures, size, replySize);
|
@@ -739,8 +734,8 @@ public:
|
|
739
734
|
/**
|
740
735
|
* One-shot constructor to initialize all data members.
|
741
736
|
* @param id The metrics identifier.
|
742
|
-
* @param total The total number of objects
|
743
|
-
* @param current The
|
737
|
+
* @param total The total number of objects observed by this metrics.
|
738
|
+
* @param current The number of objects currently observed by this metrics.
|
744
739
|
* @param totalLifetime The sum of the lifetime of each observed objects.
|
745
740
|
* @param failures The number of failures observed.
|
746
741
|
* @param retry The number of retries for the invocation(s).
|
@@ -748,7 +743,7 @@ public:
|
|
748
743
|
* @param remotes The remote invocation metrics map.
|
749
744
|
* @param collocated The collocated invocation metrics map.
|
750
745
|
*/
|
751
|
-
InvocationMetrics(const ::std::string& id, long long int total, int current, long long int totalLifetime, int failures, int retry, int userException, const MetricsMap& remotes, const MetricsMap& collocated) :
|
746
|
+
InvocationMetrics(const ::std::string& id, long long int total, int current, long long int totalLifetime, int failures, int retry, int userException, const ::IceMX::MetricsMap& remotes, const ::IceMX::MetricsMap& collocated) :
|
752
747
|
Ice::ValueHelper<InvocationMetrics, Metrics>(::std::move(id), total, current, totalLifetime, failures),
|
753
748
|
retry(retry),
|
754
749
|
userException(userException),
|
@@ -761,8 +756,7 @@ public:
|
|
761
756
|
* Obtains a tuple containing all of the value's data members.
|
762
757
|
* @return The data members in a tuple.
|
763
758
|
*/
|
764
|
-
|
765
|
-
std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const int&, const int&, const MetricsMap&, const MetricsMap&> ice_tuple() const
|
759
|
+
std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const int&, const int&, const ::IceMX::MetricsMap&, const ::IceMX::MetricsMap&> ice_tuple() const
|
766
760
|
{
|
767
761
|
return std::tie(id, total, current, totalLifetime, failures, retry, userException, remotes, collocated);
|
768
762
|
}
|
@@ -785,12 +779,12 @@ public:
|
|
785
779
|
* The remote invocation metrics map.
|
786
780
|
* @see RemoteMetrics
|
787
781
|
*/
|
788
|
-
MetricsMap remotes;
|
782
|
+
::IceMX::MetricsMap remotes;
|
789
783
|
/**
|
790
784
|
* The collocated invocation metrics map.
|
791
785
|
* @see CollocatedMetrics
|
792
786
|
*/
|
793
|
-
MetricsMap collocated;
|
787
|
+
::IceMX::MetricsMap collocated;
|
794
788
|
};
|
795
789
|
|
796
790
|
/**
|
@@ -814,8 +808,8 @@ public:
|
|
814
808
|
/**
|
815
809
|
* One-shot constructor to initialize all data members.
|
816
810
|
* @param id The metrics identifier.
|
817
|
-
* @param total The total number of objects
|
818
|
-
* @param current The
|
811
|
+
* @param total The total number of objects observed by this metrics.
|
812
|
+
* @param current The number of objects currently observed by this metrics.
|
819
813
|
* @param totalLifetime The sum of the lifetime of each observed objects.
|
820
814
|
* @param failures The number of failures observed.
|
821
815
|
* @param receivedBytes The number of bytes received by the connection.
|
@@ -832,7 +826,6 @@ public:
|
|
832
826
|
* Obtains a tuple containing all of the value's data members.
|
833
827
|
* @return The data members in a tuple.
|
834
828
|
*/
|
835
|
-
|
836
829
|
std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const long long int&, const long long int&> ice_tuple() const
|
837
830
|
{
|
838
831
|
return std::tie(id, total, current, totalLifetime, failures, receivedBytes, sentBytes);
|
@@ -1069,7 +1062,7 @@ public:
|
|
1069
1062
|
*/
|
1070
1063
|
::std::function<void()>
|
1071
1064
|
getMetricsViewAsync(const ::std::string& view,
|
1072
|
-
::std::function<void(MetricsView, long long int)> response,
|
1065
|
+
::std::function<void(::IceMX::MetricsView, long long int)> response,
|
1073
1066
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
1074
1067
|
::std::function<void(bool)> sent = nullptr,
|
1075
1068
|
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
@@ -1096,7 +1089,7 @@ public:
|
|
1096
1089
|
*/
|
1097
1090
|
MetricsFailuresSeq getMapMetricsFailures(const ::std::string& view, const ::std::string& map, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1098
1091
|
{
|
1099
|
-
return _makePromiseOutgoing
|
1092
|
+
return _makePromiseOutgoing<::IceMX::MetricsFailuresSeq>(true, this, &MetricsAdminPrx::_iceI_getMapMetricsFailures, view, map, context).get();
|
1100
1093
|
}
|
1101
1094
|
|
1102
1095
|
/**
|
@@ -1108,9 +1101,9 @@ public:
|
|
1108
1101
|
*/
|
1109
1102
|
template<template<typename> class P = ::std::promise>
|
1110
1103
|
auto getMapMetricsFailuresAsync(const ::std::string& view, const ::std::string& map, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1111
|
-
-> decltype(::std::declval<P
|
1104
|
+
-> decltype(::std::declval<P<::IceMX::MetricsFailuresSeq>>().get_future())
|
1112
1105
|
{
|
1113
|
-
return _makePromiseOutgoing
|
1106
|
+
return _makePromiseOutgoing<::IceMX::MetricsFailuresSeq, P>(false, this, &MetricsAdminPrx::_iceI_getMapMetricsFailures, view, map, context);
|
1114
1107
|
}
|
1115
1108
|
|
1116
1109
|
/**
|
@@ -1125,16 +1118,16 @@ public:
|
|
1125
1118
|
*/
|
1126
1119
|
::std::function<void()>
|
1127
1120
|
getMapMetricsFailuresAsync(const ::std::string& view, const ::std::string& map,
|
1128
|
-
::std::function<void(MetricsFailuresSeq)> response,
|
1121
|
+
::std::function<void(::IceMX::MetricsFailuresSeq)> response,
|
1129
1122
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
1130
1123
|
::std::function<void(bool)> sent = nullptr,
|
1131
1124
|
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1132
1125
|
{
|
1133
|
-
return _makeLamdaOutgoing
|
1126
|
+
return _makeLamdaOutgoing<::IceMX::MetricsFailuresSeq>(response, ex, sent, this, &IceMX::MetricsAdminPrx::_iceI_getMapMetricsFailures, view, map, context);
|
1134
1127
|
}
|
1135
1128
|
|
1136
1129
|
/// \cond INTERNAL
|
1137
|
-
ICE_MEMBER(ICE_API) void _iceI_getMapMetricsFailures(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT
|
1130
|
+
ICE_MEMBER(ICE_API) void _iceI_getMapMetricsFailures(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::IceMX::MetricsFailuresSeq>>&, const ::std::string&, const ::std::string&, const ::Ice::Context&);
|
1138
1131
|
/// \endcond
|
1139
1132
|
|
1140
1133
|
/**
|
@@ -1149,7 +1142,7 @@ public:
|
|
1149
1142
|
*/
|
1150
1143
|
MetricsFailures getMetricsFailures(const ::std::string& view, const ::std::string& map, const ::std::string& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1151
1144
|
{
|
1152
|
-
return _makePromiseOutgoing
|
1145
|
+
return _makePromiseOutgoing<::IceMX::MetricsFailures>(true, this, &MetricsAdminPrx::_iceI_getMetricsFailures, view, map, id, context).get();
|
1153
1146
|
}
|
1154
1147
|
|
1155
1148
|
/**
|
@@ -1162,9 +1155,9 @@ public:
|
|
1162
1155
|
*/
|
1163
1156
|
template<template<typename> class P = ::std::promise>
|
1164
1157
|
auto getMetricsFailuresAsync(const ::std::string& view, const ::std::string& map, const ::std::string& id, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1165
|
-
-> decltype(::std::declval<P
|
1158
|
+
-> decltype(::std::declval<P<::IceMX::MetricsFailures>>().get_future())
|
1166
1159
|
{
|
1167
|
-
return _makePromiseOutgoing
|
1160
|
+
return _makePromiseOutgoing<::IceMX::MetricsFailures, P>(false, this, &MetricsAdminPrx::_iceI_getMetricsFailures, view, map, id, context);
|
1168
1161
|
}
|
1169
1162
|
|
1170
1163
|
/**
|
@@ -1180,16 +1173,16 @@ public:
|
|
1180
1173
|
*/
|
1181
1174
|
::std::function<void()>
|
1182
1175
|
getMetricsFailuresAsync(const ::std::string& view, const ::std::string& map, const ::std::string& id,
|
1183
|
-
::std::function<void(MetricsFailures)> response,
|
1176
|
+
::std::function<void(::IceMX::MetricsFailures)> response,
|
1184
1177
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
1185
1178
|
::std::function<void(bool)> sent = nullptr,
|
1186
1179
|
const ::Ice::Context& context = ::Ice::noExplicitContext)
|
1187
1180
|
{
|
1188
|
-
return _makeLamdaOutgoing
|
1181
|
+
return _makeLamdaOutgoing<::IceMX::MetricsFailures>(response, ex, sent, this, &IceMX::MetricsAdminPrx::_iceI_getMetricsFailures, view, map, id, context);
|
1189
1182
|
}
|
1190
1183
|
|
1191
1184
|
/// \cond INTERNAL
|
1192
|
-
ICE_MEMBER(ICE_API) void _iceI_getMetricsFailures(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT
|
1185
|
+
ICE_MEMBER(ICE_API) void _iceI_getMetricsFailures(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::IceMX::MetricsFailures>>&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context&);
|
1193
1186
|
/// \endcond
|
1194
1187
|
|
1195
1188
|
/**
|
@@ -1584,7 +1577,7 @@ struct MetricsFailures
|
|
1584
1577
|
/**
|
1585
1578
|
* The failures observed for this metrics.
|
1586
1579
|
*/
|
1587
|
-
StringIntDict failures;
|
1580
|
+
::IceMX::StringIntDict failures;
|
1588
1581
|
};
|
1589
1582
|
|
1590
1583
|
/**
|
@@ -2467,8 +2460,8 @@ public:
|
|
2467
2460
|
/**
|
2468
2461
|
* One-shot constructor to initialize all data members.
|
2469
2462
|
* @param id The metrics identifier.
|
2470
|
-
* @param total The total number of objects
|
2471
|
-
* @param current The
|
2463
|
+
* @param total The total number of objects observed by this metrics.
|
2464
|
+
* @param current The number of objects currently observed by this metrics.
|
2472
2465
|
* @param totalLifetime The sum of the lifetime of each observed objects.
|
2473
2466
|
* @param failures The number of failures observed.
|
2474
2467
|
*/
|
@@ -2535,16 +2528,19 @@ public:
|
|
2535
2528
|
*/
|
2536
2529
|
::std::string id;
|
2537
2530
|
/**
|
2538
|
-
* The total number of objects
|
2531
|
+
* The total number of objects observed by this metrics. This includes
|
2532
|
+
* the number of currently observed objects and the number of objects
|
2533
|
+
* observed in the past.
|
2539
2534
|
*/
|
2540
2535
|
::Ice::Long total;
|
2541
2536
|
/**
|
2542
|
-
* The
|
2537
|
+
* The number of objects currently observed by this metrics.
|
2543
2538
|
*/
|
2544
2539
|
::Ice::Int current;
|
2545
2540
|
/**
|
2546
2541
|
* The sum of the lifetime of each observed objects. This does not
|
2547
|
-
* include the lifetime of objects which are currently observed
|
2542
|
+
* include the lifetime of objects which are currently observed,
|
2543
|
+
* only the objects observed in the past.
|
2548
2544
|
*/
|
2549
2545
|
::Ice::Long totalLifetime;
|
2550
2546
|
/**
|
@@ -2744,8 +2740,8 @@ public:
|
|
2744
2740
|
/**
|
2745
2741
|
* One-shot constructor to initialize all data members.
|
2746
2742
|
* @param id The metrics identifier.
|
2747
|
-
* @param total The total number of objects
|
2748
|
-
* @param current The
|
2743
|
+
* @param total The total number of objects observed by this metrics.
|
2744
|
+
* @param current The number of objects currently observed by this metrics.
|
2749
2745
|
* @param totalLifetime The sum of the lifetime of each observed objects.
|
2750
2746
|
* @param failures The number of failures observed.
|
2751
2747
|
* @param inUseForIO The number of threads which are currently performing socket read or writes.
|
@@ -2867,8 +2863,8 @@ public:
|
|
2867
2863
|
/**
|
2868
2864
|
* One-shot constructor to initialize all data members.
|
2869
2865
|
* @param id The metrics identifier.
|
2870
|
-
* @param total The total number of objects
|
2871
|
-
* @param current The
|
2866
|
+
* @param total The total number of objects observed by this metrics.
|
2867
|
+
* @param current The number of objects currently observed by this metrics.
|
2872
2868
|
* @param totalLifetime The sum of the lifetime of each observed objects.
|
2873
2869
|
* @param failures The number of failures observed.
|
2874
2870
|
* @param userException The number of dispatch that failed with a user exception.
|
@@ -2967,8 +2963,8 @@ inline bool operator<(const DispatchMetrics& lhs, const DispatchMetrics& rhs)
|
|
2967
2963
|
* Provides information on child invocations. A child invocation is
|
2968
2964
|
* either remote (sent over an Ice connection) or collocated. An
|
2969
2965
|
* invocation can have multiple child invocation if it is
|
2970
|
-
* retried. Child invocation metrics are embedded within
|
2971
|
-
* InvocationMetrics}.
|
2966
|
+
* retried. Child invocation metrics are embedded within
|
2967
|
+
* {@link InvocationMetrics}.
|
2972
2968
|
* \headerfile Ice/Ice.h
|
2973
2969
|
*/
|
2974
2970
|
class ICE_API ChildInvocationMetrics : public Metrics
|
@@ -2990,8 +2986,8 @@ public:
|
|
2990
2986
|
/**
|
2991
2987
|
* One-shot constructor to initialize all data members.
|
2992
2988
|
* @param id The metrics identifier.
|
2993
|
-
* @param total The total number of objects
|
2994
|
-
* @param current The
|
2989
|
+
* @param total The total number of objects observed by this metrics.
|
2990
|
+
* @param current The number of objects currently observed by this metrics.
|
2995
2991
|
* @param totalLifetime The sum of the lifetime of each observed objects.
|
2996
2992
|
* @param failures The number of failures observed.
|
2997
2993
|
* @param size The size of the invocation.
|
@@ -3101,8 +3097,8 @@ public:
|
|
3101
3097
|
/**
|
3102
3098
|
* One-shot constructor to initialize all data members.
|
3103
3099
|
* @param id The metrics identifier.
|
3104
|
-
* @param total The total number of objects
|
3105
|
-
* @param current The
|
3100
|
+
* @param total The total number of objects observed by this metrics.
|
3101
|
+
* @param current The number of objects currently observed by this metrics.
|
3106
3102
|
* @param totalLifetime The sum of the lifetime of each observed objects.
|
3107
3103
|
* @param failures The number of failures observed.
|
3108
3104
|
* @param size The size of the invocation.
|
@@ -3197,8 +3193,8 @@ public:
|
|
3197
3193
|
/**
|
3198
3194
|
* One-shot constructor to initialize all data members.
|
3199
3195
|
* @param id The metrics identifier.
|
3200
|
-
* @param total The total number of objects
|
3201
|
-
* @param current The
|
3196
|
+
* @param total The total number of objects observed by this metrics.
|
3197
|
+
* @param current The number of objects currently observed by this metrics.
|
3202
3198
|
* @param totalLifetime The sum of the lifetime of each observed objects.
|
3203
3199
|
* @param failures The number of failures observed.
|
3204
3200
|
* @param size The size of the invocation.
|
@@ -3296,8 +3292,8 @@ public:
|
|
3296
3292
|
/**
|
3297
3293
|
* One-shot constructor to initialize all data members.
|
3298
3294
|
* @param id The metrics identifier.
|
3299
|
-
* @param total The total number of objects
|
3300
|
-
* @param current The
|
3295
|
+
* @param total The total number of objects observed by this metrics.
|
3296
|
+
* @param current The number of objects currently observed by this metrics.
|
3301
3297
|
* @param totalLifetime The sum of the lifetime of each observed objects.
|
3302
3298
|
* @param failures The number of failures observed.
|
3303
3299
|
* @param retry The number of retries for the invocation(s).
|
@@ -3305,7 +3301,7 @@ public:
|
|
3305
3301
|
* @param remotes The remote invocation metrics map.
|
3306
3302
|
* @param collocated The collocated invocation metrics map.
|
3307
3303
|
*/
|
3308
|
-
InvocationMetrics(const ::std::string& id, ::Ice::Long total, ::Ice::Int current, ::Ice::Long totalLifetime, ::Ice::Int failures, ::Ice::Int retry, ::Ice::Int userException, const MetricsMap& remotes, const MetricsMap& collocated) :
|
3304
|
+
InvocationMetrics(const ::std::string& id, ::Ice::Long total, ::Ice::Int current, ::Ice::Long totalLifetime, ::Ice::Int failures, ::Ice::Int retry, ::Ice::Int userException, const ::IceMX::MetricsMap& remotes, const ::IceMX::MetricsMap& collocated) :
|
3309
3305
|
::IceMX::Metrics(id, total, current, totalLifetime, failures),
|
3310
3306
|
retry(retry),
|
3311
3307
|
userException(userException),
|
@@ -3378,12 +3374,12 @@ public:
|
|
3378
3374
|
* The remote invocation metrics map.
|
3379
3375
|
* @see RemoteMetrics
|
3380
3376
|
*/
|
3381
|
-
MetricsMap remotes;
|
3377
|
+
::IceMX::MetricsMap remotes;
|
3382
3378
|
/**
|
3383
3379
|
* The collocated invocation metrics map.
|
3384
3380
|
* @see CollocatedMetrics
|
3385
3381
|
*/
|
3386
|
-
MetricsMap collocated;
|
3382
|
+
::IceMX::MetricsMap collocated;
|
3387
3383
|
};
|
3388
3384
|
/// \cond INTERNAL
|
3389
3385
|
static ::Ice::ValueFactoryPtr _iceS_InvocationMetrics_init = ::IceMX::InvocationMetrics::ice_factory();
|
@@ -3425,8 +3421,8 @@ public:
|
|
3425
3421
|
/**
|
3426
3422
|
* One-shot constructor to initialize all data members.
|
3427
3423
|
* @param id The metrics identifier.
|
3428
|
-
* @param total The total number of objects
|
3429
|
-
* @param current The
|
3424
|
+
* @param total The total number of objects observed by this metrics.
|
3425
|
+
* @param current The number of objects currently observed by this metrics.
|
3430
3426
|
* @param totalLifetime The sum of the lifetime of each observed objects.
|
3431
3427
|
* @param failures The number of failures observed.
|
3432
3428
|
* @param receivedBytes The number of bytes received by the connection.
|