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.
Files changed (147) hide show
  1. checksums.yaml +5 -5
  2. data/ICE_LICENSE +1 -1
  3. data/bin/slice2rb +1 -1
  4. data/ice-x86-mingw.gemspec +1 -1
  5. data/lib/Glacier2.rb +1 -1
  6. data/lib/Glacier2/Metrics.rb +3 -3
  7. data/lib/Glacier2/PermissionsVerifier.rb +3 -3
  8. data/lib/Glacier2/PermissionsVerifierF.rb +3 -3
  9. data/lib/Glacier2/Router.rb +3 -3
  10. data/lib/Glacier2/RouterF.rb +3 -3
  11. data/lib/Glacier2/SSLInfo.rb +3 -3
  12. data/lib/Glacier2/Session.rb +3 -3
  13. data/lib/Ice.rb +1 -1
  14. data/lib/Ice/BuiltinSequences.rb +3 -3
  15. data/lib/Ice/Communicator.rb +3 -3
  16. data/lib/Ice/CommunicatorF.rb +3 -3
  17. data/lib/Ice/Connection.rb +3 -3
  18. data/lib/Ice/ConnectionF.rb +3 -3
  19. data/lib/Ice/Current.rb +3 -3
  20. data/lib/Ice/Endpoint.rb +3 -3
  21. data/lib/Ice/EndpointF.rb +3 -3
  22. data/lib/Ice/EndpointTypes.rb +3 -3
  23. data/lib/Ice/FacetMap.rb +3 -3
  24. data/lib/Ice/Identity.rb +3 -3
  25. data/lib/Ice/ImplicitContext.rb +3 -3
  26. data/lib/Ice/ImplicitContextF.rb +3 -3
  27. data/lib/Ice/Instrumentation.rb +3 -3
  28. data/lib/Ice/InstrumentationF.rb +3 -3
  29. data/lib/Ice/LocalException.rb +3 -3
  30. data/lib/Ice/Locator.rb +3 -3
  31. data/lib/Ice/LocatorF.rb +3 -3
  32. data/lib/Ice/Logger.rb +3 -3
  33. data/lib/Ice/LoggerF.rb +3 -3
  34. data/lib/Ice/Metrics.rb +3 -3
  35. data/lib/Ice/ObjectAdapterF.rb +3 -3
  36. data/lib/Ice/ObjectFactory.rb +3 -3
  37. data/lib/Ice/ObjectFactoryF.rb +3 -3
  38. data/lib/Ice/Plugin.rb +3 -3
  39. data/lib/Ice/PluginF.rb +3 -3
  40. data/lib/Ice/Process.rb +3 -3
  41. data/lib/Ice/ProcessF.rb +3 -3
  42. data/lib/Ice/Properties.rb +3 -3
  43. data/lib/Ice/PropertiesAdmin.rb +3 -3
  44. data/lib/Ice/PropertiesF.rb +3 -3
  45. data/lib/Ice/RemoteLogger.rb +3 -3
  46. data/lib/Ice/Router.rb +3 -3
  47. data/lib/Ice/RouterF.rb +3 -3
  48. data/lib/Ice/SliceChecksumDict.rb +3 -3
  49. data/lib/Ice/Version.rb +3 -3
  50. data/lib/IceBox.rb +1 -1
  51. data/lib/IceBox/IceBox.rb +3 -3
  52. data/lib/IceGrid.rb +1 -1
  53. data/lib/IceGrid/Admin.rb +3 -3
  54. data/lib/IceGrid/Descriptor.rb +3 -3
  55. data/lib/IceGrid/Exception.rb +3 -3
  56. data/lib/IceGrid/FileParser.rb +3 -3
  57. data/lib/IceGrid/Locator.rb +3 -3
  58. data/lib/IceGrid/Observer.rb +3 -3
  59. data/lib/IceGrid/Query.rb +3 -3
  60. data/lib/IceGrid/Registry.rb +3 -3
  61. data/lib/IceGrid/Session.rb +3 -3
  62. data/lib/IceGrid/UserAccountMapper.rb +3 -3
  63. data/lib/IcePatch2.rb +1 -1
  64. data/lib/IcePatch2/FileInfo.rb +3 -3
  65. data/lib/IcePatch2/FileServer.rb +3 -3
  66. data/lib/IceRuby.so +0 -0
  67. data/lib/IceStorm.rb +1 -1
  68. data/lib/IceStorm/IceStorm.rb +3 -3
  69. data/lib/IceStorm/Metrics.rb +3 -3
  70. data/slice/Freeze/BackgroundSaveEvictor.ice +1 -1
  71. data/slice/Freeze/CatalogData.ice +1 -1
  72. data/slice/Freeze/Connection.ice +12 -2
  73. data/slice/Freeze/ConnectionF.ice +1 -1
  74. data/slice/Freeze/DB.ice +1 -1
  75. data/slice/Freeze/Evictor.ice +8 -1
  76. data/slice/Freeze/EvictorF.ice +1 -1
  77. data/slice/Freeze/EvictorStorage.ice +1 -1
  78. data/slice/Freeze/Exception.ice +1 -1
  79. data/slice/Freeze/Transaction.ice +2 -1
  80. data/slice/Freeze/TransactionalEvictor.ice +1 -1
  81. data/slice/Glacier2/Metrics.ice +1 -1
  82. data/slice/Glacier2/PermissionsVerifier.ice +1 -1
  83. data/slice/Glacier2/PermissionsVerifierF.ice +1 -1
  84. data/slice/Glacier2/Router.ice +1 -1
  85. data/slice/Glacier2/RouterF.ice +1 -1
  86. data/slice/Glacier2/SSLInfo.ice +1 -1
  87. data/slice/Glacier2/Session.ice +1 -1
  88. data/slice/Ice/BuiltinSequences.ice +1 -1
  89. data/slice/Ice/Communicator.ice +50 -55
  90. data/slice/Ice/CommunicatorF.ice +1 -1
  91. data/slice/Ice/Connection.ice +34 -3
  92. data/slice/Ice/ConnectionF.ice +1 -1
  93. data/slice/Ice/Current.ice +4 -5
  94. data/slice/Ice/Endpoint.ice +6 -3
  95. data/slice/Ice/EndpointF.ice +1 -1
  96. data/slice/Ice/EndpointTypes.ice +1 -1
  97. data/slice/Ice/FacetMap.ice +1 -1
  98. data/slice/Ice/Identity.ice +1 -1
  99. data/slice/Ice/ImplicitContext.ice +5 -4
  100. data/slice/Ice/ImplicitContextF.ice +1 -1
  101. data/slice/Ice/Instrumentation.ice +1 -1
  102. data/slice/Ice/InstrumentationF.ice +1 -1
  103. data/slice/Ice/LocalException.ice +3 -4
  104. data/slice/Ice/Locator.ice +4 -4
  105. data/slice/Ice/LocatorF.ice +1 -1
  106. data/slice/Ice/Logger.ice +4 -1
  107. data/slice/Ice/LoggerF.ice +1 -1
  108. data/slice/Ice/Metrics.ice +1 -1
  109. data/slice/Ice/ObjectAdapter.ice +1 -1
  110. data/slice/Ice/ObjectAdapterF.ice +1 -1
  111. data/slice/Ice/ObjectFactory.ice +3 -3
  112. data/slice/Ice/ObjectFactoryF.ice +1 -1
  113. data/slice/Ice/Plugin.ice +1 -1
  114. data/slice/Ice/PluginF.ice +1 -1
  115. data/slice/Ice/Process.ice +2 -3
  116. data/slice/Ice/ProcessF.ice +1 -1
  117. data/slice/Ice/Properties.ice +1 -1
  118. data/slice/Ice/PropertiesAdmin.ice +1 -1
  119. data/slice/Ice/PropertiesF.ice +1 -1
  120. data/slice/Ice/RemoteLogger.ice +11 -23
  121. data/slice/Ice/Router.ice +1 -1
  122. data/slice/Ice/RouterF.ice +1 -1
  123. data/slice/Ice/ServantLocator.ice +10 -4
  124. data/slice/Ice/ServantLocatorF.ice +1 -1
  125. data/slice/Ice/SliceChecksumDict.ice +1 -1
  126. data/slice/Ice/Version.ice +1 -1
  127. data/slice/IceBox/IceBox.ice +8 -5
  128. data/slice/IceDiscovery/IceDiscovery.ice +1 -1
  129. data/slice/IceGrid/Admin.ice +13 -2
  130. data/slice/IceGrid/Descriptor.ice +1 -1
  131. data/slice/IceGrid/Exception.ice +1 -1
  132. data/slice/IceGrid/FileParser.ice +1 -1
  133. data/slice/IceGrid/Locator.ice +1 -1
  134. data/slice/IceGrid/Observer.ice +1 -1
  135. data/slice/IceGrid/PluginFacade.ice +4 -1
  136. data/slice/IceGrid/Query.ice +1 -1
  137. data/slice/IceGrid/Registry.ice +1 -1
  138. data/slice/IceGrid/Session.ice +1 -3
  139. data/slice/IceGrid/UserAccountMapper.ice +1 -1
  140. data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +1 -1
  141. data/slice/IcePatch2/FileInfo.ice +1 -1
  142. data/slice/IcePatch2/FileServer.ice +1 -1
  143. data/slice/IceSSL/ConnectionInfo.ice +1 -1
  144. data/slice/IceSSL/EndpointInfo.ice +1 -1
  145. data/slice/IceStorm/IceStorm.ice +5 -7
  146. data/slice/IceStorm/Metrics.ice +1 -1
  147. metadata +3 -4
@@ -1,6 +1,6 @@
1
1
  // **********************************************************************
2
2
  //
3
- // Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
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-2017 ZeroC, Inc. All rights reserved.
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-2017 ZeroC, Inc. All rights reserved.
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. (Attempts to use
71
- * a deactivated object adapter raise {@link ObjectAdapterDeactivatedException}.)
72
- * Subsequent calls to {@link #shutdown} are ignored.</p>
73
- *
74
- * <p class="Note"> After {@link #shutdown} returns, no new requests are
75
- * processed. However, requests that have been started before
76
- * {@link #shutdown} was called might still be active. You can use
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
- * <p>A typical use of this operation is to call it
96
- * from the main thread, which then waits until some other thread
97
- * calls {@link #shutdown}. After shut-down is complete, the main thread
98
- * returns and can do some cleanup work before it finally calls
99
- * {@link #destroy} to shut down the client functionality, and then
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 {@link ProxyParseException},
129
- * {@link EndpointParseException}, or {@link IdentityParseException}.
130
- * An appendix in the Ice manual provides a detailed description
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
- * appendix in the Ice manual describes each of the supported
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 {@link IdentityParseException}.
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>.</p>
214
+ * adapter are taken from the property <tt><em>name</em>.Endpoints</tt>.
218
215
  *
219
- * <p>It is legal to create an object adapter with the empty string as
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.</p>
219
+ * same communicator as is used by the adapter.
223
220
  *
224
- * <p>Attempts to create a named object adapter for which no configuration
225
- * can be found raise {@link InitializationException}.
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.</p>
240
+ * convenience function.
244
241
  *
245
- * <p>Calling this operation with an empty name will result in a
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.</p>
261
+ * creates a routed object adapter.
265
262
  *
266
- * <p>Calling this operation with an empty name will result in a
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
- * <p>Add an object factory to this communicator. Installing a
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 {@link AlreadyRegisteredException}.</p>
283
+ * throws AlreadyRegisteredException.
287
284
  *
288
- * <p>When unmarshaling an Ice object, the Ice run time reads the
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:</p>
290
+ * format with which the object was marshaled:
294
291
  *
295
- * <p>If the object uses the "sliced" format, Ice ascends the class
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
- * <p>If the object uses the "compact" format, Ice immediately raises
302
- * {@link NoObjectFactoryException}.</p>
297
+ * If the object uses the "compact" format, Ice immediately raises
298
+ * NoObjectFactoryException.
303
299
  *
304
- * <p>The following order is used to locate a factory for a type:</p>
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.</p>
403
+ * operation has no effect on existing proxies.
408
404
  *
409
- * <p class="Note">You can also set a router for an individual proxy
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.</p>
435
+ * object adapters.
440
436
  *
441
- * <p class="Note"> You can also set a locator for an individual proxy
442
- * by calling the operation <tt>ice_locator</tt> on the proxy, or for an
443
- * object adapter by calling the operation {@link ObjectAdapter#setLocator}
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
- * <p>createAdmin call only be called once; subsequent calls raise {@link InitializationException}.</p>
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#setServerProcessProxy
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 <value of Ice.Admin.InstanceName>/admin, or <UUID>/admin
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
- * <p>If Ice.Admin.DelayCreation is 0 or not set, getAdmin is called by the communicator
507
- * initialization, after initialization of all plugins.</p>
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 {@link AlreadyRegisteredException}.
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 throws
532
- * {@link NotRegisteredException}.
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.
@@ -1,6 +1,6 @@
1
1
  // **********************************************************************
2
2
  //
3
- // Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
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,7 +1,7 @@
1
1
 
2
2
  // **********************************************************************
3
3
  //
4
- // Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
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 milliseconds.
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
  /**
@@ -1,6 +1,6 @@
1
1
  // **********************************************************************
2
2
  //
3
- // Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
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-2017 ZeroC, Inc. All rights reserved.
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
- * The {@link OperationMode} determines the retry behavior an
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
- * <p class="Deprecated"><tt>Nonmutating</tt> is deprecated; Use the
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
- Ice::EncodingVersion encoding;
156
+ EncodingVersion encoding;
158
157
  };
159
158
 
160
159
  };
@@ -1,6 +1,6 @@
1
1
  // **********************************************************************
2
2
  //
3
- // Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
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
- Ice::EncodingVersion rawEncoding;
227
+ EncodingVersion rawEncoding;
225
228
 
226
229
  /**
227
230
  *
228
231
  * The raw encoding of the opaque endpoint.
229
232
  *
230
233
  **/
231
- Ice::ByteSeq rawBytes;
234
+ ByteSeq rawBytes;
232
235
  };
233
236
 
234
237
  };