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.
Files changed (256) hide show
  1. checksums.yaml +4 -4
  2. data/dist/IceRuby/Communicator.cpp +26 -9
  3. data/dist/IceRuby/Config.h +0 -12
  4. data/dist/IceRuby/Connection.cpp +18 -9
  5. data/dist/IceRuby/DefaultSliceLoader.h +1 -1
  6. data/dist/IceRuby/Endpoint.cpp +21 -8
  7. data/dist/IceRuby/Operation.cpp +7 -5
  8. data/dist/IceRuby/Properties.cpp +3 -4
  9. data/dist/IceRuby/Proxy.cpp +11 -19
  10. data/dist/IceRuby/RubySliceLoader.cpp +1 -1
  11. data/dist/IceRuby/RubySliceLoader.h +6 -0
  12. data/dist/IceRuby/Types.cpp +162 -138
  13. data/dist/IceRuby/Types.h +68 -28
  14. data/dist/IceRuby/Util.cpp +14 -78
  15. data/dist/IceRuby/Util.h +7 -17
  16. data/dist/ice/cpp/include/Ice/Communicator.h +31 -8
  17. data/dist/ice/cpp/include/Ice/Config.h +2 -2
  18. data/dist/ice/cpp/include/Ice/Connection.h +24 -8
  19. data/dist/ice/cpp/include/Ice/CtrlCHandler.h +1 -1
  20. data/dist/ice/cpp/include/Ice/Demangle.h +1 -1
  21. data/dist/ice/cpp/include/Ice/Endpoint.h +4 -4
  22. data/dist/ice/cpp/include/Ice/Initialize.h +4 -4
  23. data/dist/ice/cpp/include/Ice/InputStream.h +5 -5
  24. data/dist/ice/cpp/include/Ice/Instrumentation.h +13 -7
  25. data/dist/ice/cpp/include/Ice/LocalExceptions.h +5 -5
  26. data/dist/ice/cpp/include/Ice/Logger.h +7 -0
  27. data/dist/ice/cpp/include/Ice/LoggerUtil.h +1 -1
  28. data/dist/ice/cpp/include/Ice/Object.h +10 -8
  29. data/dist/ice/cpp/include/Ice/ObjectAdapter.h +1 -1
  30. data/dist/ice/cpp/include/Ice/OutgoingAsync.h +5 -2
  31. data/dist/ice/cpp/include/Ice/OutgoingResponse.h +2 -1
  32. data/dist/ice/cpp/include/Ice/OutputStream.h +7 -6
  33. data/dist/ice/cpp/include/Ice/PluginFactory.h +1 -1
  34. data/dist/ice/cpp/include/Ice/Properties.h +3 -3
  35. data/dist/ice/cpp/include/Ice/Proxy.h +192 -50
  36. data/dist/ice/cpp/include/Ice/SSL/ClientAuthenticationOptions.h +3 -3
  37. data/dist/ice/cpp/include/Ice/SSL/EndpointInfo.h +1 -1
  38. data/dist/ice/cpp/include/Ice/SSL/ServerAuthenticationOptions.h +5 -5
  39. data/dist/ice/cpp/include/Ice/ServantLocator.h +1 -1
  40. data/dist/ice/cpp/include/Ice/Service.h +2 -5
  41. data/dist/ice/cpp/include/Ice/SliceLoader.h +1 -1
  42. data/dist/ice/cpp/include/Ice/SlicedData.h +5 -3
  43. data/dist/ice/cpp/include/Ice/StreamHelpers.h +1 -1
  44. data/dist/ice/cpp/include/Ice/StreamableTraits.h +2 -2
  45. data/dist/ice/cpp/include/Ice/StringConverter.h +2 -3
  46. data/dist/ice/cpp/include/Ice/StringUtil.h +2 -7
  47. data/dist/ice/cpp/include/Ice/UUID.h +1 -0
  48. data/dist/ice/cpp/include/Ice/Value.h +2 -2
  49. data/dist/ice/cpp/include/generated/Ice/BuiltinSequences.h +2 -2
  50. data/dist/ice/cpp/include/generated/Ice/Context.h +2 -2
  51. data/dist/ice/cpp/include/generated/Ice/EndpointTypes.h +2 -2
  52. data/dist/ice/cpp/include/generated/Ice/Identity.h +2 -2
  53. data/dist/ice/cpp/include/generated/Ice/Locator.h +50 -14
  54. data/dist/ice/cpp/include/generated/Ice/LocatorRegistry.h +38 -11
  55. data/dist/ice/cpp/include/generated/Ice/Metrics.h +94 -39
  56. data/dist/ice/cpp/include/generated/Ice/OperationMode.h +2 -2
  57. data/dist/ice/cpp/include/generated/Ice/Process.h +34 -8
  58. data/dist/ice/cpp/include/generated/Ice/PropertiesAdmin.h +42 -11
  59. data/dist/ice/cpp/include/generated/Ice/PropertyDict.h +2 -2
  60. data/dist/ice/cpp/include/generated/Ice/RemoteLogger.h +93 -40
  61. data/dist/ice/cpp/include/generated/Ice/ReplyStatus.h +2 -2
  62. data/dist/ice/cpp/include/generated/Ice/Router.h +50 -14
  63. data/dist/ice/cpp/include/generated/Ice/SliceChecksumDict.h +2 -2
  64. data/dist/ice/cpp/include/generated/Ice/Version.h +2 -2
  65. data/dist/ice/cpp/include/generated/IceDiscovery/Lookup.h +66 -14
  66. data/dist/ice/cpp/include/generated/IceLocatorDiscovery/Lookup.h +34 -8
  67. data/dist/ice/cpp/src/Ice/AddDefaultPluginFactories_all.cpp +1 -1
  68. data/dist/ice/cpp/src/Ice/Base64.cpp +47 -137
  69. data/dist/ice/cpp/src/Ice/Base64.h +2 -2
  70. data/dist/ice/cpp/src/Ice/BatchRequestQueue.cpp +28 -13
  71. data/dist/ice/cpp/src/Ice/BatchRequestQueue.h +5 -1
  72. data/dist/ice/cpp/src/Ice/Buffer.cpp +1 -1
  73. data/dist/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +1 -1
  74. data/dist/ice/cpp/src/Ice/CollocatedRequestHandler.h +1 -1
  75. data/dist/ice/cpp/src/Ice/Communicator.cpp +4 -3
  76. data/dist/ice/cpp/src/Ice/CommunicatorFlushBatchAsync.cpp +8 -0
  77. data/dist/ice/cpp/src/Ice/ConnectRequestHandler.cpp +5 -15
  78. data/dist/ice/cpp/src/Ice/ConnectRequestHandler.h +1 -1
  79. data/dist/ice/cpp/src/Ice/ConnectionFactory.cpp +6 -8
  80. data/dist/ice/cpp/src/Ice/ConnectionFactory.h +0 -3
  81. data/dist/ice/cpp/src/Ice/ConnectionI.cpp +94 -99
  82. data/dist/ice/cpp/src/Ice/ConnectionI.h +11 -8
  83. data/dist/ice/cpp/src/Ice/ConsoleUtil.cpp +1 -1
  84. data/dist/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +10 -14
  85. data/dist/ice/cpp/src/Ice/EndpointI.h +1 -1
  86. data/dist/ice/cpp/src/Ice/FileUtil.cpp +12 -12
  87. data/dist/ice/cpp/src/Ice/FixedRequestHandler.cpp +1 -1
  88. data/dist/ice/cpp/src/Ice/FixedRequestHandler.h +1 -1
  89. data/dist/ice/cpp/src/Ice/HttpParser.h +0 -2
  90. data/dist/ice/cpp/src/Ice/IdleTimeoutTransceiverDecorator.cpp +6 -3
  91. data/dist/ice/cpp/src/Ice/IncomingRequest.cpp +1 -3
  92. data/dist/ice/cpp/src/Ice/InputStream.cpp +23 -19
  93. data/dist/ice/cpp/src/Ice/Instance.cpp +73 -50
  94. data/dist/ice/cpp/src/Ice/Instance.h +1 -6
  95. data/dist/ice/cpp/src/Ice/LocalExceptions.cpp +1 -1
  96. data/dist/ice/cpp/src/Ice/LocatorInfo.cpp +2 -2
  97. data/dist/ice/cpp/src/Ice/LoggerAdminI.cpp +13 -18
  98. data/dist/ice/cpp/src/Ice/LoggerI.cpp +1 -1
  99. data/dist/ice/cpp/src/Ice/LoggerI.h +2 -2
  100. data/dist/ice/cpp/src/Ice/MetricsAdminI.h +6 -1
  101. data/dist/ice/cpp/src/Ice/MetricsObserverI.h +22 -18
  102. data/dist/ice/cpp/src/Ice/NativePropertiesAdmin.cpp +5 -2
  103. data/dist/ice/cpp/src/Ice/Network.cpp +168 -103
  104. data/dist/ice/cpp/src/Ice/Network.h +12 -7
  105. data/dist/ice/cpp/src/Ice/NetworkProxy.cpp +17 -6
  106. data/dist/ice/cpp/src/Ice/NetworkProxy.h +2 -1
  107. data/dist/ice/cpp/src/Ice/Object.cpp +1 -1
  108. data/dist/ice/cpp/src/Ice/ObjectAdapterI.cpp +56 -19
  109. data/dist/ice/cpp/src/Ice/OpaqueEndpointI.cpp +10 -10
  110. data/dist/ice/cpp/src/Ice/Options.cpp +7 -2
  111. data/dist/ice/cpp/src/Ice/OutgoingAsync.cpp +1 -1
  112. data/dist/ice/cpp/src/Ice/OutputStream.cpp +4 -4
  113. data/dist/ice/cpp/src/Ice/PluginManagerI.cpp +7 -1
  114. data/dist/ice/cpp/src/Ice/Properties.cpp +26 -16
  115. data/dist/ice/cpp/src/Ice/PropertyUtil.cpp +1 -1
  116. data/dist/ice/cpp/src/Ice/ProtocolInstance.cpp +0 -11
  117. data/dist/ice/cpp/src/Ice/ProtocolInstance.h +1 -2
  118. data/dist/ice/cpp/src/Ice/Proxy.cpp +9 -1
  119. data/dist/ice/cpp/src/Ice/ProxyAsync.cpp +110 -13
  120. data/dist/ice/cpp/src/Ice/Random.cpp +68 -7
  121. data/dist/ice/cpp/src/Ice/Random.h +6 -2
  122. data/dist/ice/cpp/src/Ice/Reference.cpp +22 -11
  123. data/dist/ice/cpp/src/Ice/Reference.h +3 -0
  124. data/dist/ice/cpp/src/Ice/ReferenceFactory.cpp +10 -0
  125. data/dist/ice/cpp/src/Ice/RequestHandler.h +3 -1
  126. data/dist/ice/cpp/src/Ice/RequestHandlerCache.cpp +1 -1
  127. data/dist/ice/cpp/src/Ice/RequestHandlerCache.h +1 -1
  128. data/dist/ice/cpp/src/Ice/ResourceConfig.h +3 -3
  129. data/dist/ice/cpp/src/Ice/RetryQueue.cpp +8 -12
  130. data/dist/ice/cpp/src/Ice/SHA1.cpp +11 -11
  131. data/dist/ice/cpp/src/Ice/SSL/DistinguishedName.cpp +0 -6
  132. data/dist/ice/cpp/src/Ice/SSL/DistinguishedName.h +0 -6
  133. data/dist/ice/cpp/src/Ice/SSL/OpenSSLEngine.cpp +15 -1
  134. data/dist/ice/cpp/src/Ice/SSL/OpenSSLTransceiverI.cpp +77 -27
  135. data/dist/ice/cpp/src/Ice/SSL/OpenSSLTransceiverI.h +2 -1
  136. data/dist/ice/cpp/src/Ice/SSL/RFC2253.cpp +2 -2
  137. data/dist/ice/cpp/src/Ice/SSL/SSLUtil.cpp +39 -34
  138. data/dist/ice/cpp/src/Ice/SSL/SchannelEngine.cpp +130 -52
  139. data/dist/ice/cpp/src/Ice/SSL/SchannelTransceiverI.cpp +64 -33
  140. data/dist/ice/cpp/src/Ice/SSL/SchannelTransceiverI.h +0 -1
  141. data/dist/ice/cpp/src/Ice/SSL/SecureTransportEngine.cpp +3 -3
  142. data/dist/ice/cpp/src/Ice/SSL/SecureTransportTransceiverI.cpp +9 -3
  143. data/dist/ice/cpp/src/Ice/SSL/SecureTransportUtil.cpp +73 -51
  144. data/dist/ice/cpp/src/Ice/SSL/SecureTransportUtil.h +0 -8
  145. data/dist/ice/cpp/src/Ice/Selector.cpp +13 -11
  146. data/dist/ice/cpp/src/Ice/ServantManager.cpp +3 -3
  147. data/dist/ice/cpp/src/Ice/Service.cpp +33 -115
  148. data/dist/ice/cpp/src/Ice/StreamSocket.cpp +33 -40
  149. data/dist/ice/cpp/src/Ice/StreamSocket.h +4 -4
  150. data/dist/ice/cpp/src/Ice/StringConverter.cpp +1 -1
  151. data/dist/ice/cpp/src/Ice/StringUtil.cpp +12 -21
  152. data/dist/ice/cpp/src/Ice/SysLoggerI.cpp +136 -100
  153. data/dist/ice/cpp/src/Ice/SysLoggerI.h +7 -3
  154. data/dist/ice/cpp/src/Ice/SystemdJournalI.cpp +1 -1
  155. data/dist/ice/cpp/src/Ice/TcpAcceptor.cpp +7 -7
  156. data/dist/ice/cpp/src/Ice/TcpAcceptor.h +2 -1
  157. data/dist/ice/cpp/src/Ice/TcpBufSize.h +40 -0
  158. data/dist/ice/cpp/src/Ice/TcpConnector.cpp +5 -2
  159. data/dist/ice/cpp/src/Ice/TcpConnector.h +2 -0
  160. data/dist/ice/cpp/src/Ice/TcpTransceiver.cpp +6 -2
  161. data/dist/ice/cpp/src/Ice/ThreadPool.cpp +2 -8
  162. data/dist/ice/cpp/src/Ice/ThreadPool.h +0 -2
  163. data/dist/ice/cpp/src/Ice/Timer.cpp +7 -3
  164. data/dist/ice/cpp/src/Ice/UUID.cpp +1 -2
  165. data/dist/ice/cpp/src/Ice/UdpEndpointI.cpp +4 -1
  166. data/dist/ice/cpp/src/Ice/UdpTransceiver.cpp +136 -123
  167. data/dist/ice/cpp/src/Ice/UdpTransceiver.h +3 -4
  168. data/dist/ice/cpp/src/Ice/WSTransceiver.cpp +96 -27
  169. data/dist/ice/cpp/src/Ice/WSTransceiver.h +1 -1
  170. data/dist/ice/cpp/src/Ice/generated/BuiltinSequences.cpp +2 -2
  171. data/dist/ice/cpp/src/Ice/generated/Context.cpp +2 -2
  172. data/dist/ice/cpp/src/Ice/generated/EndpointTypes.cpp +2 -2
  173. data/dist/ice/cpp/src/Ice/generated/Identity.cpp +2 -2
  174. data/dist/ice/cpp/src/Ice/generated/Locator.cpp +2 -2
  175. data/dist/ice/cpp/src/Ice/generated/LocatorRegistry.cpp +2 -2
  176. data/dist/ice/cpp/src/Ice/generated/Metrics.cpp +2 -2
  177. data/dist/ice/cpp/src/Ice/generated/OperationMode.cpp +2 -2
  178. data/dist/ice/cpp/src/Ice/generated/Process.cpp +2 -2
  179. data/dist/ice/cpp/src/Ice/generated/PropertiesAdmin.cpp +2 -2
  180. data/dist/ice/cpp/src/Ice/generated/PropertyDict.cpp +2 -2
  181. data/dist/ice/cpp/src/Ice/generated/RemoteLogger.cpp +2 -2
  182. data/dist/ice/cpp/src/Ice/generated/ReplyStatus.cpp +2 -2
  183. data/dist/ice/cpp/src/Ice/generated/Router.cpp +2 -2
  184. data/dist/ice/cpp/src/Ice/generated/SliceChecksumDict.cpp +2 -2
  185. data/dist/ice/cpp/src/Ice/generated/Version.cpp +2 -2
  186. data/dist/ice/cpp/src/IceDiscovery/LookupI.cpp +47 -9
  187. data/dist/ice/cpp/src/IceDiscovery/LookupI.h +8 -3
  188. data/dist/ice/cpp/src/IceDiscovery/generated/Lookup.cpp +2 -2
  189. data/dist/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +43 -14
  190. data/dist/ice/cpp/src/IceLocatorDiscovery/generated/Lookup.cpp +2 -2
  191. data/dist/ice/cpp/src/Slice/DocCommentParser.cpp +26 -20
  192. data/dist/ice/cpp/src/Slice/DocCommentParser.h +2 -2
  193. data/dist/ice/cpp/src/Slice/FileTracker.cpp +3 -11
  194. data/dist/ice/cpp/src/Slice/FileTracker.h +0 -2
  195. data/dist/ice/cpp/src/Slice/Grammar.cpp +211 -210
  196. data/dist/ice/cpp/src/Slice/MetadataValidation.cpp +10 -9
  197. data/dist/ice/cpp/src/Slice/Parser.cpp +28 -20
  198. data/dist/ice/cpp/src/Slice/Parser.h +3 -4
  199. data/dist/ice/cpp/src/Slice/Preprocessor.cpp +3 -11
  200. data/dist/ice/cpp/src/Slice/Preprocessor.h +0 -2
  201. data/dist/ice/cpp/src/Slice/Scanner.cpp +3 -3
  202. data/dist/ice/cpp/src/Slice/SliceUtil.cpp +197 -114
  203. data/dist/ice/cpp/src/Slice/StringLiteralUtil.cpp +0 -2
  204. data/dist/ice/cpp/src/Slice/Util.h +21 -9
  205. data/dist/ice/cpp/src/slice2rb/Ruby.cpp +7 -3
  206. data/dist/ice/cpp/src/slice2rb/RubyUtil.cpp +16 -12
  207. data/dist/ice/cpp/src/slice2rb/RubyUtil.h +3 -3
  208. data/dist/ice/slice/Glacier2/Router.ice +3 -3
  209. data/dist/ice/slice/Ice/Metrics.ice +6 -5
  210. data/dist/ice/slice/Ice/RemoteLogger.ice +5 -5
  211. data/dist/ice/slice/IceGrid/Admin.ice +9 -9
  212. data/dist/ice/slice/IceGrid/Descriptor.ice +5 -5
  213. data/dist/ice/slice/IceStorm/Metrics.ice +1 -1
  214. data/dist/lib/Glacier2/Metrics.rb +1 -1
  215. data/dist/lib/Glacier2/PermissionsVerifier.rb +1 -1
  216. data/dist/lib/Glacier2/Router.rb +2 -2
  217. data/dist/lib/Glacier2/SSLInfo.rb +1 -1
  218. data/dist/lib/Glacier2/Session.rb +1 -1
  219. data/dist/lib/Ice/BuiltinSequences.rb +1 -1
  220. data/dist/lib/Ice/CompressBatch.rb +1 -2
  221. data/dist/lib/Ice/Context.rb +1 -1
  222. data/dist/lib/Ice/EndpointSelectionType.rb +1 -2
  223. data/dist/lib/Ice/EndpointTypes.rb +1 -1
  224. data/dist/lib/Ice/Identity.rb +1 -1
  225. data/dist/lib/Ice/IdentitySpaceship.rb +1 -0
  226. data/dist/lib/Ice/Locator.rb +1 -1
  227. data/dist/lib/Ice/LocatorRegistry.rb +1 -1
  228. data/dist/lib/Ice/Metrics.rb +1 -1
  229. data/dist/lib/Ice/OperationMode.rb +2 -3
  230. data/dist/lib/Ice/Process.rb +1 -1
  231. data/dist/lib/Ice/PropertiesAdmin.rb +1 -1
  232. data/dist/lib/Ice/PropertyDict.rb +1 -1
  233. data/dist/lib/Ice/RemoteLogger.rb +2 -3
  234. data/dist/lib/Ice/ReplyStatus.rb +2 -3
  235. data/dist/lib/Ice/Router.rb +1 -1
  236. data/dist/lib/Ice/SliceChecksumDict.rb +1 -1
  237. data/dist/lib/Ice/SliceUtil.rb +2 -2
  238. data/dist/lib/Ice/Struct.rb +1 -0
  239. data/dist/lib/Ice/ToStringMode.rb +1 -2
  240. data/dist/lib/Ice/Value.rb +2 -2
  241. data/dist/lib/Ice/Version.rb +1 -1
  242. data/dist/lib/IceBox/ServiceManager.rb +1 -1
  243. data/dist/lib/IceGrid/Admin.rb +3 -4
  244. data/dist/lib/IceGrid/Descriptor.rb +1 -1
  245. data/dist/lib/IceGrid/Exception.rb +1 -1
  246. data/dist/lib/IceGrid/FileParser.rb +1 -1
  247. data/dist/lib/IceGrid/Registry.rb +2 -3
  248. data/dist/lib/IceGrid/Session.rb +2 -2
  249. data/dist/lib/IceGrid/UserAccountMapper.rb +1 -1
  250. data/dist/lib/IceStorm/IceStorm.rb +1 -1
  251. data/dist/lib/IceStorm/Metrics.rb +1 -1
  252. data/extconf.rb +1 -1
  253. data/ice.gemspec +3 -3
  254. metadata +4 -5
  255. data/dist/ice/cpp/src/Ice/DLLMain.cpp +0 -40
  256. 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.2
3
+ // slice2cpp version 3.8.3
4
4
  // <auto-generated>Generated from Slice file 'RemoteLogger.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 < 2
22
+ # if ICE_INT_VERSION % 100 < 3
23
23
  # error Ice patch level mismatch!
24
24
  # endif
25
25
  #endif
@@ -126,11 +126,24 @@ namespace Ice
126
126
  /// Attaches a remote logger to the local logger.
127
127
  /// @param prefix The prefix of the associated local Logger.
128
128
  /// @param logMessages Old log messages generated before "now".
129
- /// @param response The response callback.
130
- /// @param exception The exception callback.
131
- /// @param sent The sent callback.
129
+ /// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
130
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
131
+ /// function.
132
+ /// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
133
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
134
+ /// function.
135
+ /// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
136
+ /// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
137
+ /// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
138
+ /// this function from an Ice thread pool thread and passes `false` as argument. If you set
139
+ /// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
140
+ /// asynchronous case.
132
141
  /// @param context The request context.
133
142
  /// @return A function that can be called to cancel the invocation locally.
143
+ /// @remark When this proxy is a oneway or datagram proxy, the Ice runtime does not call the response
144
+ /// callback: a successful invocation completes with the sent callback. When this proxy is a batch
145
+ /// proxy, this function only adds the request to the batch: the Ice runtime calls none of the
146
+ /// callbacks, and the request is sent later, by a flush.
134
147
  // NOLINTNEXTLINE(modernize-use-nodiscard)
135
148
  std::function<void()> initAsync(std::string_view prefix, const LogMessageSeq& logMessages, 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;
136
149
 
@@ -152,12 +165,25 @@ namespace Ice
152
165
 
153
166
  /// Logs a LogMessage.
154
167
  /// @param message The message to log.
155
- /// @param response The response callback.
156
- /// @param exception The exception callback.
157
- /// @param sent The sent callback.
168
+ /// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
169
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
170
+ /// function.
171
+ /// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
172
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
173
+ /// function.
174
+ /// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
175
+ /// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
176
+ /// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
177
+ /// this function from an Ice thread pool thread and passes `false` as argument. If you set
178
+ /// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
179
+ /// asynchronous case.
158
180
  /// @param context The request context.
159
181
  /// @return A function that can be called to cancel the invocation locally.
160
182
  /// @remarks ::Ice::RemoteLoggerPrx::log may be called by ::Ice::LoggerAdminPrx before ::Ice::RemoteLoggerPrx::init.
183
+ /// @remark When this proxy is a oneway or datagram proxy, the Ice runtime does not call the response
184
+ /// callback: a successful invocation completes with the sent callback. When this proxy is a batch
185
+ /// proxy, this function only adds the request to the batch: the Ice runtime calls none of the
186
+ /// callbacks, and the request is sent later, by a flush.
161
187
  // NOLINTNEXTLINE(modernize-use-nodiscard)
162
188
  std::function<void()> logAsync(const LogMessage& message, 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;
163
189
 
@@ -237,7 +263,7 @@ namespace Ice
237
263
  /// @param messageMax The maximum number of log messages (of all types) to be provided to
238
264
  /// ::Ice::RemoteLoggerPrx::init. A negative value requests all messages available.
239
265
  /// @param context The request context.
240
- /// @throws Ice::RemoteLoggerAlreadyAttachedException Thrown if this remote logger is already attached to this admin
266
+ /// @throws Ice::RemoteLoggerAlreadyAttachedException Thrown when this remote logger is already attached to this admin
241
267
  /// object.
242
268
  void attachRemoteLogger(const std::optional<RemoteLoggerPrx>& prx, const LogMessageTypeSeq& messageTypes, const StringSeq& traceCategories, std::int32_t messageMax, const Ice::Context& context = Ice::noExplicitContext) const;
243
269
 
@@ -265,9 +291,18 @@ namespace Ice
265
291
  /// (send all trace categories).
266
292
  /// @param messageMax The maximum number of log messages (of all types) to be provided to
267
293
  /// ::Ice::RemoteLoggerPrx::init. A negative value requests all messages available.
268
- /// @param response The response callback.
269
- /// @param exception The exception callback.
270
- /// @param sent The sent callback.
294
+ /// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
295
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
296
+ /// function.
297
+ /// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
298
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
299
+ /// function.
300
+ /// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
301
+ /// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
302
+ /// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
303
+ /// this function from an Ice thread pool thread and passes `false` as argument. If you set
304
+ /// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
305
+ /// asynchronous case.
271
306
  /// @param context The request context.
272
307
  /// @return A function that can be called to cancel the invocation locally.
273
308
  // NOLINTNEXTLINE(modernize-use-nodiscard)
@@ -291,10 +326,19 @@ namespace Ice
291
326
 
292
327
  /// Detaches a ::Ice::RemoteLoggerPrx object from the local logger.
293
328
  /// @param prx A proxy to the remote logger.
294
- /// @param response The response callback. It accepts:
329
+ /// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
330
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
331
+ /// function. It accepts:
295
332
  /// - `true` if the provided remote logger proxy was detached, and `false` otherwise.
296
- /// @param exception The exception callback.
297
- /// @param sent The sent callback.
333
+ /// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
334
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
335
+ /// function.
336
+ /// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
337
+ /// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
338
+ /// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
339
+ /// this function from an Ice thread pool thread and passes `false` as argument. If you set
340
+ /// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
341
+ /// asynchronous case.
298
342
  /// @param context The request context.
299
343
  /// @return A function that can be called to cancel the invocation locally.
300
344
  // NOLINTNEXTLINE(modernize-use-nodiscard)
@@ -306,43 +350,52 @@ namespace Ice
306
350
  /// Retrieves recently logged log messages.
307
351
  /// @param messageTypes The list of message types that the caller wishes to receive. An empty list means no
308
352
  /// filtering (send all message types).
309
- /// @param traceCategories The categories of traces that caller wish to receive. This parameter is ignored if
310
- /// @p messageTypes is not empty and does not include trace. An empty list means no filtering (send all trace
311
- /// categories).
353
+ /// @param traceCategories The categories of traces that the caller wishes to receive. This parameter is
354
+ /// ignored if @p messageTypes is not empty and does not include trace. An empty list means no filtering (send
355
+ /// all trace categories).
312
356
  /// @param messageMax The maximum number of log messages (of all types) to be returned. A negative value
313
357
  /// requests all messages available.
314
358
  /// @param[out] prefix The prefix of the associated local logger.
315
359
  /// @param context The request context.
316
- /// @return The Log messages.
360
+ /// @return The log messages.
317
361
  LogMessageSeq getLog(const LogMessageTypeSeq& messageTypes, const StringSeq& traceCategories, std::int32_t messageMax, std::string& prefix, const Ice::Context& context = Ice::noExplicitContext) const;
318
362
 
319
363
  /// Retrieves recently logged log messages.
320
364
  /// @param messageTypes The list of message types that the caller wishes to receive. An empty list means no
321
365
  /// filtering (send all message types).
322
- /// @param traceCategories The categories of traces that caller wish to receive. This parameter is ignored if
323
- /// @p messageTypes is not empty and does not include trace. An empty list means no filtering (send all trace
324
- /// categories).
366
+ /// @param traceCategories The categories of traces that the caller wishes to receive. This parameter is
367
+ /// ignored if @p messageTypes is not empty and does not include trace. An empty list means no filtering (send
368
+ /// all trace categories).
325
369
  /// @param messageMax The maximum number of log messages (of all types) to be returned. A negative value
326
370
  /// requests all messages available.
327
371
  /// @param context The request context.
328
372
  /// @return A future that becomes available when the invocation completes. This future holds:
329
- /// - `returnValue` The Log messages.
373
+ /// - `returnValue` The log messages.
330
374
  /// - `prefix` The prefix of the associated local logger.
331
375
  [[nodiscard]] std::future<std::tuple<LogMessageSeq, std::string>> getLogAsync(const LogMessageTypeSeq& messageTypes, const StringSeq& traceCategories, std::int32_t messageMax, const Ice::Context& context = Ice::noExplicitContext) const;
332
376
 
333
377
  /// Retrieves recently logged log messages.
334
378
  /// @param messageTypes The list of message types that the caller wishes to receive. An empty list means no
335
379
  /// filtering (send all message types).
336
- /// @param traceCategories The categories of traces that caller wish to receive. This parameter is ignored if
337
- /// @p messageTypes is not empty and does not include trace. An empty list means no filtering (send all trace
338
- /// categories).
380
+ /// @param traceCategories The categories of traces that the caller wishes to receive. This parameter is
381
+ /// ignored if @p messageTypes is not empty and does not include trace. An empty list means no filtering (send
382
+ /// all trace categories).
339
383
  /// @param messageMax The maximum number of log messages (of all types) to be returned. A negative value
340
384
  /// requests all messages available.
341
- /// @param response The response callback. It accepts:
342
- /// - `returnValue` The Log messages.
385
+ /// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
386
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
387
+ /// function. It accepts:
388
+ /// - `returnValue` The log messages.
343
389
  /// - `prefix` The prefix of the associated local logger.
344
- /// @param exception The exception callback.
345
- /// @param sent The sent callback.
390
+ /// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
391
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
392
+ /// function.
393
+ /// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
394
+ /// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
395
+ /// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
396
+ /// this function from an Ice thread pool thread and passes `false` as argument. If you set
397
+ /// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
398
+ /// asynchronous case.
346
399
  /// @param context The request context.
347
400
  /// @return A function that can be called to cancel the invocation locally.
348
401
  // NOLINTNEXTLINE(modernize-use-nodiscard)
@@ -515,7 +568,7 @@ namespace Ice
515
568
  /// @param messageMax The maximum number of log messages (of all types) to be provided to
516
569
  /// ::Ice::RemoteLoggerPrx::init. A negative value requests all messages available.
517
570
  /// @param current The Current object of the incoming request.
518
- /// @throws Ice::RemoteLoggerAlreadyAttachedException Thrown if this remote logger is already attached to this admin
571
+ /// @throws Ice::RemoteLoggerAlreadyAttachedException Thrown when this remote logger is already attached to this admin
519
572
  /// object.
520
573
  virtual void attachRemoteLogger(std::optional<RemoteLoggerPrx> prx, LogMessageTypeSeq messageTypes, StringSeq traceCategories, std::int32_t messageMax, const Ice::Current& current) = 0;
521
574
 
@@ -534,14 +587,14 @@ namespace Ice
534
587
  /// Retrieves recently logged log messages.
535
588
  /// @param messageTypes The list of message types that the caller wishes to receive. An empty list means no
536
589
  /// filtering (send all message types).
537
- /// @param traceCategories The categories of traces that caller wish to receive. This parameter is ignored if
538
- /// @p messageTypes is not empty and does not include trace. An empty list means no filtering (send all trace
539
- /// categories).
590
+ /// @param traceCategories The categories of traces that the caller wishes to receive. This parameter is
591
+ /// ignored if @p messageTypes is not empty and does not include trace. An empty list means no filtering (send
592
+ /// all trace categories).
540
593
  /// @param messageMax The maximum number of log messages (of all types) to be returned. A negative value
541
594
  /// requests all messages available.
542
595
  /// @param[out] prefix The prefix of the associated local logger.
543
596
  /// @param current The Current object of the incoming request.
544
- /// @return The Log messages.
597
+ /// @return The log messages.
545
598
  virtual LogMessageSeq getLog(LogMessageTypeSeq messageTypes, StringSeq traceCategories, std::int32_t messageMax, std::string& prefix, const Ice::Current& current) = 0;
546
599
 
547
600
  /// @private
@@ -638,7 +691,7 @@ namespace Ice
638
691
  /// @param response The response callback.
639
692
  /// @param exception The exception callback.
640
693
  /// @param current The Current object of the incoming request.
641
- /// @throws Ice::RemoteLoggerAlreadyAttachedException Thrown if this remote logger is already attached to this admin
694
+ /// @throws Ice::RemoteLoggerAlreadyAttachedException Thrown when this remote logger is already attached to this admin
642
695
  /// object.
643
696
  virtual void attachRemoteLoggerAsync(std::optional<RemoteLoggerPrx> prx, LogMessageTypeSeq messageTypes, StringSeq traceCategories, std::int32_t messageMax, std::function<void()> response, std::function<void(std::exception_ptr)> exception, const Ice::Current& current) = 0;
644
697
 
@@ -659,13 +712,13 @@ namespace Ice
659
712
  /// Retrieves recently logged log messages.
660
713
  /// @param messageTypes The list of message types that the caller wishes to receive. An empty list means no
661
714
  /// filtering (send all message types).
662
- /// @param traceCategories The categories of traces that caller wish to receive. This parameter is ignored if
663
- /// @p messageTypes is not empty and does not include trace. An empty list means no filtering (send all trace
664
- /// categories).
715
+ /// @param traceCategories The categories of traces that the caller wishes to receive. This parameter is
716
+ /// ignored if @p messageTypes is not empty and does not include trace. An empty list means no filtering (send
717
+ /// all trace categories).
665
718
  /// @param messageMax The maximum number of log messages (of all types) to be returned. A negative value
666
719
  /// requests all messages available.
667
720
  /// @param response The response callback. It accepts:
668
- /// - `returnValue` The Log messages.
721
+ /// - `returnValue` The log messages.
669
722
  /// - `prefix` The prefix of the associated local logger.
670
723
  /// @param exception The exception callback.
671
724
  /// @param current The Current object of the incoming request.
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) ZeroC, Inc.
2
2
 
3
- // slice2cpp version 3.8.2
3
+ // slice2cpp version 3.8.3
4
4
  // <auto-generated>Generated from Slice file 'ReplyStatus.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 < 2
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.2
3
+ // slice2cpp version 3.8.3
4
4
  // <auto-generated>Generated from Slice file 'Router.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 < 2
21
+ # if ICE_INT_VERSION % 100 < 3
22
22
  # error Ice patch level mismatch!
23
23
  # endif
24
24
  #endif
@@ -102,13 +102,22 @@ namespace Ice
102
102
 
103
103
  /// Gets the router's client proxy, i.e. the proxy to use for forwarding requests from the client to the
104
104
  /// router. If a null proxy is returned, the client will forward requests to the router's endpoints.
105
- /// @param response The response callback. It accepts:
105
+ /// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
106
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
107
+ /// function. It accepts:
106
108
  /// - `returnValue` The router's client proxy.
107
109
  /// - `hasRoutingTable` Indicates whether or not the router supports a routing table. If `true`, the Ice
108
110
  /// runtime will call ::Ice::RouterPrx::addProxies to populate the routing table. The Ice runtime assumes the router has
109
111
  /// a routing table when `hasRoutingTable` is not set.
110
- /// @param exception The exception callback.
111
- /// @param sent The sent callback.
112
+ /// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
113
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
114
+ /// function.
115
+ /// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
116
+ /// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
117
+ /// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
118
+ /// this function from an Ice thread pool thread and passes `false` as argument. If you set
119
+ /// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
120
+ /// asynchronous case.
112
121
  /// @param context The request context.
113
122
  /// @return A function that can be called to cancel the invocation locally.
114
123
  /// @remarks Introduced in Ice 3.7.
@@ -136,10 +145,19 @@ namespace Ice
136
145
  /// Gets the router's server proxy, i.e. the proxy to use for forwarding requests from the server to the
137
146
  /// router. The Ice runtime uses the endpoints of this proxy as the published endpoints of bi-dir object
138
147
  /// adapters.
139
- /// @param response The response callback. It accepts:
148
+ /// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
149
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
150
+ /// function. It accepts:
140
151
  /// - The router's server proxy.
141
- /// @param exception The exception callback.
142
- /// @param sent The sent callback.
152
+ /// @param exception The exception 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.
155
+ /// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
156
+ /// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
157
+ /// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
158
+ /// this function from an Ice thread pool thread and passes `false` as argument. If you set
159
+ /// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
160
+ /// asynchronous case.
143
161
  /// @param context The request context.
144
162
  /// @return A function that can be called to cancel the invocation locally.
145
163
  // NOLINTNEXTLINE(modernize-use-nodiscard)
@@ -163,10 +181,19 @@ namespace Ice
163
181
 
164
182
  /// Adds new proxy information to the router's routing table.
165
183
  /// @param proxies The proxies to add. Adding a null proxy is an error.
166
- /// @param response The response callback. It accepts:
184
+ /// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
185
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
186
+ /// function. It accepts:
167
187
  /// - Proxies discarded by the router. These proxies are all non-null.
168
- /// @param exception The exception callback.
169
- /// @param sent The sent callback.
188
+ /// @param exception The exception 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 sent The sent callback. The Ice runtime calls this function when the request is accepted by the
192
+ /// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
193
+ /// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
194
+ /// this function from an Ice thread pool thread and passes `false` as argument. If you set
195
+ /// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
196
+ /// asynchronous case.
170
197
  /// @param context The request context.
171
198
  /// @return A function that can be called to cancel the invocation locally.
172
199
  // NOLINTNEXTLINE(modernize-use-nodiscard)
@@ -252,10 +279,19 @@ namespace Ice
252
279
  [[nodiscard]] std::future<std::optional<RouterPrx>> getRouterAsync(const Ice::Context& context = Ice::noExplicitContext) const;
253
280
 
254
281
  /// Gets a proxy to the associated ::Ice::RouterPrx. The proxy might point to several replicas.
255
- /// @param response The response callback. It accepts:
282
+ /// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
283
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
284
+ /// function. It accepts:
256
285
  /// - The router proxy. This proxy is never null.
257
- /// @param exception The exception callback.
258
- /// @param sent The sent callback.
286
+ /// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
287
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
288
+ /// function.
289
+ /// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
290
+ /// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
291
+ /// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
292
+ /// this function from an Ice thread pool thread and passes `false` as argument. If you set
293
+ /// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
294
+ /// asynchronous case.
259
295
  /// @param context The request context.
260
296
  /// @return A function that can be called to cancel the invocation locally.
261
297
  // NOLINTNEXTLINE(modernize-use-nodiscard)
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) ZeroC, Inc.
2
2
 
3
- // slice2cpp version 3.8.2
3
+ // slice2cpp version 3.8.3
4
4
  // <auto-generated>Generated from Slice file 'SliceChecksumDict.ice'.</auto-generated>
5
5
  // clang-format off
6
6
 
@@ -17,7 +17,7 @@
17
17
  # if ICE_INT_VERSION % 100 >= 50
18
18
  # error Beta header file detected
19
19
  # endif
20
- # if ICE_INT_VERSION % 100 < 2
20
+ # if ICE_INT_VERSION % 100 < 3
21
21
  # error Ice patch level mismatch!
22
22
  # endif
23
23
  #endif
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) ZeroC, Inc.
2
2
 
3
- // slice2cpp version 3.8.2
3
+ // slice2cpp version 3.8.3
4
4
  // <auto-generated>Generated from Slice file 'Version.ice'.</auto-generated>
5
5
  // clang-format off
6
6
 
@@ -20,7 +20,7 @@
20
20
  # if ICE_INT_VERSION % 100 >= 50
21
21
  # error Beta header file detected
22
22
  # endif
23
- # if ICE_INT_VERSION % 100 < 2
23
+ # if ICE_INT_VERSION % 100 < 3
24
24
  # error Ice patch level mismatch!
25
25
  # endif
26
26
  #endif
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) ZeroC, Inc.
2
2
 
3
- // slice2cpp version 3.8.2
3
+ // slice2cpp version 3.8.3
4
4
  // <auto-generated>Generated from Slice file 'Lookup.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 < 2
21
+ # if ICE_INT_VERSION % 100 < 3
22
22
  # error Ice patch level mismatch!
23
23
  # endif
24
24
  #endif
@@ -94,11 +94,24 @@ namespace IceDiscovery
94
94
  /// Provides a reply to a ::IceDiscovery::LookupPrx::findObjectById request.
95
95
  /// @param id The identity of the object.
96
96
  /// @param prx The proxy of the object. This proxy is never null.
97
- /// @param response The response callback.
98
- /// @param exception The exception callback.
99
- /// @param sent The sent callback.
97
+ /// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
98
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
99
+ /// function.
100
+ /// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
101
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
102
+ /// function.
103
+ /// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
104
+ /// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
105
+ /// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
106
+ /// this function from an Ice thread pool thread and passes `false` as argument. If you set
107
+ /// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
108
+ /// asynchronous case.
100
109
  /// @param context The request context.
101
110
  /// @return A function that can be called to cancel the invocation locally.
111
+ /// @remark When this proxy is a oneway or datagram proxy, the Ice runtime does not call the response
112
+ /// callback: a successful invocation completes with the sent callback. When this proxy is a batch
113
+ /// proxy, this function only adds the request to the batch: the Ice runtime calls none of the
114
+ /// callbacks, and the request is sent later, by a flush.
102
115
  // NOLINTNEXTLINE(modernize-use-nodiscard)
103
116
  std::function<void()> foundObjectByIdAsync(const ::Ice::Identity& id, const std::optional<Ice::ObjectPrx>& prx, 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;
104
117
 
@@ -127,11 +140,24 @@ namespace IceDiscovery
127
140
  /// @param prx The adapter proxy (a dummy proxy created by the adapter). The proxy provides the adapter
128
141
  /// endpoints. This proxy is never null.
129
142
  /// @param isReplicaGroup Indicates whether the adapter is a member of a replica group.
130
- /// @param response The response callback.
131
- /// @param exception The exception callback.
132
- /// @param sent The sent callback.
143
+ /// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
144
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
145
+ /// function.
146
+ /// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
147
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
148
+ /// function.
149
+ /// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
150
+ /// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
151
+ /// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
152
+ /// this function from an Ice thread pool thread and passes `false` as argument. If you set
153
+ /// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
154
+ /// asynchronous case.
133
155
  /// @param context The request context.
134
156
  /// @return A function that can be called to cancel the invocation locally.
157
+ /// @remark When this proxy is a oneway or datagram proxy, the Ice runtime does not call the response
158
+ /// callback: a successful invocation completes with the sent callback. When this proxy is a batch
159
+ /// proxy, this function only adds the request to the batch: the Ice runtime calls none of the
160
+ /// callbacks, and the request is sent later, by a flush.
135
161
  // NOLINTNEXTLINE(modernize-use-nodiscard)
136
162
  std::function<void()> foundAdapterByIdAsync(std::string_view id, const std::optional<Ice::ObjectPrx>& prx, bool isReplicaGroup, 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;
137
163
 
@@ -223,11 +249,24 @@ namespace IceDiscovery
223
249
  /// @param id The well-known object identity.
224
250
  /// @param reply The proxy of the ::IceDiscovery::LookupReplyPrx interface that should be used to send the reply if a
225
251
  /// matching object is found. The reply proxy is never null.
226
- /// @param response The response callback.
227
- /// @param exception The exception callback.
228
- /// @param sent The sent callback.
252
+ /// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
253
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
254
+ /// function.
255
+ /// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
256
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
257
+ /// function.
258
+ /// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
259
+ /// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
260
+ /// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
261
+ /// this function from an Ice thread pool thread and passes `false` as argument. If you set
262
+ /// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
263
+ /// asynchronous case.
229
264
  /// @param context The request context.
230
265
  /// @return A function that can be called to cancel the invocation locally.
266
+ /// @remark When this proxy is a oneway or datagram proxy, the Ice runtime does not call the response
267
+ /// callback: a successful invocation completes with the sent callback. When this proxy is a batch
268
+ /// proxy, this function only adds the request to the batch: the Ice runtime calls none of the
269
+ /// callbacks, and the request is sent later, by a flush.
231
270
  // NOLINTNEXTLINE(modernize-use-nodiscard)
232
271
  std::function<void()> findObjectByIdAsync(std::string_view domainId, const ::Ice::Identity& id, const std::optional<LookupReplyPrx>& reply, 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;
233
272
 
@@ -259,11 +298,24 @@ namespace IceDiscovery
259
298
  /// @param id The adapter ID.
260
299
  /// @param reply The proxy of the ::IceDiscovery::LookupReplyPrx interface that should be used to send the reply if a
261
300
  /// matching adapter is found. The reply proxy is never null.
262
- /// @param response The response callback.
263
- /// @param exception The exception callback.
264
- /// @param sent The sent callback.
301
+ /// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
302
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
303
+ /// function.
304
+ /// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
305
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
306
+ /// function.
307
+ /// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
308
+ /// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
309
+ /// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
310
+ /// this function from an Ice thread pool thread and passes `false` as argument. If you set
311
+ /// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
312
+ /// asynchronous case.
265
313
  /// @param context The request context.
266
314
  /// @return A function that can be called to cancel the invocation locally.
315
+ /// @remark When this proxy is a oneway or datagram proxy, the Ice runtime does not call the response
316
+ /// callback: a successful invocation completes with the sent callback. When this proxy is a batch
317
+ /// proxy, this function only adds the request to the batch: the Ice runtime calls none of the
318
+ /// callbacks, and the request is sent later, by a flush.
267
319
  // NOLINTNEXTLINE(modernize-use-nodiscard)
268
320
  std::function<void()> findAdapterByIdAsync(std::string_view domainId, std::string_view id, const std::optional<LookupReplyPrx>& reply, 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;
269
321