zeroc-ice-x64-mingw 3.6b1

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 +7 -0
  2. data/ICE_LICENSE +54 -0
  3. data/LICENSE +339 -0
  4. data/bin/slice2rb +17 -0
  5. data/ice-x64-mingw.gemspec +41 -0
  6. data/lib/Glacier2.rb +12 -0
  7. data/lib/Glacier2/Metrics.rb +99 -0
  8. data/lib/Glacier2/PermissionsVerifier.rb +168 -0
  9. data/lib/Glacier2/PermissionsVerifierF.rb +34 -0
  10. data/lib/Glacier2/Router.rb +141 -0
  11. data/lib/Glacier2/RouterF.rb +29 -0
  12. data/lib/Glacier2/SSLInfo.rb +79 -0
  13. data/lib/Glacier2/Session.rb +470 -0
  14. data/lib/Ice.rb +659 -0
  15. data/lib/Ice/BuiltinSequences.rb +64 -0
  16. data/lib/Ice/Communicator.rb +93 -0
  17. data/lib/Ice/CommunicatorF.rb +28 -0
  18. data/lib/Ice/Connection.rb +414 -0
  19. data/lib/Ice/ConnectionF.rb +36 -0
  20. data/lib/Ice/Current.rb +152 -0
  21. data/lib/Ice/Endpoint.rb +265 -0
  22. data/lib/Ice/EndpointF.rb +52 -0
  23. data/lib/Ice/EndpointTypes.rb +77 -0
  24. data/lib/Ice/FacetMap.rb +28 -0
  25. data/lib/Ice/Identity.rb +70 -0
  26. data/lib/Ice/ImplicitContext.rb +59 -0
  27. data/lib/Ice/ImplicitContextF.rb +28 -0
  28. data/lib/Ice/Instrumentation.rb +425 -0
  29. data/lib/Ice/InstrumentationF.rb +35 -0
  30. data/lib/Ice/LocalException.rb +1081 -0
  31. data/lib/Ice/Locator.rb +314 -0
  32. data/lib/Ice/LocatorF.rb +34 -0
  33. data/lib/Ice/Logger.rb +57 -0
  34. data/lib/Ice/LoggerF.rb +28 -0
  35. data/lib/Ice/Metrics.rb +696 -0
  36. data/lib/Ice/ObjectAdapterF.rb +28 -0
  37. data/lib/Ice/ObjectFactory.rb +53 -0
  38. data/lib/Ice/ObjectFactoryF.rb +28 -0
  39. data/lib/Ice/Plugin.rb +87 -0
  40. data/lib/Ice/PluginF.rb +32 -0
  41. data/lib/Ice/Process.rb +93 -0
  42. data/lib/Ice/ProcessF.rb +29 -0
  43. data/lib/Ice/Properties.rb +65 -0
  44. data/lib/Ice/PropertiesAdmin.rb +104 -0
  45. data/lib/Ice/PropertiesF.rb +33 -0
  46. data/lib/Ice/Router.rb +163 -0
  47. data/lib/Ice/RouterF.rb +29 -0
  48. data/lib/Ice/SliceChecksumDict.rb +28 -0
  49. data/lib/Ice/Version.rb +100 -0
  50. data/lib/IceBox.rb +10 -0
  51. data/lib/IceBox/IceBox.rb +272 -0
  52. data/lib/IceGrid.rb +17 -0
  53. data/lib/IceGrid/Admin.rb +1076 -0
  54. data/lib/IceGrid/Descriptor.rb +1505 -0
  55. data/lib/IceGrid/Exception.rb +401 -0
  56. data/lib/IceGrid/FileParser.rb +105 -0
  57. data/lib/IceGrid/Locator.rb +105 -0
  58. data/lib/IceGrid/Observer.rb +571 -0
  59. data/lib/IceGrid/Query.rb +168 -0
  60. data/lib/IceGrid/Registry.rb +120 -0
  61. data/lib/IceGrid/Session.rb +114 -0
  62. data/lib/IceGrid/UserAccountMapper.rb +101 -0
  63. data/lib/IcePatch2.rb +10 -0
  64. data/lib/IcePatch2/FileInfo.rb +75 -0
  65. data/lib/IcePatch2/FileServer.rb +141 -0
  66. data/lib/IceRuby.so +0 -0
  67. data/lib/IceStorm.rb +11 -0
  68. data/lib/IceStorm/IceStorm.rb +463 -0
  69. data/lib/IceStorm/Metrics.rb +155 -0
  70. data/slice/Freeze/BackgroundSaveEvictor.ice +111 -0
  71. data/slice/Freeze/CatalogData.ice +49 -0
  72. data/slice/Freeze/Connection.ice +111 -0
  73. data/slice/Freeze/ConnectionF.ice +20 -0
  74. data/slice/Freeze/DB.ice +37 -0
  75. data/slice/Freeze/Evictor.ice +339 -0
  76. data/slice/Freeze/EvictorF.ice +22 -0
  77. data/slice/Freeze/EvictorStorage.ice +72 -0
  78. data/slice/Freeze/Exception.ice +100 -0
  79. data/slice/Freeze/Transaction.ice +57 -0
  80. data/slice/Freeze/TransactionalEvictor.ice +50 -0
  81. data/slice/Glacier2/Metrics.ice +77 -0
  82. data/slice/Glacier2/PermissionsVerifier.ice +105 -0
  83. data/slice/Glacier2/PermissionsVerifierF.ice +21 -0
  84. data/slice/Glacier2/Router.ice +178 -0
  85. data/slice/Glacier2/RouterF.ice +20 -0
  86. data/slice/Glacier2/SSLInfo.ice +50 -0
  87. data/slice/Glacier2/Session.ice +273 -0
  88. data/slice/Ice/BuiltinSequences.ice +48 -0
  89. data/slice/Ice/Communicator.ice +567 -0
  90. data/slice/Ice/CommunicatorF.ice +20 -0
  91. data/slice/Ice/Connection.ice +323 -0
  92. data/slice/Ice/ConnectionF.ice +22 -0
  93. data/slice/Ice/Current.ice +160 -0
  94. data/slice/Ice/Endpoint.ice +227 -0
  95. data/slice/Ice/EndpointF.ice +32 -0
  96. data/slice/Ice/EndpointTypes.ice +38 -0
  97. data/slice/Ice/FacetMap.ice +25 -0
  98. data/slice/Ice/Identity.ice +59 -0
  99. data/slice/Ice/ImplicitContext.ice +109 -0
  100. data/slice/Ice/ImplicitContextF.ice +20 -0
  101. data/slice/Ice/Instrumentation.ice +499 -0
  102. data/slice/Ice/InstrumentationF.ice +26 -0
  103. data/slice/Ice/LocalException.ice +1015 -0
  104. data/slice/Ice/Locator.ice +227 -0
  105. data/slice/Ice/LocatorF.ice +21 -0
  106. data/slice/Ice/Logger.ice +86 -0
  107. data/slice/Ice/LoggerF.ice +20 -0
  108. data/slice/Ice/Metrics.ice +422 -0
  109. data/slice/Ice/ObjectAdapter.ice +673 -0
  110. data/slice/Ice/ObjectAdapterF.ice +20 -0
  111. data/slice/Ice/ObjectFactory.ice +60 -0
  112. data/slice/Ice/ObjectFactoryF.ice +20 -0
  113. data/slice/Ice/Plugin.ice +117 -0
  114. data/slice/Ice/PluginF.ice +21 -0
  115. data/slice/Ice/Process.ice +54 -0
  116. data/slice/Ice/ProcessF.ice +20 -0
  117. data/slice/Ice/Properties.ice +228 -0
  118. data/slice/Ice/PropertiesAdmin.ice +75 -0
  119. data/slice/Ice/PropertiesF.ice +21 -0
  120. data/slice/Ice/RemoteLogger.ice +232 -0
  121. data/slice/Ice/Router.ice +83 -0
  122. data/slice/Ice/RouterF.ice +20 -0
  123. data/slice/Ice/ServantLocator.ice +117 -0
  124. data/slice/Ice/ServantLocatorF.ice +20 -0
  125. data/slice/Ice/SliceChecksumDict.ice +25 -0
  126. data/slice/Ice/Version.ice +39 -0
  127. data/slice/IceBox/IceBox.ice +194 -0
  128. data/slice/IceDiscovery/IceDiscovery.ice +32 -0
  129. data/slice/IceGrid/Admin.ice +1578 -0
  130. data/slice/IceGrid/Descriptor.ice +1079 -0
  131. data/slice/IceGrid/Discovery.ice +73 -0
  132. data/slice/IceGrid/Exception.ice +383 -0
  133. data/slice/IceGrid/FileParser.ice +61 -0
  134. data/slice/IceGrid/Locator.ice +56 -0
  135. data/slice/IceGrid/Observer.ice +394 -0
  136. data/slice/IceGrid/PluginFacade.ice +316 -0
  137. data/slice/IceGrid/Query.ice +130 -0
  138. data/slice/IceGrid/Registry.ice +138 -0
  139. data/slice/IceGrid/Session.ice +124 -0
  140. data/slice/IceGrid/UserAccountMapper.ice +58 -0
  141. data/slice/IcePatch2/FileInfo.ice +49 -0
  142. data/slice/IcePatch2/FileServer.ice +129 -0
  143. data/slice/IceSSL/ConnectionInfo.ice +34 -0
  144. data/slice/IceSSL/EndpointInfo.ice +41 -0
  145. data/slice/IceStorm/IceStorm.ice +405 -0
  146. data/slice/IceStorm/Metrics.ice +71 -0
  147. metadata +207 -0
@@ -0,0 +1,61 @@
1
+ // **********************************************************************
2
+ //
3
+ // Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
4
+ //
5
+ // This copy of Ice is licensed to you under the terms described in the
6
+ // ICE_LICENSE file included in this distribution.
7
+ //
8
+ // **********************************************************************
9
+
10
+ #pragma once
11
+
12
+ [["cpp:header-ext:h"]]
13
+ [["cpp:include:IceGrid/Config.h"]]
14
+
15
+ #include <IceGrid/Admin.ice>
16
+
17
+ module IceGrid
18
+ {
19
+
20
+ /**
21
+ *
22
+ * This exception is raised if an error occurs during parsing.
23
+ *
24
+ **/
25
+ exception ParseException
26
+ {
27
+ /** The reason for the failure. */
28
+ string reason;
29
+ };
30
+
31
+ /**
32
+ *
33
+ * <tt>icegridadmin</tt> provides a {@link FileParser}
34
+ * object to transform XML files into {@link ApplicationDescriptor}
35
+ * objects.
36
+ *
37
+ **/
38
+ interface FileParser
39
+ {
40
+
41
+ /**
42
+ *
43
+ * Parse a file.
44
+ *
45
+ * @param xmlFile Full pathname to the file.
46
+ *
47
+ * @param adminProxy An Admin proxy, used only to retrieve default
48
+ * templates when needed. May be null.
49
+ *
50
+ * @return The application descriptor.
51
+ *
52
+ * @throws ParseException Raised if an error occurred during parsing.
53
+ *
54
+ **/
55
+
56
+ idempotent ApplicationDescriptor parse(string xmlFile, Admin* adminProxy)
57
+ throws ParseException;
58
+ };
59
+
60
+ };
61
+
@@ -0,0 +1,56 @@
1
+ // **********************************************************************
2
+ //
3
+ // Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
4
+ //
5
+ // This copy of Ice is licensed to you under the terms described in the
6
+ // ICE_LICENSE file included in this distribution.
7
+ //
8
+ // **********************************************************************
9
+
10
+ #pragma once
11
+
12
+ [["cpp:header-ext:h"]]
13
+ [["cpp:include:IceGrid/Config.h"]]
14
+
15
+ #include <Ice/Locator.ice>
16
+
17
+ module IceGrid
18
+ {
19
+
20
+ interface Registry;
21
+ interface Query;
22
+
23
+ /**
24
+ *
25
+ * The IceGrid locator interface provides access to the {@link Query}
26
+ * and {@link Registry} object of the IceGrid registry.
27
+ *
28
+ * @see Query
29
+ * @see Registry
30
+ *
31
+ **/
32
+ interface Locator extends Ice::Locator
33
+ {
34
+ /**
35
+ *
36
+ * Get the proxy of the registry object hosted by this IceGrid
37
+ * registry.
38
+ *
39
+ * @return The proxy of the registry object.
40
+ *
41
+ **/
42
+ ["cpp:const"] idempotent Registry* getLocalRegistry();
43
+
44
+ /**
45
+ *
46
+ * Get the proxy of the query object hosted by this IceGrid
47
+ * registry.
48
+ *
49
+ * @return The proxy of the query object.
50
+ *
51
+ **/
52
+ ["cpp:const"] idempotent Query* getLocalQuery();
53
+ };
54
+
55
+ };
56
+
@@ -0,0 +1,394 @@
1
+ // **********************************************************************
2
+ //
3
+ // Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
4
+ //
5
+ // This copy of Ice is licensed to you under the terms described in the
6
+ // ICE_LICENSE file included in this distribution.
7
+ //
8
+ // **********************************************************************
9
+
10
+ #pragma once
11
+
12
+ [["cpp:header-ext:h"]]
13
+ [["cpp:include:IceGrid/Config.h"]]
14
+
15
+ #include <Glacier2/Session.ice>
16
+ #include <IceGrid/Exception.ice>
17
+ #include <IceGrid/Descriptor.ice>
18
+ #include <IceGrid/Admin.ice>
19
+
20
+ module IceGrid
21
+ {
22
+
23
+ /**
24
+ *
25
+ * Dynamic information about the state of a server.
26
+ *
27
+ **/
28
+ struct ServerDynamicInfo
29
+ {
30
+ /**
31
+ *
32
+ * The id of the server.
33
+ *
34
+ **/
35
+ string id;
36
+
37
+ /**
38
+ *
39
+ * The state of the server.
40
+ *
41
+ **/
42
+ ServerState state;
43
+
44
+ /**
45
+ *
46
+ * The process id of the server.
47
+ *
48
+ **/
49
+ int pid;
50
+
51
+ /**
52
+ *
53
+ * Indicates whether the server is enabled.
54
+ *
55
+ **/
56
+ bool enabled;
57
+ };
58
+
59
+ /**
60
+ *
61
+ * A sequence of server dynamic information structures.
62
+ *
63
+ **/
64
+ ["java:type:java.util.LinkedList<ServerDynamicInfo>"] sequence<ServerDynamicInfo> ServerDynamicInfoSeq;
65
+
66
+ /**
67
+ *
68
+ * Dynamic information about the state of an adapter.
69
+ *
70
+ **/
71
+ struct AdapterDynamicInfo
72
+ {
73
+ /**
74
+ *
75
+ * The id of the adapter.
76
+ *
77
+ **/
78
+ string id;
79
+
80
+ /**
81
+ *
82
+ * The direct proxy containing the adapter endpoints.
83
+ *
84
+ **/
85
+ Object* proxy;
86
+ };
87
+
88
+ /**
89
+ *
90
+ * A sequence of adapter dynamic information structures.
91
+ *
92
+ **/
93
+ ["java:type:java.util.LinkedList<AdapterDynamicInfo>"] sequence<AdapterDynamicInfo> AdapterDynamicInfoSeq;
94
+
95
+ /**
96
+ *
97
+ * Dynamic information about the state of a node.
98
+ *
99
+ **/
100
+ struct NodeDynamicInfo
101
+ {
102
+ /**
103
+ *
104
+ * Some static information about the node.
105
+ *
106
+ **/
107
+ NodeInfo info;
108
+
109
+ /**
110
+ *
111
+ * The dynamic information of the servers deployed on this node.
112
+ *
113
+ **/
114
+ ServerDynamicInfoSeq servers;
115
+
116
+ /**
117
+ *
118
+ * The dynamic information of the adapters deployed on this node.
119
+ *
120
+ **/
121
+ AdapterDynamicInfoSeq adapters;
122
+ };
123
+
124
+ /**
125
+ *
126
+ * A sequence of node dynamic information structures.
127
+ *
128
+ **/
129
+ sequence<NodeDynamicInfo> NodeDynamicInfoSeq;
130
+
131
+ /**
132
+ *
133
+ * The node observer interface. Observers should implement this
134
+ * interface to receive information about the state of the IceGrid
135
+ * nodes.
136
+ *
137
+ **/
138
+ interface NodeObserver
139
+ {
140
+ /**
141
+ *
142
+ * The <tt>nodeInit</tt> operation indicates the current state
143
+ * of nodes. It is called after the registration of an observer.
144
+ *
145
+ * @param nodes The current state of the nodes.
146
+ *
147
+ **/
148
+ void nodeInit(NodeDynamicInfoSeq nodes);
149
+
150
+ /**
151
+ *
152
+ * The <tt>nodeUp</tt> operation is called to notify an observer that a node
153
+ * came up.
154
+ *
155
+ * @param node The node state.
156
+ *
157
+ **/
158
+ void nodeUp(NodeDynamicInfo node);
159
+
160
+ /**
161
+ *
162
+ * The <tt>nodeDown</tt> operation is called to notify an observer that a node
163
+ * went down.
164
+ *
165
+ * @param name The node name.
166
+ *
167
+ **/
168
+ void nodeDown(string name);
169
+
170
+ /**
171
+ *
172
+ * The <tt>updateServer</tt> operation is called to notify an observer that
173
+ * the state of a server changed.
174
+ *
175
+ * @param node The node hosting the server.
176
+ *
177
+ * @param updatedInfo The new server state.
178
+ *
179
+ **/
180
+ void updateServer(string node, ServerDynamicInfo updatedInfo);
181
+
182
+ /**
183
+ *
184
+ * The <tt>updateAdapter</tt> operation is called to notify an observer that
185
+ * the state of an adapter changed.
186
+ *
187
+ * @param node The node hosting the adapter.
188
+ *
189
+ * @param updatedInfo The new adapter state.
190
+ *
191
+ **/
192
+ void updateAdapter(string node, AdapterDynamicInfo updatedInfo);
193
+ };
194
+
195
+ /**
196
+ *
197
+ * The database observer interface. Observers should implement this
198
+ * interface to receive information about the state of the IceGrid
199
+ * registry database.
200
+ *
201
+ **/
202
+ interface ApplicationObserver
203
+ {
204
+ /**
205
+ *
206
+ * <tt>applicationInit</tt> is called after the registration
207
+ * of an observer to indicate the state of the registry.
208
+ *
209
+ * @param serial The current serial number of the registry
210
+ * database. This serial number allows observers to make sure that
211
+ * their internal state is synchronized with the registry.
212
+ *
213
+ * @param applications The applications currently registered with
214
+ * the registry.
215
+ *
216
+ **/
217
+ void applicationInit(int serial, ApplicationInfoSeq applications);
218
+
219
+ /**
220
+ *
221
+ * The <tt>applicationAdded</tt> operation is called to notify an observer
222
+ * that an application was added.
223
+ *
224
+ * @param serial The new serial number of the registry database.
225
+ *
226
+ * @param desc The descriptor of the new application.
227
+ *
228
+ **/
229
+ void applicationAdded(int serial, ApplicationInfo desc);
230
+
231
+ /**
232
+ *
233
+ * The <tt>applicationRemoved</tt> operation is called to notify an observer
234
+ * that an application was removed.
235
+ *
236
+ * @param serial The new serial number of the registry database.
237
+ *
238
+ * @param name The name of the application that was removed.
239
+ *
240
+ **/
241
+ void applicationRemoved(int serial, string name);
242
+
243
+ /**
244
+ *
245
+ * The <tt>applicationUpdated</tt> operation is called to notify an observer
246
+ * that an application was updated.
247
+ *
248
+ * @param serial The new serial number of the registry database.
249
+ *
250
+ * @param desc The descriptor of the update.
251
+ *
252
+ **/
253
+ void applicationUpdated(int serial, ApplicationUpdateInfo desc);
254
+ };
255
+
256
+ /**
257
+ *
258
+ * This interface allows applications to monitor the state of object
259
+ * adapters that are registered with IceGrid.
260
+ *
261
+ **/
262
+ interface AdapterObserver
263
+ {
264
+ /**
265
+ *
266
+ * <tt>adapterInit</tt> is called after registration of
267
+ * an observer to indicate the state of the registry.
268
+ *
269
+ * @param adpts The adapters that were dynamically registered
270
+ * with the registry (not through the deployment mechanism).
271
+ *
272
+ **/
273
+ void adapterInit(AdapterInfoSeq adpts);
274
+
275
+ /**
276
+ *
277
+ * The <tt>adapterAdded</tt> operation is called to notify an observer when
278
+ * a dynamically-registered adapter was added.
279
+ *
280
+ * @param info The details of the new adapter.
281
+ **/
282
+ void adapterAdded(AdapterInfo info);
283
+
284
+ /**
285
+ *
286
+ * The adapterUpdated operation is called to notify an observer when
287
+ * a dynamically-registered adapter was updated.
288
+ *
289
+ * @param info The details of the updated adapter.
290
+ *
291
+ **/
292
+ void adapterUpdated(AdapterInfo info);
293
+
294
+ /**
295
+ *
296
+ * The adapterRemoved operation is called to notify an observer when
297
+ * a dynamically-registered adapter was removed.
298
+ *
299
+ * @param id The ID of the removed adapter.
300
+ *
301
+ **/
302
+ void adapterRemoved(string id);
303
+ };
304
+
305
+ /**
306
+ *
307
+ * This interface allows applications to monitor IceGrid well-known objects.
308
+ *
309
+ **/
310
+ interface ObjectObserver
311
+ {
312
+ /**
313
+ *
314
+ * <tt>objectInit</tt> is called after the registration of
315
+ * an observer to indicate the state of the registry.
316
+ *
317
+ * @param objects The objects registered with the {@link Admin}
318
+ * interface (not through the deployment mechanism).
319
+ *
320
+ **/
321
+ void objectInit(ObjectInfoSeq objects);
322
+
323
+ /**
324
+ *
325
+ * The <tt>objectAdded</tt> operation is called to notify an observer when an
326
+ * object was added to the {@link Admin} interface.
327
+ *
328
+ * @param info The details of the added object.
329
+ *
330
+ **/
331
+ void objectAdded(ObjectInfo info);
332
+
333
+ /**
334
+ *
335
+ * <tt>objectUpdated</tt> is called to notify an observer when
336
+ * an object registered with the {@link Admin} interface was updated.
337
+ *
338
+ * @param info The details of the updated object.
339
+ *
340
+ **/
341
+ void objectUpdated(ObjectInfo info);
342
+
343
+ /**
344
+ *
345
+ * <tt>objectRemoved</tt> is called to notify an observer when
346
+ * an object registered with the {@link Admin} interface was removed.
347
+ *
348
+ * @param id The identity of the removed object.
349
+ *
350
+ **/
351
+ void objectRemoved(Ice::Identity id);
352
+ };
353
+
354
+ /**
355
+ *
356
+ * This interface allows applications to monitor changes the state
357
+ * of the registry.
358
+ *
359
+ **/
360
+ interface RegistryObserver
361
+ {
362
+ /**
363
+ *
364
+ * The <tt>registryInit</tt> operation is called after registration of
365
+ * an observer to indicate the state of the registries.
366
+ *
367
+ * @param registries The current state of the registries.
368
+ *
369
+ **/
370
+ void registryInit(RegistryInfoSeq registries);
371
+
372
+ /**
373
+ *
374
+ * The <tt>nodeUp</tt> operation is called to notify an observer that a node
375
+ * came up.
376
+ *
377
+ * @param node The node state.
378
+ *
379
+ **/
380
+ void registryUp(RegistryInfo node);
381
+
382
+ /**
383
+ *
384
+ * The <tt>nodeDown</tt> operation is called to notify an observer that a node
385
+ * went down.
386
+ *
387
+ * @param name The node name.
388
+ *
389
+ **/
390
+ void registryDown(string name);
391
+ };
392
+
393
+ };
394
+