zeroc-ice-x86-mingw 3.6b1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/ICE_LICENSE +54 -0
- data/LICENSE +339 -0
- data/bin/slice2rb +17 -0
- data/ice-x86-mingw.gemspec +41 -0
- data/lib/Glacier2.rb +12 -0
- data/lib/Glacier2/Metrics.rb +99 -0
- data/lib/Glacier2/PermissionsVerifier.rb +168 -0
- data/lib/Glacier2/PermissionsVerifierF.rb +34 -0
- data/lib/Glacier2/Router.rb +141 -0
- data/lib/Glacier2/RouterF.rb +29 -0
- data/lib/Glacier2/SSLInfo.rb +79 -0
- data/lib/Glacier2/Session.rb +470 -0
- data/lib/Ice.rb +659 -0
- data/lib/Ice/BuiltinSequences.rb +64 -0
- data/lib/Ice/Communicator.rb +93 -0
- data/lib/Ice/CommunicatorF.rb +28 -0
- data/lib/Ice/Connection.rb +414 -0
- data/lib/Ice/ConnectionF.rb +36 -0
- data/lib/Ice/Current.rb +152 -0
- data/lib/Ice/Endpoint.rb +265 -0
- data/lib/Ice/EndpointF.rb +52 -0
- data/lib/Ice/EndpointTypes.rb +77 -0
- data/lib/Ice/FacetMap.rb +28 -0
- data/lib/Ice/Identity.rb +70 -0
- data/lib/Ice/ImplicitContext.rb +59 -0
- data/lib/Ice/ImplicitContextF.rb +28 -0
- data/lib/Ice/Instrumentation.rb +425 -0
- data/lib/Ice/InstrumentationF.rb +35 -0
- data/lib/Ice/LocalException.rb +1081 -0
- data/lib/Ice/Locator.rb +314 -0
- data/lib/Ice/LocatorF.rb +34 -0
- data/lib/Ice/Logger.rb +57 -0
- data/lib/Ice/LoggerF.rb +28 -0
- data/lib/Ice/Metrics.rb +696 -0
- data/lib/Ice/ObjectAdapterF.rb +28 -0
- data/lib/Ice/ObjectFactory.rb +53 -0
- data/lib/Ice/ObjectFactoryF.rb +28 -0
- data/lib/Ice/Plugin.rb +87 -0
- data/lib/Ice/PluginF.rb +32 -0
- data/lib/Ice/Process.rb +93 -0
- data/lib/Ice/ProcessF.rb +29 -0
- data/lib/Ice/Properties.rb +65 -0
- data/lib/Ice/PropertiesAdmin.rb +104 -0
- data/lib/Ice/PropertiesF.rb +33 -0
- data/lib/Ice/Router.rb +163 -0
- data/lib/Ice/RouterF.rb +29 -0
- data/lib/Ice/SliceChecksumDict.rb +28 -0
- data/lib/Ice/Version.rb +100 -0
- data/lib/IceBox.rb +10 -0
- data/lib/IceBox/IceBox.rb +272 -0
- data/lib/IceGrid.rb +17 -0
- data/lib/IceGrid/Admin.rb +1076 -0
- data/lib/IceGrid/Descriptor.rb +1505 -0
- data/lib/IceGrid/Exception.rb +401 -0
- data/lib/IceGrid/FileParser.rb +105 -0
- data/lib/IceGrid/Locator.rb +105 -0
- data/lib/IceGrid/Observer.rb +571 -0
- data/lib/IceGrid/Query.rb +168 -0
- data/lib/IceGrid/Registry.rb +120 -0
- data/lib/IceGrid/Session.rb +114 -0
- data/lib/IceGrid/UserAccountMapper.rb +101 -0
- data/lib/IcePatch2.rb +10 -0
- data/lib/IcePatch2/FileInfo.rb +75 -0
- data/lib/IcePatch2/FileServer.rb +141 -0
- data/lib/IceRuby.so +0 -0
- data/lib/IceStorm.rb +11 -0
- data/lib/IceStorm/IceStorm.rb +463 -0
- data/lib/IceStorm/Metrics.rb +155 -0
- data/slice/Freeze/BackgroundSaveEvictor.ice +111 -0
- data/slice/Freeze/CatalogData.ice +49 -0
- data/slice/Freeze/Connection.ice +111 -0
- data/slice/Freeze/ConnectionF.ice +20 -0
- data/slice/Freeze/DB.ice +37 -0
- data/slice/Freeze/Evictor.ice +339 -0
- data/slice/Freeze/EvictorF.ice +22 -0
- data/slice/Freeze/EvictorStorage.ice +72 -0
- data/slice/Freeze/Exception.ice +100 -0
- data/slice/Freeze/Transaction.ice +57 -0
- data/slice/Freeze/TransactionalEvictor.ice +50 -0
- data/slice/Glacier2/Metrics.ice +77 -0
- data/slice/Glacier2/PermissionsVerifier.ice +105 -0
- data/slice/Glacier2/PermissionsVerifierF.ice +21 -0
- data/slice/Glacier2/Router.ice +178 -0
- data/slice/Glacier2/RouterF.ice +20 -0
- data/slice/Glacier2/SSLInfo.ice +50 -0
- data/slice/Glacier2/Session.ice +273 -0
- data/slice/Ice/BuiltinSequences.ice +48 -0
- data/slice/Ice/Communicator.ice +567 -0
- data/slice/Ice/CommunicatorF.ice +20 -0
- data/slice/Ice/Connection.ice +323 -0
- data/slice/Ice/ConnectionF.ice +22 -0
- data/slice/Ice/Current.ice +160 -0
- data/slice/Ice/Endpoint.ice +227 -0
- data/slice/Ice/EndpointF.ice +32 -0
- data/slice/Ice/EndpointTypes.ice +38 -0
- data/slice/Ice/FacetMap.ice +25 -0
- data/slice/Ice/Identity.ice +59 -0
- data/slice/Ice/ImplicitContext.ice +109 -0
- data/slice/Ice/ImplicitContextF.ice +20 -0
- data/slice/Ice/Instrumentation.ice +499 -0
- data/slice/Ice/InstrumentationF.ice +26 -0
- data/slice/Ice/LocalException.ice +1015 -0
- data/slice/Ice/Locator.ice +227 -0
- data/slice/Ice/LocatorF.ice +21 -0
- data/slice/Ice/Logger.ice +86 -0
- data/slice/Ice/LoggerF.ice +20 -0
- data/slice/Ice/Metrics.ice +422 -0
- data/slice/Ice/ObjectAdapter.ice +673 -0
- data/slice/Ice/ObjectAdapterF.ice +20 -0
- data/slice/Ice/ObjectFactory.ice +60 -0
- data/slice/Ice/ObjectFactoryF.ice +20 -0
- data/slice/Ice/Plugin.ice +117 -0
- data/slice/Ice/PluginF.ice +21 -0
- data/slice/Ice/Process.ice +54 -0
- data/slice/Ice/ProcessF.ice +20 -0
- data/slice/Ice/Properties.ice +228 -0
- data/slice/Ice/PropertiesAdmin.ice +75 -0
- data/slice/Ice/PropertiesF.ice +21 -0
- data/slice/Ice/RemoteLogger.ice +232 -0
- data/slice/Ice/Router.ice +83 -0
- data/slice/Ice/RouterF.ice +20 -0
- data/slice/Ice/ServantLocator.ice +117 -0
- data/slice/Ice/ServantLocatorF.ice +20 -0
- data/slice/Ice/SliceChecksumDict.ice +25 -0
- data/slice/Ice/Version.ice +39 -0
- data/slice/IceBox/IceBox.ice +194 -0
- data/slice/IceDiscovery/IceDiscovery.ice +32 -0
- data/slice/IceGrid/Admin.ice +1578 -0
- data/slice/IceGrid/Descriptor.ice +1079 -0
- data/slice/IceGrid/Discovery.ice +73 -0
- data/slice/IceGrid/Exception.ice +383 -0
- data/slice/IceGrid/FileParser.ice +61 -0
- data/slice/IceGrid/Locator.ice +56 -0
- data/slice/IceGrid/Observer.ice +394 -0
- data/slice/IceGrid/PluginFacade.ice +316 -0
- data/slice/IceGrid/Query.ice +130 -0
- data/slice/IceGrid/Registry.ice +138 -0
- data/slice/IceGrid/Session.ice +124 -0
- data/slice/IceGrid/UserAccountMapper.ice +58 -0
- data/slice/IcePatch2/FileInfo.ice +49 -0
- data/slice/IcePatch2/FileServer.ice +129 -0
- data/slice/IceSSL/ConnectionInfo.ice +34 -0
- data/slice/IceSSL/EndpointInfo.ice +41 -0
- data/slice/IceStorm/IceStorm.ice +405 -0
- data/slice/IceStorm/Metrics.ice +71 -0
- metadata +207 -0
@@ -0,0 +1,1079 @@
|
|
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/Identity.ice>
|
16
|
+
#include <Ice/BuiltinSequences.ice>
|
17
|
+
|
18
|
+
module IceGrid
|
19
|
+
{
|
20
|
+
|
21
|
+
/**
|
22
|
+
*
|
23
|
+
* A mapping of string to string.
|
24
|
+
*
|
25
|
+
**/
|
26
|
+
dictionary<string, string> StringStringDict;
|
27
|
+
|
28
|
+
/**
|
29
|
+
*
|
30
|
+
* Property descriptor.
|
31
|
+
*
|
32
|
+
**/
|
33
|
+
struct PropertyDescriptor
|
34
|
+
{
|
35
|
+
/**
|
36
|
+
*
|
37
|
+
* The name of the property.
|
38
|
+
*
|
39
|
+
**/
|
40
|
+
string name;
|
41
|
+
|
42
|
+
/**
|
43
|
+
*
|
44
|
+
* The value of the property.
|
45
|
+
*
|
46
|
+
**/
|
47
|
+
string value;
|
48
|
+
};
|
49
|
+
|
50
|
+
/**
|
51
|
+
*
|
52
|
+
* A sequence of property descriptors.
|
53
|
+
*
|
54
|
+
**/
|
55
|
+
["java:type:java.util.LinkedList<PropertyDescriptor>"] sequence<PropertyDescriptor> PropertyDescriptorSeq;
|
56
|
+
|
57
|
+
/**
|
58
|
+
*
|
59
|
+
* A property set descriptor.
|
60
|
+
*
|
61
|
+
**/
|
62
|
+
["cpp:comparable"]
|
63
|
+
struct PropertySetDescriptor
|
64
|
+
{
|
65
|
+
/**
|
66
|
+
*
|
67
|
+
* References to named property sets.
|
68
|
+
*
|
69
|
+
**/
|
70
|
+
Ice::StringSeq references;
|
71
|
+
|
72
|
+
/**
|
73
|
+
*
|
74
|
+
* The property set properties.
|
75
|
+
*
|
76
|
+
**/
|
77
|
+
PropertyDescriptorSeq properties;
|
78
|
+
};
|
79
|
+
|
80
|
+
/**
|
81
|
+
*
|
82
|
+
* A mapping of property set name to property set descriptor.
|
83
|
+
*
|
84
|
+
**/
|
85
|
+
dictionary<string, PropertySetDescriptor> PropertySetDescriptorDict;
|
86
|
+
|
87
|
+
/**
|
88
|
+
*
|
89
|
+
* An Ice object descriptor.
|
90
|
+
*
|
91
|
+
**/
|
92
|
+
struct ObjectDescriptor
|
93
|
+
{
|
94
|
+
/**
|
95
|
+
*
|
96
|
+
* The identity of the object.
|
97
|
+
*
|
98
|
+
**/
|
99
|
+
Ice::Identity id;
|
100
|
+
|
101
|
+
/**
|
102
|
+
*
|
103
|
+
* The object type.
|
104
|
+
*
|
105
|
+
**/
|
106
|
+
string type;
|
107
|
+
|
108
|
+
/**
|
109
|
+
*
|
110
|
+
* Proxy options to use with the proxy created for this Ice object. If empty,
|
111
|
+
* the proxy will be created with the proxy options specified on the object
|
112
|
+
* adapter or replica group.
|
113
|
+
*
|
114
|
+
**/
|
115
|
+
string proxyOptions;
|
116
|
+
};
|
117
|
+
|
118
|
+
/**
|
119
|
+
*
|
120
|
+
* A sequence of object descriptors.
|
121
|
+
*
|
122
|
+
**/
|
123
|
+
["java:type:java.util.LinkedList<ObjectDescriptor>"] sequence<ObjectDescriptor> ObjectDescriptorSeq;
|
124
|
+
|
125
|
+
/**
|
126
|
+
*
|
127
|
+
* An Ice object adapter descriptor.
|
128
|
+
*
|
129
|
+
**/
|
130
|
+
["cpp:comparable"]
|
131
|
+
struct AdapterDescriptor
|
132
|
+
{
|
133
|
+
/**
|
134
|
+
*
|
135
|
+
* The object adapter name.
|
136
|
+
*
|
137
|
+
**/
|
138
|
+
string name;
|
139
|
+
|
140
|
+
/**
|
141
|
+
*
|
142
|
+
* The description of this object adapter.
|
143
|
+
*
|
144
|
+
**/
|
145
|
+
string description;
|
146
|
+
|
147
|
+
/**
|
148
|
+
*
|
149
|
+
* The object adapter id.
|
150
|
+
*
|
151
|
+
**/
|
152
|
+
string id;
|
153
|
+
|
154
|
+
/**
|
155
|
+
*
|
156
|
+
* The replica id of this adapter.
|
157
|
+
*
|
158
|
+
**/
|
159
|
+
string replicaGroupId;
|
160
|
+
|
161
|
+
/**
|
162
|
+
*
|
163
|
+
* The adapter priority. This is eventually used when the adapter
|
164
|
+
* is member of a replica group to sort the adapter endpoints by
|
165
|
+
* priority.
|
166
|
+
*
|
167
|
+
**/
|
168
|
+
string priority;
|
169
|
+
|
170
|
+
/**
|
171
|
+
*
|
172
|
+
* Flag to specify if the object adapter will register a process object.
|
173
|
+
*
|
174
|
+
**/
|
175
|
+
bool registerProcess;
|
176
|
+
|
177
|
+
/**
|
178
|
+
*
|
179
|
+
* If true the lifetime of this object adapter is the same of the
|
180
|
+
* server lifetime. This information is used by the IceGrid node
|
181
|
+
* to figure out the server state: the server is active only if
|
182
|
+
* all its "server lifetime" adapters are active.
|
183
|
+
*
|
184
|
+
**/
|
185
|
+
bool serverLifetime;
|
186
|
+
|
187
|
+
/**
|
188
|
+
*
|
189
|
+
* The well-known object descriptors associated with this object adapter.
|
190
|
+
*
|
191
|
+
**/
|
192
|
+
ObjectDescriptorSeq objects;
|
193
|
+
|
194
|
+
/**
|
195
|
+
*
|
196
|
+
* The allocatable object descriptors associated with this object adapter.
|
197
|
+
*
|
198
|
+
**/
|
199
|
+
ObjectDescriptorSeq allocatables;
|
200
|
+
};
|
201
|
+
|
202
|
+
/**
|
203
|
+
*
|
204
|
+
* A sequence of adapter descriptors.
|
205
|
+
*
|
206
|
+
**/
|
207
|
+
["java:type:java.util.LinkedList<AdapterDescriptor>"] sequence<AdapterDescriptor> AdapterDescriptorSeq;
|
208
|
+
|
209
|
+
/**
|
210
|
+
*
|
211
|
+
* A Freeze database environment descriptor.
|
212
|
+
*
|
213
|
+
**/
|
214
|
+
["cpp:comparable"]
|
215
|
+
struct DbEnvDescriptor
|
216
|
+
{
|
217
|
+
/**
|
218
|
+
*
|
219
|
+
* The name of the database environment.
|
220
|
+
*
|
221
|
+
**/
|
222
|
+
string name;
|
223
|
+
|
224
|
+
/**
|
225
|
+
*
|
226
|
+
* The description of this database environment.
|
227
|
+
*
|
228
|
+
**/
|
229
|
+
string description;
|
230
|
+
|
231
|
+
/**
|
232
|
+
*
|
233
|
+
* The home of the database environment (i.e., the directory where
|
234
|
+
* the database files will be stored). If empty, the node will
|
235
|
+
* provide a default database directory, otherwise the directory
|
236
|
+
* must exist.
|
237
|
+
*
|
238
|
+
**/
|
239
|
+
string dbHome;
|
240
|
+
|
241
|
+
/**
|
242
|
+
*
|
243
|
+
* The configuration properties of the database environment.
|
244
|
+
*
|
245
|
+
**/
|
246
|
+
PropertyDescriptorSeq properties;
|
247
|
+
};
|
248
|
+
|
249
|
+
/**
|
250
|
+
*
|
251
|
+
* A sequence of database environment descriptors.
|
252
|
+
*
|
253
|
+
**/
|
254
|
+
["java:type:java.util.LinkedList<DbEnvDescriptor>"] sequence<DbEnvDescriptor> DbEnvDescriptorSeq;
|
255
|
+
|
256
|
+
/**
|
257
|
+
*
|
258
|
+
* A communicator descriptor.
|
259
|
+
*
|
260
|
+
**/
|
261
|
+
class CommunicatorDescriptor
|
262
|
+
{
|
263
|
+
/**
|
264
|
+
*
|
265
|
+
* The object adapters.
|
266
|
+
*
|
267
|
+
**/
|
268
|
+
AdapterDescriptorSeq adapters;
|
269
|
+
|
270
|
+
/**
|
271
|
+
*
|
272
|
+
* The property set.
|
273
|
+
*
|
274
|
+
**/
|
275
|
+
PropertySetDescriptor propertySet;
|
276
|
+
|
277
|
+
/**
|
278
|
+
*
|
279
|
+
* The database environments.
|
280
|
+
*
|
281
|
+
**/
|
282
|
+
DbEnvDescriptorSeq dbEnvs;
|
283
|
+
|
284
|
+
/**
|
285
|
+
*
|
286
|
+
* The path of each log file.
|
287
|
+
*
|
288
|
+
**/
|
289
|
+
Ice::StringSeq logs;
|
290
|
+
|
291
|
+
/**
|
292
|
+
*
|
293
|
+
* A description of this descriptor.
|
294
|
+
*
|
295
|
+
**/
|
296
|
+
string description;
|
297
|
+
};
|
298
|
+
|
299
|
+
/**
|
300
|
+
*
|
301
|
+
* A distribution descriptor defines an IcePatch2 server and the
|
302
|
+
* directories to retrieve from the patch server.
|
303
|
+
*
|
304
|
+
**/
|
305
|
+
["cpp:comparable"]
|
306
|
+
struct DistributionDescriptor
|
307
|
+
{
|
308
|
+
/** The proxy of the IcePatch2 server. */
|
309
|
+
string icepatch;
|
310
|
+
|
311
|
+
/** The source directories. */
|
312
|
+
["java:type:java.util.LinkedList<String>"] Ice::StringSeq directories;
|
313
|
+
};
|
314
|
+
|
315
|
+
/**
|
316
|
+
*
|
317
|
+
* An Ice server descriptor.
|
318
|
+
*
|
319
|
+
**/
|
320
|
+
class ServerDescriptor extends CommunicatorDescriptor
|
321
|
+
{
|
322
|
+
/**
|
323
|
+
*
|
324
|
+
* The server id.
|
325
|
+
*
|
326
|
+
**/
|
327
|
+
string id;
|
328
|
+
|
329
|
+
/**
|
330
|
+
*
|
331
|
+
* The path of the server executable.
|
332
|
+
*
|
333
|
+
**/
|
334
|
+
string exe;
|
335
|
+
|
336
|
+
/**
|
337
|
+
*
|
338
|
+
* The Ice version used by this server. This is only required if
|
339
|
+
* backward compatibility with servers using old Ice versions is
|
340
|
+
* needed (otherwise the registry will assume the server is using
|
341
|
+
* the same Ice version).
|
342
|
+
* For example "3.1.1", "3.2", "3.3.0".
|
343
|
+
*
|
344
|
+
**/
|
345
|
+
string iceVersion;
|
346
|
+
|
347
|
+
/**
|
348
|
+
*
|
349
|
+
* The path to the server working directory.
|
350
|
+
*
|
351
|
+
**/
|
352
|
+
string pwd;
|
353
|
+
|
354
|
+
/**
|
355
|
+
*
|
356
|
+
* The command line options to pass to the server executable.
|
357
|
+
*
|
358
|
+
**/
|
359
|
+
["java:type:java.util.LinkedList<String>"] Ice::StringSeq options;
|
360
|
+
|
361
|
+
/**
|
362
|
+
*
|
363
|
+
* The server environment variables.
|
364
|
+
*
|
365
|
+
**/
|
366
|
+
["java:type:java.util.LinkedList<String>"] Ice::StringSeq envs;
|
367
|
+
|
368
|
+
/**
|
369
|
+
*
|
370
|
+
* The server activation mode (possible values are "on-demand" or
|
371
|
+
* "manual").
|
372
|
+
*
|
373
|
+
**/
|
374
|
+
string activation;
|
375
|
+
|
376
|
+
/**
|
377
|
+
*
|
378
|
+
* The activation timeout (an integer value representing the
|
379
|
+
* number of seconds to wait for activation).
|
380
|
+
*
|
381
|
+
**/
|
382
|
+
string activationTimeout;
|
383
|
+
|
384
|
+
/**
|
385
|
+
*
|
386
|
+
* The deactivation timeout (an integer value representing the
|
387
|
+
* number of seconds to wait for deactivation).
|
388
|
+
*
|
389
|
+
**/
|
390
|
+
string deactivationTimeout;
|
391
|
+
|
392
|
+
/**
|
393
|
+
*
|
394
|
+
* Specifies if the server depends on the application
|
395
|
+
* distribution.
|
396
|
+
*
|
397
|
+
**/
|
398
|
+
bool applicationDistrib;
|
399
|
+
|
400
|
+
/**
|
401
|
+
*
|
402
|
+
* The distribution descriptor.
|
403
|
+
*
|
404
|
+
**/
|
405
|
+
DistributionDescriptor distrib;
|
406
|
+
|
407
|
+
/**
|
408
|
+
*
|
409
|
+
* Specifies if the server is allocatable.
|
410
|
+
*
|
411
|
+
**/
|
412
|
+
bool allocatable;
|
413
|
+
|
414
|
+
/**
|
415
|
+
*
|
416
|
+
* The user account used to run the server.
|
417
|
+
*
|
418
|
+
**/
|
419
|
+
string user;
|
420
|
+
};
|
421
|
+
|
422
|
+
/**
|
423
|
+
*
|
424
|
+
* A sequence of server descriptors.
|
425
|
+
*
|
426
|
+
**/
|
427
|
+
["java:type:java.util.LinkedList<ServerDescriptor>"] sequence<ServerDescriptor> ServerDescriptorSeq;
|
428
|
+
|
429
|
+
/**
|
430
|
+
*
|
431
|
+
* An IceBox service descriptor.
|
432
|
+
*
|
433
|
+
**/
|
434
|
+
class ServiceDescriptor extends CommunicatorDescriptor
|
435
|
+
{
|
436
|
+
/**
|
437
|
+
*
|
438
|
+
* The service name.
|
439
|
+
*
|
440
|
+
**/
|
441
|
+
string name;
|
442
|
+
|
443
|
+
/**
|
444
|
+
*
|
445
|
+
* The entry point of the IceBox service.
|
446
|
+
*
|
447
|
+
**/
|
448
|
+
string entry;
|
449
|
+
};
|
450
|
+
|
451
|
+
/**
|
452
|
+
*
|
453
|
+
* A sequence of service descriptors.
|
454
|
+
*
|
455
|
+
**/
|
456
|
+
["java:type:java.util.LinkedList<ServiceDescriptor>"] sequence<ServiceDescriptor> ServiceDescriptorSeq;
|
457
|
+
|
458
|
+
/**
|
459
|
+
*
|
460
|
+
* A server template instance descriptor.
|
461
|
+
*
|
462
|
+
**/
|
463
|
+
["cpp:comparable"]
|
464
|
+
struct ServerInstanceDescriptor
|
465
|
+
{
|
466
|
+
/**
|
467
|
+
*
|
468
|
+
* The template used by this instance.
|
469
|
+
*
|
470
|
+
**/
|
471
|
+
string template;
|
472
|
+
|
473
|
+
/**
|
474
|
+
*
|
475
|
+
* The template parameter values.
|
476
|
+
*
|
477
|
+
**/
|
478
|
+
StringStringDict parameterValues;
|
479
|
+
|
480
|
+
/**
|
481
|
+
*
|
482
|
+
* The property set.
|
483
|
+
*
|
484
|
+
**/
|
485
|
+
PropertySetDescriptor propertySet;
|
486
|
+
|
487
|
+
/**
|
488
|
+
*
|
489
|
+
* The services property sets. It's only valid to set these
|
490
|
+
* property sets if the template is an IceBox server template.
|
491
|
+
*
|
492
|
+
**/
|
493
|
+
PropertySetDescriptorDict servicePropertySets;
|
494
|
+
};
|
495
|
+
|
496
|
+
/**
|
497
|
+
*
|
498
|
+
* A sequence of server instance descriptors.
|
499
|
+
*
|
500
|
+
**/
|
501
|
+
["java:type:java.util.LinkedList<ServerInstanceDescriptor>"]
|
502
|
+
sequence<ServerInstanceDescriptor> ServerInstanceDescriptorSeq;
|
503
|
+
|
504
|
+
/**
|
505
|
+
*
|
506
|
+
* A template descriptor for server or service templates.
|
507
|
+
*
|
508
|
+
**/
|
509
|
+
struct TemplateDescriptor
|
510
|
+
{
|
511
|
+
/**
|
512
|
+
*
|
513
|
+
* The template.
|
514
|
+
*
|
515
|
+
**/
|
516
|
+
CommunicatorDescriptor descriptor;
|
517
|
+
|
518
|
+
/**
|
519
|
+
*
|
520
|
+
* The parameters required to instantiate the template.
|
521
|
+
*
|
522
|
+
**/
|
523
|
+
["java:type:java.util.LinkedList<String>"] Ice::StringSeq parameters;
|
524
|
+
|
525
|
+
/**
|
526
|
+
*
|
527
|
+
* The parameters default values.
|
528
|
+
*
|
529
|
+
**/
|
530
|
+
StringStringDict parameterDefaults;
|
531
|
+
};
|
532
|
+
|
533
|
+
/**
|
534
|
+
*
|
535
|
+
* A mapping of template identifier to template descriptor.
|
536
|
+
*
|
537
|
+
**/
|
538
|
+
dictionary<string, TemplateDescriptor> TemplateDescriptorDict;
|
539
|
+
|
540
|
+
/**
|
541
|
+
*
|
542
|
+
* A service template instance descriptor.
|
543
|
+
*
|
544
|
+
**/
|
545
|
+
struct ServiceInstanceDescriptor
|
546
|
+
{
|
547
|
+
/**
|
548
|
+
*
|
549
|
+
* The template used by this instance.
|
550
|
+
*
|
551
|
+
**/
|
552
|
+
string template;
|
553
|
+
|
554
|
+
/**
|
555
|
+
*
|
556
|
+
* The template parameter values.
|
557
|
+
*
|
558
|
+
**/
|
559
|
+
StringStringDict parameterValues;
|
560
|
+
|
561
|
+
/**
|
562
|
+
*
|
563
|
+
* The service definition if the instance isn't a template
|
564
|
+
* instance (i.e.: if the template attribute is empty).
|
565
|
+
*
|
566
|
+
**/
|
567
|
+
ServiceDescriptor descriptor;
|
568
|
+
|
569
|
+
/**
|
570
|
+
*
|
571
|
+
* The property set.
|
572
|
+
*
|
573
|
+
**/
|
574
|
+
PropertySetDescriptor propertySet;
|
575
|
+
};
|
576
|
+
|
577
|
+
/**
|
578
|
+
*
|
579
|
+
* A sequence of service instance descriptors.
|
580
|
+
*
|
581
|
+
**/
|
582
|
+
["java:type:java.util.LinkedList<ServiceInstanceDescriptor>"]
|
583
|
+
sequence<ServiceInstanceDescriptor> ServiceInstanceDescriptorSeq;
|
584
|
+
|
585
|
+
/**
|
586
|
+
*
|
587
|
+
* An IceBox server descriptor.
|
588
|
+
*
|
589
|
+
**/
|
590
|
+
class IceBoxDescriptor extends ServerDescriptor
|
591
|
+
{
|
592
|
+
/**
|
593
|
+
*
|
594
|
+
* The service instances.
|
595
|
+
*
|
596
|
+
**/
|
597
|
+
ServiceInstanceDescriptorSeq services;
|
598
|
+
};
|
599
|
+
|
600
|
+
/**
|
601
|
+
*
|
602
|
+
* A node descriptor.
|
603
|
+
*
|
604
|
+
**/
|
605
|
+
struct NodeDescriptor
|
606
|
+
{
|
607
|
+
/**
|
608
|
+
*
|
609
|
+
* The variables defined for the node.
|
610
|
+
*
|
611
|
+
**/
|
612
|
+
["java:type:java.util.TreeMap<String, String>"] StringStringDict variables;
|
613
|
+
|
614
|
+
/**
|
615
|
+
*
|
616
|
+
* The server instances.
|
617
|
+
*
|
618
|
+
**/
|
619
|
+
ServerInstanceDescriptorSeq serverInstances;
|
620
|
+
|
621
|
+
/**
|
622
|
+
*
|
623
|
+
* Servers (which are not template instances).
|
624
|
+
*
|
625
|
+
**/
|
626
|
+
ServerDescriptorSeq servers;
|
627
|
+
|
628
|
+
/**
|
629
|
+
*
|
630
|
+
* Load factor of the node.
|
631
|
+
*
|
632
|
+
**/
|
633
|
+
string loadFactor;
|
634
|
+
|
635
|
+
/**
|
636
|
+
*
|
637
|
+
* The description of this node.
|
638
|
+
*
|
639
|
+
**/
|
640
|
+
string description;
|
641
|
+
|
642
|
+
/**
|
643
|
+
*
|
644
|
+
* Property set descriptors.
|
645
|
+
*
|
646
|
+
**/
|
647
|
+
PropertySetDescriptorDict propertySets;
|
648
|
+
};
|
649
|
+
|
650
|
+
/**
|
651
|
+
*
|
652
|
+
* Mapping of node name to node descriptor.
|
653
|
+
*
|
654
|
+
**/
|
655
|
+
dictionary<string, NodeDescriptor> NodeDescriptorDict;
|
656
|
+
|
657
|
+
/**
|
658
|
+
*
|
659
|
+
* A base class for load balancing policies.
|
660
|
+
*
|
661
|
+
**/
|
662
|
+
class LoadBalancingPolicy
|
663
|
+
{
|
664
|
+
/**
|
665
|
+
*
|
666
|
+
* The number of replicas that will be used to gather the
|
667
|
+
* endpoints of a replica group.
|
668
|
+
*
|
669
|
+
**/
|
670
|
+
string nReplicas;
|
671
|
+
};
|
672
|
+
|
673
|
+
/**
|
674
|
+
*
|
675
|
+
* Random load balancing policy.
|
676
|
+
*
|
677
|
+
**/
|
678
|
+
class RandomLoadBalancingPolicy extends LoadBalancingPolicy
|
679
|
+
{
|
680
|
+
};
|
681
|
+
|
682
|
+
/**
|
683
|
+
*
|
684
|
+
* Ordered load balancing policy.
|
685
|
+
*
|
686
|
+
**/
|
687
|
+
class OrderedLoadBalancingPolicy extends LoadBalancingPolicy
|
688
|
+
{
|
689
|
+
};
|
690
|
+
|
691
|
+
/**
|
692
|
+
*
|
693
|
+
* Round robin load balancing policy.
|
694
|
+
*
|
695
|
+
**/
|
696
|
+
class RoundRobinLoadBalancingPolicy extends LoadBalancingPolicy
|
697
|
+
{
|
698
|
+
};
|
699
|
+
|
700
|
+
/**
|
701
|
+
*
|
702
|
+
* Adaptive load balancing policy.
|
703
|
+
*
|
704
|
+
**/
|
705
|
+
class AdaptiveLoadBalancingPolicy extends LoadBalancingPolicy
|
706
|
+
{
|
707
|
+
/**
|
708
|
+
*
|
709
|
+
* The load sample to use for the load balancing. The allowed
|
710
|
+
* values for this attribute are "1", "5" and "15", representing
|
711
|
+
* respectively the load average over the past minute, the past 5
|
712
|
+
* minutes and the past 15 minutes.
|
713
|
+
*
|
714
|
+
**/
|
715
|
+
string loadSample;
|
716
|
+
};
|
717
|
+
|
718
|
+
/**
|
719
|
+
*
|
720
|
+
* A replica group descriptor.
|
721
|
+
*
|
722
|
+
**/
|
723
|
+
struct ReplicaGroupDescriptor
|
724
|
+
{
|
725
|
+
/**
|
726
|
+
*
|
727
|
+
* The id of the replica group.
|
728
|
+
*
|
729
|
+
**/
|
730
|
+
string id;
|
731
|
+
|
732
|
+
/**
|
733
|
+
*
|
734
|
+
* The load balancing policy.
|
735
|
+
*
|
736
|
+
**/
|
737
|
+
LoadBalancingPolicy loadBalancing;
|
738
|
+
|
739
|
+
/**
|
740
|
+
*
|
741
|
+
* Default options for proxies created for the replica group.
|
742
|
+
*
|
743
|
+
**/
|
744
|
+
string proxyOptions;
|
745
|
+
|
746
|
+
/**
|
747
|
+
*
|
748
|
+
* The object descriptors associated with this object adapter.
|
749
|
+
*
|
750
|
+
**/
|
751
|
+
ObjectDescriptorSeq objects;
|
752
|
+
|
753
|
+
/**
|
754
|
+
*
|
755
|
+
* The description of this replica group.
|
756
|
+
*
|
757
|
+
**/
|
758
|
+
string description;
|
759
|
+
|
760
|
+
/**
|
761
|
+
*
|
762
|
+
* The filter to use for this replica group.
|
763
|
+
*
|
764
|
+
**/
|
765
|
+
string filter;
|
766
|
+
};
|
767
|
+
|
768
|
+
/**
|
769
|
+
*
|
770
|
+
* A sequence of replica groups.
|
771
|
+
*
|
772
|
+
**/
|
773
|
+
["java:type:java.util.LinkedList<ReplicaGroupDescriptor>"] sequence<ReplicaGroupDescriptor> ReplicaGroupDescriptorSeq;
|
774
|
+
|
775
|
+
/**
|
776
|
+
*
|
777
|
+
* An application descriptor.
|
778
|
+
*
|
779
|
+
**/
|
780
|
+
struct ApplicationDescriptor
|
781
|
+
{
|
782
|
+
/**
|
783
|
+
*
|
784
|
+
* The application name.
|
785
|
+
*
|
786
|
+
**/
|
787
|
+
string name;
|
788
|
+
|
789
|
+
/**
|
790
|
+
*
|
791
|
+
* The variables defined in the application descriptor.
|
792
|
+
*
|
793
|
+
**/
|
794
|
+
["java:type:java.util.TreeMap<String, String>"] StringStringDict variables;
|
795
|
+
|
796
|
+
/**
|
797
|
+
*
|
798
|
+
* The replica groups.
|
799
|
+
*
|
800
|
+
**/
|
801
|
+
ReplicaGroupDescriptorSeq replicaGroups;
|
802
|
+
|
803
|
+
/**
|
804
|
+
*
|
805
|
+
* The server templates.
|
806
|
+
*
|
807
|
+
**/
|
808
|
+
TemplateDescriptorDict serverTemplates;
|
809
|
+
|
810
|
+
/**
|
811
|
+
*
|
812
|
+
* The service templates.
|
813
|
+
*
|
814
|
+
**/
|
815
|
+
TemplateDescriptorDict serviceTemplates;
|
816
|
+
|
817
|
+
/**
|
818
|
+
*
|
819
|
+
* The application nodes.
|
820
|
+
*
|
821
|
+
**/
|
822
|
+
NodeDescriptorDict nodes;
|
823
|
+
|
824
|
+
/**
|
825
|
+
*
|
826
|
+
* The application distribution.
|
827
|
+
*
|
828
|
+
**/
|
829
|
+
DistributionDescriptor distrib;
|
830
|
+
|
831
|
+
/**
|
832
|
+
*
|
833
|
+
* The description of this application.
|
834
|
+
*
|
835
|
+
**/
|
836
|
+
string description;
|
837
|
+
|
838
|
+
/**
|
839
|
+
*
|
840
|
+
* Property set descriptors.
|
841
|
+
*
|
842
|
+
**/
|
843
|
+
PropertySetDescriptorDict propertySets;
|
844
|
+
};
|
845
|
+
|
846
|
+
/**
|
847
|
+
*
|
848
|
+
* A sequence of application descriptors.
|
849
|
+
*
|
850
|
+
**/
|
851
|
+
["java:type:java.util.LinkedList<ApplicationDescriptor>"] sequence<ApplicationDescriptor> ApplicationDescriptorSeq;
|
852
|
+
|
853
|
+
/**
|
854
|
+
*
|
855
|
+
* A "boxed" string.
|
856
|
+
*
|
857
|
+
**/
|
858
|
+
class BoxedString
|
859
|
+
{
|
860
|
+
/** The value of the boxed string. */
|
861
|
+
string value;
|
862
|
+
};
|
863
|
+
|
864
|
+
/**
|
865
|
+
*
|
866
|
+
* A node update descriptor to describe the updates to apply to a
|
867
|
+
* node of a deployed application.
|
868
|
+
*
|
869
|
+
**/
|
870
|
+
struct NodeUpdateDescriptor
|
871
|
+
{
|
872
|
+
/**
|
873
|
+
*
|
874
|
+
* The name of the node to update.
|
875
|
+
*
|
876
|
+
**/
|
877
|
+
string name;
|
878
|
+
|
879
|
+
/**
|
880
|
+
*
|
881
|
+
* The updated description (or null if the description wasn't
|
882
|
+
* updated.)
|
883
|
+
*
|
884
|
+
**/
|
885
|
+
BoxedString description;
|
886
|
+
|
887
|
+
/**
|
888
|
+
*
|
889
|
+
* The variables to update.
|
890
|
+
*
|
891
|
+
**/
|
892
|
+
["java:type:java.util.TreeMap<String, String>"] StringStringDict variables;
|
893
|
+
|
894
|
+
/**
|
895
|
+
*
|
896
|
+
* The variables to remove.
|
897
|
+
*
|
898
|
+
**/
|
899
|
+
Ice::StringSeq removeVariables;
|
900
|
+
|
901
|
+
/**
|
902
|
+
*
|
903
|
+
* The property sets to update.
|
904
|
+
*
|
905
|
+
**/
|
906
|
+
PropertySetDescriptorDict propertySets;
|
907
|
+
|
908
|
+
/**
|
909
|
+
*
|
910
|
+
* The property sets to remove.
|
911
|
+
*
|
912
|
+
**/
|
913
|
+
Ice::StringSeq removePropertySets;
|
914
|
+
|
915
|
+
/**
|
916
|
+
*
|
917
|
+
* The server instances to update.
|
918
|
+
*
|
919
|
+
**/
|
920
|
+
ServerInstanceDescriptorSeq serverInstances;
|
921
|
+
|
922
|
+
/**
|
923
|
+
*
|
924
|
+
* The servers which are not template instances to update.
|
925
|
+
*
|
926
|
+
**/
|
927
|
+
ServerDescriptorSeq servers;
|
928
|
+
|
929
|
+
/**
|
930
|
+
*
|
931
|
+
* The ids of the servers to remove.
|
932
|
+
*
|
933
|
+
**/
|
934
|
+
Ice::StringSeq removeServers;
|
935
|
+
|
936
|
+
/**
|
937
|
+
*
|
938
|
+
* The updated load factor of the node (or null if the load factor
|
939
|
+
* was not updated).
|
940
|
+
*
|
941
|
+
**/
|
942
|
+
BoxedString loadFactor;
|
943
|
+
};
|
944
|
+
|
945
|
+
/**
|
946
|
+
*
|
947
|
+
* A sequence of node update descriptors.
|
948
|
+
*
|
949
|
+
**/
|
950
|
+
["java:type:java.util.LinkedList<NodeUpdateDescriptor>"] sequence<NodeUpdateDescriptor> NodeUpdateDescriptorSeq;
|
951
|
+
|
952
|
+
/**
|
953
|
+
*
|
954
|
+
* A "boxed" distribution descriptor.
|
955
|
+
*
|
956
|
+
**/
|
957
|
+
class BoxedDistributionDescriptor
|
958
|
+
{
|
959
|
+
/** The value of the boxed distribution descriptor. */
|
960
|
+
DistributionDescriptor value;
|
961
|
+
};
|
962
|
+
|
963
|
+
/**
|
964
|
+
*
|
965
|
+
* An application update descriptor to describe the updates to apply
|
966
|
+
* to a deployed application.
|
967
|
+
*
|
968
|
+
**/
|
969
|
+
struct ApplicationUpdateDescriptor
|
970
|
+
{
|
971
|
+
/**
|
972
|
+
*
|
973
|
+
* The name of the application to update.
|
974
|
+
*
|
975
|
+
**/
|
976
|
+
string name;
|
977
|
+
|
978
|
+
/**
|
979
|
+
*
|
980
|
+
* The updated description (or null if the description wasn't
|
981
|
+
* updated.)
|
982
|
+
*
|
983
|
+
**/
|
984
|
+
BoxedString description;
|
985
|
+
|
986
|
+
/**
|
987
|
+
*
|
988
|
+
* The updated distribution application descriptor.
|
989
|
+
*
|
990
|
+
**/
|
991
|
+
BoxedDistributionDescriptor distrib;
|
992
|
+
|
993
|
+
/**
|
994
|
+
*
|
995
|
+
* The variables to update.
|
996
|
+
*
|
997
|
+
**/
|
998
|
+
["java:type:java.util.TreeMap<String, String>"] StringStringDict variables;
|
999
|
+
|
1000
|
+
/**
|
1001
|
+
*
|
1002
|
+
* The variables to remove.
|
1003
|
+
*
|
1004
|
+
**/
|
1005
|
+
Ice::StringSeq removeVariables;
|
1006
|
+
|
1007
|
+
/**
|
1008
|
+
*
|
1009
|
+
* The property sets to update.
|
1010
|
+
*
|
1011
|
+
**/
|
1012
|
+
PropertySetDescriptorDict propertySets;
|
1013
|
+
|
1014
|
+
/**
|
1015
|
+
*
|
1016
|
+
* The property sets to remove.
|
1017
|
+
*
|
1018
|
+
**/
|
1019
|
+
Ice::StringSeq removePropertySets;
|
1020
|
+
|
1021
|
+
/**
|
1022
|
+
*
|
1023
|
+
* The replica groups to update.
|
1024
|
+
*
|
1025
|
+
**/
|
1026
|
+
ReplicaGroupDescriptorSeq replicaGroups;
|
1027
|
+
|
1028
|
+
/**
|
1029
|
+
*
|
1030
|
+
* The replica groups to remove.
|
1031
|
+
*
|
1032
|
+
**/
|
1033
|
+
Ice::StringSeq removeReplicaGroups;
|
1034
|
+
|
1035
|
+
/**
|
1036
|
+
*
|
1037
|
+
* The server templates to update.
|
1038
|
+
*
|
1039
|
+
**/
|
1040
|
+
TemplateDescriptorDict serverTemplates;
|
1041
|
+
|
1042
|
+
/**
|
1043
|
+
*
|
1044
|
+
* The ids of the server template to remove.
|
1045
|
+
*
|
1046
|
+
**/
|
1047
|
+
Ice::StringSeq removeServerTemplates;
|
1048
|
+
|
1049
|
+
/**
|
1050
|
+
*
|
1051
|
+
* The service templates to update.
|
1052
|
+
*
|
1053
|
+
**/
|
1054
|
+
TemplateDescriptorDict serviceTemplates;
|
1055
|
+
|
1056
|
+
/**
|
1057
|
+
*
|
1058
|
+
* The ids of the service template to remove.
|
1059
|
+
*
|
1060
|
+
**/
|
1061
|
+
Ice::StringSeq removeServiceTemplates;
|
1062
|
+
|
1063
|
+
/**
|
1064
|
+
*
|
1065
|
+
* The application nodes to update.
|
1066
|
+
*
|
1067
|
+
**/
|
1068
|
+
NodeUpdateDescriptorSeq nodes;
|
1069
|
+
|
1070
|
+
/**
|
1071
|
+
*
|
1072
|
+
* The nodes to remove.
|
1073
|
+
*
|
1074
|
+
**/
|
1075
|
+
Ice::StringSeq removeNodes;
|
1076
|
+
};
|
1077
|
+
|
1078
|
+
};
|
1079
|
+
|