zeroc-ice-x86-mingw 3.6.4 → 3.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ICE_LICENSE +1 -1
- data/bin/slice2rb +1 -1
- data/ice-x86-mingw.gemspec +1 -1
- data/lib/Glacier2.rb +1 -1
- data/lib/Glacier2/Metrics.rb +3 -3
- data/lib/Glacier2/PermissionsVerifier.rb +3 -3
- data/lib/Glacier2/PermissionsVerifierF.rb +3 -3
- data/lib/Glacier2/Router.rb +3 -3
- data/lib/Glacier2/RouterF.rb +3 -3
- data/lib/Glacier2/SSLInfo.rb +3 -3
- data/lib/Glacier2/Session.rb +3 -3
- data/lib/Ice.rb +1 -1
- data/lib/Ice/BuiltinSequences.rb +3 -3
- data/lib/Ice/Communicator.rb +3 -3
- data/lib/Ice/CommunicatorF.rb +3 -3
- data/lib/Ice/Connection.rb +3 -3
- data/lib/Ice/ConnectionF.rb +3 -3
- data/lib/Ice/Current.rb +3 -3
- data/lib/Ice/Endpoint.rb +3 -3
- data/lib/Ice/EndpointF.rb +3 -3
- data/lib/Ice/EndpointTypes.rb +3 -3
- data/lib/Ice/FacetMap.rb +3 -3
- data/lib/Ice/Identity.rb +3 -3
- data/lib/Ice/ImplicitContext.rb +3 -3
- data/lib/Ice/ImplicitContextF.rb +3 -3
- data/lib/Ice/Instrumentation.rb +3 -3
- data/lib/Ice/InstrumentationF.rb +3 -3
- data/lib/Ice/LocalException.rb +3 -3
- data/lib/Ice/Locator.rb +3 -3
- data/lib/Ice/LocatorF.rb +3 -3
- data/lib/Ice/Logger.rb +3 -3
- data/lib/Ice/LoggerF.rb +3 -3
- data/lib/Ice/Metrics.rb +3 -3
- data/lib/Ice/ObjectAdapterF.rb +3 -3
- data/lib/Ice/ObjectFactory.rb +3 -3
- data/lib/Ice/ObjectFactoryF.rb +3 -3
- data/lib/Ice/Plugin.rb +3 -3
- data/lib/Ice/PluginF.rb +3 -3
- data/lib/Ice/Process.rb +3 -3
- data/lib/Ice/ProcessF.rb +3 -3
- data/lib/Ice/Properties.rb +3 -3
- data/lib/Ice/PropertiesAdmin.rb +3 -3
- data/lib/Ice/PropertiesF.rb +3 -3
- data/lib/Ice/RemoteLogger.rb +3 -3
- data/lib/Ice/Router.rb +3 -3
- data/lib/Ice/RouterF.rb +3 -3
- data/lib/Ice/SliceChecksumDict.rb +3 -3
- data/lib/Ice/Version.rb +3 -3
- data/lib/IceBox.rb +1 -1
- data/lib/IceBox/IceBox.rb +3 -3
- data/lib/IceGrid.rb +1 -1
- data/lib/IceGrid/Admin.rb +3 -3
- data/lib/IceGrid/Descriptor.rb +3 -3
- data/lib/IceGrid/Exception.rb +3 -3
- data/lib/IceGrid/FileParser.rb +3 -3
- data/lib/IceGrid/Locator.rb +3 -3
- data/lib/IceGrid/Observer.rb +3 -3
- data/lib/IceGrid/Query.rb +3 -3
- data/lib/IceGrid/Registry.rb +3 -3
- data/lib/IceGrid/Session.rb +3 -3
- data/lib/IceGrid/UserAccountMapper.rb +3 -3
- data/lib/IcePatch2.rb +1 -1
- data/lib/IcePatch2/FileInfo.rb +3 -3
- data/lib/IcePatch2/FileServer.rb +3 -3
- data/lib/IceRuby.so +0 -0
- data/lib/IceStorm.rb +1 -1
- data/lib/IceStorm/IceStorm.rb +3 -3
- data/lib/IceStorm/Metrics.rb +3 -3
- data/slice/Freeze/BackgroundSaveEvictor.ice +1 -1
- data/slice/Freeze/CatalogData.ice +1 -1
- data/slice/Freeze/Connection.ice +12 -2
- data/slice/Freeze/ConnectionF.ice +1 -1
- data/slice/Freeze/DB.ice +1 -1
- data/slice/Freeze/Evictor.ice +8 -1
- data/slice/Freeze/EvictorF.ice +1 -1
- data/slice/Freeze/EvictorStorage.ice +1 -1
- data/slice/Freeze/Exception.ice +1 -1
- data/slice/Freeze/Transaction.ice +2 -1
- data/slice/Freeze/TransactionalEvictor.ice +1 -1
- data/slice/Glacier2/Metrics.ice +1 -1
- data/slice/Glacier2/PermissionsVerifier.ice +1 -1
- data/slice/Glacier2/PermissionsVerifierF.ice +1 -1
- data/slice/Glacier2/Router.ice +1 -1
- data/slice/Glacier2/RouterF.ice +1 -1
- data/slice/Glacier2/SSLInfo.ice +1 -1
- data/slice/Glacier2/Session.ice +1 -1
- data/slice/Ice/BuiltinSequences.ice +1 -1
- data/slice/Ice/Communicator.ice +50 -55
- data/slice/Ice/CommunicatorF.ice +1 -1
- data/slice/Ice/Connection.ice +34 -3
- data/slice/Ice/ConnectionF.ice +1 -1
- data/slice/Ice/Current.ice +4 -5
- data/slice/Ice/Endpoint.ice +6 -3
- data/slice/Ice/EndpointF.ice +1 -1
- data/slice/Ice/EndpointTypes.ice +1 -1
- data/slice/Ice/FacetMap.ice +1 -1
- data/slice/Ice/Identity.ice +1 -1
- data/slice/Ice/ImplicitContext.ice +5 -4
- data/slice/Ice/ImplicitContextF.ice +1 -1
- data/slice/Ice/Instrumentation.ice +1 -1
- data/slice/Ice/InstrumentationF.ice +1 -1
- data/slice/Ice/LocalException.ice +3 -4
- data/slice/Ice/Locator.ice +4 -4
- data/slice/Ice/LocatorF.ice +1 -1
- data/slice/Ice/Logger.ice +4 -1
- data/slice/Ice/LoggerF.ice +1 -1
- data/slice/Ice/Metrics.ice +1 -1
- data/slice/Ice/ObjectAdapter.ice +1 -1
- data/slice/Ice/ObjectAdapterF.ice +1 -1
- data/slice/Ice/ObjectFactory.ice +3 -3
- data/slice/Ice/ObjectFactoryF.ice +1 -1
- data/slice/Ice/Plugin.ice +1 -1
- data/slice/Ice/PluginF.ice +1 -1
- data/slice/Ice/Process.ice +2 -3
- data/slice/Ice/ProcessF.ice +1 -1
- data/slice/Ice/Properties.ice +1 -1
- data/slice/Ice/PropertiesAdmin.ice +1 -1
- data/slice/Ice/PropertiesF.ice +1 -1
- data/slice/Ice/RemoteLogger.ice +11 -23
- data/slice/Ice/Router.ice +1 -1
- data/slice/Ice/RouterF.ice +1 -1
- data/slice/Ice/ServantLocator.ice +10 -4
- data/slice/Ice/ServantLocatorF.ice +1 -1
- data/slice/Ice/SliceChecksumDict.ice +1 -1
- data/slice/Ice/Version.ice +1 -1
- data/slice/IceBox/IceBox.ice +8 -5
- data/slice/IceDiscovery/IceDiscovery.ice +1 -1
- data/slice/IceGrid/Admin.ice +13 -2
- data/slice/IceGrid/Descriptor.ice +1 -1
- data/slice/IceGrid/Exception.ice +1 -1
- data/slice/IceGrid/FileParser.ice +1 -1
- data/slice/IceGrid/Locator.ice +1 -1
- data/slice/IceGrid/Observer.ice +1 -1
- data/slice/IceGrid/PluginFacade.ice +4 -1
- data/slice/IceGrid/Query.ice +1 -1
- data/slice/IceGrid/Registry.ice +1 -1
- data/slice/IceGrid/Session.ice +1 -3
- data/slice/IceGrid/UserAccountMapper.ice +1 -1
- data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +1 -1
- data/slice/IcePatch2/FileInfo.ice +1 -1
- data/slice/IcePatch2/FileServer.ice +1 -1
- data/slice/IceSSL/ConnectionInfo.ice +1 -1
- data/slice/IceSSL/EndpointInfo.ice +1 -1
- data/slice/IceStorm/IceStorm.ice +5 -7
- data/slice/IceStorm/Metrics.ice +1 -1
- metadata +3 -4
data/slice/Glacier2/Session.ice
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
data/slice/Ice/Communicator.ice
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
@@ -67,14 +67,13 @@ local interface Communicator
|
|
67
67
|
/**
|
68
68
|
*
|
69
69
|
* Shuts down this communicator's server functionality, which
|
70
|
-
* includes the deactivation of all object adapters.
|
71
|
-
* a deactivated object adapter raise
|
72
|
-
* Subsequent calls to
|
73
|
-
*
|
74
|
-
*
|
75
|
-
*
|
76
|
-
* {@link #
|
77
|
-
* {@link #waitForShutdown} to wait for the completion of all
|
70
|
+
* includes the deactivation of all object adapters. Attempts to use
|
71
|
+
* a deactivated object adapter raise ObjectAdapterDeactivatedException.
|
72
|
+
* Subsequent calls to shutdown are ignored.
|
73
|
+
*
|
74
|
+
* After shutdown returns, no new requests are processed. However, requests
|
75
|
+
* that have been started before shutdown was called might still be active.
|
76
|
+
* You can use {@link #waitForShutdown} to wait for the completion of all
|
78
77
|
* requests.
|
79
78
|
*
|
80
79
|
* @see #destroy
|
@@ -92,12 +91,11 @@ local interface Communicator
|
|
92
91
|
* On the client side, the operation simply block until another
|
93
92
|
* thread has called {@link #shutdown} or {@link #destroy}.
|
94
93
|
*
|
95
|
-
*
|
96
|
-
*
|
97
|
-
*
|
98
|
-
*
|
99
|
-
*
|
100
|
-
* exits the application.
|
94
|
+
* A typical use of this operation is to call it from the main thread,
|
95
|
+
* which then waits until some other thread calls {@link #shutdown}.
|
96
|
+
* After shut-down is complete, the main thread returns and can do some
|
97
|
+
* cleanup work before it finally calls {@link #destroy} to shut down
|
98
|
+
* the client functionality, and then exits the application.
|
101
99
|
*
|
102
100
|
* @see #shutdown
|
103
101
|
* @see #destroy
|
@@ -125,10 +123,9 @@ local interface Communicator
|
|
125
123
|
* having an identity with a name "MyObject" and a category
|
126
124
|
* "MyCategory", with the server running on host "some_host", port
|
127
125
|
* 10000. If the stringified proxy does not parse correctly, the
|
128
|
-
* operation throws one of
|
129
|
-
*
|
130
|
-
*
|
131
|
-
* of the syntax supported by stringified proxies.
|
126
|
+
* operation throws one of ProxyParseException, EndpointParseException,
|
127
|
+
* or IdentityParseException. Refer to the Ice manual for a detailed
|
128
|
+
* description of the syntax supported by stringified proxies.
|
132
129
|
*
|
133
130
|
* @param str The stringified proxy to convert into a proxy.
|
134
131
|
*
|
@@ -161,7 +158,7 @@ local interface Communicator
|
|
161
158
|
* <tt>MyProxy=id:tcp -h localhost -p 10000</tt>. Additional
|
162
159
|
* properties configure local settings for the proxy, such as
|
163
160
|
* <tt>MyProxy.PreferSecure=1</tt>. The "Properties"
|
164
|
-
*
|
161
|
+
* section in the Ice manual describes each of the supported
|
165
162
|
* proxy properties.
|
166
163
|
*
|
167
164
|
* @param property The base property name.
|
@@ -187,7 +184,7 @@ local interface Communicator
|
|
187
184
|
/**
|
188
185
|
*
|
189
186
|
* Convert a string into an identity. If the string does not parse
|
190
|
-
* correctly, the operation throws
|
187
|
+
* correctly, the operation throws IdentityParseException.
|
191
188
|
*
|
192
189
|
* @param str The string to convert into an identity.
|
193
190
|
*
|
@@ -214,15 +211,15 @@ local interface Communicator
|
|
214
211
|
/**
|
215
212
|
*
|
216
213
|
* Create a new object adapter. The endpoints for the object
|
217
|
-
* adapter are taken from the property <tt><em>name</em>.Endpoints</tt
|
214
|
+
* adapter are taken from the property <tt><em>name</em>.Endpoints</tt>.
|
218
215
|
*
|
219
|
-
*
|
216
|
+
* It is legal to create an object adapter with the empty string as
|
220
217
|
* its name. Such an object adapter is accessible via bidirectional
|
221
218
|
* connections or by collocated invocations that originate from the
|
222
|
-
* same communicator as is used by the adapter
|
219
|
+
* same communicator as is used by the adapter.
|
223
220
|
*
|
224
|
-
*
|
225
|
-
* can be found raise
|
221
|
+
* Attempts to create a named object adapter for which no configuration
|
222
|
+
* can be found raise InitializationException.
|
226
223
|
*
|
227
224
|
* @param name The object adapter name.
|
228
225
|
*
|
@@ -240,9 +237,9 @@ local interface Communicator
|
|
240
237
|
* Create a new object adapter with endpoints. This operation sets
|
241
238
|
* the property <tt><em>name</em>.Endpoints</tt>,
|
242
239
|
* and then calls {@link #createObjectAdapter}. It is provided as a
|
243
|
-
* convenience function
|
240
|
+
* convenience function.
|
244
241
|
*
|
245
|
-
*
|
242
|
+
* Calling this operation with an empty name will result in a
|
246
243
|
* UUID being generated for the name.
|
247
244
|
*
|
248
245
|
* @param name The object adapter name.
|
@@ -261,9 +258,9 @@ local interface Communicator
|
|
261
258
|
/**
|
262
259
|
*
|
263
260
|
* Create a new object adapter with a router. This operation
|
264
|
-
* creates a routed object adapter
|
261
|
+
* creates a routed object adapter.
|
265
262
|
*
|
266
|
-
*
|
263
|
+
* Calling this operation with an empty name will result in a
|
267
264
|
* UUID being generated for the name.
|
268
265
|
*
|
269
266
|
* @param name The object adapter name.
|
@@ -281,27 +278,26 @@ local interface Communicator
|
|
281
278
|
|
282
279
|
/**
|
283
280
|
*
|
284
|
-
*
|
281
|
+
* Add an object factory to this communicator. Installing a
|
285
282
|
* factory with an id for which a factory is already registered
|
286
|
-
* throws
|
283
|
+
* throws AlreadyRegisteredException.
|
287
284
|
*
|
288
|
-
*
|
285
|
+
* When unmarshaling an Ice object, the Ice run time reads the
|
289
286
|
* most-derived type id off the wire and attempts to create an
|
290
287
|
* instance of the type using a factory. If no instance is created,
|
291
288
|
* either because no factory was found, or because all factories
|
292
289
|
* returned nil, the behavior of the Ice run time depends on the
|
293
|
-
* format with which the object was marshaled
|
290
|
+
* format with which the object was marshaled:
|
294
291
|
*
|
295
|
-
*
|
292
|
+
* If the object uses the "sliced" format, Ice ascends the class
|
296
293
|
* hierarchy until it finds a type that is recognized by a factory,
|
297
294
|
* or it reaches the least-derived type. If no factory is found that
|
298
|
-
* can create an instance, the run time throws
|
299
|
-
* {@link NoObjectFactoryException}.</p>
|
295
|
+
* can create an instance, the run time throws NoObjectFactoryException.
|
300
296
|
*
|
301
|
-
*
|
302
|
-
*
|
297
|
+
* If the object uses the "compact" format, Ice immediately raises
|
298
|
+
* NoObjectFactoryException.
|
303
299
|
*
|
304
|
-
*
|
300
|
+
* The following order is used to locate a factory for a type:
|
305
301
|
*
|
306
302
|
* <ol>
|
307
303
|
*
|
@@ -404,9 +400,9 @@ local interface Communicator
|
|
404
400
|
* Set a default router for this communicator. All newly
|
405
401
|
* created proxies will use this default router. To disable the
|
406
402
|
* default router, null can be used. Note that this
|
407
|
-
* operation has no effect on existing proxies
|
403
|
+
* operation has no effect on existing proxies.
|
408
404
|
*
|
409
|
-
*
|
405
|
+
* You can also set a router for an individual proxy
|
410
406
|
* by calling the operation <tt>ice_router</tt> on the proxy.
|
411
407
|
*
|
412
408
|
* @param rtr The default router to use for this communicator.
|
@@ -436,12 +432,11 @@ local interface Communicator
|
|
436
432
|
* created proxy and object adapters will use this default
|
437
433
|
* locator. To disable the default locator, null can be used.
|
438
434
|
* Note that this operation has no effect on existing proxies or
|
439
|
-
* object adapters
|
435
|
+
* object adapters.
|
440
436
|
*
|
441
|
-
*
|
442
|
-
*
|
443
|
-
*
|
444
|
-
* on the object adapter.
|
437
|
+
* You can also set a locator for an individual proxy by calling the
|
438
|
+
* operation <tt>ice_locator</tt> on the proxy, or for an object adapter
|
439
|
+
* by calling {@link ObjectAdapter#setLocator} on the object adapter.
|
445
440
|
*
|
446
441
|
* @param loc The default locator to use for this communicator.
|
447
442
|
*
|
@@ -479,7 +474,7 @@ local interface Communicator
|
|
479
474
|
* If Ice.Admin.ServerId is set and the provided object adapter has a {@link Locator},
|
480
475
|
* createAdmin registers the Admin's Process facet with the {@link Locator}'s {@link LocatorRegistry}.
|
481
476
|
*
|
482
|
-
*
|
477
|
+
* createAdmin call only be called once; subsequent calls raise InitializationException.
|
483
478
|
*
|
484
479
|
* @param adminAdapter The object adapter used to host the Admin object; if null and
|
485
480
|
* Ice.Admin.Endpoints is set, create, activate and use the Ice.Admin object adapter.
|
@@ -489,7 +484,7 @@ local interface Communicator
|
|
489
484
|
* @return A proxy to the main ("") facet of the Admin object. Never returns a null proxy.
|
490
485
|
*
|
491
486
|
* @see #getAdmin
|
492
|
-
* @see LocatorRegistry
|
487
|
+
* @see LocatorRegistry
|
493
488
|
*
|
494
489
|
**/
|
495
490
|
Object* createAdmin(ObjectAdapter adminAdapter, Identity adminId);
|
@@ -500,11 +495,11 @@ local interface Communicator
|
|
500
495
|
*
|
501
496
|
* getAdmin also creates the Admin object and creates and activates the Ice.Admin object
|
502
497
|
* adapter to host this Admin object if Ice.Admin.Enpoints is set. The identity of the Admin
|
503
|
-
* object created by getAdmin is
|
498
|
+
* object created by getAdmin is {value of Ice.Admin.InstanceName}/admin, or {UUID}/admin
|
504
499
|
* when Ice.Admin.InstanceName is not set.
|
505
500
|
*
|
506
|
-
*
|
507
|
-
* initialization, after initialization of all plugins
|
501
|
+
* If Ice.Admin.DelayCreation is 0 or not set, getAdmin is called by the communicator
|
502
|
+
* initialization, after initialization of all plugins.
|
508
503
|
|
509
504
|
* @return A proxy to the main ("") facet of the Admin object, or a null proxy if no
|
510
505
|
* Admin object is configured.
|
@@ -517,7 +512,7 @@ local interface Communicator
|
|
517
512
|
*
|
518
513
|
* Add a new facet to the Admin object.
|
519
514
|
* Adding a servant with a facet that is already registered
|
520
|
-
* throws
|
515
|
+
* throws AlreadyRegisteredException.
|
521
516
|
*
|
522
517
|
* @param servant The servant that implements the new Admin facet.
|
523
518
|
* @param facet The name of the new Admin facet.
|
@@ -528,8 +523,8 @@ local interface Communicator
|
|
528
523
|
/**
|
529
524
|
*
|
530
525
|
* Remove the following facet to the Admin object.
|
531
|
-
* Removing a facet that was not previously registered
|
532
|
-
*
|
526
|
+
* Removing a facet that was not previously registered
|
527
|
+
* throws NotRegisteredException.
|
533
528
|
*
|
534
529
|
* @param facet The name of the Admin facet.
|
535
530
|
* @return The servant associated with this Admin facet.
|
data/slice/Ice/CommunicatorF.ice
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
data/slice/Ice/Connection.ice
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
// **********************************************************************
|
3
3
|
//
|
4
|
-
// Copyright (c) 2003-
|
4
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
5
5
|
//
|
6
6
|
// This copy of Ice is licensed to you under the terms described in the
|
7
7
|
// ICE_LICENSE file included in this distribution.
|
@@ -80,6 +80,8 @@ local interface ConnectionCallback
|
|
80
80
|
* This method is called by the the connection when a heartbeat is
|
81
81
|
* received from the peer.
|
82
82
|
*
|
83
|
+
* @param con The connection on which a heartbeat was received.
|
84
|
+
*
|
83
85
|
**/
|
84
86
|
void heartbeat(Connection con);
|
85
87
|
|
@@ -88,31 +90,60 @@ local interface ConnectionCallback
|
|
88
90
|
* This method is called by the the connection when the connection
|
89
91
|
* is closed.
|
90
92
|
*
|
93
|
+
* @param con The connection that closed.
|
94
|
+
*
|
91
95
|
**/
|
92
96
|
void closed(Connection con);
|
93
97
|
};
|
94
98
|
|
99
|
+
/**
|
100
|
+
* Specifies the close semantics for Active Connection Management.
|
101
|
+
*/
|
95
102
|
local enum ACMClose
|
96
103
|
{
|
104
|
+
/** Disables automatic connection closure. */
|
97
105
|
CloseOff,
|
106
|
+
/** Gracefully closes a connection that has been idle for the configured timeout period. */
|
98
107
|
CloseOnIdle,
|
108
|
+
/**
|
109
|
+
* Forcefully closes a connection that has been idle for the configured timeout period,
|
110
|
+
* but only if the connection has pending invocations.
|
111
|
+
*/
|
99
112
|
CloseOnInvocation,
|
113
|
+
/** Combines the behaviors of CloseOnIdle and CloseOnInvocation. */
|
100
114
|
CloseOnInvocationAndIdle,
|
115
|
+
/**
|
116
|
+
* Forcefully closes a connection that has been idle for the configured timeout period,
|
117
|
+
* regardless of whether the connection has pending invocations or dispatch.
|
118
|
+
*/
|
101
119
|
CloseOnIdleForceful
|
102
120
|
};
|
103
121
|
|
122
|
+
/**
|
123
|
+
* Specifies the heartbeat semantics for Active Connection Management.
|
124
|
+
*/
|
104
125
|
local enum ACMHeartbeat
|
105
126
|
{
|
127
|
+
/** Disables heartbeats. */
|
106
128
|
HeartbeatOff,
|
129
|
+
/** Send a heartbeat at regular intervals if the connection is idle and only if there are pending dispatch. */
|
107
130
|
HeartbeatOnInvocation,
|
131
|
+
/** Send a heartbeat at regular intervals when the connection is idle. */
|
108
132
|
HeartbeatOnIdle,
|
133
|
+
/** Send a heartbeat at regular intervals until the connection is closed. */
|
109
134
|
HeartbeatAlways
|
110
135
|
};
|
111
136
|
|
137
|
+
/**
|
138
|
+
* A collection of Active Connection Management configuration settings.
|
139
|
+
*/
|
112
140
|
local struct ACM
|
113
141
|
{
|
142
|
+
/** A timeout value in seconds. */
|
114
143
|
int timeout;
|
144
|
+
/** The close semantics. */
|
115
145
|
ACMClose close;
|
146
|
+
/** The heartbeat semantics. */
|
116
147
|
ACMHeartbeat heartbeat;
|
117
148
|
};
|
118
149
|
|
@@ -222,7 +253,7 @@ local interface Connection
|
|
222
253
|
*
|
223
254
|
* Set the active connection management parameters.
|
224
255
|
*
|
225
|
-
* @param timeout The timeout value in
|
256
|
+
* @param timeout The timeout value in seconds.
|
226
257
|
*
|
227
258
|
* @param close The close condition
|
228
259
|
*
|
@@ -280,7 +311,6 @@ local interface Connection
|
|
280
311
|
**/
|
281
312
|
["cpp:const"] ConnectionInfo getInfo();
|
282
313
|
|
283
|
-
|
284
314
|
/**
|
285
315
|
*
|
286
316
|
* Set the connectiion buffer receive/send size.
|
@@ -335,6 +365,7 @@ local class UDPConnectionInfo extends IPConnectionInfo
|
|
335
365
|
int mcastPort = -1;
|
336
366
|
};
|
337
367
|
|
368
|
+
/** A collection of HTTP headers. */
|
338
369
|
dictionary<string, string> HeaderDict;
|
339
370
|
|
340
371
|
/**
|
data/slice/Ice/ConnectionF.ice
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
data/slice/Ice/Current.ice
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
@@ -32,8 +32,7 @@ dictionary<string, string> Context;
|
|
32
32
|
|
33
33
|
/**
|
34
34
|
*
|
35
|
-
*
|
36
|
-
* invocation in case of a (potentially) recoverable error.
|
35
|
+
* Determines the retry behavior of an invocation in case of a (potentially) recoverable error.
|
37
36
|
*
|
38
37
|
**/
|
39
38
|
//
|
@@ -60,7 +59,7 @@ enum OperationMode
|
|
60
59
|
* the failure to the application only if the second attempt
|
61
60
|
* fails.
|
62
61
|
*
|
63
|
-
* <
|
62
|
+
* <tt>Nonmutating</tt> is deprecated; Use the
|
64
63
|
* <tt>idempotent</tt> keyword instead. For C++, to retain the mapping
|
65
64
|
* of <tt>nonmutating</tt> operations to C++ <tt>const</tt>
|
66
65
|
* member functions, use the <tt>\["cpp:const"]</tt> metadata
|
@@ -154,7 +153,7 @@ local struct Current
|
|
154
153
|
* The encoding version used to encode the input and output parameters.
|
155
154
|
*
|
156
155
|
**/
|
157
|
-
|
156
|
+
EncodingVersion encoding;
|
158
157
|
};
|
159
158
|
|
160
159
|
};
|
data/slice/Ice/Endpoint.ice
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
// **********************************************************************
|
2
2
|
//
|
3
|
-
// Copyright (c) 2003-
|
3
|
+
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
|
4
4
|
//
|
5
5
|
// This copy of Ice is licensed to you under the terms described in the
|
6
6
|
// ICE_LICENSE file included in this distribution.
|
@@ -81,6 +81,7 @@ local class EndpointInfo
|
|
81
81
|
*
|
82
82
|
* Returns the type of the endpoint.
|
83
83
|
*
|
84
|
+
* @return The endpoint type.
|
84
85
|
**/
|
85
86
|
["cpp:const"] short type();
|
86
87
|
|
@@ -88,6 +89,7 @@ local class EndpointInfo
|
|
88
89
|
*
|
89
90
|
* Returns true if this endpoint is a datagram endpoint.
|
90
91
|
*
|
92
|
+
* @return True for a datagram endpoint.
|
91
93
|
**/
|
92
94
|
["cpp:const"] bool datagram();
|
93
95
|
|
@@ -95,6 +97,7 @@ local class EndpointInfo
|
|
95
97
|
*
|
96
98
|
* Returns true if this endpoint is a secure endpoint.
|
97
99
|
*
|
100
|
+
* @return True for a secure endpoint.
|
98
101
|
**/
|
99
102
|
["cpp:const"] bool secure();
|
100
103
|
};
|
@@ -221,14 +224,14 @@ local class OpaqueEndpointInfo extends EndpointInfo
|
|
221
224
|
* encode the rawBytes).
|
222
225
|
*
|
223
226
|
**/
|
224
|
-
|
227
|
+
EncodingVersion rawEncoding;
|
225
228
|
|
226
229
|
/**
|
227
230
|
*
|
228
231
|
* The raw encoding of the opaque endpoint.
|
229
232
|
*
|
230
233
|
**/
|
231
|
-
|
234
|
+
ByteSeq rawBytes;
|
232
235
|
};
|
233
236
|
|
234
237
|
};
|