zeroc-ice-x86-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-x86-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,1505 @@
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
+ # Ice version 3.6b
11
+ #
12
+ # <auto-generated>
13
+ #
14
+ # Generated from file `Descriptor.ice'
15
+ #
16
+ # Warning: do not edit this file.
17
+ #
18
+ # </auto-generated>
19
+ #
20
+
21
+ require 'Ice'
22
+ require 'Ice/Identity.rb'
23
+ require 'Ice/BuiltinSequences.rb'
24
+
25
+ module IceGrid
26
+
27
+ if not defined?(::IceGrid::T_StringStringDict)
28
+ T_StringStringDict = ::Ice::__defineDictionary('::IceGrid::StringStringDict', ::Ice::T_string, ::Ice::T_string)
29
+ end
30
+
31
+ if not defined?(::IceGrid::PropertyDescriptor)
32
+ class PropertyDescriptor
33
+ def initialize(name='', value='')
34
+ @name = name
35
+ @value = value
36
+ end
37
+
38
+ def hash
39
+ _h = 0
40
+ _h = 5 * _h + @name.hash
41
+ _h = 5 * _h + @value.hash
42
+ _h % 0x7fffffff
43
+ end
44
+
45
+ def ==(other)
46
+ return false if
47
+ @name != other.name or
48
+ @value != other.value
49
+ true
50
+ end
51
+
52
+ def eql?(other)
53
+ return other.class == self.class && other == self
54
+ end
55
+
56
+ def inspect
57
+ ::Ice::__stringify(self, T_PropertyDescriptor)
58
+ end
59
+
60
+ attr_accessor :name, :value
61
+ end
62
+
63
+ T_PropertyDescriptor = ::Ice::__defineStruct('::IceGrid::PropertyDescriptor', PropertyDescriptor, [
64
+ ["name", ::Ice::T_string],
65
+ ["value", ::Ice::T_string]
66
+ ])
67
+ end
68
+
69
+ if not defined?(::IceGrid::T_PropertyDescriptorSeq)
70
+ T_PropertyDescriptorSeq = ::Ice::__defineSequence('::IceGrid::PropertyDescriptorSeq', ::IceGrid::T_PropertyDescriptor)
71
+ end
72
+
73
+ if not defined?(::IceGrid::PropertySetDescriptor)
74
+ class PropertySetDescriptor
75
+ def initialize(references=nil, properties=nil)
76
+ @references = references
77
+ @properties = properties
78
+ end
79
+
80
+ def hash
81
+ _h = 0
82
+ _h = 5 * _h + @references.hash
83
+ _h = 5 * _h + @properties.hash
84
+ _h % 0x7fffffff
85
+ end
86
+
87
+ def ==(other)
88
+ return false if
89
+ @references != other.references or
90
+ @properties != other.properties
91
+ true
92
+ end
93
+
94
+ def eql?(other)
95
+ return other.class == self.class && other == self
96
+ end
97
+
98
+ def inspect
99
+ ::Ice::__stringify(self, T_PropertySetDescriptor)
100
+ end
101
+
102
+ attr_accessor :references, :properties
103
+ end
104
+
105
+ T_PropertySetDescriptor = ::Ice::__defineStruct('::IceGrid::PropertySetDescriptor', PropertySetDescriptor, [
106
+ ["references", ::Ice::T_StringSeq],
107
+ ["properties", ::IceGrid::T_PropertyDescriptorSeq]
108
+ ])
109
+ end
110
+
111
+ if not defined?(::IceGrid::T_PropertySetDescriptorDict)
112
+ T_PropertySetDescriptorDict = ::Ice::__defineDictionary('::IceGrid::PropertySetDescriptorDict', ::Ice::T_string, ::IceGrid::T_PropertySetDescriptor)
113
+ end
114
+
115
+ if not defined?(::IceGrid::ObjectDescriptor)
116
+ class ObjectDescriptor
117
+ def initialize(id=::Ice::Identity.new, type='', proxyOptions='')
118
+ @id = id
119
+ @type = type
120
+ @proxyOptions = proxyOptions
121
+ end
122
+
123
+ def hash
124
+ _h = 0
125
+ _h = 5 * _h + @id.hash
126
+ _h = 5 * _h + @type.hash
127
+ _h = 5 * _h + @proxyOptions.hash
128
+ _h % 0x7fffffff
129
+ end
130
+
131
+ def ==(other)
132
+ return false if
133
+ @id != other.id or
134
+ @type != other.type or
135
+ @proxyOptions != other.proxyOptions
136
+ true
137
+ end
138
+
139
+ def eql?(other)
140
+ return other.class == self.class && other == self
141
+ end
142
+
143
+ def inspect
144
+ ::Ice::__stringify(self, T_ObjectDescriptor)
145
+ end
146
+
147
+ attr_accessor :id, :type, :proxyOptions
148
+ end
149
+
150
+ T_ObjectDescriptor = ::Ice::__defineStruct('::IceGrid::ObjectDescriptor', ObjectDescriptor, [
151
+ ["id", ::Ice::T_Identity],
152
+ ["type", ::Ice::T_string],
153
+ ["proxyOptions", ::Ice::T_string]
154
+ ])
155
+ end
156
+
157
+ if not defined?(::IceGrid::T_ObjectDescriptorSeq)
158
+ T_ObjectDescriptorSeq = ::Ice::__defineSequence('::IceGrid::ObjectDescriptorSeq', ::IceGrid::T_ObjectDescriptor)
159
+ end
160
+
161
+ if not defined?(::IceGrid::AdapterDescriptor)
162
+ class AdapterDescriptor
163
+ def initialize(name='', description='', id='', replicaGroupId='', priority='', registerProcess=false, serverLifetime=false, objects=nil, allocatables=nil)
164
+ @name = name
165
+ @description = description
166
+ @id = id
167
+ @replicaGroupId = replicaGroupId
168
+ @priority = priority
169
+ @registerProcess = registerProcess
170
+ @serverLifetime = serverLifetime
171
+ @objects = objects
172
+ @allocatables = allocatables
173
+ end
174
+
175
+ def hash
176
+ _h = 0
177
+ _h = 5 * _h + @name.hash
178
+ _h = 5 * _h + @description.hash
179
+ _h = 5 * _h + @id.hash
180
+ _h = 5 * _h + @replicaGroupId.hash
181
+ _h = 5 * _h + @priority.hash
182
+ _h = 5 * _h + @registerProcess.hash
183
+ _h = 5 * _h + @serverLifetime.hash
184
+ _h = 5 * _h + @objects.hash
185
+ _h = 5 * _h + @allocatables.hash
186
+ _h % 0x7fffffff
187
+ end
188
+
189
+ def ==(other)
190
+ return false if
191
+ @name != other.name or
192
+ @description != other.description or
193
+ @id != other.id or
194
+ @replicaGroupId != other.replicaGroupId or
195
+ @priority != other.priority or
196
+ @registerProcess != other.registerProcess or
197
+ @serverLifetime != other.serverLifetime or
198
+ @objects != other.objects or
199
+ @allocatables != other.allocatables
200
+ true
201
+ end
202
+
203
+ def eql?(other)
204
+ return other.class == self.class && other == self
205
+ end
206
+
207
+ def inspect
208
+ ::Ice::__stringify(self, T_AdapterDescriptor)
209
+ end
210
+
211
+ attr_accessor :name, :description, :id, :replicaGroupId, :priority, :registerProcess, :serverLifetime, :objects, :allocatables
212
+ end
213
+
214
+ T_AdapterDescriptor = ::Ice::__defineStruct('::IceGrid::AdapterDescriptor', AdapterDescriptor, [
215
+ ["name", ::Ice::T_string],
216
+ ["description", ::Ice::T_string],
217
+ ["id", ::Ice::T_string],
218
+ ["replicaGroupId", ::Ice::T_string],
219
+ ["priority", ::Ice::T_string],
220
+ ["registerProcess", ::Ice::T_bool],
221
+ ["serverLifetime", ::Ice::T_bool],
222
+ ["objects", ::IceGrid::T_ObjectDescriptorSeq],
223
+ ["allocatables", ::IceGrid::T_ObjectDescriptorSeq]
224
+ ])
225
+ end
226
+
227
+ if not defined?(::IceGrid::T_AdapterDescriptorSeq)
228
+ T_AdapterDescriptorSeq = ::Ice::__defineSequence('::IceGrid::AdapterDescriptorSeq', ::IceGrid::T_AdapterDescriptor)
229
+ end
230
+
231
+ if not defined?(::IceGrid::DbEnvDescriptor)
232
+ class DbEnvDescriptor
233
+ def initialize(name='', description='', dbHome='', properties=nil)
234
+ @name = name
235
+ @description = description
236
+ @dbHome = dbHome
237
+ @properties = properties
238
+ end
239
+
240
+ def hash
241
+ _h = 0
242
+ _h = 5 * _h + @name.hash
243
+ _h = 5 * _h + @description.hash
244
+ _h = 5 * _h + @dbHome.hash
245
+ _h = 5 * _h + @properties.hash
246
+ _h % 0x7fffffff
247
+ end
248
+
249
+ def ==(other)
250
+ return false if
251
+ @name != other.name or
252
+ @description != other.description or
253
+ @dbHome != other.dbHome or
254
+ @properties != other.properties
255
+ true
256
+ end
257
+
258
+ def eql?(other)
259
+ return other.class == self.class && other == self
260
+ end
261
+
262
+ def inspect
263
+ ::Ice::__stringify(self, T_DbEnvDescriptor)
264
+ end
265
+
266
+ attr_accessor :name, :description, :dbHome, :properties
267
+ end
268
+
269
+ T_DbEnvDescriptor = ::Ice::__defineStruct('::IceGrid::DbEnvDescriptor', DbEnvDescriptor, [
270
+ ["name", ::Ice::T_string],
271
+ ["description", ::Ice::T_string],
272
+ ["dbHome", ::Ice::T_string],
273
+ ["properties", ::IceGrid::T_PropertyDescriptorSeq]
274
+ ])
275
+ end
276
+
277
+ if not defined?(::IceGrid::T_DbEnvDescriptorSeq)
278
+ T_DbEnvDescriptorSeq = ::Ice::__defineSequence('::IceGrid::DbEnvDescriptorSeq', ::IceGrid::T_DbEnvDescriptor)
279
+ end
280
+
281
+ if not defined?(::IceGrid::CommunicatorDescriptor_mixin)
282
+ module CommunicatorDescriptor_mixin
283
+ include ::Ice::Object_mixin
284
+
285
+ def ice_ids(current=nil)
286
+ ['::Ice::Object', '::IceGrid::CommunicatorDescriptor']
287
+ end
288
+
289
+ def ice_id(current=nil)
290
+ '::IceGrid::CommunicatorDescriptor'
291
+ end
292
+
293
+ def inspect
294
+ ::Ice::__stringify(self, T_CommunicatorDescriptor)
295
+ end
296
+
297
+ attr_accessor :adapters, :propertySet, :dbEnvs, :logs, :description
298
+ end
299
+ class CommunicatorDescriptor
300
+ include CommunicatorDescriptor_mixin
301
+
302
+ def CommunicatorDescriptor.ice_staticId()
303
+ '::IceGrid::CommunicatorDescriptor'
304
+ end
305
+
306
+ def initialize(adapters=nil, propertySet=::IceGrid::PropertySetDescriptor.new, dbEnvs=nil, logs=nil, description='')
307
+ @adapters = adapters
308
+ @propertySet = propertySet
309
+ @dbEnvs = dbEnvs
310
+ @logs = logs
311
+ @description = description
312
+ end
313
+ end
314
+ module CommunicatorDescriptorPrx_mixin
315
+ end
316
+ class CommunicatorDescriptorPrx < ::Ice::ObjectPrx
317
+ include CommunicatorDescriptorPrx_mixin
318
+
319
+ def CommunicatorDescriptorPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
320
+ ice_checkedCast(proxy, '::IceGrid::CommunicatorDescriptor', facetOrCtx, _ctx)
321
+ end
322
+
323
+ def CommunicatorDescriptorPrx.uncheckedCast(proxy, facet=nil)
324
+ ice_uncheckedCast(proxy, facet)
325
+ end
326
+ def CommunicatorDescriptorPrx.ice_staticId()
327
+ '::IceGrid::CommunicatorDescriptor'
328
+ end
329
+ end
330
+
331
+ if not defined?(::IceGrid::T_CommunicatorDescriptor)
332
+ T_CommunicatorDescriptor = ::Ice::__declareClass('::IceGrid::CommunicatorDescriptor')
333
+ T_CommunicatorDescriptorPrx = ::Ice::__declareProxy('::IceGrid::CommunicatorDescriptor')
334
+ end
335
+
336
+ T_CommunicatorDescriptor.defineClass(CommunicatorDescriptor, -1, false, false, nil, [], [
337
+ ['adapters', ::IceGrid::T_AdapterDescriptorSeq, false, 0],
338
+ ['propertySet', ::IceGrid::T_PropertySetDescriptor, false, 0],
339
+ ['dbEnvs', ::IceGrid::T_DbEnvDescriptorSeq, false, 0],
340
+ ['logs', ::Ice::T_StringSeq, false, 0],
341
+ ['description', ::Ice::T_string, false, 0]
342
+ ])
343
+ CommunicatorDescriptor_mixin::ICE_TYPE = T_CommunicatorDescriptor
344
+
345
+ T_CommunicatorDescriptorPrx.defineProxy(CommunicatorDescriptorPrx, T_CommunicatorDescriptor)
346
+ CommunicatorDescriptorPrx::ICE_TYPE = T_CommunicatorDescriptorPrx
347
+ end
348
+
349
+ if not defined?(::IceGrid::DistributionDescriptor)
350
+ class DistributionDescriptor
351
+ def initialize(icepatch='', directories=nil)
352
+ @icepatch = icepatch
353
+ @directories = directories
354
+ end
355
+
356
+ def hash
357
+ _h = 0
358
+ _h = 5 * _h + @icepatch.hash
359
+ _h = 5 * _h + @directories.hash
360
+ _h % 0x7fffffff
361
+ end
362
+
363
+ def ==(other)
364
+ return false if
365
+ @icepatch != other.icepatch or
366
+ @directories != other.directories
367
+ true
368
+ end
369
+
370
+ def eql?(other)
371
+ return other.class == self.class && other == self
372
+ end
373
+
374
+ def inspect
375
+ ::Ice::__stringify(self, T_DistributionDescriptor)
376
+ end
377
+
378
+ attr_accessor :icepatch, :directories
379
+ end
380
+
381
+ T_DistributionDescriptor = ::Ice::__defineStruct('::IceGrid::DistributionDescriptor', DistributionDescriptor, [
382
+ ["icepatch", ::Ice::T_string],
383
+ ["directories", ::Ice::T_StringSeq]
384
+ ])
385
+ end
386
+
387
+ if not defined?(::IceGrid::ServerDescriptor_mixin)
388
+ module ServerDescriptor_mixin
389
+ include ::IceGrid::CommunicatorDescriptor_mixin
390
+
391
+ def ice_ids(current=nil)
392
+ ['::Ice::Object', '::IceGrid::CommunicatorDescriptor', '::IceGrid::ServerDescriptor']
393
+ end
394
+
395
+ def ice_id(current=nil)
396
+ '::IceGrid::ServerDescriptor'
397
+ end
398
+
399
+ def inspect
400
+ ::Ice::__stringify(self, T_ServerDescriptor)
401
+ end
402
+
403
+ attr_accessor :id, :exe, :iceVersion, :pwd, :options, :envs, :activation, :activationTimeout, :deactivationTimeout, :applicationDistrib, :distrib, :allocatable, :user
404
+ end
405
+ class ServerDescriptor < ::IceGrid::CommunicatorDescriptor
406
+ include ServerDescriptor_mixin
407
+
408
+ def ServerDescriptor.ice_staticId()
409
+ '::IceGrid::ServerDescriptor'
410
+ end
411
+
412
+ def initialize(adapters=nil, propertySet=::IceGrid::PropertySetDescriptor.new, dbEnvs=nil, logs=nil, description='', id='', exe='', iceVersion='', pwd='', options=nil, envs=nil, activation='', activationTimeout='', deactivationTimeout='', applicationDistrib=false, distrib=::IceGrid::DistributionDescriptor.new, allocatable=false, user='')
413
+ super(adapters, propertySet, dbEnvs, logs, description)
414
+ @id = id
415
+ @exe = exe
416
+ @iceVersion = iceVersion
417
+ @pwd = pwd
418
+ @options = options
419
+ @envs = envs
420
+ @activation = activation
421
+ @activationTimeout = activationTimeout
422
+ @deactivationTimeout = deactivationTimeout
423
+ @applicationDistrib = applicationDistrib
424
+ @distrib = distrib
425
+ @allocatable = allocatable
426
+ @user = user
427
+ end
428
+ end
429
+ module ServerDescriptorPrx_mixin
430
+ include ::IceGrid::CommunicatorDescriptorPrx_mixin
431
+ end
432
+ class ServerDescriptorPrx < ::Ice::ObjectPrx
433
+ include ServerDescriptorPrx_mixin
434
+
435
+ def ServerDescriptorPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
436
+ ice_checkedCast(proxy, '::IceGrid::ServerDescriptor', facetOrCtx, _ctx)
437
+ end
438
+
439
+ def ServerDescriptorPrx.uncheckedCast(proxy, facet=nil)
440
+ ice_uncheckedCast(proxy, facet)
441
+ end
442
+ def ServerDescriptorPrx.ice_staticId()
443
+ '::IceGrid::ServerDescriptor'
444
+ end
445
+ end
446
+
447
+ if not defined?(::IceGrid::T_ServerDescriptor)
448
+ T_ServerDescriptor = ::Ice::__declareClass('::IceGrid::ServerDescriptor')
449
+ T_ServerDescriptorPrx = ::Ice::__declareProxy('::IceGrid::ServerDescriptor')
450
+ end
451
+
452
+ T_ServerDescriptor.defineClass(ServerDescriptor, -1, false, false, ::IceGrid::T_CommunicatorDescriptor, [], [
453
+ ['id', ::Ice::T_string, false, 0],
454
+ ['exe', ::Ice::T_string, false, 0],
455
+ ['iceVersion', ::Ice::T_string, false, 0],
456
+ ['pwd', ::Ice::T_string, false, 0],
457
+ ['options', ::Ice::T_StringSeq, false, 0],
458
+ ['envs', ::Ice::T_StringSeq, false, 0],
459
+ ['activation', ::Ice::T_string, false, 0],
460
+ ['activationTimeout', ::Ice::T_string, false, 0],
461
+ ['deactivationTimeout', ::Ice::T_string, false, 0],
462
+ ['applicationDistrib', ::Ice::T_bool, false, 0],
463
+ ['distrib', ::IceGrid::T_DistributionDescriptor, false, 0],
464
+ ['allocatable', ::Ice::T_bool, false, 0],
465
+ ['user', ::Ice::T_string, false, 0]
466
+ ])
467
+ ServerDescriptor_mixin::ICE_TYPE = T_ServerDescriptor
468
+
469
+ T_ServerDescriptorPrx.defineProxy(ServerDescriptorPrx, T_ServerDescriptor)
470
+ ServerDescriptorPrx::ICE_TYPE = T_ServerDescriptorPrx
471
+ end
472
+
473
+ if not defined?(::IceGrid::T_ServerDescriptorSeq)
474
+ T_ServerDescriptorSeq = ::Ice::__defineSequence('::IceGrid::ServerDescriptorSeq', ::IceGrid::T_ServerDescriptor)
475
+ end
476
+
477
+ if not defined?(::IceGrid::ServiceDescriptor_mixin)
478
+ module ServiceDescriptor_mixin
479
+ include ::IceGrid::CommunicatorDescriptor_mixin
480
+
481
+ def ice_ids(current=nil)
482
+ ['::Ice::Object', '::IceGrid::CommunicatorDescriptor', '::IceGrid::ServiceDescriptor']
483
+ end
484
+
485
+ def ice_id(current=nil)
486
+ '::IceGrid::ServiceDescriptor'
487
+ end
488
+
489
+ def inspect
490
+ ::Ice::__stringify(self, T_ServiceDescriptor)
491
+ end
492
+
493
+ attr_accessor :name, :entry
494
+ end
495
+ class ServiceDescriptor < ::IceGrid::CommunicatorDescriptor
496
+ include ServiceDescriptor_mixin
497
+
498
+ def ServiceDescriptor.ice_staticId()
499
+ '::IceGrid::ServiceDescriptor'
500
+ end
501
+
502
+ def initialize(adapters=nil, propertySet=::IceGrid::PropertySetDescriptor.new, dbEnvs=nil, logs=nil, description='', name='', entry='')
503
+ super(adapters, propertySet, dbEnvs, logs, description)
504
+ @name = name
505
+ @entry = entry
506
+ end
507
+ end
508
+ module ServiceDescriptorPrx_mixin
509
+ include ::IceGrid::CommunicatorDescriptorPrx_mixin
510
+ end
511
+ class ServiceDescriptorPrx < ::Ice::ObjectPrx
512
+ include ServiceDescriptorPrx_mixin
513
+
514
+ def ServiceDescriptorPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
515
+ ice_checkedCast(proxy, '::IceGrid::ServiceDescriptor', facetOrCtx, _ctx)
516
+ end
517
+
518
+ def ServiceDescriptorPrx.uncheckedCast(proxy, facet=nil)
519
+ ice_uncheckedCast(proxy, facet)
520
+ end
521
+ def ServiceDescriptorPrx.ice_staticId()
522
+ '::IceGrid::ServiceDescriptor'
523
+ end
524
+ end
525
+
526
+ if not defined?(::IceGrid::T_ServiceDescriptor)
527
+ T_ServiceDescriptor = ::Ice::__declareClass('::IceGrid::ServiceDescriptor')
528
+ T_ServiceDescriptorPrx = ::Ice::__declareProxy('::IceGrid::ServiceDescriptor')
529
+ end
530
+
531
+ T_ServiceDescriptor.defineClass(ServiceDescriptor, -1, false, false, ::IceGrid::T_CommunicatorDescriptor, [], [
532
+ ['name', ::Ice::T_string, false, 0],
533
+ ['entry', ::Ice::T_string, false, 0]
534
+ ])
535
+ ServiceDescriptor_mixin::ICE_TYPE = T_ServiceDescriptor
536
+
537
+ T_ServiceDescriptorPrx.defineProxy(ServiceDescriptorPrx, T_ServiceDescriptor)
538
+ ServiceDescriptorPrx::ICE_TYPE = T_ServiceDescriptorPrx
539
+ end
540
+
541
+ if not defined?(::IceGrid::T_ServiceDescriptorSeq)
542
+ T_ServiceDescriptorSeq = ::Ice::__defineSequence('::IceGrid::ServiceDescriptorSeq', ::IceGrid::T_ServiceDescriptor)
543
+ end
544
+
545
+ if not defined?(::IceGrid::ServerInstanceDescriptor)
546
+ class ServerInstanceDescriptor
547
+ def initialize(template='', parameterValues=nil, propertySet=::IceGrid::PropertySetDescriptor.new, servicePropertySets=nil)
548
+ @template = template
549
+ @parameterValues = parameterValues
550
+ @propertySet = propertySet
551
+ @servicePropertySets = servicePropertySets
552
+ end
553
+
554
+ def hash
555
+ _h = 0
556
+ _h = 5 * _h + @template.hash
557
+ _h = 5 * _h + @parameterValues.hash
558
+ _h = 5 * _h + @propertySet.hash
559
+ _h = 5 * _h + @servicePropertySets.hash
560
+ _h % 0x7fffffff
561
+ end
562
+
563
+ def ==(other)
564
+ return false if
565
+ @template != other.template or
566
+ @parameterValues != other.parameterValues or
567
+ @propertySet != other.propertySet or
568
+ @servicePropertySets != other.servicePropertySets
569
+ true
570
+ end
571
+
572
+ def eql?(other)
573
+ return other.class == self.class && other == self
574
+ end
575
+
576
+ def inspect
577
+ ::Ice::__stringify(self, T_ServerInstanceDescriptor)
578
+ end
579
+
580
+ attr_accessor :template, :parameterValues, :propertySet, :servicePropertySets
581
+ end
582
+
583
+ T_ServerInstanceDescriptor = ::Ice::__defineStruct('::IceGrid::ServerInstanceDescriptor', ServerInstanceDescriptor, [
584
+ ["template", ::Ice::T_string],
585
+ ["parameterValues", ::IceGrid::T_StringStringDict],
586
+ ["propertySet", ::IceGrid::T_PropertySetDescriptor],
587
+ ["servicePropertySets", ::IceGrid::T_PropertySetDescriptorDict]
588
+ ])
589
+ end
590
+
591
+ if not defined?(::IceGrid::T_ServerInstanceDescriptorSeq)
592
+ T_ServerInstanceDescriptorSeq = ::Ice::__defineSequence('::IceGrid::ServerInstanceDescriptorSeq', ::IceGrid::T_ServerInstanceDescriptor)
593
+ end
594
+
595
+ if not defined?(::IceGrid::TemplateDescriptor)
596
+ class TemplateDescriptor
597
+ def initialize(descriptor=nil, parameters=nil, parameterDefaults=nil)
598
+ @descriptor = descriptor
599
+ @parameters = parameters
600
+ @parameterDefaults = parameterDefaults
601
+ end
602
+
603
+ def hash
604
+ _h = 0
605
+ _h = 5 * _h + @descriptor.hash
606
+ _h = 5 * _h + @parameters.hash
607
+ _h = 5 * _h + @parameterDefaults.hash
608
+ _h % 0x7fffffff
609
+ end
610
+
611
+ def ==(other)
612
+ return false if
613
+ @descriptor != other.descriptor or
614
+ @parameters != other.parameters or
615
+ @parameterDefaults != other.parameterDefaults
616
+ true
617
+ end
618
+
619
+ def eql?(other)
620
+ return other.class == self.class && other == self
621
+ end
622
+
623
+ def inspect
624
+ ::Ice::__stringify(self, T_TemplateDescriptor)
625
+ end
626
+
627
+ attr_accessor :descriptor, :parameters, :parameterDefaults
628
+ end
629
+
630
+ T_TemplateDescriptor = ::Ice::__defineStruct('::IceGrid::TemplateDescriptor', TemplateDescriptor, [
631
+ ["descriptor", ::IceGrid::T_CommunicatorDescriptor],
632
+ ["parameters", ::Ice::T_StringSeq],
633
+ ["parameterDefaults", ::IceGrid::T_StringStringDict]
634
+ ])
635
+ end
636
+
637
+ if not defined?(::IceGrid::T_TemplateDescriptorDict)
638
+ T_TemplateDescriptorDict = ::Ice::__defineDictionary('::IceGrid::TemplateDescriptorDict', ::Ice::T_string, ::IceGrid::T_TemplateDescriptor)
639
+ end
640
+
641
+ if not defined?(::IceGrid::ServiceInstanceDescriptor)
642
+ class ServiceInstanceDescriptor
643
+ def initialize(template='', parameterValues=nil, descriptor=nil, propertySet=::IceGrid::PropertySetDescriptor.new)
644
+ @template = template
645
+ @parameterValues = parameterValues
646
+ @descriptor = descriptor
647
+ @propertySet = propertySet
648
+ end
649
+
650
+ def hash
651
+ _h = 0
652
+ _h = 5 * _h + @template.hash
653
+ _h = 5 * _h + @parameterValues.hash
654
+ _h = 5 * _h + @descriptor.hash
655
+ _h = 5 * _h + @propertySet.hash
656
+ _h % 0x7fffffff
657
+ end
658
+
659
+ def ==(other)
660
+ return false if
661
+ @template != other.template or
662
+ @parameterValues != other.parameterValues or
663
+ @descriptor != other.descriptor or
664
+ @propertySet != other.propertySet
665
+ true
666
+ end
667
+
668
+ def eql?(other)
669
+ return other.class == self.class && other == self
670
+ end
671
+
672
+ def inspect
673
+ ::Ice::__stringify(self, T_ServiceInstanceDescriptor)
674
+ end
675
+
676
+ attr_accessor :template, :parameterValues, :descriptor, :propertySet
677
+ end
678
+
679
+ T_ServiceInstanceDescriptor = ::Ice::__defineStruct('::IceGrid::ServiceInstanceDescriptor', ServiceInstanceDescriptor, [
680
+ ["template", ::Ice::T_string],
681
+ ["parameterValues", ::IceGrid::T_StringStringDict],
682
+ ["descriptor", ::IceGrid::T_ServiceDescriptor],
683
+ ["propertySet", ::IceGrid::T_PropertySetDescriptor]
684
+ ])
685
+ end
686
+
687
+ if not defined?(::IceGrid::T_ServiceInstanceDescriptorSeq)
688
+ T_ServiceInstanceDescriptorSeq = ::Ice::__defineSequence('::IceGrid::ServiceInstanceDescriptorSeq', ::IceGrid::T_ServiceInstanceDescriptor)
689
+ end
690
+
691
+ if not defined?(::IceGrid::IceBoxDescriptor_mixin)
692
+ module IceBoxDescriptor_mixin
693
+ include ::IceGrid::ServerDescriptor_mixin
694
+
695
+ def ice_ids(current=nil)
696
+ ['::Ice::Object', '::IceGrid::CommunicatorDescriptor', '::IceGrid::IceBoxDescriptor', '::IceGrid::ServerDescriptor']
697
+ end
698
+
699
+ def ice_id(current=nil)
700
+ '::IceGrid::IceBoxDescriptor'
701
+ end
702
+
703
+ def inspect
704
+ ::Ice::__stringify(self, T_IceBoxDescriptor)
705
+ end
706
+
707
+ attr_accessor :services
708
+ end
709
+ class IceBoxDescriptor < ::IceGrid::ServerDescriptor
710
+ include IceBoxDescriptor_mixin
711
+
712
+ def IceBoxDescriptor.ice_staticId()
713
+ '::IceGrid::IceBoxDescriptor'
714
+ end
715
+
716
+ def initialize(adapters=nil, propertySet=::IceGrid::PropertySetDescriptor.new, dbEnvs=nil, logs=nil, description='', id='', exe='', iceVersion='', pwd='', options=nil, envs=nil, activation='', activationTimeout='', deactivationTimeout='', applicationDistrib=false, distrib=::IceGrid::DistributionDescriptor.new, allocatable=false, user='', services=nil)
717
+ super(adapters, propertySet, dbEnvs, logs, description, id, exe, iceVersion, pwd, options, envs, activation, activationTimeout, deactivationTimeout, applicationDistrib, distrib, allocatable, user)
718
+ @services = services
719
+ end
720
+ end
721
+ module IceBoxDescriptorPrx_mixin
722
+ include ::IceGrid::ServerDescriptorPrx_mixin
723
+ end
724
+ class IceBoxDescriptorPrx < ::Ice::ObjectPrx
725
+ include IceBoxDescriptorPrx_mixin
726
+
727
+ def IceBoxDescriptorPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
728
+ ice_checkedCast(proxy, '::IceGrid::IceBoxDescriptor', facetOrCtx, _ctx)
729
+ end
730
+
731
+ def IceBoxDescriptorPrx.uncheckedCast(proxy, facet=nil)
732
+ ice_uncheckedCast(proxy, facet)
733
+ end
734
+ def IceBoxDescriptorPrx.ice_staticId()
735
+ '::IceGrid::IceBoxDescriptor'
736
+ end
737
+ end
738
+
739
+ if not defined?(::IceGrid::T_IceBoxDescriptor)
740
+ T_IceBoxDescriptor = ::Ice::__declareClass('::IceGrid::IceBoxDescriptor')
741
+ T_IceBoxDescriptorPrx = ::Ice::__declareProxy('::IceGrid::IceBoxDescriptor')
742
+ end
743
+
744
+ T_IceBoxDescriptor.defineClass(IceBoxDescriptor, -1, false, false, ::IceGrid::T_ServerDescriptor, [], [['services', ::IceGrid::T_ServiceInstanceDescriptorSeq, false, 0]])
745
+ IceBoxDescriptor_mixin::ICE_TYPE = T_IceBoxDescriptor
746
+
747
+ T_IceBoxDescriptorPrx.defineProxy(IceBoxDescriptorPrx, T_IceBoxDescriptor)
748
+ IceBoxDescriptorPrx::ICE_TYPE = T_IceBoxDescriptorPrx
749
+ end
750
+
751
+ if not defined?(::IceGrid::NodeDescriptor)
752
+ class NodeDescriptor
753
+ def initialize(variables=nil, serverInstances=nil, servers=nil, loadFactor='', description='', propertySets=nil)
754
+ @variables = variables
755
+ @serverInstances = serverInstances
756
+ @servers = servers
757
+ @loadFactor = loadFactor
758
+ @description = description
759
+ @propertySets = propertySets
760
+ end
761
+
762
+ def hash
763
+ _h = 0
764
+ _h = 5 * _h + @variables.hash
765
+ _h = 5 * _h + @serverInstances.hash
766
+ _h = 5 * _h + @servers.hash
767
+ _h = 5 * _h + @loadFactor.hash
768
+ _h = 5 * _h + @description.hash
769
+ _h = 5 * _h + @propertySets.hash
770
+ _h % 0x7fffffff
771
+ end
772
+
773
+ def ==(other)
774
+ return false if
775
+ @variables != other.variables or
776
+ @serverInstances != other.serverInstances or
777
+ @servers != other.servers or
778
+ @loadFactor != other.loadFactor or
779
+ @description != other.description or
780
+ @propertySets != other.propertySets
781
+ true
782
+ end
783
+
784
+ def eql?(other)
785
+ return other.class == self.class && other == self
786
+ end
787
+
788
+ def inspect
789
+ ::Ice::__stringify(self, T_NodeDescriptor)
790
+ end
791
+
792
+ attr_accessor :variables, :serverInstances, :servers, :loadFactor, :description, :propertySets
793
+ end
794
+
795
+ T_NodeDescriptor = ::Ice::__defineStruct('::IceGrid::NodeDescriptor', NodeDescriptor, [
796
+ ["variables", ::IceGrid::T_StringStringDict],
797
+ ["serverInstances", ::IceGrid::T_ServerInstanceDescriptorSeq],
798
+ ["servers", ::IceGrid::T_ServerDescriptorSeq],
799
+ ["loadFactor", ::Ice::T_string],
800
+ ["description", ::Ice::T_string],
801
+ ["propertySets", ::IceGrid::T_PropertySetDescriptorDict]
802
+ ])
803
+ end
804
+
805
+ if not defined?(::IceGrid::T_NodeDescriptorDict)
806
+ T_NodeDescriptorDict = ::Ice::__defineDictionary('::IceGrid::NodeDescriptorDict', ::Ice::T_string, ::IceGrid::T_NodeDescriptor)
807
+ end
808
+
809
+ if not defined?(::IceGrid::LoadBalancingPolicy_mixin)
810
+ module LoadBalancingPolicy_mixin
811
+ include ::Ice::Object_mixin
812
+
813
+ def ice_ids(current=nil)
814
+ ['::Ice::Object', '::IceGrid::LoadBalancingPolicy']
815
+ end
816
+
817
+ def ice_id(current=nil)
818
+ '::IceGrid::LoadBalancingPolicy'
819
+ end
820
+
821
+ def inspect
822
+ ::Ice::__stringify(self, T_LoadBalancingPolicy)
823
+ end
824
+
825
+ attr_accessor :nReplicas
826
+ end
827
+ class LoadBalancingPolicy
828
+ include LoadBalancingPolicy_mixin
829
+
830
+ def LoadBalancingPolicy.ice_staticId()
831
+ '::IceGrid::LoadBalancingPolicy'
832
+ end
833
+
834
+ def initialize(nReplicas='')
835
+ @nReplicas = nReplicas
836
+ end
837
+ end
838
+ module LoadBalancingPolicyPrx_mixin
839
+ end
840
+ class LoadBalancingPolicyPrx < ::Ice::ObjectPrx
841
+ include LoadBalancingPolicyPrx_mixin
842
+
843
+ def LoadBalancingPolicyPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
844
+ ice_checkedCast(proxy, '::IceGrid::LoadBalancingPolicy', facetOrCtx, _ctx)
845
+ end
846
+
847
+ def LoadBalancingPolicyPrx.uncheckedCast(proxy, facet=nil)
848
+ ice_uncheckedCast(proxy, facet)
849
+ end
850
+ def LoadBalancingPolicyPrx.ice_staticId()
851
+ '::IceGrid::LoadBalancingPolicy'
852
+ end
853
+ end
854
+
855
+ if not defined?(::IceGrid::T_LoadBalancingPolicy)
856
+ T_LoadBalancingPolicy = ::Ice::__declareClass('::IceGrid::LoadBalancingPolicy')
857
+ T_LoadBalancingPolicyPrx = ::Ice::__declareProxy('::IceGrid::LoadBalancingPolicy')
858
+ end
859
+
860
+ T_LoadBalancingPolicy.defineClass(LoadBalancingPolicy, -1, false, false, nil, [], [['nReplicas', ::Ice::T_string, false, 0]])
861
+ LoadBalancingPolicy_mixin::ICE_TYPE = T_LoadBalancingPolicy
862
+
863
+ T_LoadBalancingPolicyPrx.defineProxy(LoadBalancingPolicyPrx, T_LoadBalancingPolicy)
864
+ LoadBalancingPolicyPrx::ICE_TYPE = T_LoadBalancingPolicyPrx
865
+ end
866
+
867
+ if not defined?(::IceGrid::RandomLoadBalancingPolicy_mixin)
868
+ module RandomLoadBalancingPolicy_mixin
869
+ include ::IceGrid::LoadBalancingPolicy_mixin
870
+
871
+ def ice_ids(current=nil)
872
+ ['::Ice::Object', '::IceGrid::LoadBalancingPolicy', '::IceGrid::RandomLoadBalancingPolicy']
873
+ end
874
+
875
+ def ice_id(current=nil)
876
+ '::IceGrid::RandomLoadBalancingPolicy'
877
+ end
878
+
879
+ def inspect
880
+ ::Ice::__stringify(self, T_RandomLoadBalancingPolicy)
881
+ end
882
+ end
883
+ class RandomLoadBalancingPolicy < ::IceGrid::LoadBalancingPolicy
884
+ include RandomLoadBalancingPolicy_mixin
885
+
886
+ def RandomLoadBalancingPolicy.ice_staticId()
887
+ '::IceGrid::RandomLoadBalancingPolicy'
888
+ end
889
+
890
+ def initialize(nReplicas='')
891
+ super(nReplicas)
892
+ end
893
+ end
894
+ module RandomLoadBalancingPolicyPrx_mixin
895
+ include ::IceGrid::LoadBalancingPolicyPrx_mixin
896
+ end
897
+ class RandomLoadBalancingPolicyPrx < ::Ice::ObjectPrx
898
+ include RandomLoadBalancingPolicyPrx_mixin
899
+
900
+ def RandomLoadBalancingPolicyPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
901
+ ice_checkedCast(proxy, '::IceGrid::RandomLoadBalancingPolicy', facetOrCtx, _ctx)
902
+ end
903
+
904
+ def RandomLoadBalancingPolicyPrx.uncheckedCast(proxy, facet=nil)
905
+ ice_uncheckedCast(proxy, facet)
906
+ end
907
+ def RandomLoadBalancingPolicyPrx.ice_staticId()
908
+ '::IceGrid::RandomLoadBalancingPolicy'
909
+ end
910
+ end
911
+
912
+ if not defined?(::IceGrid::T_RandomLoadBalancingPolicy)
913
+ T_RandomLoadBalancingPolicy = ::Ice::__declareClass('::IceGrid::RandomLoadBalancingPolicy')
914
+ T_RandomLoadBalancingPolicyPrx = ::Ice::__declareProxy('::IceGrid::RandomLoadBalancingPolicy')
915
+ end
916
+
917
+ T_RandomLoadBalancingPolicy.defineClass(RandomLoadBalancingPolicy, -1, false, false, ::IceGrid::T_LoadBalancingPolicy, [], [])
918
+ RandomLoadBalancingPolicy_mixin::ICE_TYPE = T_RandomLoadBalancingPolicy
919
+
920
+ T_RandomLoadBalancingPolicyPrx.defineProxy(RandomLoadBalancingPolicyPrx, T_RandomLoadBalancingPolicy)
921
+ RandomLoadBalancingPolicyPrx::ICE_TYPE = T_RandomLoadBalancingPolicyPrx
922
+ end
923
+
924
+ if not defined?(::IceGrid::OrderedLoadBalancingPolicy_mixin)
925
+ module OrderedLoadBalancingPolicy_mixin
926
+ include ::IceGrid::LoadBalancingPolicy_mixin
927
+
928
+ def ice_ids(current=nil)
929
+ ['::Ice::Object', '::IceGrid::LoadBalancingPolicy', '::IceGrid::OrderedLoadBalancingPolicy']
930
+ end
931
+
932
+ def ice_id(current=nil)
933
+ '::IceGrid::OrderedLoadBalancingPolicy'
934
+ end
935
+
936
+ def inspect
937
+ ::Ice::__stringify(self, T_OrderedLoadBalancingPolicy)
938
+ end
939
+ end
940
+ class OrderedLoadBalancingPolicy < ::IceGrid::LoadBalancingPolicy
941
+ include OrderedLoadBalancingPolicy_mixin
942
+
943
+ def OrderedLoadBalancingPolicy.ice_staticId()
944
+ '::IceGrid::OrderedLoadBalancingPolicy'
945
+ end
946
+
947
+ def initialize(nReplicas='')
948
+ super(nReplicas)
949
+ end
950
+ end
951
+ module OrderedLoadBalancingPolicyPrx_mixin
952
+ include ::IceGrid::LoadBalancingPolicyPrx_mixin
953
+ end
954
+ class OrderedLoadBalancingPolicyPrx < ::Ice::ObjectPrx
955
+ include OrderedLoadBalancingPolicyPrx_mixin
956
+
957
+ def OrderedLoadBalancingPolicyPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
958
+ ice_checkedCast(proxy, '::IceGrid::OrderedLoadBalancingPolicy', facetOrCtx, _ctx)
959
+ end
960
+
961
+ def OrderedLoadBalancingPolicyPrx.uncheckedCast(proxy, facet=nil)
962
+ ice_uncheckedCast(proxy, facet)
963
+ end
964
+ def OrderedLoadBalancingPolicyPrx.ice_staticId()
965
+ '::IceGrid::OrderedLoadBalancingPolicy'
966
+ end
967
+ end
968
+
969
+ if not defined?(::IceGrid::T_OrderedLoadBalancingPolicy)
970
+ T_OrderedLoadBalancingPolicy = ::Ice::__declareClass('::IceGrid::OrderedLoadBalancingPolicy')
971
+ T_OrderedLoadBalancingPolicyPrx = ::Ice::__declareProxy('::IceGrid::OrderedLoadBalancingPolicy')
972
+ end
973
+
974
+ T_OrderedLoadBalancingPolicy.defineClass(OrderedLoadBalancingPolicy, -1, false, false, ::IceGrid::T_LoadBalancingPolicy, [], [])
975
+ OrderedLoadBalancingPolicy_mixin::ICE_TYPE = T_OrderedLoadBalancingPolicy
976
+
977
+ T_OrderedLoadBalancingPolicyPrx.defineProxy(OrderedLoadBalancingPolicyPrx, T_OrderedLoadBalancingPolicy)
978
+ OrderedLoadBalancingPolicyPrx::ICE_TYPE = T_OrderedLoadBalancingPolicyPrx
979
+ end
980
+
981
+ if not defined?(::IceGrid::RoundRobinLoadBalancingPolicy_mixin)
982
+ module RoundRobinLoadBalancingPolicy_mixin
983
+ include ::IceGrid::LoadBalancingPolicy_mixin
984
+
985
+ def ice_ids(current=nil)
986
+ ['::Ice::Object', '::IceGrid::LoadBalancingPolicy', '::IceGrid::RoundRobinLoadBalancingPolicy']
987
+ end
988
+
989
+ def ice_id(current=nil)
990
+ '::IceGrid::RoundRobinLoadBalancingPolicy'
991
+ end
992
+
993
+ def inspect
994
+ ::Ice::__stringify(self, T_RoundRobinLoadBalancingPolicy)
995
+ end
996
+ end
997
+ class RoundRobinLoadBalancingPolicy < ::IceGrid::LoadBalancingPolicy
998
+ include RoundRobinLoadBalancingPolicy_mixin
999
+
1000
+ def RoundRobinLoadBalancingPolicy.ice_staticId()
1001
+ '::IceGrid::RoundRobinLoadBalancingPolicy'
1002
+ end
1003
+
1004
+ def initialize(nReplicas='')
1005
+ super(nReplicas)
1006
+ end
1007
+ end
1008
+ module RoundRobinLoadBalancingPolicyPrx_mixin
1009
+ include ::IceGrid::LoadBalancingPolicyPrx_mixin
1010
+ end
1011
+ class RoundRobinLoadBalancingPolicyPrx < ::Ice::ObjectPrx
1012
+ include RoundRobinLoadBalancingPolicyPrx_mixin
1013
+
1014
+ def RoundRobinLoadBalancingPolicyPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
1015
+ ice_checkedCast(proxy, '::IceGrid::RoundRobinLoadBalancingPolicy', facetOrCtx, _ctx)
1016
+ end
1017
+
1018
+ def RoundRobinLoadBalancingPolicyPrx.uncheckedCast(proxy, facet=nil)
1019
+ ice_uncheckedCast(proxy, facet)
1020
+ end
1021
+ def RoundRobinLoadBalancingPolicyPrx.ice_staticId()
1022
+ '::IceGrid::RoundRobinLoadBalancingPolicy'
1023
+ end
1024
+ end
1025
+
1026
+ if not defined?(::IceGrid::T_RoundRobinLoadBalancingPolicy)
1027
+ T_RoundRobinLoadBalancingPolicy = ::Ice::__declareClass('::IceGrid::RoundRobinLoadBalancingPolicy')
1028
+ T_RoundRobinLoadBalancingPolicyPrx = ::Ice::__declareProxy('::IceGrid::RoundRobinLoadBalancingPolicy')
1029
+ end
1030
+
1031
+ T_RoundRobinLoadBalancingPolicy.defineClass(RoundRobinLoadBalancingPolicy, -1, false, false, ::IceGrid::T_LoadBalancingPolicy, [], [])
1032
+ RoundRobinLoadBalancingPolicy_mixin::ICE_TYPE = T_RoundRobinLoadBalancingPolicy
1033
+
1034
+ T_RoundRobinLoadBalancingPolicyPrx.defineProxy(RoundRobinLoadBalancingPolicyPrx, T_RoundRobinLoadBalancingPolicy)
1035
+ RoundRobinLoadBalancingPolicyPrx::ICE_TYPE = T_RoundRobinLoadBalancingPolicyPrx
1036
+ end
1037
+
1038
+ if not defined?(::IceGrid::AdaptiveLoadBalancingPolicy_mixin)
1039
+ module AdaptiveLoadBalancingPolicy_mixin
1040
+ include ::IceGrid::LoadBalancingPolicy_mixin
1041
+
1042
+ def ice_ids(current=nil)
1043
+ ['::Ice::Object', '::IceGrid::AdaptiveLoadBalancingPolicy', '::IceGrid::LoadBalancingPolicy']
1044
+ end
1045
+
1046
+ def ice_id(current=nil)
1047
+ '::IceGrid::AdaptiveLoadBalancingPolicy'
1048
+ end
1049
+
1050
+ def inspect
1051
+ ::Ice::__stringify(self, T_AdaptiveLoadBalancingPolicy)
1052
+ end
1053
+
1054
+ attr_accessor :loadSample
1055
+ end
1056
+ class AdaptiveLoadBalancingPolicy < ::IceGrid::LoadBalancingPolicy
1057
+ include AdaptiveLoadBalancingPolicy_mixin
1058
+
1059
+ def AdaptiveLoadBalancingPolicy.ice_staticId()
1060
+ '::IceGrid::AdaptiveLoadBalancingPolicy'
1061
+ end
1062
+
1063
+ def initialize(nReplicas='', loadSample='')
1064
+ super(nReplicas)
1065
+ @loadSample = loadSample
1066
+ end
1067
+ end
1068
+ module AdaptiveLoadBalancingPolicyPrx_mixin
1069
+ include ::IceGrid::LoadBalancingPolicyPrx_mixin
1070
+ end
1071
+ class AdaptiveLoadBalancingPolicyPrx < ::Ice::ObjectPrx
1072
+ include AdaptiveLoadBalancingPolicyPrx_mixin
1073
+
1074
+ def AdaptiveLoadBalancingPolicyPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
1075
+ ice_checkedCast(proxy, '::IceGrid::AdaptiveLoadBalancingPolicy', facetOrCtx, _ctx)
1076
+ end
1077
+
1078
+ def AdaptiveLoadBalancingPolicyPrx.uncheckedCast(proxy, facet=nil)
1079
+ ice_uncheckedCast(proxy, facet)
1080
+ end
1081
+ def AdaptiveLoadBalancingPolicyPrx.ice_staticId()
1082
+ '::IceGrid::AdaptiveLoadBalancingPolicy'
1083
+ end
1084
+ end
1085
+
1086
+ if not defined?(::IceGrid::T_AdaptiveLoadBalancingPolicy)
1087
+ T_AdaptiveLoadBalancingPolicy = ::Ice::__declareClass('::IceGrid::AdaptiveLoadBalancingPolicy')
1088
+ T_AdaptiveLoadBalancingPolicyPrx = ::Ice::__declareProxy('::IceGrid::AdaptiveLoadBalancingPolicy')
1089
+ end
1090
+
1091
+ T_AdaptiveLoadBalancingPolicy.defineClass(AdaptiveLoadBalancingPolicy, -1, false, false, ::IceGrid::T_LoadBalancingPolicy, [], [['loadSample', ::Ice::T_string, false, 0]])
1092
+ AdaptiveLoadBalancingPolicy_mixin::ICE_TYPE = T_AdaptiveLoadBalancingPolicy
1093
+
1094
+ T_AdaptiveLoadBalancingPolicyPrx.defineProxy(AdaptiveLoadBalancingPolicyPrx, T_AdaptiveLoadBalancingPolicy)
1095
+ AdaptiveLoadBalancingPolicyPrx::ICE_TYPE = T_AdaptiveLoadBalancingPolicyPrx
1096
+ end
1097
+
1098
+ if not defined?(::IceGrid::ReplicaGroupDescriptor)
1099
+ class ReplicaGroupDescriptor
1100
+ def initialize(id='', loadBalancing=nil, proxyOptions='', objects=nil, description='', filter='')
1101
+ @id = id
1102
+ @loadBalancing = loadBalancing
1103
+ @proxyOptions = proxyOptions
1104
+ @objects = objects
1105
+ @description = description
1106
+ @filter = filter
1107
+ end
1108
+
1109
+ def hash
1110
+ _h = 0
1111
+ _h = 5 * _h + @id.hash
1112
+ _h = 5 * _h + @loadBalancing.hash
1113
+ _h = 5 * _h + @proxyOptions.hash
1114
+ _h = 5 * _h + @objects.hash
1115
+ _h = 5 * _h + @description.hash
1116
+ _h = 5 * _h + @filter.hash
1117
+ _h % 0x7fffffff
1118
+ end
1119
+
1120
+ def ==(other)
1121
+ return false if
1122
+ @id != other.id or
1123
+ @loadBalancing != other.loadBalancing or
1124
+ @proxyOptions != other.proxyOptions or
1125
+ @objects != other.objects or
1126
+ @description != other.description or
1127
+ @filter != other.filter
1128
+ true
1129
+ end
1130
+
1131
+ def eql?(other)
1132
+ return other.class == self.class && other == self
1133
+ end
1134
+
1135
+ def inspect
1136
+ ::Ice::__stringify(self, T_ReplicaGroupDescriptor)
1137
+ end
1138
+
1139
+ attr_accessor :id, :loadBalancing, :proxyOptions, :objects, :description, :filter
1140
+ end
1141
+
1142
+ T_ReplicaGroupDescriptor = ::Ice::__defineStruct('::IceGrid::ReplicaGroupDescriptor', ReplicaGroupDescriptor, [
1143
+ ["id", ::Ice::T_string],
1144
+ ["loadBalancing", ::IceGrid::T_LoadBalancingPolicy],
1145
+ ["proxyOptions", ::Ice::T_string],
1146
+ ["objects", ::IceGrid::T_ObjectDescriptorSeq],
1147
+ ["description", ::Ice::T_string],
1148
+ ["filter", ::Ice::T_string]
1149
+ ])
1150
+ end
1151
+
1152
+ if not defined?(::IceGrid::T_ReplicaGroupDescriptorSeq)
1153
+ T_ReplicaGroupDescriptorSeq = ::Ice::__defineSequence('::IceGrid::ReplicaGroupDescriptorSeq', ::IceGrid::T_ReplicaGroupDescriptor)
1154
+ end
1155
+
1156
+ if not defined?(::IceGrid::ApplicationDescriptor)
1157
+ class ApplicationDescriptor
1158
+ def initialize(name='', variables=nil, replicaGroups=nil, serverTemplates=nil, serviceTemplates=nil, nodes=nil, distrib=::IceGrid::DistributionDescriptor.new, description='', propertySets=nil)
1159
+ @name = name
1160
+ @variables = variables
1161
+ @replicaGroups = replicaGroups
1162
+ @serverTemplates = serverTemplates
1163
+ @serviceTemplates = serviceTemplates
1164
+ @nodes = nodes
1165
+ @distrib = distrib
1166
+ @description = description
1167
+ @propertySets = propertySets
1168
+ end
1169
+
1170
+ def hash
1171
+ _h = 0
1172
+ _h = 5 * _h + @name.hash
1173
+ _h = 5 * _h + @variables.hash
1174
+ _h = 5 * _h + @replicaGroups.hash
1175
+ _h = 5 * _h + @serverTemplates.hash
1176
+ _h = 5 * _h + @serviceTemplates.hash
1177
+ _h = 5 * _h + @nodes.hash
1178
+ _h = 5 * _h + @distrib.hash
1179
+ _h = 5 * _h + @description.hash
1180
+ _h = 5 * _h + @propertySets.hash
1181
+ _h % 0x7fffffff
1182
+ end
1183
+
1184
+ def ==(other)
1185
+ return false if
1186
+ @name != other.name or
1187
+ @variables != other.variables or
1188
+ @replicaGroups != other.replicaGroups or
1189
+ @serverTemplates != other.serverTemplates or
1190
+ @serviceTemplates != other.serviceTemplates or
1191
+ @nodes != other.nodes or
1192
+ @distrib != other.distrib or
1193
+ @description != other.description or
1194
+ @propertySets != other.propertySets
1195
+ true
1196
+ end
1197
+
1198
+ def eql?(other)
1199
+ return other.class == self.class && other == self
1200
+ end
1201
+
1202
+ def inspect
1203
+ ::Ice::__stringify(self, T_ApplicationDescriptor)
1204
+ end
1205
+
1206
+ attr_accessor :name, :variables, :replicaGroups, :serverTemplates, :serviceTemplates, :nodes, :distrib, :description, :propertySets
1207
+ end
1208
+
1209
+ T_ApplicationDescriptor = ::Ice::__defineStruct('::IceGrid::ApplicationDescriptor', ApplicationDescriptor, [
1210
+ ["name", ::Ice::T_string],
1211
+ ["variables", ::IceGrid::T_StringStringDict],
1212
+ ["replicaGroups", ::IceGrid::T_ReplicaGroupDescriptorSeq],
1213
+ ["serverTemplates", ::IceGrid::T_TemplateDescriptorDict],
1214
+ ["serviceTemplates", ::IceGrid::T_TemplateDescriptorDict],
1215
+ ["nodes", ::IceGrid::T_NodeDescriptorDict],
1216
+ ["distrib", ::IceGrid::T_DistributionDescriptor],
1217
+ ["description", ::Ice::T_string],
1218
+ ["propertySets", ::IceGrid::T_PropertySetDescriptorDict]
1219
+ ])
1220
+ end
1221
+
1222
+ if not defined?(::IceGrid::T_ApplicationDescriptorSeq)
1223
+ T_ApplicationDescriptorSeq = ::Ice::__defineSequence('::IceGrid::ApplicationDescriptorSeq', ::IceGrid::T_ApplicationDescriptor)
1224
+ end
1225
+
1226
+ if not defined?(::IceGrid::BoxedString_mixin)
1227
+ module BoxedString_mixin
1228
+ include ::Ice::Object_mixin
1229
+
1230
+ def ice_ids(current=nil)
1231
+ ['::Ice::Object', '::IceGrid::BoxedString']
1232
+ end
1233
+
1234
+ def ice_id(current=nil)
1235
+ '::IceGrid::BoxedString'
1236
+ end
1237
+
1238
+ def inspect
1239
+ ::Ice::__stringify(self, T_BoxedString)
1240
+ end
1241
+
1242
+ attr_accessor :value
1243
+ end
1244
+ class BoxedString
1245
+ include BoxedString_mixin
1246
+
1247
+ def BoxedString.ice_staticId()
1248
+ '::IceGrid::BoxedString'
1249
+ end
1250
+
1251
+ def initialize(value='')
1252
+ @value = value
1253
+ end
1254
+ end
1255
+ module BoxedStringPrx_mixin
1256
+ end
1257
+ class BoxedStringPrx < ::Ice::ObjectPrx
1258
+ include BoxedStringPrx_mixin
1259
+
1260
+ def BoxedStringPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
1261
+ ice_checkedCast(proxy, '::IceGrid::BoxedString', facetOrCtx, _ctx)
1262
+ end
1263
+
1264
+ def BoxedStringPrx.uncheckedCast(proxy, facet=nil)
1265
+ ice_uncheckedCast(proxy, facet)
1266
+ end
1267
+ def BoxedStringPrx.ice_staticId()
1268
+ '::IceGrid::BoxedString'
1269
+ end
1270
+ end
1271
+
1272
+ if not defined?(::IceGrid::T_BoxedString)
1273
+ T_BoxedString = ::Ice::__declareClass('::IceGrid::BoxedString')
1274
+ T_BoxedStringPrx = ::Ice::__declareProxy('::IceGrid::BoxedString')
1275
+ end
1276
+
1277
+ T_BoxedString.defineClass(BoxedString, -1, false, false, nil, [], [['value', ::Ice::T_string, false, 0]])
1278
+ BoxedString_mixin::ICE_TYPE = T_BoxedString
1279
+
1280
+ T_BoxedStringPrx.defineProxy(BoxedStringPrx, T_BoxedString)
1281
+ BoxedStringPrx::ICE_TYPE = T_BoxedStringPrx
1282
+ end
1283
+
1284
+ if not defined?(::IceGrid::NodeUpdateDescriptor)
1285
+ class NodeUpdateDescriptor
1286
+ def initialize(name='', description=nil, variables=nil, removeVariables=nil, propertySets=nil, removePropertySets=nil, serverInstances=nil, servers=nil, removeServers=nil, loadFactor=nil)
1287
+ @name = name
1288
+ @description = description
1289
+ @variables = variables
1290
+ @removeVariables = removeVariables
1291
+ @propertySets = propertySets
1292
+ @removePropertySets = removePropertySets
1293
+ @serverInstances = serverInstances
1294
+ @servers = servers
1295
+ @removeServers = removeServers
1296
+ @loadFactor = loadFactor
1297
+ end
1298
+
1299
+ def hash
1300
+ _h = 0
1301
+ _h = 5 * _h + @name.hash
1302
+ _h = 5 * _h + @description.hash
1303
+ _h = 5 * _h + @variables.hash
1304
+ _h = 5 * _h + @removeVariables.hash
1305
+ _h = 5 * _h + @propertySets.hash
1306
+ _h = 5 * _h + @removePropertySets.hash
1307
+ _h = 5 * _h + @serverInstances.hash
1308
+ _h = 5 * _h + @servers.hash
1309
+ _h = 5 * _h + @removeServers.hash
1310
+ _h = 5 * _h + @loadFactor.hash
1311
+ _h % 0x7fffffff
1312
+ end
1313
+
1314
+ def ==(other)
1315
+ return false if
1316
+ @name != other.name or
1317
+ @description != other.description or
1318
+ @variables != other.variables or
1319
+ @removeVariables != other.removeVariables or
1320
+ @propertySets != other.propertySets or
1321
+ @removePropertySets != other.removePropertySets or
1322
+ @serverInstances != other.serverInstances or
1323
+ @servers != other.servers or
1324
+ @removeServers != other.removeServers or
1325
+ @loadFactor != other.loadFactor
1326
+ true
1327
+ end
1328
+
1329
+ def eql?(other)
1330
+ return other.class == self.class && other == self
1331
+ end
1332
+
1333
+ def inspect
1334
+ ::Ice::__stringify(self, T_NodeUpdateDescriptor)
1335
+ end
1336
+
1337
+ attr_accessor :name, :description, :variables, :removeVariables, :propertySets, :removePropertySets, :serverInstances, :servers, :removeServers, :loadFactor
1338
+ end
1339
+
1340
+ T_NodeUpdateDescriptor = ::Ice::__defineStruct('::IceGrid::NodeUpdateDescriptor', NodeUpdateDescriptor, [
1341
+ ["name", ::Ice::T_string],
1342
+ ["description", ::IceGrid::T_BoxedString],
1343
+ ["variables", ::IceGrid::T_StringStringDict],
1344
+ ["removeVariables", ::Ice::T_StringSeq],
1345
+ ["propertySets", ::IceGrid::T_PropertySetDescriptorDict],
1346
+ ["removePropertySets", ::Ice::T_StringSeq],
1347
+ ["serverInstances", ::IceGrid::T_ServerInstanceDescriptorSeq],
1348
+ ["servers", ::IceGrid::T_ServerDescriptorSeq],
1349
+ ["removeServers", ::Ice::T_StringSeq],
1350
+ ["loadFactor", ::IceGrid::T_BoxedString]
1351
+ ])
1352
+ end
1353
+
1354
+ if not defined?(::IceGrid::T_NodeUpdateDescriptorSeq)
1355
+ T_NodeUpdateDescriptorSeq = ::Ice::__defineSequence('::IceGrid::NodeUpdateDescriptorSeq', ::IceGrid::T_NodeUpdateDescriptor)
1356
+ end
1357
+
1358
+ if not defined?(::IceGrid::BoxedDistributionDescriptor_mixin)
1359
+ module BoxedDistributionDescriptor_mixin
1360
+ include ::Ice::Object_mixin
1361
+
1362
+ def ice_ids(current=nil)
1363
+ ['::Ice::Object', '::IceGrid::BoxedDistributionDescriptor']
1364
+ end
1365
+
1366
+ def ice_id(current=nil)
1367
+ '::IceGrid::BoxedDistributionDescriptor'
1368
+ end
1369
+
1370
+ def inspect
1371
+ ::Ice::__stringify(self, T_BoxedDistributionDescriptor)
1372
+ end
1373
+
1374
+ attr_accessor :value
1375
+ end
1376
+ class BoxedDistributionDescriptor
1377
+ include BoxedDistributionDescriptor_mixin
1378
+
1379
+ def BoxedDistributionDescriptor.ice_staticId()
1380
+ '::IceGrid::BoxedDistributionDescriptor'
1381
+ end
1382
+
1383
+ def initialize(value=::IceGrid::DistributionDescriptor.new)
1384
+ @value = value
1385
+ end
1386
+ end
1387
+ module BoxedDistributionDescriptorPrx_mixin
1388
+ end
1389
+ class BoxedDistributionDescriptorPrx < ::Ice::ObjectPrx
1390
+ include BoxedDistributionDescriptorPrx_mixin
1391
+
1392
+ def BoxedDistributionDescriptorPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
1393
+ ice_checkedCast(proxy, '::IceGrid::BoxedDistributionDescriptor', facetOrCtx, _ctx)
1394
+ end
1395
+
1396
+ def BoxedDistributionDescriptorPrx.uncheckedCast(proxy, facet=nil)
1397
+ ice_uncheckedCast(proxy, facet)
1398
+ end
1399
+ def BoxedDistributionDescriptorPrx.ice_staticId()
1400
+ '::IceGrid::BoxedDistributionDescriptor'
1401
+ end
1402
+ end
1403
+
1404
+ if not defined?(::IceGrid::T_BoxedDistributionDescriptor)
1405
+ T_BoxedDistributionDescriptor = ::Ice::__declareClass('::IceGrid::BoxedDistributionDescriptor')
1406
+ T_BoxedDistributionDescriptorPrx = ::Ice::__declareProxy('::IceGrid::BoxedDistributionDescriptor')
1407
+ end
1408
+
1409
+ T_BoxedDistributionDescriptor.defineClass(BoxedDistributionDescriptor, -1, false, false, nil, [], [['value', ::IceGrid::T_DistributionDescriptor, false, 0]])
1410
+ BoxedDistributionDescriptor_mixin::ICE_TYPE = T_BoxedDistributionDescriptor
1411
+
1412
+ T_BoxedDistributionDescriptorPrx.defineProxy(BoxedDistributionDescriptorPrx, T_BoxedDistributionDescriptor)
1413
+ BoxedDistributionDescriptorPrx::ICE_TYPE = T_BoxedDistributionDescriptorPrx
1414
+ end
1415
+
1416
+ if not defined?(::IceGrid::ApplicationUpdateDescriptor)
1417
+ class ApplicationUpdateDescriptor
1418
+ def initialize(name='', description=nil, distrib=nil, variables=nil, removeVariables=nil, propertySets=nil, removePropertySets=nil, replicaGroups=nil, removeReplicaGroups=nil, serverTemplates=nil, removeServerTemplates=nil, serviceTemplates=nil, removeServiceTemplates=nil, nodes=nil, removeNodes=nil)
1419
+ @name = name
1420
+ @description = description
1421
+ @distrib = distrib
1422
+ @variables = variables
1423
+ @removeVariables = removeVariables
1424
+ @propertySets = propertySets
1425
+ @removePropertySets = removePropertySets
1426
+ @replicaGroups = replicaGroups
1427
+ @removeReplicaGroups = removeReplicaGroups
1428
+ @serverTemplates = serverTemplates
1429
+ @removeServerTemplates = removeServerTemplates
1430
+ @serviceTemplates = serviceTemplates
1431
+ @removeServiceTemplates = removeServiceTemplates
1432
+ @nodes = nodes
1433
+ @removeNodes = removeNodes
1434
+ end
1435
+
1436
+ def hash
1437
+ _h = 0
1438
+ _h = 5 * _h + @name.hash
1439
+ _h = 5 * _h + @description.hash
1440
+ _h = 5 * _h + @distrib.hash
1441
+ _h = 5 * _h + @variables.hash
1442
+ _h = 5 * _h + @removeVariables.hash
1443
+ _h = 5 * _h + @propertySets.hash
1444
+ _h = 5 * _h + @removePropertySets.hash
1445
+ _h = 5 * _h + @replicaGroups.hash
1446
+ _h = 5 * _h + @removeReplicaGroups.hash
1447
+ _h = 5 * _h + @serverTemplates.hash
1448
+ _h = 5 * _h + @removeServerTemplates.hash
1449
+ _h = 5 * _h + @serviceTemplates.hash
1450
+ _h = 5 * _h + @removeServiceTemplates.hash
1451
+ _h = 5 * _h + @nodes.hash
1452
+ _h = 5 * _h + @removeNodes.hash
1453
+ _h % 0x7fffffff
1454
+ end
1455
+
1456
+ def ==(other)
1457
+ return false if
1458
+ @name != other.name or
1459
+ @description != other.description or
1460
+ @distrib != other.distrib or
1461
+ @variables != other.variables or
1462
+ @removeVariables != other.removeVariables or
1463
+ @propertySets != other.propertySets or
1464
+ @removePropertySets != other.removePropertySets or
1465
+ @replicaGroups != other.replicaGroups or
1466
+ @removeReplicaGroups != other.removeReplicaGroups or
1467
+ @serverTemplates != other.serverTemplates or
1468
+ @removeServerTemplates != other.removeServerTemplates or
1469
+ @serviceTemplates != other.serviceTemplates or
1470
+ @removeServiceTemplates != other.removeServiceTemplates or
1471
+ @nodes != other.nodes or
1472
+ @removeNodes != other.removeNodes
1473
+ true
1474
+ end
1475
+
1476
+ def eql?(other)
1477
+ return other.class == self.class && other == self
1478
+ end
1479
+
1480
+ def inspect
1481
+ ::Ice::__stringify(self, T_ApplicationUpdateDescriptor)
1482
+ end
1483
+
1484
+ attr_accessor :name, :description, :distrib, :variables, :removeVariables, :propertySets, :removePropertySets, :replicaGroups, :removeReplicaGroups, :serverTemplates, :removeServerTemplates, :serviceTemplates, :removeServiceTemplates, :nodes, :removeNodes
1485
+ end
1486
+
1487
+ T_ApplicationUpdateDescriptor = ::Ice::__defineStruct('::IceGrid::ApplicationUpdateDescriptor', ApplicationUpdateDescriptor, [
1488
+ ["name", ::Ice::T_string],
1489
+ ["description", ::IceGrid::T_BoxedString],
1490
+ ["distrib", ::IceGrid::T_BoxedDistributionDescriptor],
1491
+ ["variables", ::IceGrid::T_StringStringDict],
1492
+ ["removeVariables", ::Ice::T_StringSeq],
1493
+ ["propertySets", ::IceGrid::T_PropertySetDescriptorDict],
1494
+ ["removePropertySets", ::Ice::T_StringSeq],
1495
+ ["replicaGroups", ::IceGrid::T_ReplicaGroupDescriptorSeq],
1496
+ ["removeReplicaGroups", ::Ice::T_StringSeq],
1497
+ ["serverTemplates", ::IceGrid::T_TemplateDescriptorDict],
1498
+ ["removeServerTemplates", ::Ice::T_StringSeq],
1499
+ ["serviceTemplates", ::IceGrid::T_TemplateDescriptorDict],
1500
+ ["removeServiceTemplates", ::Ice::T_StringSeq],
1501
+ ["nodes", ::IceGrid::T_NodeUpdateDescriptorSeq],
1502
+ ["removeNodes", ::Ice::T_StringSeq]
1503
+ ])
1504
+ end
1505
+ end