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
@@ -41,7 +41,7 @@ namespace Ice
41
41
  ///
42
42
  /// Unix:
43
43
  ///
44
- /// --daemon [--nochdir] [--noclose]
44
+ /// --daemon [--nochdir] [--noclose] [--pidfile FILE]
45
45
  ///
46
46
  /// If --service or --daemon are specified, the program runs as a service, otherwise the program runs as a
47
47
  /// regular foreground process. Any service-specific (and Ice-specific) options are stripped from @p argv (just
@@ -67,7 +67,7 @@ namespace Ice
67
67
  ///
68
68
  /// Unix:
69
69
  ///
70
- /// --daemon [--nochdir] [--noclose]
70
+ /// --daemon [--nochdir] [--noclose] [--pidfile FILE]
71
71
  ///
72
72
  /// If --service or --daemon are specified, the program runs as a service, otherwise the program runs as a
73
73
  /// regular foreground process. Any service-specific (and Ice-specific) options are stripped from @p args (just
@@ -101,9 +101,6 @@ namespace Ice
101
101
  virtual void handleInterrupt(int sig);
102
102
 
103
103
  #ifdef _WIN32
104
- /// @private
105
- static void setModuleHandle(HMODULE);
106
-
107
104
  /// @private
108
105
  void serviceMain(int, const wchar_t* const[]);
109
106
 
@@ -60,7 +60,7 @@ namespace Ice
60
60
  std::vector<SliceLoaderPtr> _loaders;
61
61
  };
62
62
 
63
- /// A shared pointer to a CompositeSliceLoaderPtr.
63
+ /// A shared pointer to a CompositeSliceLoader.
64
64
  using CompositeSliceLoaderPtr = std::shared_ptr<CompositeSliceLoader>;
65
65
  }
66
66
 
@@ -30,7 +30,7 @@ namespace Ice
30
30
  /// The Slice compact type ID for this slice, or `-1` if the slice has no compact ID.
31
31
  const int compactId;
32
32
 
33
- /// The encoded bytes for this slice, including the leading size integer.
33
+ /// The encoded bytes for this slice.
34
34
  const std::vector<std::byte> bytes;
35
35
 
36
36
  /// The class instances referenced by this slice.
@@ -93,11 +93,13 @@ namespace Ice
93
93
  {
94
94
  public:
95
95
  /// Constructs the placeholder instance.
96
- /// @param unknownTypeId The Slice type ID of the unknown value.
96
+ /// @param unknownTypeId The Slice type ID of the unknown value, or the string form of the compact type ID
97
+ /// (for example, "1") when the most-derived slice was marshaled with a compact type ID.
97
98
  UnknownSlicedValue(std::string unknownTypeId) noexcept;
98
99
 
99
100
  /// Returns the Slice type ID associated with this instance.
100
- /// @return The type ID supplied to the constructor.
101
+ /// @return The type ID supplied to the constructor. It's the string form of the compact type ID (for
102
+ /// example, "1") when the most-derived slice was marshaled with a compact type ID.
101
103
  [[nodiscard]] const char* ice_id() const noexcept final;
102
104
 
103
105
  /// Clones this object.
@@ -291,7 +291,7 @@ namespace Ice
291
291
  }
292
292
  };
293
293
 
294
- /// Helper the array custom sequence mapping.
294
+ /// Helper for the array custom sequence mapping.
295
295
  template<typename T> struct StreamHelper<std::pair<const T*, const T*>, StreamHelperCategorySequence>
296
296
  {
297
297
  static void write(OutputStream* stream, std::pair<const T*, const T*> v) { stream->write(v.first, v.second); }
@@ -68,7 +68,7 @@ namespace Ice
68
68
  /// Fixed 8-byte encoding.
69
69
  F8 = 3,
70
70
 
71
- /// "Size encoding" using either 1 or 5 bytes. Used by enums, class identifiers, etc.
71
+ /// "Size encoding" using either 1 or 5 bytes. Used by enums.
72
72
  Size = 4,
73
73
 
74
74
  /// Variable "size encoding" using either 1 or 5 bytes followed by data.
@@ -76,7 +76,7 @@ namespace Ice
76
76
  VSize = 5,
77
77
 
78
78
  /// Fixed "size encoding" using 4 bytes followed by data.
79
- /// Used by variable-size structs, and containers whose sizes can't be computed prior to unmarshaling.
79
+ /// Used by variable-size structs, and containers whose sizes can't be computed prior to marshaling.
80
80
  FSize = 6,
81
81
 
82
82
  /// Class instance. No longer supported.
@@ -21,9 +21,8 @@ namespace Ice
21
21
  /// Obtains more bytes.
22
22
  /// @param howMany The number of bytes requested.
23
23
  /// @param firstUnused A pointer to the first unused byte.
24
- /// @return A pointer to the beginning of the buffer.
25
- /// @throws std::bad_alloc Thrown when too many bytes are requested.
26
- /// @throws MarshalException Thrown when too many bytes are requested.
24
+ /// @return A pointer to the start of the newly reserved space (the first unused byte).
25
+ /// @throws std::bad_alloc Thrown when the buffer cannot be resized.
27
26
  virtual std::byte* getMoreBytes(size_t howMany, std::byte* firstUnused) = 0;
28
27
 
29
28
  virtual ~UTF8Buffer();
@@ -24,8 +24,8 @@ namespace Ice
24
24
  /// with ordinal values 127 and below are encoded as \\t, \\n (etc.) or \\unnnn.
25
25
  ASCII,
26
26
  /// Characters with ordinal values greater than 127 are encoded as a sequence of UTF-8 bytes using octal
27
- /// escapes. Characters with ordinal values 127 and below are encoded as \\t, \\n (etc.) or an octal escape. Use
28
- /// this mode to generate strings compatible with Ice 3.6 and earlier.
27
+ /// escapes. Non-printable ASCII characters with ordinal values 127 and below are encoded as \\t, \\n (etc.) or
28
+ /// an octal escape. Use this mode to generate strings compatible with Ice 3.6 and earlier.
29
29
  Compat
30
30
  };
31
31
  }
@@ -104,11 +104,6 @@ namespace IceInternal
104
104
  ICE_API std::string toUpper(std::string_view);
105
105
  ICE_API bool isAlpha(char);
106
106
  ICE_API bool isDigit(char);
107
-
108
- //
109
- // Remove all whitespace from a string
110
- //
111
- ICE_API std::string removeWhitespace(std::string_view);
112
107
  }
113
108
 
114
109
  #endif
@@ -10,6 +10,7 @@ namespace Ice
10
10
  {
11
11
  /// Generates a universally unique identifier (UUID).
12
12
  /// @return The UUID.
13
+ /// @throws std::system_error If the operating system's random number generator fails.
13
14
  ICE_API std::string generateUUID();
14
15
  }
15
16
 
@@ -54,8 +54,8 @@ namespace Ice
54
54
  [[nodiscard]] ValuePtr ice_clone() const { return _iceCloneImpl(); }
55
55
 
56
56
  /// Gets the sliced data associated with this instance.
57
- /// @return The sliced data if the value has a preserved-slice base class and has been sliced during
58
- /// unmarshaling of the value, null otherwise.
57
+ /// @return The sliced data if this value was sliced during unmarshaling, null otherwise. Unknown slices are
58
+ /// preserved only when the sender uses the sliced format.
59
59
  [[nodiscard]] SlicedDataPtr ice_getSlicedData() const;
60
60
 
61
61
  /// Outputs a description of this instance to the stream. This description includes the type name and the name
@@ -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 'BuiltinSequences.ice'.</auto-generated>
5
5
  // clang-format off
6
6
 
@@ -24,7 +24,7 @@
24
24
  # if ICE_INT_VERSION % 100 >= 50
25
25
  # error Beta header file detected
26
26
  # endif
27
- # if ICE_INT_VERSION % 100 < 2
27
+ # if ICE_INT_VERSION % 100 < 3
28
28
  # error Ice patch level mismatch!
29
29
  # endif
30
30
  #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 'Context.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
@@ -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 'EndpointTypes.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 'Identity.ice'.</auto-generated>
5
5
  // clang-format off
6
6
 
@@ -21,7 +21,7 @@
21
21
  # if ICE_INT_VERSION % 100 >= 50
22
22
  # error Beta header file detected
23
23
  # endif
24
- # if ICE_INT_VERSION % 100 < 2
24
+ # if ICE_INT_VERSION % 100 < 3
25
25
  # error Ice patch level mismatch!
26
26
  # endif
27
27
  #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 'Locator.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
@@ -105,10 +105,19 @@ namespace Ice
105
105
  /// object. This dummy proxy may be an indirect proxy that requires further resolution using
106
106
  /// ::Ice::LocatorPrx::findAdapterById.
107
107
  /// @param id The identity.
108
- /// @param response The response callback. It accepts:
108
+ /// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
109
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
110
+ /// function. It accepts:
109
111
  /// - A dummy proxy, or null if an object with the requested identity was not found.
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
  // NOLINTNEXTLINE(modernize-use-nodiscard)
@@ -134,10 +143,19 @@ namespace Ice
134
143
 
135
144
  /// Finds an object adapter by adapter ID and returns a dummy proxy with the object adapter's endpoint(s).
136
145
  /// @param id The adapter ID.
137
- /// @param response The response callback. It accepts:
146
+ /// @param response The response 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. It accepts:
138
149
  /// - A dummy proxy with the adapter's endpoints, or null if an object adapter with @p id was not found.
139
- /// @param exception The exception callback.
140
- /// @param sent The sent callback.
150
+ /// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
151
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
152
+ /// function.
153
+ /// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
154
+ /// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
155
+ /// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
156
+ /// this function from an Ice thread pool thread and passes `false` as argument. If you set
157
+ /// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
158
+ /// asynchronous case.
141
159
  /// @param context The request context.
142
160
  /// @return A function that can be called to cancel the invocation locally.
143
161
  // NOLINTNEXTLINE(modernize-use-nodiscard)
@@ -158,10 +176,19 @@ namespace Ice
158
176
  [[nodiscard]] std::future<std::optional<LocatorRegistryPrx>> getRegistryAsync(const Ice::Context& context = Ice::noExplicitContext) const;
159
177
 
160
178
  /// Gets a proxy to the locator registry.
161
- /// @param response The response callback. It accepts:
179
+ /// @param response The response 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. It accepts:
162
182
  /// - A proxy to the locator registry, or null if this locator has no associated registry.
163
- /// @param exception The exception callback.
164
- /// @param sent The sent callback.
183
+ /// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
184
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
185
+ /// function.
186
+ /// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
187
+ /// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
188
+ /// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
189
+ /// this function from an Ice thread pool thread and passes `false` as argument. If you set
190
+ /// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
191
+ /// asynchronous case.
165
192
  /// @param context The request context.
166
193
  /// @return A function that can be called to cancel the invocation locally.
167
194
  // NOLINTNEXTLINE(modernize-use-nodiscard)
@@ -247,10 +274,19 @@ namespace Ice
247
274
  [[nodiscard]] std::future<std::optional<LocatorPrx>> getLocatorAsync(const Ice::Context& context = Ice::noExplicitContext) const;
248
275
 
249
276
  /// Gets a proxy to the associated ::Ice::LocatorPrx. The proxy might point to several replicas.
250
- /// @param response The response callback. It accepts:
277
+ /// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
278
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
279
+ /// function. It accepts:
251
280
  /// - The locator proxy. This proxy is never null.
252
- /// @param exception The exception callback.
253
- /// @param sent The sent callback.
281
+ /// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
282
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
283
+ /// function.
284
+ /// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
285
+ /// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
286
+ /// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
287
+ /// this function from an Ice thread pool thread and passes `false` as argument. If you set
288
+ /// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
289
+ /// asynchronous case.
254
290
  /// @param context The request context.
255
291
  /// @return A function that can be called to cancel the invocation locally.
256
292
  // 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 'LocatorRegistry.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
@@ -105,9 +105,18 @@ namespace Ice
105
105
  /// @param proxy A dummy proxy created by the object adapter. @p proxy carries the object adapter's endpoints.
106
106
  /// The locator considers an object adapter to be active after it has registered its endpoints.
107
107
  /// When @p proxy is null, the endpoints are unregistered and the locator considers the object adapter inactive.
108
- /// @param response The response callback.
109
- /// @param exception The exception callback.
110
- /// @param sent The sent callback.
108
+ /// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
109
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
110
+ /// function.
111
+ /// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
112
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
113
+ /// function.
114
+ /// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
115
+ /// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
116
+ /// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
117
+ /// this function from an Ice thread pool thread and passes `false` as argument. If you set
118
+ /// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
119
+ /// asynchronous case.
111
120
  /// @param context The request context.
112
121
  /// @return A function that can be called to cancel the invocation locally.
113
122
  // NOLINTNEXTLINE(modernize-use-nodiscard)
@@ -151,9 +160,18 @@ namespace Ice
151
160
  /// @param proxy A dummy proxy created by the object adapter. @p proxy carries the object adapter's endpoints.
152
161
  /// The locator considers an object adapter to be active after it has registered its endpoints. When @p proxy is
153
162
  /// null, the endpoints are unregistered and the locator considers the object adapter inactive.
154
- /// @param response The response callback.
155
- /// @param exception The exception callback.
156
- /// @param sent The sent callback.
163
+ /// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
164
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
165
+ /// function.
166
+ /// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
167
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
168
+ /// function.
169
+ /// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
170
+ /// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
171
+ /// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
172
+ /// this function from an Ice thread pool thread and passes `false` as argument. If you set
173
+ /// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
174
+ /// asynchronous case.
157
175
  /// @param context The request context.
158
176
  /// @return A function that can be called to cancel the invocation locally.
159
177
  // NOLINTNEXTLINE(modernize-use-nodiscard)
@@ -180,9 +198,18 @@ namespace Ice
180
198
  /// Registers a proxy to the ::Ice::ProcessPrx object of a server application.
181
199
  /// @param id The server ID.
182
200
  /// @param proxy A proxy to the ::Ice::ProcessPrx object of the server. This proxy is never null.
183
- /// @param response The response callback.
184
- /// @param exception The exception callback.
185
- /// @param sent The sent callback.
201
+ /// @param response The response callback. The Ice runtime calls this function from an Ice thread pool
202
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
203
+ /// function.
204
+ /// @param exception The exception callback. The Ice runtime calls this function from an Ice thread pool
205
+ /// thread. If you set Ice::InitializationData::executor, the executor determines the thread that executes this
206
+ /// function.
207
+ /// @param sent The sent callback. The Ice runtime calls this function when the request is accepted by the
208
+ /// transport. When the request is accepted synchronously, the Ice runtime calls this function from the current
209
+ /// thread and passes `true` as argument. When the request is accepted asynchronously, the Ice runtime calls
210
+ /// this function from an Ice thread pool thread and passes `false` as argument. If you set
211
+ /// Ice::InitializationData::executor, the executor determines the thread that executes this function in the
212
+ /// asynchronous case.
186
213
  /// @param context The request context.
187
214
  /// @return A function that can be called to cancel the invocation locally.
188
215
  // NOLINTNEXTLINE(modernize-use-nodiscard)