zeroc-ice 3.7.2 → 3.7.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 +5 -5
- data/ext/Config.h +4 -0
- data/ext/Operation.cpp +5 -5
- data/ext/Properties.cpp +1 -1
- data/ext/Proxy.cpp +16 -2
- data/ext/Types.cpp +45 -40
- data/ext/Util.cpp +1 -1
- data/ext/Util.h +10 -8
- data/ext/ice/cpp/include/Ice/Config.h +4 -0
- data/ext/ice/cpp/include/Ice/FactoryTableInit.h +1 -1
- data/ext/ice/cpp/include/Ice/IconvStringConverter.h +4 -3
- data/ext/ice/cpp/include/Ice/InputStream.h +4 -4
- data/ext/ice/cpp/include/Ice/Optional.h +11 -0
- data/ext/ice/cpp/include/Ice/OutgoingAsync.h +1 -1
- data/ext/ice/cpp/include/Ice/OutputStream.h +5 -5
- data/ext/ice/cpp/include/Ice/Proxy.h +17 -5
- data/ext/ice/cpp/include/Ice/StreamHelpers.h +1 -1
- data/ext/ice/cpp/include/Ice/Value.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Atomic.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Config.h +16 -6
- data/ext/ice/cpp/include/IceUtil/ConsoleUtil.h +4 -4
- data/ext/ice/cpp/include/IceUtil/Optional.h +8 -0
- data/ext/ice/cpp/include/IceUtil/OutputUtil.h +17 -14
- data/ext/ice/cpp/include/IceUtil/Random.h +1 -1
- data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +2 -2
- data/ext/ice/cpp/include/IceUtil/ScannerConfig.h +6 -0
- data/ext/ice/cpp/include/IceUtil/StringConverter.h +1 -1
- data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Communicator.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Connection.h +33 -36
- data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Current.h +20 -21
- data/ext/ice/cpp/include/generated/Ice/Endpoint.h +24 -24
- data/ext/ice/cpp/include/generated/Ice/EndpointF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/FacetMap.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Identity.h +4 -5
- data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/ImplicitContextF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +15 -15
- data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/LocalException.h +27 -93
- data/ext/ice/cpp/include/generated/Ice/Locator.h +27 -32
- data/ext/ice/cpp/include/generated/Ice/LocatorF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Logger.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/LoggerF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Metrics.h +75 -79
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapterF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Plugin.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/PluginF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Process.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/ProcessF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Properties.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +9 -9
- data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +9 -11
- data/ext/ice/cpp/include/generated/Ice/Router.h +22 -22
- data/ext/ice/cpp/include/generated/Ice/RouterF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/ServantLocatorF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/SliceChecksumDict.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Version.h +15 -17
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +3 -3
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +3 -3
- data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +3 -3
- data/ext/ice/cpp/src/Ice/ArgVector.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Base64.cpp +11 -12
- data/ext/ice/cpp/src/Ice/BatchRequestQueue.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Buffer.cpp +2 -2
- data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Communicator.cpp +3 -3
- data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +19 -0
- data/ext/ice/cpp/src/Ice/CommunicatorI.h +5 -0
- data/ext/ice/cpp/src/Ice/Connection.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ConnectionF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ConnectionI.cpp +31 -16
- data/ext/ice/cpp/src/Ice/Current.cpp +3 -3
- data/ext/ice/cpp/src/Ice/DispatchInterceptor.cpp +13 -0
- data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +6 -5
- data/ext/ice/cpp/src/Ice/Endpoint.cpp +3 -3
- data/ext/ice/cpp/src/Ice/EndpointF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Exception.cpp +5 -5
- data/ext/ice/cpp/src/Ice/FacetMap.cpp +3 -3
- data/ext/ice/cpp/src/Ice/HashUtil.h +1 -1
- data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +12 -1
- data/ext/ice/cpp/src/Ice/Identity.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Incoming.cpp +2 -0
- data/ext/ice/cpp/src/Ice/Initialize.cpp +4 -3
- data/ext/ice/cpp/src/Ice/InputStream.cpp +19 -19
- data/ext/ice/cpp/src/Ice/Instance.cpp +28 -8
- data/ext/ice/cpp/src/Ice/Instrumentation.cpp +3 -3
- data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/LocalException.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Locator.cpp +7 -7
- data/ext/ice/cpp/src/Ice/LocatorF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Logger.cpp +3 -3
- data/ext/ice/cpp/src/Ice/LoggerAdminI.cpp +1 -7
- data/ext/ice/cpp/src/Ice/LoggerF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/LoggerI.cpp +6 -0
- data/ext/ice/cpp/src/Ice/Metrics.cpp +5 -5
- data/ext/ice/cpp/src/Ice/Network.cpp +23 -22
- data/ext/ice/cpp/src/Ice/Network.h +1 -1
- data/ext/ice/cpp/src/Ice/OSLogLoggerI.cpp +57 -0
- data/ext/ice/cpp/src/Ice/OSLogLoggerI.h +40 -0
- data/ext/ice/cpp/src/Ice/Object.cpp +9 -7
- data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +13 -1
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +4 -0
- data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +3 -3
- data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +1 -1
- data/ext/ice/cpp/src/Ice/OutputStream.cpp +24 -24
- data/ext/ice/cpp/src/Ice/Plugin.cpp +3 -3
- data/ext/ice/cpp/src/Ice/PluginF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Process.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ProcessF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Properties.cpp +3 -3
- data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +4 -4
- data/ext/ice/cpp/src/Ice/PropertiesF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/PropertyNames.cpp +2 -1
- data/ext/ice/cpp/src/Ice/PropertyNames.h +1 -1
- data/ext/ice/cpp/src/Ice/Proxy.cpp +6 -0
- data/ext/ice/cpp/src/Ice/ProxyFactory.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ReferenceFactory.cpp +1 -1
- data/ext/ice/cpp/src/Ice/RegisterPluginsInit.cpp +3 -2
- data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Router.cpp +6 -6
- data/ext/ice/cpp/src/Ice/RouterF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/SHA1.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Selector.cpp +18 -13
- data/ext/ice/cpp/src/Ice/ServantLocator.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +3 -3
- data/ext/ice/cpp/src/Ice/StreamSocket.cpp +6 -6
- data/ext/ice/cpp/src/Ice/TcpAcceptor.cpp +6 -0
- data/ext/ice/cpp/src/Ice/TcpConnector.cpp +5 -0
- data/ext/ice/cpp/src/Ice/TcpEndpointI.cpp +5 -0
- data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +5 -0
- data/ext/ice/cpp/src/Ice/ThreadPool.cpp +63 -0
- data/ext/ice/cpp/src/Ice/ThreadPool.h +10 -2
- data/ext/ice/cpp/src/Ice/Timer.cpp +10 -0
- data/ext/ice/cpp/src/Ice/UdpEndpointI.cpp +11 -1
- data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +10 -2
- data/ext/ice/cpp/src/Ice/ValueFactory.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Version.cpp +3 -3
- data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +16 -15
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +3 -3
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +3 -3
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +3 -3
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +3 -3
- data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +37 -8
- data/ext/ice/cpp/src/IceSSL/CertificateI.cpp +3 -3
- data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +3 -3
- data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +3 -3
- data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +3 -3
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +4 -16
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.h +0 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +40 -3
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.cpp +0 -7
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.h +0 -2
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +18 -6
- data/ext/ice/cpp/src/IceSSL/SSLEngine.cpp +19 -7
- data/ext/ice/cpp/src/IceSSL/SSLEngine.h +2 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +32 -21
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +21 -6
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +19 -16
- data/ext/ice/cpp/src/IceSSL/Util.cpp +11 -5
- data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/Options.cpp +3 -3
- data/ext/ice/cpp/src/IceUtil/OutputUtil.cpp +40 -10
- data/ext/ice/cpp/src/IceUtil/Random.cpp +2 -2
- data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +5 -5
- data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +3 -3
- data/ext/ice/cpp/src/IceUtil/Time.cpp +3 -3
- data/ext/ice/cpp/src/IceUtil/UUID.cpp +5 -5
- data/ext/ice/cpp/src/IceUtil/UtilException.cpp +4 -4
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.cpp +13 -9
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.h +1 -1
- data/ext/ice/cpp/src/Slice/Grammar.cpp +8 -0
- data/ext/ice/cpp/src/Slice/JavaUtil.cpp +1 -2
- data/ext/ice/cpp/src/Slice/MD5I.cpp +8 -0
- data/ext/ice/cpp/src/Slice/Parser.cpp +60 -112
- data/ext/ice/cpp/src/Slice/Parser.h +27 -1
- data/ext/ice/cpp/src/Slice/Preprocessor.cpp +2 -1
- data/ext/ice/cpp/src/Slice/PythonUtil.cpp +10 -10
- data/ext/ice/cpp/src/Slice/RubyUtil.cpp +1 -1
- data/ext/ice/cpp/src/Slice/Scanner.cpp +8 -0
- data/ext/ice/cpp/src/Slice/StringLiteralUtil.cpp +11 -6
- data/ext/ice/mcpp/Makefile +2 -5
- data/ice.gemspec +1 -1
- data/lib/Glacier2/Metrics.rb +1 -1
- data/lib/Glacier2/PermissionsVerifier.rb +1 -1
- data/lib/Glacier2/PermissionsVerifierF.rb +1 -1
- data/lib/Glacier2/Router.rb +1 -1
- data/lib/Glacier2/RouterF.rb +1 -1
- data/lib/Glacier2/SSLInfo.rb +1 -1
- data/lib/Glacier2/Session.rb +1 -1
- data/lib/Ice/BuiltinSequences.rb +1 -1
- data/lib/Ice/Communicator.rb +1 -1
- data/lib/Ice/CommunicatorF.rb +1 -1
- data/lib/Ice/Connection.rb +1 -1
- data/lib/Ice/ConnectionF.rb +1 -1
- data/lib/Ice/Current.rb +1 -1
- data/lib/Ice/Endpoint.rb +1 -1
- data/lib/Ice/EndpointF.rb +1 -1
- data/lib/Ice/EndpointTypes.rb +1 -1
- data/lib/Ice/FacetMap.rb +1 -1
- data/lib/Ice/Identity.rb +1 -1
- data/lib/Ice/ImplicitContext.rb +1 -1
- data/lib/Ice/ImplicitContextF.rb +1 -1
- data/lib/Ice/Instrumentation.rb +1 -1
- data/lib/Ice/InstrumentationF.rb +1 -1
- data/lib/Ice/LocalException.rb +1 -1
- data/lib/Ice/Locator.rb +1 -1
- data/lib/Ice/LocatorF.rb +1 -1
- data/lib/Ice/Logger.rb +1 -1
- data/lib/Ice/LoggerF.rb +1 -1
- data/lib/Ice/Metrics.rb +1 -1
- data/lib/Ice/ObjectAdapter.rb +1 -1
- data/lib/Ice/ObjectAdapterF.rb +1 -1
- data/lib/Ice/ObjectFactory.rb +1 -1
- data/lib/Ice/Plugin.rb +1 -1
- data/lib/Ice/PluginF.rb +1 -1
- data/lib/Ice/Process.rb +1 -1
- data/lib/Ice/ProcessF.rb +1 -1
- data/lib/Ice/Properties.rb +1 -1
- data/lib/Ice/PropertiesAdmin.rb +1 -1
- data/lib/Ice/PropertiesF.rb +1 -1
- data/lib/Ice/RemoteLogger.rb +1 -1
- data/lib/Ice/Router.rb +1 -1
- data/lib/Ice/RouterF.rb +1 -1
- data/lib/Ice/ServantLocator.rb +1 -1
- data/lib/Ice/ServantLocatorF.rb +1 -1
- data/lib/Ice/SliceChecksumDict.rb +1 -1
- data/lib/Ice/ValueFactory.rb +1 -1
- data/lib/Ice/Version.rb +1 -1
- data/lib/IceBox/IceBox.rb +1 -1
- data/lib/IceGrid/Admin.rb +1 -1
- data/lib/IceGrid/Descriptor.rb +1 -1
- data/lib/IceGrid/Exception.rb +1 -1
- data/lib/IceGrid/FileParser.rb +1 -1
- data/lib/IceGrid/PluginFacade.rb +1 -1
- data/lib/IceGrid/Registry.rb +1 -1
- data/lib/IceGrid/Session.rb +1 -1
- data/lib/IceGrid/UserAccountMapper.rb +1 -1
- data/lib/IcePatch2/FileInfo.rb +1 -1
- data/lib/IcePatch2/FileServer.rb +1 -1
- data/lib/IceStorm/IceStorm.rb +1 -1
- data/lib/IceStorm/Metrics.rb +1 -1
- data/slice/Glacier2/Metrics.ice +1 -1
- data/slice/Ice/Communicator.ice +57 -25
- data/slice/Ice/Connection.ice +14 -14
- data/slice/Ice/Current.ice +1 -1
- data/slice/Ice/Endpoint.ice +6 -6
- data/slice/Ice/EndpointF.ice +1 -1
- data/slice/Ice/FacetMap.ice +1 -1
- data/slice/Ice/ImplicitContext.ice +6 -6
- data/slice/Ice/Instrumentation.ice +6 -6
- data/slice/Ice/Logger.ice +6 -6
- data/slice/Ice/Metrics.ice +12 -9
- data/slice/Ice/ObjectAdapter.ice +43 -31
- data/slice/Ice/ObjectFactory.ice +1 -1
- data/slice/Ice/Plugin.ice +2 -2
- data/slice/Ice/Properties.ice +10 -10
- data/slice/Ice/ServantLocator.ice +4 -2
- data/slice/Ice/ValueFactory.ice +3 -3
- data/slice/IceBT/EndpointInfo.ice +1 -1
- data/slice/IceGrid/PluginFacade.ice +4 -4
- data/slice/IceIAP/ConnectionInfo.ice +1 -1
- data/slice/IceIAP/EndpointInfo.ice +1 -1
- data/slice/IceSSL/ConnectionInfo.ice +3 -2
- data/slice/IceSSL/ConnectionInfoF.ice +1 -1
- data/slice/IceSSL/EndpointInfo.ice +1 -1
- data/slice/IceStorm/Metrics.ice +1 -1
- metadata +5 -3
data/slice/Ice/Connection.ice
CHANGED
|
@@ -114,7 +114,7 @@ local interface CloseCallback
|
|
|
114
114
|
*
|
|
115
115
|
* @param con The connection that closed.
|
|
116
116
|
**/
|
|
117
|
-
void closed(Connection con);
|
|
117
|
+
["swift:noexcept"] void closed(Connection con);
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
/**
|
|
@@ -135,7 +135,7 @@ local interface HeartbeatCallback
|
|
|
135
135
|
*
|
|
136
136
|
* @param con The connection on which a heartbeat was received.
|
|
137
137
|
**/
|
|
138
|
-
void heartbeat(Connection con);
|
|
138
|
+
["swift:noexcept"] void heartbeat(Connection con);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
/**
|
|
@@ -217,6 +217,7 @@ local enum ConnectionClose
|
|
|
217
217
|
* The user-level interface to a connection.
|
|
218
218
|
*
|
|
219
219
|
**/
|
|
220
|
+
["swift:inherits:Swift.CustomStringConvertible"]
|
|
220
221
|
local interface Connection
|
|
221
222
|
{
|
|
222
223
|
/**
|
|
@@ -245,7 +246,7 @@ local interface Connection
|
|
|
245
246
|
*
|
|
246
247
|
* @see #setAdapter
|
|
247
248
|
**/
|
|
248
|
-
["cpp:const"] Object* createProxy(Identity id);
|
|
249
|
+
["cpp:const", "swift:nonnull"] Object* createProxy(Identity id);
|
|
249
250
|
|
|
250
251
|
/**
|
|
251
252
|
*
|
|
@@ -280,7 +281,7 @@ local interface Connection
|
|
|
280
281
|
* @see #setAdapter
|
|
281
282
|
*
|
|
282
283
|
**/
|
|
283
|
-
["cpp:const", "cpp:noexcept"] ObjectAdapter getAdapter();
|
|
284
|
+
["cpp:const", "cpp:noexcept", "swift:noexcept"] ObjectAdapter getAdapter();
|
|
284
285
|
|
|
285
286
|
/**
|
|
286
287
|
*
|
|
@@ -289,7 +290,7 @@ local interface Connection
|
|
|
289
290
|
* @return The endpoint from which the connection was created.
|
|
290
291
|
*
|
|
291
292
|
**/
|
|
292
|
-
["cpp:const", "cpp:noexcept"] Endpoint getEndpoint();
|
|
293
|
+
["cpp:const", "cpp:noexcept", "swift:noexcept", "swift:nonnull"] Endpoint getEndpoint();
|
|
293
294
|
|
|
294
295
|
/**
|
|
295
296
|
*
|
|
@@ -324,7 +325,7 @@ local interface Connection
|
|
|
324
325
|
* @param callback The heartbeat callback object.
|
|
325
326
|
*
|
|
326
327
|
**/
|
|
327
|
-
void setHeartbeatCallback(HeartbeatCallback callback);
|
|
328
|
+
["swift:noexcept"] void setHeartbeatCallback(HeartbeatCallback callback);
|
|
328
329
|
|
|
329
330
|
/**
|
|
330
331
|
*
|
|
@@ -337,15 +338,14 @@ local interface Connection
|
|
|
337
338
|
*
|
|
338
339
|
* Set the active connection management parameters.
|
|
339
340
|
*
|
|
340
|
-
* @param timeout The timeout value in seconds
|
|
341
|
-
* value is given, an invalid argument exception will be raised.
|
|
341
|
+
* @param timeout The timeout value in seconds, must be >= 0.
|
|
342
342
|
*
|
|
343
343
|
* @param close The close condition
|
|
344
344
|
*
|
|
345
345
|
* @param heartbeat The hertbeat condition
|
|
346
346
|
*
|
|
347
347
|
**/
|
|
348
|
-
["java:optional"]
|
|
348
|
+
["swift:noexcept", "java:optional"]
|
|
349
349
|
void setACM(optional(1) int timeout, optional(2) ACMClose close, optional(3) ACMHeartbeat heartbeat);
|
|
350
350
|
|
|
351
351
|
/**
|
|
@@ -355,7 +355,7 @@ local interface Connection
|
|
|
355
355
|
* @return The ACM parameters.
|
|
356
356
|
*
|
|
357
357
|
**/
|
|
358
|
-
["cpp:noexcept"] ACM getACM();
|
|
358
|
+
["cpp:noexcept", "swift:noexcept"] ACM getACM();
|
|
359
359
|
|
|
360
360
|
/**
|
|
361
361
|
*
|
|
@@ -365,7 +365,7 @@ local interface Connection
|
|
|
365
365
|
* @return The type of the connection.
|
|
366
366
|
*
|
|
367
367
|
**/
|
|
368
|
-
["cpp:const", "cpp:noexcept"] string type();
|
|
368
|
+
["cpp:const", "cpp:noexcept", "swift:noexcept"] string type();
|
|
369
369
|
|
|
370
370
|
/**
|
|
371
371
|
*
|
|
@@ -374,7 +374,7 @@ local interface Connection
|
|
|
374
374
|
* @return The connection's timeout.
|
|
375
375
|
*
|
|
376
376
|
**/
|
|
377
|
-
["cpp:const", "cpp:noexcept"] int timeout();
|
|
377
|
+
["cpp:const", "cpp:noexcept", "swift:noexcept"] int timeout();
|
|
378
378
|
|
|
379
379
|
/**
|
|
380
380
|
*
|
|
@@ -385,7 +385,7 @@ local interface Connection
|
|
|
385
385
|
* text.
|
|
386
386
|
*
|
|
387
387
|
**/
|
|
388
|
-
["cpp:const", "cpp:noexcept"] string toString();
|
|
388
|
+
["cpp:const", "cpp:noexcept", "swift:noexcept"] string toString();
|
|
389
389
|
|
|
390
390
|
/**
|
|
391
391
|
*
|
|
@@ -394,7 +394,7 @@ local interface Connection
|
|
|
394
394
|
* @return The connection information.
|
|
395
395
|
*
|
|
396
396
|
**/
|
|
397
|
-
["cpp:const"] ConnectionInfo getInfo();
|
|
397
|
+
["cpp:const", "swift:nonnull"] ConnectionInfo getInfo();
|
|
398
398
|
|
|
399
399
|
/**
|
|
400
400
|
*
|
data/slice/Ice/Current.ice
CHANGED
data/slice/Ice/Endpoint.ice
CHANGED
|
@@ -131,7 +131,7 @@ local class EndpointInfo
|
|
|
131
131
|
* @return The endpoint type.
|
|
132
132
|
*
|
|
133
133
|
**/
|
|
134
|
-
["cpp:const", "cpp:noexcept"] short type();
|
|
134
|
+
["cpp:const", "cpp:noexcept", "swift:noexcept"] short type();
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
137
|
*
|
|
@@ -140,7 +140,7 @@ local class EndpointInfo
|
|
|
140
140
|
* @return True for a datagram endpoint.
|
|
141
141
|
*
|
|
142
142
|
**/
|
|
143
|
-
["cpp:const", "cpp:noexcept"] bool datagram();
|
|
143
|
+
["cpp:const", "cpp:noexcept", "swift:noexcept"] bool datagram();
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
146
|
*
|
|
@@ -149,7 +149,7 @@ local class EndpointInfo
|
|
|
149
149
|
* @return True for a secure endpoint.
|
|
150
150
|
*
|
|
151
151
|
**/
|
|
152
|
-
["cpp:const", "cpp:noexcept"] bool secure();
|
|
152
|
+
["cpp:const", "cpp:noexcept", "swift:noexcept"] bool secure();
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
/**
|
|
@@ -157,7 +157,7 @@ local class EndpointInfo
|
|
|
157
157
|
* The user-level interface to an endpoint.
|
|
158
158
|
*
|
|
159
159
|
**/
|
|
160
|
-
["cpp:comparable", "js:comparable"]
|
|
160
|
+
["cpp:comparable", "js:comparable", "swift:inherits:Swift.CustomStringConvertible"]
|
|
161
161
|
local interface Endpoint
|
|
162
162
|
{
|
|
163
163
|
/**
|
|
@@ -167,7 +167,7 @@ local interface Endpoint
|
|
|
167
167
|
* @return The string representation of the endpoint.
|
|
168
168
|
*
|
|
169
169
|
**/
|
|
170
|
-
["cpp:const", "cpp:noexcept"] string toString();
|
|
170
|
+
["cpp:const", "cpp:noexcept", "swift:noexcept"] string toString();
|
|
171
171
|
|
|
172
172
|
/**
|
|
173
173
|
*
|
|
@@ -176,7 +176,7 @@ local interface Endpoint
|
|
|
176
176
|
* @return The endpoint information class.
|
|
177
177
|
*
|
|
178
178
|
**/
|
|
179
|
-
["cpp:const", "cpp:noexcept"] EndpointInfo getInfo();
|
|
179
|
+
["cpp:const", "cpp:noexcept", "swift:noexcept"] EndpointInfo getInfo();
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
/**
|
data/slice/Ice/EndpointF.ice
CHANGED
data/slice/Ice/FacetMap.ice
CHANGED
|
@@ -60,7 +60,7 @@ local interface ImplicitContext
|
|
|
60
60
|
* @return A copy of the underlying context.
|
|
61
61
|
*
|
|
62
62
|
**/
|
|
63
|
-
["cpp:const"] Context getContext();
|
|
63
|
+
["cpp:const", "swift:noexcept"] Context getContext();
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* Set the underlying context.
|
|
@@ -68,7 +68,7 @@ local interface ImplicitContext
|
|
|
68
68
|
* @param newContext The new context.
|
|
69
69
|
*
|
|
70
70
|
**/
|
|
71
|
-
void setContext(Context newContext);
|
|
71
|
+
["swift:noexcept"] void setContext(Context newContext);
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
74
|
* Check if this key has an associated value in the underlying context.
|
|
@@ -78,7 +78,7 @@ local interface ImplicitContext
|
|
|
78
78
|
* @return True if the key has an associated value, False otherwise.
|
|
79
79
|
*
|
|
80
80
|
**/
|
|
81
|
-
["cpp:const"] bool containsKey(string key);
|
|
81
|
+
["cpp:const", "swift:noexcept"] bool containsKey(string key);
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
84
|
* Get the value associated with the given key in the underlying context.
|
|
@@ -91,7 +91,7 @@ local interface ImplicitContext
|
|
|
91
91
|
* @return The value associated with the key.
|
|
92
92
|
*
|
|
93
93
|
**/
|
|
94
|
-
["cpp:const"] string get(string key);
|
|
94
|
+
["cpp:const", "swift:noexcept"] string get(string key);
|
|
95
95
|
|
|
96
96
|
/**
|
|
97
97
|
* Create or update a key/value entry in the underlying context.
|
|
@@ -103,7 +103,7 @@ local interface ImplicitContext
|
|
|
103
103
|
* @return The previous value associated with the key, if any.
|
|
104
104
|
*
|
|
105
105
|
**/
|
|
106
|
-
string put(string key, string \value);
|
|
106
|
+
["swift:noexcept"] string put(string key, string \value);
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
109
|
* Remove the entry for the given key in the underlying context.
|
|
@@ -113,6 +113,6 @@ local interface ImplicitContext
|
|
|
113
113
|
* @return The value associated with the key, if any.
|
|
114
114
|
*
|
|
115
115
|
**/
|
|
116
|
-
string remove(string key);
|
|
116
|
+
["swift:noexcept"] string remove(string key);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
@@ -330,14 +330,14 @@ local interface InvocationObserver extends Observer
|
|
|
330
330
|
*
|
|
331
331
|
* The observer updater interface. This interface is implemented by
|
|
332
332
|
* the Ice run-time and an instance of this interface is provided by
|
|
333
|
-
* the Ice communicator on initialization to the
|
|
334
|
-
* CommunicatorObserver} object set with the communicator
|
|
335
|
-
* initialization data. The Ice communicator calls
|
|
336
|
-
* CommunicatorObserver#setObserverUpdater} to provide the observer
|
|
333
|
+
* the Ice communicator on initialization to the
|
|
334
|
+
* {@link CommunicatorObserver} object set with the communicator
|
|
335
|
+
* initialization data. The Ice communicator calls
|
|
336
|
+
* {@link CommunicatorObserver#setObserverUpdater} to provide the observer
|
|
337
337
|
* updater.
|
|
338
338
|
*
|
|
339
|
-
* This interface can be used by add-ins implementing the
|
|
340
|
-
* CommunicatorObserver} interface to update the observers of
|
|
339
|
+
* This interface can be used by add-ins implementing the
|
|
340
|
+
* {@link CommunicatorObserver} interface to update the observers of
|
|
341
341
|
* connections and threads.
|
|
342
342
|
*
|
|
343
343
|
**/
|
data/slice/Ice/Logger.ice
CHANGED
|
@@ -40,7 +40,7 @@ local interface Logger
|
|
|
40
40
|
*
|
|
41
41
|
* @param message The message to log.
|
|
42
42
|
**/
|
|
43
|
-
void print(string message);
|
|
43
|
+
["swift:noexcept"] void print(string message);
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
*
|
|
@@ -51,7 +51,7 @@ local interface Logger
|
|
|
51
51
|
* @param message The trace message to log.
|
|
52
52
|
*
|
|
53
53
|
**/
|
|
54
|
-
void trace(string category, string message);
|
|
54
|
+
["swift:noexcept"] void trace(string category, string message);
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
@@ -62,7 +62,7 @@ local interface Logger
|
|
|
62
62
|
* @see #error
|
|
63
63
|
*
|
|
64
64
|
**/
|
|
65
|
-
void warning(string message);
|
|
65
|
+
["swift:noexcept"] void warning(string message);
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
68
|
*
|
|
@@ -73,7 +73,7 @@ local interface Logger
|
|
|
73
73
|
* @see #warning
|
|
74
74
|
*
|
|
75
75
|
**/
|
|
76
|
-
void error(string message);
|
|
76
|
+
["swift:noexcept"] void error(string message);
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
@@ -82,7 +82,7 @@ local interface Logger
|
|
|
82
82
|
* @return The prefix.
|
|
83
83
|
*
|
|
84
84
|
**/
|
|
85
|
-
string getPrefix();
|
|
85
|
+
["swift:noexcept"] string getPrefix();
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
88
|
*
|
|
@@ -92,7 +92,7 @@ local interface Logger
|
|
|
92
92
|
* @return A logger instance.
|
|
93
93
|
*
|
|
94
94
|
*/
|
|
95
|
-
Logger cloneWithPrefix(string prefix);
|
|
95
|
+
["swift:noexcept", "swift:nonnull"] Logger cloneWithPrefix(string prefix);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
}
|
data/slice/Ice/Metrics.ice
CHANGED
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* The Ice Management eXtension facility. It provides the
|
|
25
|
-
* IceMX#MetricsAdmin} interface for management clients to
|
|
26
|
-
* metrics from Ice applications.
|
|
24
|
+
* The Ice Management eXtension facility. It provides the
|
|
25
|
+
* {@link IceMX#MetricsAdmin} interface for management clients to
|
|
26
|
+
* retrieve metrics from Ice applications.
|
|
27
27
|
*
|
|
28
28
|
**/
|
|
29
29
|
#ifndef __SLICE2JAVA_COMPAT__
|
|
30
30
|
[["java:package:com.zeroc"]]
|
|
31
31
|
#endif
|
|
32
32
|
|
|
33
|
-
["objc:prefix:ICEMX"]
|
|
33
|
+
["objc:prefix:ICEMX", "swift:module:Ice:MX"]
|
|
34
34
|
module IceMX
|
|
35
35
|
{
|
|
36
36
|
|
|
@@ -58,14 +58,16 @@ class Metrics
|
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
|
-
* The total number of objects
|
|
61
|
+
* The total number of objects observed by this metrics. This includes
|
|
62
|
+
* the number of currently observed objects and the number of objects
|
|
63
|
+
* observed in the past.
|
|
62
64
|
*
|
|
63
65
|
**/
|
|
64
66
|
long total = 0;
|
|
65
67
|
|
|
66
68
|
/**
|
|
67
69
|
*
|
|
68
|
-
* The
|
|
70
|
+
* The number of objects currently observed by this metrics.
|
|
69
71
|
*
|
|
70
72
|
**/
|
|
71
73
|
int current = 0;
|
|
@@ -73,7 +75,8 @@ class Metrics
|
|
|
73
75
|
/**
|
|
74
76
|
*
|
|
75
77
|
* The sum of the lifetime of each observed objects. This does not
|
|
76
|
-
* include the lifetime of objects which are currently observed
|
|
78
|
+
* include the lifetime of objects which are currently observed,
|
|
79
|
+
* only the objects observed in the past.
|
|
77
80
|
*
|
|
78
81
|
**/
|
|
79
82
|
long totalLifetime = 0;
|
|
@@ -322,8 +325,8 @@ class DispatchMetrics extends Metrics
|
|
|
322
325
|
* Provides information on child invocations. A child invocation is
|
|
323
326
|
* either remote (sent over an Ice connection) or collocated. An
|
|
324
327
|
* invocation can have multiple child invocation if it is
|
|
325
|
-
* retried. Child invocation metrics are embedded within
|
|
326
|
-
* InvocationMetrics}.
|
|
328
|
+
* retried. Child invocation metrics are embedded within
|
|
329
|
+
* {@link InvocationMetrics}.
|
|
327
330
|
*
|
|
328
331
|
**/
|
|
329
332
|
class ChildInvocationMetrics extends Metrics
|
data/slice/Ice/ObjectAdapter.ice
CHANGED
|
@@ -54,7 +54,7 @@ local interface ObjectAdapter
|
|
|
54
54
|
* @return This object adapter's name.
|
|
55
55
|
*
|
|
56
56
|
**/
|
|
57
|
-
["cpp:const", "cpp:noexcept"] string getName();
|
|
57
|
+
["cpp:const", "cpp:noexcept", "swift:noexcept"] string getName();
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
@@ -65,7 +65,7 @@ local interface ObjectAdapter
|
|
|
65
65
|
* @see Communicator
|
|
66
66
|
*
|
|
67
67
|
**/
|
|
68
|
-
["cpp:const", "cpp:noexcept"] Communicator getCommunicator();
|
|
68
|
+
["cpp:const", "cpp:noexcept", "swift:noexcept", "swift:nonnull"] Communicator getCommunicator();
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
*
|
|
@@ -94,7 +94,7 @@ local interface ObjectAdapter
|
|
|
94
94
|
* @see #waitForHold
|
|
95
95
|
*
|
|
96
96
|
**/
|
|
97
|
-
void hold();
|
|
97
|
+
["swift:noexcept"] void hold();
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
100
|
*
|
|
@@ -107,7 +107,7 @@ local interface ObjectAdapter
|
|
|
107
107
|
* @see Communicator#waitForShutdown
|
|
108
108
|
*
|
|
109
109
|
**/
|
|
110
|
-
["js:async"] void waitForHold();
|
|
110
|
+
["swift:noexcept", "js:async"] void waitForHold();
|
|
111
111
|
|
|
112
112
|
/**
|
|
113
113
|
*
|
|
@@ -134,7 +134,7 @@ local interface ObjectAdapter
|
|
|
134
134
|
* @see Communicator#shutdown
|
|
135
135
|
*
|
|
136
136
|
**/
|
|
137
|
-
["cpp:noexcept", "js:async"] void deactivate();
|
|
137
|
+
["cpp:noexcept", "swift:noexcept", "js:async"] void deactivate();
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
140
|
*
|
|
@@ -148,7 +148,7 @@ local interface ObjectAdapter
|
|
|
148
148
|
* @see Communicator#waitForShutdown
|
|
149
149
|
*
|
|
150
150
|
**/
|
|
151
|
-
["cpp:noexcept", "js:async"] void waitForDeactivate();
|
|
151
|
+
["cpp:noexcept", "swift:noexcept", "js:async"] void waitForDeactivate();
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
154
|
*
|
|
@@ -159,7 +159,7 @@ local interface ObjectAdapter
|
|
|
159
159
|
* @see Communicator#shutdown
|
|
160
160
|
*
|
|
161
161
|
**/
|
|
162
|
-
["cpp:const", "cpp:noexcept"] bool isDeactivated();
|
|
162
|
+
["cpp:const", "cpp:noexcept", "swift:noexcept"] bool isDeactivated();
|
|
163
163
|
|
|
164
164
|
/**
|
|
165
165
|
*
|
|
@@ -175,7 +175,7 @@ local interface ObjectAdapter
|
|
|
175
175
|
* @see Communicator#destroy
|
|
176
176
|
*
|
|
177
177
|
**/
|
|
178
|
-
["cpp:noexcept", "js:async"] void destroy();
|
|
178
|
+
["cpp:noexcept", "swift:noexcept", "js:async"] void destroy();
|
|
179
179
|
|
|
180
180
|
/**
|
|
181
181
|
*
|
|
@@ -199,7 +199,8 @@ local interface ObjectAdapter
|
|
|
199
199
|
* @see #find
|
|
200
200
|
*
|
|
201
201
|
**/
|
|
202
|
-
|
|
202
|
+
["swift:nonnull", "swift:attribute:@discardableResult"]
|
|
203
|
+
Object* add(["swift:nonnull"] Object servant, ["objc:param:identity"] Identity id);
|
|
203
204
|
|
|
204
205
|
/**
|
|
205
206
|
*
|
|
@@ -223,7 +224,8 @@ local interface ObjectAdapter
|
|
|
223
224
|
* @see #findFacet
|
|
224
225
|
*
|
|
225
226
|
**/
|
|
226
|
-
|
|
227
|
+
["swift:nonnull", "swift:attribute:@discardableResult"]
|
|
228
|
+
Object* addFacet(["swift:nonnull"] Object servant, ["objc:param:identity"] Identity id, string facet);
|
|
227
229
|
|
|
228
230
|
/**
|
|
229
231
|
*
|
|
@@ -244,7 +246,7 @@ local interface ObjectAdapter
|
|
|
244
246
|
* @see #find
|
|
245
247
|
*
|
|
246
248
|
**/
|
|
247
|
-
Object* addWithUUID(Object servant);
|
|
249
|
+
["swift:nonnull", "swift:attribute:@discardableResult"] Object* addWithUUID(["swift:nonnull"] Object servant);
|
|
248
250
|
|
|
249
251
|
/**
|
|
250
252
|
*
|
|
@@ -267,7 +269,7 @@ local interface ObjectAdapter
|
|
|
267
269
|
* @see #findFacet
|
|
268
270
|
*
|
|
269
271
|
**/
|
|
270
|
-
Object* addFacetWithUUID(Object servant, string facet);
|
|
272
|
+
["swift:nonnull", "swift:attribute:@discardableResult"] Object* addFacetWithUUID(["swift:nonnull"] Object servant, string facet);
|
|
271
273
|
|
|
272
274
|
/**
|
|
273
275
|
*
|
|
@@ -307,7 +309,7 @@ local interface ObjectAdapter
|
|
|
307
309
|
* @see #findDefaultServant
|
|
308
310
|
*
|
|
309
311
|
**/
|
|
310
|
-
void addDefaultServant(Object servant, string category);
|
|
312
|
+
void addDefaultServant(["swift:nonnull"] Object servant, string category);
|
|
311
313
|
|
|
312
314
|
/**
|
|
313
315
|
*
|
|
@@ -327,7 +329,7 @@ local interface ObjectAdapter
|
|
|
327
329
|
* @see #addWithUUID
|
|
328
330
|
*
|
|
329
331
|
**/
|
|
330
|
-
Object remove(Identity id);
|
|
332
|
+
["swift:nonnull", "swift:attribute:@discardableResult"] Object remove(Identity id);
|
|
331
333
|
|
|
332
334
|
/**
|
|
333
335
|
*
|
|
@@ -346,7 +348,7 @@ local interface ObjectAdapter
|
|
|
346
348
|
* @see #addFacetWithUUID
|
|
347
349
|
*
|
|
348
350
|
**/
|
|
349
|
-
Object removeFacet(Identity id, string facet);
|
|
351
|
+
["swift:nonnull", "swift:attribute:@discardableResult"] Object removeFacet(Identity id, string facet);
|
|
350
352
|
|
|
351
353
|
/**
|
|
352
354
|
*
|
|
@@ -364,7 +366,7 @@ local interface ObjectAdapter
|
|
|
364
366
|
* @see #removeFacet
|
|
365
367
|
*
|
|
366
368
|
**/
|
|
367
|
-
FacetMap removeAllFacets(Identity id);
|
|
369
|
+
["swift:attribute:@discardableResult"] FacetMap removeAllFacets(Identity id);
|
|
368
370
|
|
|
369
371
|
/**
|
|
370
372
|
*
|
|
@@ -380,7 +382,7 @@ local interface ObjectAdapter
|
|
|
380
382
|
* @see #findDefaultServant
|
|
381
383
|
*
|
|
382
384
|
**/
|
|
383
|
-
Object removeDefaultServant(string category);
|
|
385
|
+
["swift:nonnull", "swift:attribute:@discardableResult"] Object removeDefaultServant(string category);
|
|
384
386
|
|
|
385
387
|
/**
|
|
386
388
|
*
|
|
@@ -402,7 +404,7 @@ local interface ObjectAdapter
|
|
|
402
404
|
* @see #findByProxy
|
|
403
405
|
*
|
|
404
406
|
**/
|
|
405
|
-
["cpp:const"] Object find(Identity id);
|
|
407
|
+
["swift:noexcept", "cpp:const"] Object find(Identity id);
|
|
406
408
|
|
|
407
409
|
/**
|
|
408
410
|
*
|
|
@@ -425,7 +427,7 @@ local interface ObjectAdapter
|
|
|
425
427
|
* @see #findByProxy
|
|
426
428
|
*
|
|
427
429
|
**/
|
|
428
|
-
["cpp:const"] Object findFacet(Identity id, string facet);
|
|
430
|
+
["swift:noexcept", "cpp:const"] Object findFacet(Identity id, string facet);
|
|
429
431
|
|
|
430
432
|
/**
|
|
431
433
|
*
|
|
@@ -443,7 +445,7 @@ local interface ObjectAdapter
|
|
|
443
445
|
* @see #findFacet
|
|
444
446
|
*
|
|
445
447
|
**/
|
|
446
|
-
["cpp:const"] FacetMap findAllFacets(Identity id);
|
|
448
|
+
["swift:noexcept", "cpp:const"] FacetMap findAllFacets(Identity id);
|
|
447
449
|
|
|
448
450
|
/**
|
|
449
451
|
*
|
|
@@ -463,7 +465,7 @@ local interface ObjectAdapter
|
|
|
463
465
|
* @see #findFacet
|
|
464
466
|
*
|
|
465
467
|
**/
|
|
466
|
-
["cpp:const"] Object findByProxy(Object* proxy);
|
|
468
|
+
["swift:noexcept", "cpp:const"] Object findByProxy(["swift:nonnull"] Object* proxy);
|
|
467
469
|
|
|
468
470
|
/**
|
|
469
471
|
*
|
|
@@ -511,7 +513,7 @@ local interface ObjectAdapter
|
|
|
511
513
|
* @see ServantLocator
|
|
512
514
|
*
|
|
513
515
|
**/
|
|
514
|
-
void addServantLocator(ServantLocator locator, string category);
|
|
516
|
+
void addServantLocator(["swift:nonnull"] ServantLocator locator, string category);
|
|
515
517
|
|
|
516
518
|
/**
|
|
517
519
|
*
|
|
@@ -530,7 +532,7 @@ local interface ObjectAdapter
|
|
|
530
532
|
* @see ServantLocator
|
|
531
533
|
*
|
|
532
534
|
**/
|
|
533
|
-
ServantLocator removeServantLocator(string category);
|
|
535
|
+
["swift:nonnull", "swift:attribute:@discardableResult"] ServantLocator removeServantLocator(string category);
|
|
534
536
|
|
|
535
537
|
/**
|
|
536
538
|
*
|
|
@@ -549,7 +551,7 @@ local interface ObjectAdapter
|
|
|
549
551
|
* @see ServantLocator
|
|
550
552
|
*
|
|
551
553
|
**/
|
|
552
|
-
["cpp:const"] ServantLocator findServantLocator(string category);
|
|
554
|
+
["swift:noexcept", "cpp:const"] ServantLocator findServantLocator(string category);
|
|
553
555
|
|
|
554
556
|
/**
|
|
555
557
|
*
|
|
@@ -564,7 +566,7 @@ local interface ObjectAdapter
|
|
|
564
566
|
* @see #removeDefaultServant
|
|
565
567
|
*
|
|
566
568
|
**/
|
|
567
|
-
["cpp:const"] Object findDefaultServant(string category);
|
|
569
|
+
["swift:noexcept", "cpp:const"] Object findDefaultServant(string category);
|
|
568
570
|
|
|
569
571
|
/**
|
|
570
572
|
*
|
|
@@ -583,7 +585,7 @@ local interface ObjectAdapter
|
|
|
583
585
|
* @see Identity
|
|
584
586
|
*
|
|
585
587
|
**/
|
|
586
|
-
["cpp:const"] Object* createProxy(Identity id);
|
|
588
|
+
["cpp:const", "swift:nonnull"] Object* createProxy(Identity id);
|
|
587
589
|
|
|
588
590
|
/**
|
|
589
591
|
*
|
|
@@ -598,7 +600,7 @@ local interface ObjectAdapter
|
|
|
598
600
|
* @see Identity
|
|
599
601
|
*
|
|
600
602
|
**/
|
|
601
|
-
["cpp:const"] Object* createDirectProxy(Identity id);
|
|
603
|
+
["cpp:const", "swift:nonnull"] Object* createDirectProxy(Identity id);
|
|
602
604
|
|
|
603
605
|
/**
|
|
604
606
|
*
|
|
@@ -614,7 +616,7 @@ local interface ObjectAdapter
|
|
|
614
616
|
* @see Identity
|
|
615
617
|
*
|
|
616
618
|
**/
|
|
617
|
-
["cpp:const"] Object* createIndirectProxy(Identity id);
|
|
619
|
+
["cpp:const", "swift:nonnull"] Object* createIndirectProxy(Identity id);
|
|
618
620
|
|
|
619
621
|
/**
|
|
620
622
|
* Set an Ice locator for this object adapter. By doing so, the
|
|
@@ -643,7 +645,7 @@ local interface ObjectAdapter
|
|
|
643
645
|
* @see #setLocator
|
|
644
646
|
*
|
|
645
647
|
**/
|
|
646
|
-
["cpp:const", "cpp:noexcept"] Locator* getLocator();
|
|
648
|
+
["cpp:const", "cpp:noexcept", "swift:noexcept"] Locator* getLocator();
|
|
647
649
|
|
|
648
650
|
/**
|
|
649
651
|
*
|
|
@@ -654,7 +656,7 @@ local interface ObjectAdapter
|
|
|
654
656
|
* @see Endpoint
|
|
655
657
|
*
|
|
656
658
|
**/
|
|
657
|
-
["cpp:const", "cpp:noexcept"] EndpointSeq getEndpoints();
|
|
659
|
+
["cpp:const", "cpp:noexcept", "swift:noexcept"] EndpointSeq getEndpoints();
|
|
658
660
|
|
|
659
661
|
/**
|
|
660
662
|
* Refresh the set of published endpoints. The run time re-reads
|
|
@@ -678,7 +680,7 @@ local interface ObjectAdapter
|
|
|
678
680
|
* @see Endpoint
|
|
679
681
|
*
|
|
680
682
|
**/
|
|
681
|
-
["cpp:const", "cpp:noexcept"] EndpointSeq getPublishedEndpoints();
|
|
683
|
+
["cpp:const", "cpp:noexcept", "swift:noexcept"] EndpointSeq getPublishedEndpoints();
|
|
682
684
|
|
|
683
685
|
/**
|
|
684
686
|
*
|
|
@@ -692,6 +694,16 @@ local interface ObjectAdapter
|
|
|
692
694
|
*
|
|
693
695
|
**/
|
|
694
696
|
void setPublishedEndpoints(EndpointSeq newEndpoints);
|
|
697
|
+
|
|
698
|
+
#if defined(__SLICE2SWIFT__) || defined(ICE_SWIFT)
|
|
699
|
+
/*
|
|
700
|
+
* Returns the dispatch queue.
|
|
701
|
+
*
|
|
702
|
+
* @return The dispatch queue associated wih this Object Adapter.
|
|
703
|
+
**/
|
|
704
|
+
["cpp:const", "swift:nonnull", "cpp:type:dispatch_queue_t", "swift:type:Dispatch.DispatchQueue"]
|
|
705
|
+
LocalObject getDispatchQueue();
|
|
706
|
+
#endif
|
|
695
707
|
}
|
|
696
708
|
|
|
697
709
|
}
|