zeroc-ice 3.8.2 → 3.8.3
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/Communicator.cpp +26 -9
- data/dist/IceRuby/Config.h +0 -12
- data/dist/IceRuby/Connection.cpp +18 -9
- data/dist/IceRuby/DefaultSliceLoader.h +1 -1
- data/dist/IceRuby/Endpoint.cpp +21 -8
- data/dist/IceRuby/Operation.cpp +7 -5
- data/dist/IceRuby/Properties.cpp +3 -4
- data/dist/IceRuby/Proxy.cpp +11 -19
- data/dist/IceRuby/RubySliceLoader.cpp +1 -1
- data/dist/IceRuby/RubySliceLoader.h +6 -0
- data/dist/IceRuby/Types.cpp +162 -138
- data/dist/IceRuby/Types.h +68 -28
- data/dist/IceRuby/Util.cpp +14 -78
- data/dist/IceRuby/Util.h +7 -17
- data/dist/ice/cpp/include/Ice/Communicator.h +31 -8
- data/dist/ice/cpp/include/Ice/Config.h +2 -2
- data/dist/ice/cpp/include/Ice/Connection.h +24 -8
- data/dist/ice/cpp/include/Ice/CtrlCHandler.h +1 -1
- data/dist/ice/cpp/include/Ice/Demangle.h +1 -1
- data/dist/ice/cpp/include/Ice/Endpoint.h +4 -4
- data/dist/ice/cpp/include/Ice/Initialize.h +4 -4
- data/dist/ice/cpp/include/Ice/InputStream.h +5 -5
- data/dist/ice/cpp/include/Ice/Instrumentation.h +13 -7
- data/dist/ice/cpp/include/Ice/LocalExceptions.h +5 -5
- data/dist/ice/cpp/include/Ice/Logger.h +7 -0
- data/dist/ice/cpp/include/Ice/LoggerUtil.h +1 -1
- data/dist/ice/cpp/include/Ice/Object.h +10 -8
- data/dist/ice/cpp/include/Ice/ObjectAdapter.h +1 -1
- data/dist/ice/cpp/include/Ice/OutgoingAsync.h +5 -2
- data/dist/ice/cpp/include/Ice/OutgoingResponse.h +2 -1
- data/dist/ice/cpp/include/Ice/OutputStream.h +7 -6
- data/dist/ice/cpp/include/Ice/PluginFactory.h +1 -1
- data/dist/ice/cpp/include/Ice/Properties.h +3 -3
- data/dist/ice/cpp/include/Ice/Proxy.h +192 -50
- data/dist/ice/cpp/include/Ice/SSL/ClientAuthenticationOptions.h +3 -3
- data/dist/ice/cpp/include/Ice/SSL/EndpointInfo.h +1 -1
- data/dist/ice/cpp/include/Ice/SSL/ServerAuthenticationOptions.h +5 -5
- data/dist/ice/cpp/include/Ice/ServantLocator.h +1 -1
- data/dist/ice/cpp/include/Ice/Service.h +2 -5
- data/dist/ice/cpp/include/Ice/SliceLoader.h +1 -1
- data/dist/ice/cpp/include/Ice/SlicedData.h +5 -3
- data/dist/ice/cpp/include/Ice/StreamHelpers.h +1 -1
- data/dist/ice/cpp/include/Ice/StreamableTraits.h +2 -2
- data/dist/ice/cpp/include/Ice/StringConverter.h +2 -3
- data/dist/ice/cpp/include/Ice/StringUtil.h +2 -7
- data/dist/ice/cpp/include/Ice/UUID.h +1 -0
- data/dist/ice/cpp/include/Ice/Value.h +2 -2
- data/dist/ice/cpp/include/generated/Ice/BuiltinSequences.h +2 -2
- data/dist/ice/cpp/include/generated/Ice/Context.h +2 -2
- data/dist/ice/cpp/include/generated/Ice/EndpointTypes.h +2 -2
- data/dist/ice/cpp/include/generated/Ice/Identity.h +2 -2
- data/dist/ice/cpp/include/generated/Ice/Locator.h +50 -14
- data/dist/ice/cpp/include/generated/Ice/LocatorRegistry.h +38 -11
- data/dist/ice/cpp/include/generated/Ice/Metrics.h +94 -39
- data/dist/ice/cpp/include/generated/Ice/OperationMode.h +2 -2
- data/dist/ice/cpp/include/generated/Ice/Process.h +34 -8
- data/dist/ice/cpp/include/generated/Ice/PropertiesAdmin.h +42 -11
- data/dist/ice/cpp/include/generated/Ice/PropertyDict.h +2 -2
- data/dist/ice/cpp/include/generated/Ice/RemoteLogger.h +93 -40
- data/dist/ice/cpp/include/generated/Ice/ReplyStatus.h +2 -2
- data/dist/ice/cpp/include/generated/Ice/Router.h +50 -14
- data/dist/ice/cpp/include/generated/Ice/SliceChecksumDict.h +2 -2
- data/dist/ice/cpp/include/generated/Ice/Version.h +2 -2
- data/dist/ice/cpp/include/generated/IceDiscovery/Lookup.h +66 -14
- data/dist/ice/cpp/include/generated/IceLocatorDiscovery/Lookup.h +34 -8
- data/dist/ice/cpp/src/Ice/AddDefaultPluginFactories_all.cpp +1 -1
- data/dist/ice/cpp/src/Ice/Base64.cpp +47 -137
- data/dist/ice/cpp/src/Ice/Base64.h +2 -2
- data/dist/ice/cpp/src/Ice/BatchRequestQueue.cpp +28 -13
- data/dist/ice/cpp/src/Ice/BatchRequestQueue.h +5 -1
- data/dist/ice/cpp/src/Ice/Buffer.cpp +1 -1
- data/dist/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +1 -1
- data/dist/ice/cpp/src/Ice/CollocatedRequestHandler.h +1 -1
- data/dist/ice/cpp/src/Ice/Communicator.cpp +4 -3
- data/dist/ice/cpp/src/Ice/CommunicatorFlushBatchAsync.cpp +8 -0
- data/dist/ice/cpp/src/Ice/ConnectRequestHandler.cpp +5 -15
- data/dist/ice/cpp/src/Ice/ConnectRequestHandler.h +1 -1
- data/dist/ice/cpp/src/Ice/ConnectionFactory.cpp +6 -8
- data/dist/ice/cpp/src/Ice/ConnectionFactory.h +0 -3
- data/dist/ice/cpp/src/Ice/ConnectionI.cpp +94 -99
- data/dist/ice/cpp/src/Ice/ConnectionI.h +11 -8
- data/dist/ice/cpp/src/Ice/ConsoleUtil.cpp +1 -1
- data/dist/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +10 -14
- data/dist/ice/cpp/src/Ice/EndpointI.h +1 -1
- data/dist/ice/cpp/src/Ice/FileUtil.cpp +12 -12
- data/dist/ice/cpp/src/Ice/FixedRequestHandler.cpp +1 -1
- data/dist/ice/cpp/src/Ice/FixedRequestHandler.h +1 -1
- data/dist/ice/cpp/src/Ice/HttpParser.h +0 -2
- data/dist/ice/cpp/src/Ice/IdleTimeoutTransceiverDecorator.cpp +6 -3
- data/dist/ice/cpp/src/Ice/IncomingRequest.cpp +1 -3
- data/dist/ice/cpp/src/Ice/InputStream.cpp +23 -19
- data/dist/ice/cpp/src/Ice/Instance.cpp +73 -50
- data/dist/ice/cpp/src/Ice/Instance.h +1 -6
- data/dist/ice/cpp/src/Ice/LocalExceptions.cpp +1 -1
- data/dist/ice/cpp/src/Ice/LocatorInfo.cpp +2 -2
- data/dist/ice/cpp/src/Ice/LoggerAdminI.cpp +13 -18
- data/dist/ice/cpp/src/Ice/LoggerI.cpp +1 -1
- data/dist/ice/cpp/src/Ice/LoggerI.h +2 -2
- data/dist/ice/cpp/src/Ice/MetricsAdminI.h +6 -1
- data/dist/ice/cpp/src/Ice/MetricsObserverI.h +22 -18
- data/dist/ice/cpp/src/Ice/NativePropertiesAdmin.cpp +5 -2
- data/dist/ice/cpp/src/Ice/Network.cpp +168 -103
- data/dist/ice/cpp/src/Ice/Network.h +12 -7
- data/dist/ice/cpp/src/Ice/NetworkProxy.cpp +17 -6
- data/dist/ice/cpp/src/Ice/NetworkProxy.h +2 -1
- data/dist/ice/cpp/src/Ice/Object.cpp +1 -1
- data/dist/ice/cpp/src/Ice/ObjectAdapterI.cpp +56 -19
- data/dist/ice/cpp/src/Ice/OpaqueEndpointI.cpp +10 -10
- data/dist/ice/cpp/src/Ice/Options.cpp +7 -2
- data/dist/ice/cpp/src/Ice/OutgoingAsync.cpp +1 -1
- data/dist/ice/cpp/src/Ice/OutputStream.cpp +4 -4
- data/dist/ice/cpp/src/Ice/PluginManagerI.cpp +7 -1
- data/dist/ice/cpp/src/Ice/Properties.cpp +26 -16
- data/dist/ice/cpp/src/Ice/PropertyUtil.cpp +1 -1
- data/dist/ice/cpp/src/Ice/ProtocolInstance.cpp +0 -11
- data/dist/ice/cpp/src/Ice/ProtocolInstance.h +1 -2
- data/dist/ice/cpp/src/Ice/Proxy.cpp +9 -1
- data/dist/ice/cpp/src/Ice/ProxyAsync.cpp +110 -13
- data/dist/ice/cpp/src/Ice/Random.cpp +68 -7
- data/dist/ice/cpp/src/Ice/Random.h +6 -2
- data/dist/ice/cpp/src/Ice/Reference.cpp +22 -11
- data/dist/ice/cpp/src/Ice/Reference.h +3 -0
- data/dist/ice/cpp/src/Ice/ReferenceFactory.cpp +10 -0
- data/dist/ice/cpp/src/Ice/RequestHandler.h +3 -1
- data/dist/ice/cpp/src/Ice/RequestHandlerCache.cpp +1 -1
- data/dist/ice/cpp/src/Ice/RequestHandlerCache.h +1 -1
- data/dist/ice/cpp/src/Ice/ResourceConfig.h +3 -3
- data/dist/ice/cpp/src/Ice/RetryQueue.cpp +8 -12
- data/dist/ice/cpp/src/Ice/SHA1.cpp +11 -11
- data/dist/ice/cpp/src/Ice/SSL/DistinguishedName.cpp +0 -6
- data/dist/ice/cpp/src/Ice/SSL/DistinguishedName.h +0 -6
- data/dist/ice/cpp/src/Ice/SSL/OpenSSLEngine.cpp +15 -1
- data/dist/ice/cpp/src/Ice/SSL/OpenSSLTransceiverI.cpp +77 -27
- data/dist/ice/cpp/src/Ice/SSL/OpenSSLTransceiverI.h +2 -1
- data/dist/ice/cpp/src/Ice/SSL/RFC2253.cpp +2 -2
- data/dist/ice/cpp/src/Ice/SSL/SSLUtil.cpp +39 -34
- data/dist/ice/cpp/src/Ice/SSL/SchannelEngine.cpp +130 -52
- data/dist/ice/cpp/src/Ice/SSL/SchannelTransceiverI.cpp +64 -33
- data/dist/ice/cpp/src/Ice/SSL/SchannelTransceiverI.h +0 -1
- data/dist/ice/cpp/src/Ice/SSL/SecureTransportEngine.cpp +3 -3
- data/dist/ice/cpp/src/Ice/SSL/SecureTransportTransceiverI.cpp +9 -3
- data/dist/ice/cpp/src/Ice/SSL/SecureTransportUtil.cpp +73 -51
- data/dist/ice/cpp/src/Ice/SSL/SecureTransportUtil.h +0 -8
- data/dist/ice/cpp/src/Ice/Selector.cpp +13 -11
- data/dist/ice/cpp/src/Ice/ServantManager.cpp +3 -3
- data/dist/ice/cpp/src/Ice/Service.cpp +33 -115
- data/dist/ice/cpp/src/Ice/StreamSocket.cpp +33 -40
- data/dist/ice/cpp/src/Ice/StreamSocket.h +4 -4
- data/dist/ice/cpp/src/Ice/StringConverter.cpp +1 -1
- data/dist/ice/cpp/src/Ice/StringUtil.cpp +12 -21
- data/dist/ice/cpp/src/Ice/SysLoggerI.cpp +136 -100
- data/dist/ice/cpp/src/Ice/SysLoggerI.h +7 -3
- data/dist/ice/cpp/src/Ice/SystemdJournalI.cpp +1 -1
- data/dist/ice/cpp/src/Ice/TcpAcceptor.cpp +7 -7
- data/dist/ice/cpp/src/Ice/TcpAcceptor.h +2 -1
- data/dist/ice/cpp/src/Ice/TcpBufSize.h +40 -0
- data/dist/ice/cpp/src/Ice/TcpConnector.cpp +5 -2
- data/dist/ice/cpp/src/Ice/TcpConnector.h +2 -0
- data/dist/ice/cpp/src/Ice/TcpTransceiver.cpp +6 -2
- data/dist/ice/cpp/src/Ice/ThreadPool.cpp +2 -8
- data/dist/ice/cpp/src/Ice/ThreadPool.h +0 -2
- data/dist/ice/cpp/src/Ice/Timer.cpp +7 -3
- data/dist/ice/cpp/src/Ice/UUID.cpp +1 -2
- data/dist/ice/cpp/src/Ice/UdpEndpointI.cpp +4 -1
- data/dist/ice/cpp/src/Ice/UdpTransceiver.cpp +136 -123
- data/dist/ice/cpp/src/Ice/UdpTransceiver.h +3 -4
- data/dist/ice/cpp/src/Ice/WSTransceiver.cpp +96 -27
- data/dist/ice/cpp/src/Ice/WSTransceiver.h +1 -1
- data/dist/ice/cpp/src/Ice/generated/BuiltinSequences.cpp +2 -2
- data/dist/ice/cpp/src/Ice/generated/Context.cpp +2 -2
- data/dist/ice/cpp/src/Ice/generated/EndpointTypes.cpp +2 -2
- data/dist/ice/cpp/src/Ice/generated/Identity.cpp +2 -2
- data/dist/ice/cpp/src/Ice/generated/Locator.cpp +2 -2
- data/dist/ice/cpp/src/Ice/generated/LocatorRegistry.cpp +2 -2
- data/dist/ice/cpp/src/Ice/generated/Metrics.cpp +2 -2
- data/dist/ice/cpp/src/Ice/generated/OperationMode.cpp +2 -2
- data/dist/ice/cpp/src/Ice/generated/Process.cpp +2 -2
- data/dist/ice/cpp/src/Ice/generated/PropertiesAdmin.cpp +2 -2
- data/dist/ice/cpp/src/Ice/generated/PropertyDict.cpp +2 -2
- data/dist/ice/cpp/src/Ice/generated/RemoteLogger.cpp +2 -2
- data/dist/ice/cpp/src/Ice/generated/ReplyStatus.cpp +2 -2
- data/dist/ice/cpp/src/Ice/generated/Router.cpp +2 -2
- data/dist/ice/cpp/src/Ice/generated/SliceChecksumDict.cpp +2 -2
- data/dist/ice/cpp/src/Ice/generated/Version.cpp +2 -2
- data/dist/ice/cpp/src/IceDiscovery/LookupI.cpp +47 -9
- data/dist/ice/cpp/src/IceDiscovery/LookupI.h +8 -3
- data/dist/ice/cpp/src/IceDiscovery/generated/Lookup.cpp +2 -2
- data/dist/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +43 -14
- data/dist/ice/cpp/src/IceLocatorDiscovery/generated/Lookup.cpp +2 -2
- data/dist/ice/cpp/src/Slice/DocCommentParser.cpp +26 -20
- data/dist/ice/cpp/src/Slice/DocCommentParser.h +2 -2
- data/dist/ice/cpp/src/Slice/FileTracker.cpp +3 -11
- data/dist/ice/cpp/src/Slice/FileTracker.h +0 -2
- data/dist/ice/cpp/src/Slice/Grammar.cpp +211 -210
- data/dist/ice/cpp/src/Slice/MetadataValidation.cpp +10 -9
- data/dist/ice/cpp/src/Slice/Parser.cpp +28 -20
- data/dist/ice/cpp/src/Slice/Parser.h +3 -4
- data/dist/ice/cpp/src/Slice/Preprocessor.cpp +3 -11
- data/dist/ice/cpp/src/Slice/Preprocessor.h +0 -2
- data/dist/ice/cpp/src/Slice/Scanner.cpp +3 -3
- data/dist/ice/cpp/src/Slice/SliceUtil.cpp +197 -114
- data/dist/ice/cpp/src/Slice/StringLiteralUtil.cpp +0 -2
- data/dist/ice/cpp/src/Slice/Util.h +21 -9
- data/dist/ice/cpp/src/slice2rb/Ruby.cpp +7 -3
- data/dist/ice/cpp/src/slice2rb/RubyUtil.cpp +16 -12
- data/dist/ice/cpp/src/slice2rb/RubyUtil.h +3 -3
- data/dist/ice/slice/Glacier2/Router.ice +3 -3
- data/dist/ice/slice/Ice/Metrics.ice +6 -5
- data/dist/ice/slice/Ice/RemoteLogger.ice +5 -5
- data/dist/ice/slice/IceGrid/Admin.ice +9 -9
- data/dist/ice/slice/IceGrid/Descriptor.ice +5 -5
- data/dist/ice/slice/IceStorm/Metrics.ice +1 -1
- data/dist/lib/Glacier2/Metrics.rb +1 -1
- data/dist/lib/Glacier2/PermissionsVerifier.rb +1 -1
- data/dist/lib/Glacier2/Router.rb +2 -2
- data/dist/lib/Glacier2/SSLInfo.rb +1 -1
- data/dist/lib/Glacier2/Session.rb +1 -1
- data/dist/lib/Ice/BuiltinSequences.rb +1 -1
- data/dist/lib/Ice/CompressBatch.rb +1 -2
- data/dist/lib/Ice/Context.rb +1 -1
- data/dist/lib/Ice/EndpointSelectionType.rb +1 -2
- data/dist/lib/Ice/EndpointTypes.rb +1 -1
- data/dist/lib/Ice/Identity.rb +1 -1
- data/dist/lib/Ice/IdentitySpaceship.rb +1 -0
- data/dist/lib/Ice/Locator.rb +1 -1
- data/dist/lib/Ice/LocatorRegistry.rb +1 -1
- data/dist/lib/Ice/Metrics.rb +1 -1
- data/dist/lib/Ice/OperationMode.rb +2 -3
- data/dist/lib/Ice/Process.rb +1 -1
- data/dist/lib/Ice/PropertiesAdmin.rb +1 -1
- data/dist/lib/Ice/PropertyDict.rb +1 -1
- data/dist/lib/Ice/RemoteLogger.rb +2 -3
- data/dist/lib/Ice/ReplyStatus.rb +2 -3
- data/dist/lib/Ice/Router.rb +1 -1
- data/dist/lib/Ice/SliceChecksumDict.rb +1 -1
- data/dist/lib/Ice/SliceUtil.rb +2 -2
- data/dist/lib/Ice/Struct.rb +1 -0
- data/dist/lib/Ice/ToStringMode.rb +1 -2
- data/dist/lib/Ice/Value.rb +2 -2
- data/dist/lib/Ice/Version.rb +1 -1
- data/dist/lib/IceBox/ServiceManager.rb +1 -1
- data/dist/lib/IceGrid/Admin.rb +3 -4
- data/dist/lib/IceGrid/Descriptor.rb +1 -1
- data/dist/lib/IceGrid/Exception.rb +1 -1
- data/dist/lib/IceGrid/FileParser.rb +1 -1
- data/dist/lib/IceGrid/Registry.rb +2 -3
- data/dist/lib/IceGrid/Session.rb +2 -2
- data/dist/lib/IceGrid/UserAccountMapper.rb +1 -1
- data/dist/lib/IceStorm/IceStorm.rb +1 -1
- data/dist/lib/IceStorm/Metrics.rb +1 -1
- data/extconf.rb +1 -1
- data/ice.gemspec +3 -3
- metadata +4 -5
- data/dist/ice/cpp/src/Ice/DLLMain.cpp +0 -40
- data/dist/ice/cpp/src/Ice/UndefSysMacros.h +0 -37
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright (c) ZeroC, Inc.
|
|
2
2
|
|
|
3
|
-
// slice2cpp version 3.8.
|
|
3
|
+
// slice2cpp version 3.8.3
|
|
4
4
|
// <auto-generated>Generated from Slice file 'Metrics.ice'.</auto-generated>
|
|
5
5
|
// clang-format off
|
|
6
6
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
# if ICE_INT_VERSION % 100 >= 50
|
|
19
19
|
# error Beta header file detected
|
|
20
20
|
# endif
|
|
21
|
-
# if ICE_INT_VERSION % 100 <
|
|
21
|
+
# if ICE_INT_VERSION % 100 < 3
|
|
22
22
|
# error Ice patch level mismatch!
|
|
23
23
|
# endif
|
|
24
24
|
#endif
|
|
@@ -135,25 +135,34 @@ namespace IceMX
|
|
|
135
135
|
return *this;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
/// Gets the names of enabled and disabled metrics.
|
|
138
|
+
/// Gets the names of the enabled and disabled metrics views.
|
|
139
139
|
/// @param[out] disabledViews The names of the disabled views.
|
|
140
140
|
/// @param context The request context.
|
|
141
141
|
/// @return The names of the enabled views.
|
|
142
142
|
::Ice::StringSeq getMetricsViewNames(::Ice::StringSeq& disabledViews, const Ice::Context& context = Ice::noExplicitContext) const;
|
|
143
143
|
|
|
144
|
-
/// Gets the names of enabled and disabled metrics.
|
|
144
|
+
/// Gets the names of the enabled and disabled metrics views.
|
|
145
145
|
/// @param context The request context.
|
|
146
146
|
/// @return A future that becomes available when the invocation completes. This future holds:
|
|
147
147
|
/// - `returnValue` The names of the enabled views.
|
|
148
148
|
/// - `disabledViews` The names of the disabled views.
|
|
149
149
|
[[nodiscard]] std::future<std::tuple<::Ice::StringSeq, ::Ice::StringSeq>> getMetricsViewNamesAsync(const Ice::Context& context = Ice::noExplicitContext) const;
|
|
150
150
|
|
|
151
|
-
/// Gets the names of enabled and disabled metrics.
|
|
152
|
-
/// @param response The response callback.
|
|
151
|
+
/// Gets the names of the enabled and disabled metrics views.
|
|
152
|
+
/// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
|
|
153
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
154
|
+
/// function. It accepts:
|
|
153
155
|
/// - `returnValue` The names of the enabled views.
|
|
154
156
|
/// - `disabledViews` The names of the disabled views.
|
|
155
|
-
/// @param exception The exception callback.
|
|
156
|
-
///
|
|
157
|
+
/// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
|
|
158
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
159
|
+
/// function.
|
|
160
|
+
/// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
|
|
161
|
+
/// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
|
|
162
|
+
/// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
|
|
163
|
+
/// this function from an Ice thread pool thread and passes `false` as argument. If you set
|
|
164
|
+
/// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
|
|
165
|
+
/// asynchronous case.
|
|
157
166
|
/// @param context The request context.
|
|
158
167
|
/// @return A function that can be called to cancel the invocation locally.
|
|
159
168
|
// NOLINTNEXTLINE(modernize-use-nodiscard)
|
|
@@ -176,9 +185,18 @@ namespace IceMX
|
|
|
176
185
|
|
|
177
186
|
/// Enables a metrics view.
|
|
178
187
|
/// @param name The metrics view name.
|
|
179
|
-
/// @param response The response callback.
|
|
180
|
-
///
|
|
181
|
-
///
|
|
188
|
+
/// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
|
|
189
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
190
|
+
/// function.
|
|
191
|
+
/// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
|
|
192
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
193
|
+
/// function.
|
|
194
|
+
/// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
|
|
195
|
+
/// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
|
|
196
|
+
/// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
|
|
197
|
+
/// this function from an Ice thread pool thread and passes `false` as argument. If you set
|
|
198
|
+
/// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
|
|
199
|
+
/// asynchronous case.
|
|
182
200
|
/// @param context The request context.
|
|
183
201
|
/// @return A function that can be called to cancel the invocation locally.
|
|
184
202
|
// NOLINTNEXTLINE(modernize-use-nodiscard)
|
|
@@ -201,9 +219,18 @@ namespace IceMX
|
|
|
201
219
|
|
|
202
220
|
/// Disables a metrics view.
|
|
203
221
|
/// @param name The metrics view name.
|
|
204
|
-
/// @param response The response callback.
|
|
205
|
-
///
|
|
206
|
-
///
|
|
222
|
+
/// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
|
|
223
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
224
|
+
/// function.
|
|
225
|
+
/// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
|
|
226
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
227
|
+
/// function.
|
|
228
|
+
/// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
|
|
229
|
+
/// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
|
|
230
|
+
/// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
|
|
231
|
+
/// this function from an Ice thread pool thread and passes `false` as argument. If you set
|
|
232
|
+
/// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
|
|
233
|
+
/// asynchronous case.
|
|
207
234
|
/// @param context The request context.
|
|
208
235
|
/// @return A function that can be called to cancel the invocation locally.
|
|
209
236
|
// NOLINTNEXTLINE(modernize-use-nodiscard)
|
|
@@ -234,13 +261,22 @@ namespace IceMX
|
|
|
234
261
|
|
|
235
262
|
/// Gets the metrics objects for the given metrics view.
|
|
236
263
|
/// @param view The name of the metrics view.
|
|
237
|
-
/// @param response The response callback.
|
|
264
|
+
/// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
|
|
265
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
266
|
+
/// function. It accepts:
|
|
238
267
|
/// - `returnValue` The metrics view data, a dictionary of metric maps for each metrics class configured with the view.
|
|
239
268
|
/// The `timestamp` allows the client to compute averages which are not dependent on the invocation latency for
|
|
240
269
|
/// this operation.
|
|
241
270
|
/// - `timestamp` The local time of the process when the metrics objects were retrieved.
|
|
242
|
-
/// @param exception The exception callback.
|
|
243
|
-
///
|
|
271
|
+
/// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
|
|
272
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
273
|
+
/// function.
|
|
274
|
+
/// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
|
|
275
|
+
/// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
|
|
276
|
+
/// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
|
|
277
|
+
/// this function from an Ice thread pool thread and passes `false` as argument. If you set
|
|
278
|
+
/// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
|
|
279
|
+
/// asynchronous case.
|
|
244
280
|
/// @param context The request context.
|
|
245
281
|
/// @return A function that can be called to cancel the invocation locally.
|
|
246
282
|
// NOLINTNEXTLINE(modernize-use-nodiscard)
|
|
@@ -268,10 +304,19 @@ namespace IceMX
|
|
|
268
304
|
/// Gets the metrics failures associated with the given @p view and @p map.
|
|
269
305
|
/// @param view The name of the metrics view.
|
|
270
306
|
/// @param map The name of the metrics map.
|
|
271
|
-
/// @param response The response callback.
|
|
307
|
+
/// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
|
|
308
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
309
|
+
/// function. It accepts:
|
|
272
310
|
/// - The metrics failures associated with the map.
|
|
273
|
-
/// @param exception The exception callback.
|
|
274
|
-
///
|
|
311
|
+
/// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
|
|
312
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
313
|
+
/// function.
|
|
314
|
+
/// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
|
|
315
|
+
/// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
|
|
316
|
+
/// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
|
|
317
|
+
/// this function from an Ice thread pool thread and passes `false` as argument. If you set
|
|
318
|
+
/// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
|
|
319
|
+
/// asynchronous case.
|
|
275
320
|
/// @param context The request context.
|
|
276
321
|
/// @return A function that can be called to cancel the invocation locally.
|
|
277
322
|
// NOLINTNEXTLINE(modernize-use-nodiscard)
|
|
@@ -280,7 +325,7 @@ namespace IceMX
|
|
|
280
325
|
/// @private
|
|
281
326
|
void _iceI_getMapMetricsFailures(const std::shared_ptr<IceInternal::OutgoingAsyncT<MetricsFailuresSeq>>&, std::string_view, std::string_view, const Ice::Context&) const;
|
|
282
327
|
|
|
283
|
-
/// Gets the metrics
|
|
328
|
+
/// Gets the metrics failures associated with the given metrics.
|
|
284
329
|
/// @param view The name of the metrics view.
|
|
285
330
|
/// @param map The name of the metrics map.
|
|
286
331
|
/// @param id The ID of the metrics.
|
|
@@ -289,7 +334,7 @@ namespace IceMX
|
|
|
289
334
|
/// @throws IceMX::UnknownMetricsView Thrown when the metrics view cannot be found.
|
|
290
335
|
MetricsFailures getMetricsFailures(std::string_view view, std::string_view map, std::string_view id, const Ice::Context& context = Ice::noExplicitContext) const; // NOLINT(modernize-use-nodiscard)
|
|
291
336
|
|
|
292
|
-
/// Gets the metrics
|
|
337
|
+
/// Gets the metrics failures associated with the given metrics.
|
|
293
338
|
/// @param view The name of the metrics view.
|
|
294
339
|
/// @param map The name of the metrics map.
|
|
295
340
|
/// @param id The ID of the metrics.
|
|
@@ -298,14 +343,23 @@ namespace IceMX
|
|
|
298
343
|
/// - The metrics failures associated with the metrics.
|
|
299
344
|
[[nodiscard]] std::future<MetricsFailures> getMetricsFailuresAsync(std::string_view view, std::string_view map, std::string_view id, const Ice::Context& context = Ice::noExplicitContext) const;
|
|
300
345
|
|
|
301
|
-
/// Gets the metrics
|
|
346
|
+
/// Gets the metrics failures associated with the given metrics.
|
|
302
347
|
/// @param view The name of the metrics view.
|
|
303
348
|
/// @param map The name of the metrics map.
|
|
304
349
|
/// @param id The ID of the metrics.
|
|
305
|
-
/// @param response The response callback.
|
|
350
|
+
/// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
|
|
351
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
352
|
+
/// function. It accepts:
|
|
306
353
|
/// - The metrics failures associated with the metrics.
|
|
307
|
-
/// @param exception The exception callback.
|
|
308
|
-
///
|
|
354
|
+
/// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
|
|
355
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
356
|
+
/// function.
|
|
357
|
+
/// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
|
|
358
|
+
/// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
|
|
359
|
+
/// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
|
|
360
|
+
/// this function from an Ice thread pool thread and passes `false` as argument. If you set
|
|
361
|
+
/// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
|
|
362
|
+
/// asynchronous case.
|
|
309
363
|
/// @param context The request context.
|
|
310
364
|
/// @return A function that can be called to cancel the invocation locally.
|
|
311
365
|
// NOLINTNEXTLINE(modernize-use-nodiscard)
|
|
@@ -334,7 +388,7 @@ namespace IceMX
|
|
|
334
388
|
|
|
335
389
|
namespace IceMX
|
|
336
390
|
{
|
|
337
|
-
/// The base class for metrics. A metrics object represents a collection of measurements associated
|
|
391
|
+
/// The base class for metrics. A metrics object represents a collection of measurements associated with a given
|
|
338
392
|
/// system.
|
|
339
393
|
/// @remarks The Slice compiler generated this class from Slice class `::IceMX::Metrics`.
|
|
340
394
|
/// @headerfile Ice/Ice.h
|
|
@@ -348,7 +402,7 @@ namespace IceMX
|
|
|
348
402
|
/// @param id The metrics identifier.
|
|
349
403
|
/// @param total The total number of objects observed by this metrics.
|
|
350
404
|
/// @param current The number of objects currently observed by this metrics.
|
|
351
|
-
/// @param totalLifetime The sum of the
|
|
405
|
+
/// @param totalLifetime The sum of the lifetimes of each observed object.
|
|
352
406
|
/// @param failures The number of failures observed.
|
|
353
407
|
Metrics(std::string id, std::int64_t total, std::int32_t current, std::int64_t totalLifetime, std::int32_t failures) noexcept :
|
|
354
408
|
id(std::move(id)),
|
|
@@ -388,7 +442,7 @@ namespace IceMX
|
|
|
388
442
|
/// The number of objects currently observed by this metrics.
|
|
389
443
|
std::int32_t current{0};
|
|
390
444
|
|
|
391
|
-
/// The sum of the
|
|
445
|
+
/// The sum of the lifetimes of each observed object. This does not include the lifetimes of objects which are
|
|
392
446
|
/// currently observed, only the objects observed in the past.
|
|
393
447
|
std::int64_t totalLifetime{INT64_C(0)};
|
|
394
448
|
|
|
@@ -473,7 +527,7 @@ namespace IceMX
|
|
|
473
527
|
/// @param id The metrics identifier.
|
|
474
528
|
/// @param total The total number of objects observed by this metrics.
|
|
475
529
|
/// @param current The number of objects currently observed by this metrics.
|
|
476
|
-
/// @param totalLifetime The sum of the
|
|
530
|
+
/// @param totalLifetime The sum of the lifetimes of each observed object.
|
|
477
531
|
/// @param failures The number of failures observed.
|
|
478
532
|
/// @param inUseForIO The number of threads which are currently performing socket reads or writes.
|
|
479
533
|
/// @param inUseForUser The number of threads which are currently calling user code (servant dispatch, AMI callbacks, etc).
|
|
@@ -543,7 +597,7 @@ namespace IceMX
|
|
|
543
597
|
/// @param id The metrics identifier.
|
|
544
598
|
/// @param total The total number of objects observed by this metrics.
|
|
545
599
|
/// @param current The number of objects currently observed by this metrics.
|
|
546
|
-
/// @param totalLifetime The sum of the
|
|
600
|
+
/// @param totalLifetime The sum of the lifetimes of each observed object.
|
|
547
601
|
/// @param failures The number of failures observed.
|
|
548
602
|
/// @param userException The number of dispatches that failed with a user exception.
|
|
549
603
|
/// @param size The size of the incoming requests.
|
|
@@ -613,7 +667,7 @@ namespace IceMX
|
|
|
613
667
|
/// @param id The metrics identifier.
|
|
614
668
|
/// @param total The total number of objects observed by this metrics.
|
|
615
669
|
/// @param current The number of objects currently observed by this metrics.
|
|
616
|
-
/// @param totalLifetime The sum of the
|
|
670
|
+
/// @param totalLifetime The sum of the lifetimes of each observed object.
|
|
617
671
|
/// @param failures The number of failures observed.
|
|
618
672
|
/// @param size The size of the invocation.
|
|
619
673
|
/// @param replySize The size of the invocation reply.
|
|
@@ -728,7 +782,8 @@ namespace IceMX
|
|
|
728
782
|
void _iceReadImpl(Ice::InputStream*) override;
|
|
729
783
|
};
|
|
730
784
|
|
|
731
|
-
///
|
|
785
|
+
/// Provides measurements for proxy invocations. Proxy invocations can either be sent over the wire or be
|
|
786
|
+
/// collocated.
|
|
732
787
|
/// @remarks The Slice compiler generated this class from Slice class `::IceMX::InvocationMetrics`.
|
|
733
788
|
/// @headerfile Ice/Ice.h
|
|
734
789
|
class ICE_API InvocationMetrics : public Metrics
|
|
@@ -741,7 +796,7 @@ namespace IceMX
|
|
|
741
796
|
/// @param id The metrics identifier.
|
|
742
797
|
/// @param total The total number of objects observed by this metrics.
|
|
743
798
|
/// @param current The number of objects currently observed by this metrics.
|
|
744
|
-
/// @param totalLifetime The sum of the
|
|
799
|
+
/// @param totalLifetime The sum of the lifetimes of each observed object.
|
|
745
800
|
/// @param failures The number of failures observed.
|
|
746
801
|
/// @param retry The number of retries for the invocations.
|
|
747
802
|
/// @param userException The number of invocations that failed with a user exception.
|
|
@@ -816,7 +871,7 @@ namespace IceMX
|
|
|
816
871
|
/// @param id The metrics identifier.
|
|
817
872
|
/// @param total The total number of objects observed by this metrics.
|
|
818
873
|
/// @param current The number of objects currently observed by this metrics.
|
|
819
|
-
/// @param totalLifetime The sum of the
|
|
874
|
+
/// @param totalLifetime The sum of the lifetimes of each observed object.
|
|
820
875
|
/// @param failures The number of failures observed.
|
|
821
876
|
/// @param receivedBytes The number of bytes received by the connection.
|
|
822
877
|
/// @param sentBytes The number of bytes sent by the connection.
|
|
@@ -897,7 +952,7 @@ namespace IceMX
|
|
|
897
952
|
|
|
898
953
|
[[nodiscard]] std::string ice_id(const Ice::Current& current) const override;
|
|
899
954
|
|
|
900
|
-
/// Gets the names of enabled and disabled metrics.
|
|
955
|
+
/// Gets the names of the enabled and disabled metrics views.
|
|
901
956
|
/// @param[out] disabledViews The names of the disabled views.
|
|
902
957
|
/// @param current The Current object of the incoming request.
|
|
903
958
|
/// @return The names of the enabled views.
|
|
@@ -948,7 +1003,7 @@ namespace IceMX
|
|
|
948
1003
|
/// @private
|
|
949
1004
|
void _iceD_getMapMetricsFailures(Ice::IncomingRequest&, std::function<void(Ice::OutgoingResponse)>);
|
|
950
1005
|
|
|
951
|
-
/// Gets the metrics
|
|
1006
|
+
/// Gets the metrics failures associated with the given metrics.
|
|
952
1007
|
/// @param view The name of the metrics view.
|
|
953
1008
|
/// @param map The name of the metrics map.
|
|
954
1009
|
/// @param id The ID of the metrics.
|
|
@@ -990,7 +1045,7 @@ namespace IceMX
|
|
|
990
1045
|
|
|
991
1046
|
[[nodiscard]] std::string ice_id(const Ice::Current& current) const override;
|
|
992
1047
|
|
|
993
|
-
/// Gets the names of enabled and disabled metrics.
|
|
1048
|
+
/// Gets the names of the enabled and disabled metrics views.
|
|
994
1049
|
/// @param response The response callback. It accepts:
|
|
995
1050
|
/// - `returnValue` The names of the enabled views.
|
|
996
1051
|
/// - `disabledViews` The names of the disabled views.
|
|
@@ -1051,7 +1106,7 @@ namespace IceMX
|
|
|
1051
1106
|
/// @private
|
|
1052
1107
|
void _iceD_getMapMetricsFailures(Ice::IncomingRequest&, std::function<void(Ice::OutgoingResponse)>);
|
|
1053
1108
|
|
|
1054
|
-
/// Gets the metrics
|
|
1109
|
+
/// Gets the metrics failures associated with the given metrics.
|
|
1055
1110
|
/// @param view The name of the metrics view.
|
|
1056
1111
|
/// @param map The name of the metrics map.
|
|
1057
1112
|
/// @param id The ID of the metrics.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright (c) ZeroC, Inc.
|
|
2
2
|
|
|
3
|
-
// slice2cpp version 3.8.
|
|
3
|
+
// slice2cpp version 3.8.3
|
|
4
4
|
// <auto-generated>Generated from Slice file 'OperationMode.ice'.</auto-generated>
|
|
5
5
|
// clang-format off
|
|
6
6
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
# if ICE_INT_VERSION % 100 >= 50
|
|
19
19
|
# error Beta header file detected
|
|
20
20
|
# endif
|
|
21
|
-
# if ICE_INT_VERSION % 100 <
|
|
21
|
+
# if ICE_INT_VERSION % 100 < 3
|
|
22
22
|
# error Ice patch level mismatch!
|
|
23
23
|
# endif
|
|
24
24
|
#endif
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright (c) ZeroC, Inc.
|
|
2
2
|
|
|
3
|
-
// slice2cpp version 3.8.
|
|
3
|
+
// slice2cpp version 3.8.3
|
|
4
4
|
// <auto-generated>Generated from Slice file 'Process.ice'.</auto-generated>
|
|
5
5
|
// clang-format off
|
|
6
6
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
# if ICE_INT_VERSION % 100 >= 50
|
|
19
19
|
# error Beta header file detected
|
|
20
20
|
# endif
|
|
21
|
-
# if ICE_INT_VERSION % 100 <
|
|
21
|
+
# if ICE_INT_VERSION % 100 < 3
|
|
22
22
|
# error Ice patch level mismatch!
|
|
23
23
|
# endif
|
|
24
24
|
#endif
|
|
@@ -87,11 +87,24 @@ namespace Ice
|
|
|
87
87
|
[[nodiscard]] std::future<void> shutdownAsync(const Ice::Context& context = Ice::noExplicitContext) const;
|
|
88
88
|
|
|
89
89
|
/// Initiates a graceful shutdown of the server application.
|
|
90
|
-
/// @param response The response callback.
|
|
91
|
-
///
|
|
92
|
-
///
|
|
90
|
+
/// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
|
|
91
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
92
|
+
/// function.
|
|
93
|
+
/// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
|
|
94
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
95
|
+
/// function.
|
|
96
|
+
/// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
|
|
97
|
+
/// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
|
|
98
|
+
/// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
|
|
99
|
+
/// this function from an Ice thread pool thread and passes `false` as argument. If you set
|
|
100
|
+
/// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
|
|
101
|
+
/// asynchronous case.
|
|
93
102
|
/// @param context The request context.
|
|
94
103
|
/// @return A function that can be called to cancel the invocation locally.
|
|
104
|
+
/// @remark When this proxy is a oneway or datagram proxy, the Ice runtime does not call the response
|
|
105
|
+
/// callback: a successful invocation completes with the sent callback. When this proxy is a batch
|
|
106
|
+
/// proxy, this function only adds the request to the batch: the Ice runtime calls none of the
|
|
107
|
+
/// callbacks, and the request is sent later, by a flush.
|
|
95
108
|
// NOLINTNEXTLINE(modernize-use-nodiscard)
|
|
96
109
|
std::function<void()> shutdownAsync(std::function<void()> response, std::function<void(std::exception_ptr)> exception = nullptr, std::function<void(bool)> sent = nullptr, const Ice::Context& context = Ice::noExplicitContext) const;
|
|
97
110
|
|
|
@@ -114,11 +127,24 @@ namespace Ice
|
|
|
114
127
|
/// Writes a message on the server application's stdout or stderr.
|
|
115
128
|
/// @param message The message to write.
|
|
116
129
|
/// @param fd 1 for stdout, 2 for stderr.
|
|
117
|
-
/// @param response The response callback.
|
|
118
|
-
///
|
|
119
|
-
///
|
|
130
|
+
/// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
|
|
131
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
132
|
+
/// function.
|
|
133
|
+
/// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
|
|
134
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
135
|
+
/// function.
|
|
136
|
+
/// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
|
|
137
|
+
/// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
|
|
138
|
+
/// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
|
|
139
|
+
/// this function from an Ice thread pool thread and passes `false` as argument. If you set
|
|
140
|
+
/// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
|
|
141
|
+
/// asynchronous case.
|
|
120
142
|
/// @param context The request context.
|
|
121
143
|
/// @return A function that can be called to cancel the invocation locally.
|
|
144
|
+
/// @remark When this proxy is a oneway or datagram proxy, the Ice runtime does not call the response
|
|
145
|
+
/// callback: a successful invocation completes with the sent callback. When this proxy is a batch
|
|
146
|
+
/// proxy, this function only adds the request to the batch: the Ice runtime calls none of the
|
|
147
|
+
/// callbacks, and the request is sent later, by a flush.
|
|
122
148
|
// NOLINTNEXTLINE(modernize-use-nodiscard)
|
|
123
149
|
std::function<void()> writeMessageAsync(std::string_view message, std::int32_t fd, std::function<void()> response, std::function<void(std::exception_ptr)> exception = nullptr, std::function<void(bool)> sent = nullptr, const Ice::Context& context = Ice::noExplicitContext) const;
|
|
124
150
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright (c) ZeroC, Inc.
|
|
2
2
|
|
|
3
|
-
// slice2cpp version 3.8.
|
|
3
|
+
// slice2cpp version 3.8.3
|
|
4
4
|
// <auto-generated>Generated from Slice file 'PropertiesAdmin.ice'.</auto-generated>
|
|
5
5
|
// clang-format off
|
|
6
6
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
# if ICE_INT_VERSION % 100 >= 50
|
|
19
19
|
# error Beta header file detected
|
|
20
20
|
# endif
|
|
21
|
-
# if ICE_INT_VERSION % 100 <
|
|
21
|
+
# if ICE_INT_VERSION % 100 < 3
|
|
22
22
|
# error Ice patch level mismatch!
|
|
23
23
|
# endif
|
|
24
24
|
#endif
|
|
@@ -91,10 +91,19 @@ namespace Ice
|
|
|
91
91
|
|
|
92
92
|
/// Gets a property by key.
|
|
93
93
|
/// @param key The property key.
|
|
94
|
-
/// @param response The response callback.
|
|
94
|
+
/// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
|
|
95
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
96
|
+
/// function. It accepts:
|
|
95
97
|
/// - The property value. This value is empty if the property is not set.
|
|
96
|
-
/// @param exception The exception callback.
|
|
97
|
-
///
|
|
98
|
+
/// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
|
|
99
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
100
|
+
/// function.
|
|
101
|
+
/// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
|
|
102
|
+
/// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
|
|
103
|
+
/// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
|
|
104
|
+
/// this function from an Ice thread pool thread and passes `false` as argument. If you set
|
|
105
|
+
/// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
|
|
106
|
+
/// asynchronous case.
|
|
98
107
|
/// @param context The request context.
|
|
99
108
|
/// @return A function that can be called to cancel the invocation locally.
|
|
100
109
|
// NOLINTNEXTLINE(modernize-use-nodiscard)
|
|
@@ -121,10 +130,19 @@ namespace Ice
|
|
|
121
130
|
/// Gets all properties whose keys begin with @p prefix. If @p prefix is the empty string then all properties
|
|
122
131
|
/// are returned.
|
|
123
132
|
/// @param prefix The prefix to search for. May be empty.
|
|
124
|
-
/// @param response The response callback.
|
|
133
|
+
/// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
|
|
134
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
135
|
+
/// function. It accepts:
|
|
125
136
|
/// - The matching property set.
|
|
126
|
-
/// @param exception The exception callback.
|
|
127
|
-
///
|
|
137
|
+
/// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
|
|
138
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
139
|
+
/// function.
|
|
140
|
+
/// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
|
|
141
|
+
/// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
|
|
142
|
+
/// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
|
|
143
|
+
/// this function from an Ice thread pool thread and passes `false` as argument. If you set
|
|
144
|
+
/// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
|
|
145
|
+
/// asynchronous case.
|
|
128
146
|
/// @param context The request context.
|
|
129
147
|
/// @return A function that can be called to cancel the invocation locally.
|
|
130
148
|
// NOLINTNEXTLINE(modernize-use-nodiscard)
|
|
@@ -155,11 +173,24 @@ namespace Ice
|
|
|
155
173
|
/// the empty string, the property is removed. Existing properties that are not modified or removed by the
|
|
156
174
|
/// entries in @p newProperties are not affected by this update.
|
|
157
175
|
/// @param newProperties Properties to add, change, or remove.
|
|
158
|
-
/// @param response The response callback.
|
|
159
|
-
///
|
|
160
|
-
///
|
|
176
|
+
/// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
|
|
177
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
178
|
+
/// function.
|
|
179
|
+
/// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
|
|
180
|
+
/// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
|
|
181
|
+
/// function.
|
|
182
|
+
/// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
|
|
183
|
+
/// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
|
|
184
|
+
/// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
|
|
185
|
+
/// this function from an Ice thread pool thread and passes `false` as argument. If you set
|
|
186
|
+
/// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
|
|
187
|
+
/// asynchronous case.
|
|
161
188
|
/// @param context The request context.
|
|
162
189
|
/// @return A function that can be called to cancel the invocation locally.
|
|
190
|
+
/// @remark When this proxy is a oneway or datagram proxy, the Ice runtime does not call the response
|
|
191
|
+
/// callback: a successful invocation completes with the sent callback. When this proxy is a batch
|
|
192
|
+
/// proxy, this function only adds the request to the batch: the Ice runtime calls none of the
|
|
193
|
+
/// callbacks, and the request is sent later, by a flush.
|
|
163
194
|
// NOLINTNEXTLINE(modernize-use-nodiscard)
|
|
164
195
|
std::function<void()> setPropertiesAsync(const PropertyDict& newProperties, std::function<void()> response, std::function<void(std::exception_ptr)> exception = nullptr, std::function<void(bool)> sent = nullptr, const Ice::Context& context = Ice::noExplicitContext) const;
|
|
165
196
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright (c) ZeroC, Inc.
|
|
2
2
|
|
|
3
|
-
// slice2cpp version 3.8.
|
|
3
|
+
// slice2cpp version 3.8.3
|
|
4
4
|
// <auto-generated>Generated from Slice file 'PropertyDict.ice'.</auto-generated>
|
|
5
5
|
// clang-format off
|
|
6
6
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
# if ICE_INT_VERSION % 100 >= 50
|
|
20
20
|
# error Beta header file detected
|
|
21
21
|
# endif
|
|
22
|
-
# if ICE_INT_VERSION % 100 <
|
|
22
|
+
# if ICE_INT_VERSION % 100 < 3
|
|
23
23
|
# error Ice patch level mismatch!
|
|
24
24
|
# endif
|
|
25
25
|
#endif
|