zeroc-ice-x64-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-x64-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
data/lib/IceGrid.rb
ADDED
@@ -0,0 +1,17 @@
|
|
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
|
+
require 'IceGrid/Admin.rb'
|
11
|
+
require 'IceGrid/Descriptor.rb'
|
12
|
+
require 'IceGrid/FileParser.rb'
|
13
|
+
require 'IceGrid/Locator.rb'
|
14
|
+
require 'IceGrid/Observer.rb'
|
15
|
+
require 'IceGrid/Query.rb'
|
16
|
+
require 'IceGrid/Registry.rb'
|
17
|
+
require 'IceGrid/UserAccountMapper.rb'
|
@@ -0,0 +1,1076 @@
|
|
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 `Admin.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
|
+
require 'Ice/Properties.rb'
|
25
|
+
require 'Ice/SliceChecksumDict.rb'
|
26
|
+
require 'Glacier2/Session.rb'
|
27
|
+
require 'IceGrid/Exception.rb'
|
28
|
+
require 'IceGrid/Descriptor.rb'
|
29
|
+
|
30
|
+
module IceGrid
|
31
|
+
|
32
|
+
if not defined?(::IceGrid::ServerState)
|
33
|
+
class ServerState
|
34
|
+
include Comparable
|
35
|
+
|
36
|
+
def initialize(name, value)
|
37
|
+
@name = name
|
38
|
+
@value = value
|
39
|
+
end
|
40
|
+
|
41
|
+
def ServerState.from_int(val)
|
42
|
+
@@_enumerators[val]
|
43
|
+
end
|
44
|
+
|
45
|
+
def to_s
|
46
|
+
@name
|
47
|
+
end
|
48
|
+
|
49
|
+
def to_i
|
50
|
+
@value
|
51
|
+
end
|
52
|
+
|
53
|
+
def <=>(other)
|
54
|
+
other.is_a?(ServerState) or raise ArgumentError, "value must be a ServerState"
|
55
|
+
@value <=> other.to_i
|
56
|
+
end
|
57
|
+
|
58
|
+
def hash
|
59
|
+
@value.hash
|
60
|
+
end
|
61
|
+
|
62
|
+
def inspect
|
63
|
+
@name + "(#{@value})"
|
64
|
+
end
|
65
|
+
|
66
|
+
def ServerState.each(&block)
|
67
|
+
@@_enumerators.each_value(&block)
|
68
|
+
end
|
69
|
+
|
70
|
+
Inactive = ServerState.new("Inactive", 0)
|
71
|
+
Activating = ServerState.new("Activating", 1)
|
72
|
+
ActivationTimedOut = ServerState.new("ActivationTimedOut", 2)
|
73
|
+
Active = ServerState.new("Active", 3)
|
74
|
+
Deactivating = ServerState.new("Deactivating", 4)
|
75
|
+
Destroying = ServerState.new("Destroying", 5)
|
76
|
+
Destroyed = ServerState.new("Destroyed", 6)
|
77
|
+
|
78
|
+
@@_enumerators = {0=>Inactive, 1=>Activating, 2=>ActivationTimedOut, 3=>Active, 4=>Deactivating, 5=>Destroying, 6=>Destroyed}
|
79
|
+
|
80
|
+
def ServerState._enumerators
|
81
|
+
@@_enumerators
|
82
|
+
end
|
83
|
+
|
84
|
+
private_class_method :new
|
85
|
+
end
|
86
|
+
|
87
|
+
T_ServerState = ::Ice::__defineEnum('::IceGrid::ServerState', ServerState, ServerState::_enumerators)
|
88
|
+
end
|
89
|
+
|
90
|
+
if not defined?(::IceGrid::T_StringObjectProxyDict)
|
91
|
+
T_StringObjectProxyDict = ::Ice::__defineDictionary('::IceGrid::StringObjectProxyDict', ::Ice::T_string, ::Ice::T_ObjectPrx)
|
92
|
+
end
|
93
|
+
|
94
|
+
if not defined?(::IceGrid::ObjectInfo)
|
95
|
+
class ObjectInfo
|
96
|
+
def initialize(proxy=nil, type='')
|
97
|
+
@proxy = proxy
|
98
|
+
@type = type
|
99
|
+
end
|
100
|
+
|
101
|
+
def hash
|
102
|
+
_h = 0
|
103
|
+
_h = 5 * _h + @proxy.hash
|
104
|
+
_h = 5 * _h + @type.hash
|
105
|
+
_h % 0x7fffffff
|
106
|
+
end
|
107
|
+
|
108
|
+
def ==(other)
|
109
|
+
return false if
|
110
|
+
@proxy != other.proxy or
|
111
|
+
@type != other.type
|
112
|
+
true
|
113
|
+
end
|
114
|
+
|
115
|
+
def eql?(other)
|
116
|
+
return other.class == self.class && other == self
|
117
|
+
end
|
118
|
+
|
119
|
+
def inspect
|
120
|
+
::Ice::__stringify(self, T_ObjectInfo)
|
121
|
+
end
|
122
|
+
|
123
|
+
attr_accessor :proxy, :type
|
124
|
+
end
|
125
|
+
|
126
|
+
T_ObjectInfo = ::Ice::__defineStruct('::IceGrid::ObjectInfo', ObjectInfo, [
|
127
|
+
["proxy", ::Ice::T_ObjectPrx],
|
128
|
+
["type", ::Ice::T_string]
|
129
|
+
])
|
130
|
+
end
|
131
|
+
|
132
|
+
if not defined?(::IceGrid::T_ObjectInfoSeq)
|
133
|
+
T_ObjectInfoSeq = ::Ice::__defineSequence('::IceGrid::ObjectInfoSeq', ::IceGrid::T_ObjectInfo)
|
134
|
+
end
|
135
|
+
|
136
|
+
if not defined?(::IceGrid::AdapterInfo)
|
137
|
+
class AdapterInfo
|
138
|
+
def initialize(id='', proxy=nil, replicaGroupId='')
|
139
|
+
@id = id
|
140
|
+
@proxy = proxy
|
141
|
+
@replicaGroupId = replicaGroupId
|
142
|
+
end
|
143
|
+
|
144
|
+
def hash
|
145
|
+
_h = 0
|
146
|
+
_h = 5 * _h + @id.hash
|
147
|
+
_h = 5 * _h + @proxy.hash
|
148
|
+
_h = 5 * _h + @replicaGroupId.hash
|
149
|
+
_h % 0x7fffffff
|
150
|
+
end
|
151
|
+
|
152
|
+
def ==(other)
|
153
|
+
return false if
|
154
|
+
@id != other.id or
|
155
|
+
@proxy != other.proxy or
|
156
|
+
@replicaGroupId != other.replicaGroupId
|
157
|
+
true
|
158
|
+
end
|
159
|
+
|
160
|
+
def eql?(other)
|
161
|
+
return other.class == self.class && other == self
|
162
|
+
end
|
163
|
+
|
164
|
+
def inspect
|
165
|
+
::Ice::__stringify(self, T_AdapterInfo)
|
166
|
+
end
|
167
|
+
|
168
|
+
attr_accessor :id, :proxy, :replicaGroupId
|
169
|
+
end
|
170
|
+
|
171
|
+
T_AdapterInfo = ::Ice::__defineStruct('::IceGrid::AdapterInfo', AdapterInfo, [
|
172
|
+
["id", ::Ice::T_string],
|
173
|
+
["proxy", ::Ice::T_ObjectPrx],
|
174
|
+
["replicaGroupId", ::Ice::T_string]
|
175
|
+
])
|
176
|
+
end
|
177
|
+
|
178
|
+
if not defined?(::IceGrid::T_AdapterInfoSeq)
|
179
|
+
T_AdapterInfoSeq = ::Ice::__defineSequence('::IceGrid::AdapterInfoSeq', ::IceGrid::T_AdapterInfo)
|
180
|
+
end
|
181
|
+
|
182
|
+
if not defined?(::IceGrid::ServerInfo)
|
183
|
+
class ServerInfo
|
184
|
+
def initialize(application='', uuid='', revision=0, node='', descriptor=nil, sessionId='')
|
185
|
+
@application = application
|
186
|
+
@uuid = uuid
|
187
|
+
@revision = revision
|
188
|
+
@node = node
|
189
|
+
@descriptor = descriptor
|
190
|
+
@sessionId = sessionId
|
191
|
+
end
|
192
|
+
|
193
|
+
def hash
|
194
|
+
_h = 0
|
195
|
+
_h = 5 * _h + @application.hash
|
196
|
+
_h = 5 * _h + @uuid.hash
|
197
|
+
_h = 5 * _h + @revision.hash
|
198
|
+
_h = 5 * _h + @node.hash
|
199
|
+
_h = 5 * _h + @descriptor.hash
|
200
|
+
_h = 5 * _h + @sessionId.hash
|
201
|
+
_h % 0x7fffffff
|
202
|
+
end
|
203
|
+
|
204
|
+
def ==(other)
|
205
|
+
return false if
|
206
|
+
@application != other.application or
|
207
|
+
@uuid != other.uuid or
|
208
|
+
@revision != other.revision or
|
209
|
+
@node != other.node or
|
210
|
+
@descriptor != other.descriptor or
|
211
|
+
@sessionId != other.sessionId
|
212
|
+
true
|
213
|
+
end
|
214
|
+
|
215
|
+
def eql?(other)
|
216
|
+
return other.class == self.class && other == self
|
217
|
+
end
|
218
|
+
|
219
|
+
def inspect
|
220
|
+
::Ice::__stringify(self, T_ServerInfo)
|
221
|
+
end
|
222
|
+
|
223
|
+
attr_accessor :application, :uuid, :revision, :node, :descriptor, :sessionId
|
224
|
+
end
|
225
|
+
|
226
|
+
T_ServerInfo = ::Ice::__defineStruct('::IceGrid::ServerInfo', ServerInfo, [
|
227
|
+
["application", ::Ice::T_string],
|
228
|
+
["uuid", ::Ice::T_string],
|
229
|
+
["revision", ::Ice::T_int],
|
230
|
+
["node", ::Ice::T_string],
|
231
|
+
["descriptor", ::IceGrid::T_ServerDescriptor],
|
232
|
+
["sessionId", ::Ice::T_string]
|
233
|
+
])
|
234
|
+
end
|
235
|
+
|
236
|
+
if not defined?(::IceGrid::NodeInfo)
|
237
|
+
class NodeInfo
|
238
|
+
def initialize(name='', os='', hostname='', release='', version='', machine='', nProcessors=0, dataDir='')
|
239
|
+
@name = name
|
240
|
+
@os = os
|
241
|
+
@hostname = hostname
|
242
|
+
@release = release
|
243
|
+
@version = version
|
244
|
+
@machine = machine
|
245
|
+
@nProcessors = nProcessors
|
246
|
+
@dataDir = dataDir
|
247
|
+
end
|
248
|
+
|
249
|
+
def hash
|
250
|
+
_h = 0
|
251
|
+
_h = 5 * _h + @name.hash
|
252
|
+
_h = 5 * _h + @os.hash
|
253
|
+
_h = 5 * _h + @hostname.hash
|
254
|
+
_h = 5 * _h + @release.hash
|
255
|
+
_h = 5 * _h + @version.hash
|
256
|
+
_h = 5 * _h + @machine.hash
|
257
|
+
_h = 5 * _h + @nProcessors.hash
|
258
|
+
_h = 5 * _h + @dataDir.hash
|
259
|
+
_h % 0x7fffffff
|
260
|
+
end
|
261
|
+
|
262
|
+
def ==(other)
|
263
|
+
return false if
|
264
|
+
@name != other.name or
|
265
|
+
@os != other.os or
|
266
|
+
@hostname != other.hostname or
|
267
|
+
@release != other.release or
|
268
|
+
@version != other.version or
|
269
|
+
@machine != other.machine or
|
270
|
+
@nProcessors != other.nProcessors or
|
271
|
+
@dataDir != other.dataDir
|
272
|
+
true
|
273
|
+
end
|
274
|
+
|
275
|
+
def eql?(other)
|
276
|
+
return other.class == self.class && other == self
|
277
|
+
end
|
278
|
+
|
279
|
+
def inspect
|
280
|
+
::Ice::__stringify(self, T_NodeInfo)
|
281
|
+
end
|
282
|
+
|
283
|
+
attr_accessor :name, :os, :hostname, :release, :version, :machine, :nProcessors, :dataDir
|
284
|
+
end
|
285
|
+
|
286
|
+
T_NodeInfo = ::Ice::__defineStruct('::IceGrid::NodeInfo', NodeInfo, [
|
287
|
+
["name", ::Ice::T_string],
|
288
|
+
["os", ::Ice::T_string],
|
289
|
+
["hostname", ::Ice::T_string],
|
290
|
+
["release", ::Ice::T_string],
|
291
|
+
["version", ::Ice::T_string],
|
292
|
+
["machine", ::Ice::T_string],
|
293
|
+
["nProcessors", ::Ice::T_int],
|
294
|
+
["dataDir", ::Ice::T_string]
|
295
|
+
])
|
296
|
+
end
|
297
|
+
|
298
|
+
if not defined?(::IceGrid::RegistryInfo)
|
299
|
+
class RegistryInfo
|
300
|
+
def initialize(name='', hostname='')
|
301
|
+
@name = name
|
302
|
+
@hostname = hostname
|
303
|
+
end
|
304
|
+
|
305
|
+
def hash
|
306
|
+
_h = 0
|
307
|
+
_h = 5 * _h + @name.hash
|
308
|
+
_h = 5 * _h + @hostname.hash
|
309
|
+
_h % 0x7fffffff
|
310
|
+
end
|
311
|
+
|
312
|
+
def ==(other)
|
313
|
+
return false if
|
314
|
+
@name != other.name or
|
315
|
+
@hostname != other.hostname
|
316
|
+
true
|
317
|
+
end
|
318
|
+
|
319
|
+
def eql?(other)
|
320
|
+
return other.class == self.class && other == self
|
321
|
+
end
|
322
|
+
|
323
|
+
def inspect
|
324
|
+
::Ice::__stringify(self, T_RegistryInfo)
|
325
|
+
end
|
326
|
+
|
327
|
+
attr_accessor :name, :hostname
|
328
|
+
end
|
329
|
+
|
330
|
+
T_RegistryInfo = ::Ice::__defineStruct('::IceGrid::RegistryInfo', RegistryInfo, [
|
331
|
+
["name", ::Ice::T_string],
|
332
|
+
["hostname", ::Ice::T_string]
|
333
|
+
])
|
334
|
+
end
|
335
|
+
|
336
|
+
if not defined?(::IceGrid::T_RegistryInfoSeq)
|
337
|
+
T_RegistryInfoSeq = ::Ice::__defineSequence('::IceGrid::RegistryInfoSeq', ::IceGrid::T_RegistryInfo)
|
338
|
+
end
|
339
|
+
|
340
|
+
if not defined?(::IceGrid::LoadInfo)
|
341
|
+
class LoadInfo
|
342
|
+
def initialize(avg1=0.0, avg5=0.0, avg15=0.0)
|
343
|
+
@avg1 = avg1
|
344
|
+
@avg5 = avg5
|
345
|
+
@avg15 = avg15
|
346
|
+
end
|
347
|
+
|
348
|
+
def hash
|
349
|
+
_h = 0
|
350
|
+
_h = 5 * _h + @avg1.hash
|
351
|
+
_h = 5 * _h + @avg5.hash
|
352
|
+
_h = 5 * _h + @avg15.hash
|
353
|
+
_h % 0x7fffffff
|
354
|
+
end
|
355
|
+
|
356
|
+
def ==(other)
|
357
|
+
return false if
|
358
|
+
@avg1 != other.avg1 or
|
359
|
+
@avg5 != other.avg5 or
|
360
|
+
@avg15 != other.avg15
|
361
|
+
true
|
362
|
+
end
|
363
|
+
|
364
|
+
def eql?(other)
|
365
|
+
return other.class == self.class && other == self
|
366
|
+
end
|
367
|
+
|
368
|
+
def inspect
|
369
|
+
::Ice::__stringify(self, T_LoadInfo)
|
370
|
+
end
|
371
|
+
|
372
|
+
attr_accessor :avg1, :avg5, :avg15
|
373
|
+
end
|
374
|
+
|
375
|
+
T_LoadInfo = ::Ice::__defineStruct('::IceGrid::LoadInfo', LoadInfo, [
|
376
|
+
["avg1", ::Ice::T_float],
|
377
|
+
["avg5", ::Ice::T_float],
|
378
|
+
["avg15", ::Ice::T_float]
|
379
|
+
])
|
380
|
+
end
|
381
|
+
|
382
|
+
if not defined?(::IceGrid::ApplicationInfo)
|
383
|
+
class ApplicationInfo
|
384
|
+
def initialize(uuid='', createTime=0, createUser='', updateTime=0, updateUser='', revision=0, descriptor=::IceGrid::ApplicationDescriptor.new)
|
385
|
+
@uuid = uuid
|
386
|
+
@createTime = createTime
|
387
|
+
@createUser = createUser
|
388
|
+
@updateTime = updateTime
|
389
|
+
@updateUser = updateUser
|
390
|
+
@revision = revision
|
391
|
+
@descriptor = descriptor
|
392
|
+
end
|
393
|
+
|
394
|
+
def hash
|
395
|
+
_h = 0
|
396
|
+
_h = 5 * _h + @uuid.hash
|
397
|
+
_h = 5 * _h + @createTime.hash
|
398
|
+
_h = 5 * _h + @createUser.hash
|
399
|
+
_h = 5 * _h + @updateTime.hash
|
400
|
+
_h = 5 * _h + @updateUser.hash
|
401
|
+
_h = 5 * _h + @revision.hash
|
402
|
+
_h = 5 * _h + @descriptor.hash
|
403
|
+
_h % 0x7fffffff
|
404
|
+
end
|
405
|
+
|
406
|
+
def ==(other)
|
407
|
+
return false if
|
408
|
+
@uuid != other.uuid or
|
409
|
+
@createTime != other.createTime or
|
410
|
+
@createUser != other.createUser or
|
411
|
+
@updateTime != other.updateTime or
|
412
|
+
@updateUser != other.updateUser or
|
413
|
+
@revision != other.revision or
|
414
|
+
@descriptor != other.descriptor
|
415
|
+
true
|
416
|
+
end
|
417
|
+
|
418
|
+
def eql?(other)
|
419
|
+
return other.class == self.class && other == self
|
420
|
+
end
|
421
|
+
|
422
|
+
def inspect
|
423
|
+
::Ice::__stringify(self, T_ApplicationInfo)
|
424
|
+
end
|
425
|
+
|
426
|
+
attr_accessor :uuid, :createTime, :createUser, :updateTime, :updateUser, :revision, :descriptor
|
427
|
+
end
|
428
|
+
|
429
|
+
T_ApplicationInfo = ::Ice::__defineStruct('::IceGrid::ApplicationInfo', ApplicationInfo, [
|
430
|
+
["uuid", ::Ice::T_string],
|
431
|
+
["createTime", ::Ice::T_long],
|
432
|
+
["createUser", ::Ice::T_string],
|
433
|
+
["updateTime", ::Ice::T_long],
|
434
|
+
["updateUser", ::Ice::T_string],
|
435
|
+
["revision", ::Ice::T_int],
|
436
|
+
["descriptor", ::IceGrid::T_ApplicationDescriptor]
|
437
|
+
])
|
438
|
+
end
|
439
|
+
|
440
|
+
if not defined?(::IceGrid::T_ApplicationInfoSeq)
|
441
|
+
T_ApplicationInfoSeq = ::Ice::__defineSequence('::IceGrid::ApplicationInfoSeq', ::IceGrid::T_ApplicationInfo)
|
442
|
+
end
|
443
|
+
|
444
|
+
if not defined?(::IceGrid::ApplicationUpdateInfo)
|
445
|
+
class ApplicationUpdateInfo
|
446
|
+
def initialize(updateTime=0, updateUser='', revision=0, descriptor=::IceGrid::ApplicationUpdateDescriptor.new)
|
447
|
+
@updateTime = updateTime
|
448
|
+
@updateUser = updateUser
|
449
|
+
@revision = revision
|
450
|
+
@descriptor = descriptor
|
451
|
+
end
|
452
|
+
|
453
|
+
def hash
|
454
|
+
_h = 0
|
455
|
+
_h = 5 * _h + @updateTime.hash
|
456
|
+
_h = 5 * _h + @updateUser.hash
|
457
|
+
_h = 5 * _h + @revision.hash
|
458
|
+
_h = 5 * _h + @descriptor.hash
|
459
|
+
_h % 0x7fffffff
|
460
|
+
end
|
461
|
+
|
462
|
+
def ==(other)
|
463
|
+
return false if
|
464
|
+
@updateTime != other.updateTime or
|
465
|
+
@updateUser != other.updateUser or
|
466
|
+
@revision != other.revision or
|
467
|
+
@descriptor != other.descriptor
|
468
|
+
true
|
469
|
+
end
|
470
|
+
|
471
|
+
def eql?(other)
|
472
|
+
return other.class == self.class && other == self
|
473
|
+
end
|
474
|
+
|
475
|
+
def inspect
|
476
|
+
::Ice::__stringify(self, T_ApplicationUpdateInfo)
|
477
|
+
end
|
478
|
+
|
479
|
+
attr_accessor :updateTime, :updateUser, :revision, :descriptor
|
480
|
+
end
|
481
|
+
|
482
|
+
T_ApplicationUpdateInfo = ::Ice::__defineStruct('::IceGrid::ApplicationUpdateInfo', ApplicationUpdateInfo, [
|
483
|
+
["updateTime", ::Ice::T_long],
|
484
|
+
["updateUser", ::Ice::T_string],
|
485
|
+
["revision", ::Ice::T_int],
|
486
|
+
["descriptor", ::IceGrid::T_ApplicationUpdateDescriptor]
|
487
|
+
])
|
488
|
+
end
|
489
|
+
|
490
|
+
if not defined?(::IceGrid::Admin_mixin)
|
491
|
+
module Admin_mixin
|
492
|
+
include ::Ice::Object_mixin
|
493
|
+
|
494
|
+
def ice_ids(current=nil)
|
495
|
+
['::Ice::Object', '::IceGrid::Admin']
|
496
|
+
end
|
497
|
+
|
498
|
+
def ice_id(current=nil)
|
499
|
+
'::IceGrid::Admin'
|
500
|
+
end
|
501
|
+
|
502
|
+
#
|
503
|
+
# Operation signatures.
|
504
|
+
#
|
505
|
+
# def addApplication(descriptor, current=nil)
|
506
|
+
# def syncApplication(descriptor, current=nil)
|
507
|
+
# def updateApplication(descriptor, current=nil)
|
508
|
+
# def syncApplicationWithoutRestart(descriptor, current=nil)
|
509
|
+
# def updateApplicationWithoutRestart(descriptor, current=nil)
|
510
|
+
# def removeApplication(name, current=nil)
|
511
|
+
# def instantiateServer(application, node, desc, current=nil)
|
512
|
+
# def patchApplication(name, shutdown, current=nil)
|
513
|
+
# def getApplicationInfo(name, current=nil)
|
514
|
+
# def getDefaultApplicationDescriptor(current=nil)
|
515
|
+
# def getAllApplicationNames(current=nil)
|
516
|
+
# def getServerInfo(id, current=nil)
|
517
|
+
# def getServerState(id, current=nil)
|
518
|
+
# def getServerPid(id, current=nil)
|
519
|
+
# def getServerAdminCategory(current=nil)
|
520
|
+
# def getServerAdmin(id, current=nil)
|
521
|
+
# def enableServer(id, enabled, current=nil)
|
522
|
+
# def isServerEnabled(id, current=nil)
|
523
|
+
# def startServer(id, current=nil)
|
524
|
+
# def stopServer(id, current=nil)
|
525
|
+
# def patchServer(id, shutdown, current=nil)
|
526
|
+
# def sendSignal(id, signal, current=nil)
|
527
|
+
# def getAllServerIds(current=nil)
|
528
|
+
# def getAdapterInfo(id, current=nil)
|
529
|
+
# def removeAdapter(id, current=nil)
|
530
|
+
# def getAllAdapterIds(current=nil)
|
531
|
+
# def addObject(obj, current=nil)
|
532
|
+
# def updateObject(obj, current=nil)
|
533
|
+
# def addObjectWithType(obj, type, current=nil)
|
534
|
+
# def removeObject(id, current=nil)
|
535
|
+
# def getObjectInfo(id, current=nil)
|
536
|
+
# def getObjectInfosByType(type, current=nil)
|
537
|
+
# def getAllObjectInfos(expr, current=nil)
|
538
|
+
# def pingNode(name, current=nil)
|
539
|
+
# def getNodeLoad(name, current=nil)
|
540
|
+
# def getNodeInfo(name, current=nil)
|
541
|
+
# def getNodeAdmin(name, current=nil)
|
542
|
+
# def getNodeProcessorSocketCount(name, current=nil)
|
543
|
+
# def shutdownNode(name, current=nil)
|
544
|
+
# def getNodeHostname(name, current=nil)
|
545
|
+
# def getAllNodeNames(current=nil)
|
546
|
+
# def pingRegistry(name, current=nil)
|
547
|
+
# def getRegistryInfo(name, current=nil)
|
548
|
+
# def getRegistryAdmin(name, current=nil)
|
549
|
+
# def shutdownRegistry(name, current=nil)
|
550
|
+
# def getAllRegistryNames(current=nil)
|
551
|
+
# def shutdown(current=nil)
|
552
|
+
# def getSliceChecksums(current=nil)
|
553
|
+
|
554
|
+
def inspect
|
555
|
+
::Ice::__stringify(self, T_Admin)
|
556
|
+
end
|
557
|
+
end
|
558
|
+
class Admin
|
559
|
+
include Admin_mixin
|
560
|
+
|
561
|
+
def Admin.ice_staticId()
|
562
|
+
'::IceGrid::Admin'
|
563
|
+
end
|
564
|
+
end
|
565
|
+
module AdminPrx_mixin
|
566
|
+
|
567
|
+
def addApplication(descriptor, _ctx=nil)
|
568
|
+
Admin_mixin::OP_addApplication.invoke(self, [descriptor], _ctx)
|
569
|
+
end
|
570
|
+
|
571
|
+
def syncApplication(descriptor, _ctx=nil)
|
572
|
+
Admin_mixin::OP_syncApplication.invoke(self, [descriptor], _ctx)
|
573
|
+
end
|
574
|
+
|
575
|
+
def updateApplication(descriptor, _ctx=nil)
|
576
|
+
Admin_mixin::OP_updateApplication.invoke(self, [descriptor], _ctx)
|
577
|
+
end
|
578
|
+
|
579
|
+
def syncApplicationWithoutRestart(descriptor, _ctx=nil)
|
580
|
+
Admin_mixin::OP_syncApplicationWithoutRestart.invoke(self, [descriptor], _ctx)
|
581
|
+
end
|
582
|
+
|
583
|
+
def updateApplicationWithoutRestart(descriptor, _ctx=nil)
|
584
|
+
Admin_mixin::OP_updateApplicationWithoutRestart.invoke(self, [descriptor], _ctx)
|
585
|
+
end
|
586
|
+
|
587
|
+
def removeApplication(name, _ctx=nil)
|
588
|
+
Admin_mixin::OP_removeApplication.invoke(self, [name], _ctx)
|
589
|
+
end
|
590
|
+
|
591
|
+
def instantiateServer(application, node, desc, _ctx=nil)
|
592
|
+
Admin_mixin::OP_instantiateServer.invoke(self, [application, node, desc], _ctx)
|
593
|
+
end
|
594
|
+
|
595
|
+
def patchApplication(name, shutdown, _ctx=nil)
|
596
|
+
Admin_mixin::OP_patchApplication.invoke(self, [name, shutdown], _ctx)
|
597
|
+
end
|
598
|
+
|
599
|
+
def getApplicationInfo(name, _ctx=nil)
|
600
|
+
Admin_mixin::OP_getApplicationInfo.invoke(self, [name], _ctx)
|
601
|
+
end
|
602
|
+
|
603
|
+
def getDefaultApplicationDescriptor(_ctx=nil)
|
604
|
+
Admin_mixin::OP_getDefaultApplicationDescriptor.invoke(self, [], _ctx)
|
605
|
+
end
|
606
|
+
|
607
|
+
def getAllApplicationNames(_ctx=nil)
|
608
|
+
Admin_mixin::OP_getAllApplicationNames.invoke(self, [], _ctx)
|
609
|
+
end
|
610
|
+
|
611
|
+
def getServerInfo(id, _ctx=nil)
|
612
|
+
Admin_mixin::OP_getServerInfo.invoke(self, [id], _ctx)
|
613
|
+
end
|
614
|
+
|
615
|
+
def getServerState(id, _ctx=nil)
|
616
|
+
Admin_mixin::OP_getServerState.invoke(self, [id], _ctx)
|
617
|
+
end
|
618
|
+
|
619
|
+
def getServerPid(id, _ctx=nil)
|
620
|
+
Admin_mixin::OP_getServerPid.invoke(self, [id], _ctx)
|
621
|
+
end
|
622
|
+
|
623
|
+
def getServerAdminCategory(_ctx=nil)
|
624
|
+
Admin_mixin::OP_getServerAdminCategory.invoke(self, [], _ctx)
|
625
|
+
end
|
626
|
+
|
627
|
+
def getServerAdmin(id, _ctx=nil)
|
628
|
+
Admin_mixin::OP_getServerAdmin.invoke(self, [id], _ctx)
|
629
|
+
end
|
630
|
+
|
631
|
+
def enableServer(id, enabled, _ctx=nil)
|
632
|
+
Admin_mixin::OP_enableServer.invoke(self, [id, enabled], _ctx)
|
633
|
+
end
|
634
|
+
|
635
|
+
def isServerEnabled(id, _ctx=nil)
|
636
|
+
Admin_mixin::OP_isServerEnabled.invoke(self, [id], _ctx)
|
637
|
+
end
|
638
|
+
|
639
|
+
def startServer(id, _ctx=nil)
|
640
|
+
Admin_mixin::OP_startServer.invoke(self, [id], _ctx)
|
641
|
+
end
|
642
|
+
|
643
|
+
def stopServer(id, _ctx=nil)
|
644
|
+
Admin_mixin::OP_stopServer.invoke(self, [id], _ctx)
|
645
|
+
end
|
646
|
+
|
647
|
+
def patchServer(id, shutdown, _ctx=nil)
|
648
|
+
Admin_mixin::OP_patchServer.invoke(self, [id, shutdown], _ctx)
|
649
|
+
end
|
650
|
+
|
651
|
+
def sendSignal(id, signal, _ctx=nil)
|
652
|
+
Admin_mixin::OP_sendSignal.invoke(self, [id, signal], _ctx)
|
653
|
+
end
|
654
|
+
|
655
|
+
def getAllServerIds(_ctx=nil)
|
656
|
+
Admin_mixin::OP_getAllServerIds.invoke(self, [], _ctx)
|
657
|
+
end
|
658
|
+
|
659
|
+
def getAdapterInfo(id, _ctx=nil)
|
660
|
+
Admin_mixin::OP_getAdapterInfo.invoke(self, [id], _ctx)
|
661
|
+
end
|
662
|
+
|
663
|
+
def removeAdapter(id, _ctx=nil)
|
664
|
+
Admin_mixin::OP_removeAdapter.invoke(self, [id], _ctx)
|
665
|
+
end
|
666
|
+
|
667
|
+
def getAllAdapterIds(_ctx=nil)
|
668
|
+
Admin_mixin::OP_getAllAdapterIds.invoke(self, [], _ctx)
|
669
|
+
end
|
670
|
+
|
671
|
+
def addObject(obj, _ctx=nil)
|
672
|
+
Admin_mixin::OP_addObject.invoke(self, [obj], _ctx)
|
673
|
+
end
|
674
|
+
|
675
|
+
def updateObject(obj, _ctx=nil)
|
676
|
+
Admin_mixin::OP_updateObject.invoke(self, [obj], _ctx)
|
677
|
+
end
|
678
|
+
|
679
|
+
def addObjectWithType(obj, type, _ctx=nil)
|
680
|
+
Admin_mixin::OP_addObjectWithType.invoke(self, [obj, type], _ctx)
|
681
|
+
end
|
682
|
+
|
683
|
+
def removeObject(id, _ctx=nil)
|
684
|
+
Admin_mixin::OP_removeObject.invoke(self, [id], _ctx)
|
685
|
+
end
|
686
|
+
|
687
|
+
def getObjectInfo(id, _ctx=nil)
|
688
|
+
Admin_mixin::OP_getObjectInfo.invoke(self, [id], _ctx)
|
689
|
+
end
|
690
|
+
|
691
|
+
def getObjectInfosByType(type, _ctx=nil)
|
692
|
+
Admin_mixin::OP_getObjectInfosByType.invoke(self, [type], _ctx)
|
693
|
+
end
|
694
|
+
|
695
|
+
def getAllObjectInfos(expr, _ctx=nil)
|
696
|
+
Admin_mixin::OP_getAllObjectInfos.invoke(self, [expr], _ctx)
|
697
|
+
end
|
698
|
+
|
699
|
+
def pingNode(name, _ctx=nil)
|
700
|
+
Admin_mixin::OP_pingNode.invoke(self, [name], _ctx)
|
701
|
+
end
|
702
|
+
|
703
|
+
def getNodeLoad(name, _ctx=nil)
|
704
|
+
Admin_mixin::OP_getNodeLoad.invoke(self, [name], _ctx)
|
705
|
+
end
|
706
|
+
|
707
|
+
def getNodeInfo(name, _ctx=nil)
|
708
|
+
Admin_mixin::OP_getNodeInfo.invoke(self, [name], _ctx)
|
709
|
+
end
|
710
|
+
|
711
|
+
def getNodeAdmin(name, _ctx=nil)
|
712
|
+
Admin_mixin::OP_getNodeAdmin.invoke(self, [name], _ctx)
|
713
|
+
end
|
714
|
+
|
715
|
+
def getNodeProcessorSocketCount(name, _ctx=nil)
|
716
|
+
Admin_mixin::OP_getNodeProcessorSocketCount.invoke(self, [name], _ctx)
|
717
|
+
end
|
718
|
+
|
719
|
+
def shutdownNode(name, _ctx=nil)
|
720
|
+
Admin_mixin::OP_shutdownNode.invoke(self, [name], _ctx)
|
721
|
+
end
|
722
|
+
|
723
|
+
def getNodeHostname(name, _ctx=nil)
|
724
|
+
Admin_mixin::OP_getNodeHostname.invoke(self, [name], _ctx)
|
725
|
+
end
|
726
|
+
|
727
|
+
def getAllNodeNames(_ctx=nil)
|
728
|
+
Admin_mixin::OP_getAllNodeNames.invoke(self, [], _ctx)
|
729
|
+
end
|
730
|
+
|
731
|
+
def pingRegistry(name, _ctx=nil)
|
732
|
+
Admin_mixin::OP_pingRegistry.invoke(self, [name], _ctx)
|
733
|
+
end
|
734
|
+
|
735
|
+
def getRegistryInfo(name, _ctx=nil)
|
736
|
+
Admin_mixin::OP_getRegistryInfo.invoke(self, [name], _ctx)
|
737
|
+
end
|
738
|
+
|
739
|
+
def getRegistryAdmin(name, _ctx=nil)
|
740
|
+
Admin_mixin::OP_getRegistryAdmin.invoke(self, [name], _ctx)
|
741
|
+
end
|
742
|
+
|
743
|
+
def shutdownRegistry(name, _ctx=nil)
|
744
|
+
Admin_mixin::OP_shutdownRegistry.invoke(self, [name], _ctx)
|
745
|
+
end
|
746
|
+
|
747
|
+
def getAllRegistryNames(_ctx=nil)
|
748
|
+
Admin_mixin::OP_getAllRegistryNames.invoke(self, [], _ctx)
|
749
|
+
end
|
750
|
+
|
751
|
+
def shutdown(_ctx=nil)
|
752
|
+
Admin_mixin::OP_shutdown.invoke(self, [], _ctx)
|
753
|
+
end
|
754
|
+
|
755
|
+
def getSliceChecksums(_ctx=nil)
|
756
|
+
Admin_mixin::OP_getSliceChecksums.invoke(self, [], _ctx)
|
757
|
+
end
|
758
|
+
end
|
759
|
+
class AdminPrx < ::Ice::ObjectPrx
|
760
|
+
include AdminPrx_mixin
|
761
|
+
|
762
|
+
def AdminPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
763
|
+
ice_checkedCast(proxy, '::IceGrid::Admin', facetOrCtx, _ctx)
|
764
|
+
end
|
765
|
+
|
766
|
+
def AdminPrx.uncheckedCast(proxy, facet=nil)
|
767
|
+
ice_uncheckedCast(proxy, facet)
|
768
|
+
end
|
769
|
+
def AdminPrx.ice_staticId()
|
770
|
+
'::IceGrid::Admin'
|
771
|
+
end
|
772
|
+
end
|
773
|
+
|
774
|
+
if not defined?(::IceGrid::T_Admin)
|
775
|
+
T_Admin = ::Ice::__declareClass('::IceGrid::Admin')
|
776
|
+
T_AdminPrx = ::Ice::__declareProxy('::IceGrid::Admin')
|
777
|
+
end
|
778
|
+
|
779
|
+
T_Admin.defineClass(Admin, -1, true, false, nil, [], [])
|
780
|
+
Admin_mixin::ICE_TYPE = T_Admin
|
781
|
+
|
782
|
+
T_AdminPrx.defineProxy(AdminPrx, T_Admin)
|
783
|
+
AdminPrx::ICE_TYPE = T_AdminPrx
|
784
|
+
|
785
|
+
Admin_mixin::OP_addApplication = ::Ice::__defineOperation('addApplication', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::IceGrid::T_ApplicationDescriptor, false, 0]], [], nil, [::IceGrid::T_AccessDeniedException, ::IceGrid::T_DeploymentException])
|
786
|
+
Admin_mixin::OP_syncApplication = ::Ice::__defineOperation('syncApplication', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::IceGrid::T_ApplicationDescriptor, false, 0]], [], nil, [::IceGrid::T_AccessDeniedException, ::IceGrid::T_DeploymentException, ::IceGrid::T_ApplicationNotExistException])
|
787
|
+
Admin_mixin::OP_updateApplication = ::Ice::__defineOperation('updateApplication', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::IceGrid::T_ApplicationUpdateDescriptor, false, 0]], [], nil, [::IceGrid::T_AccessDeniedException, ::IceGrid::T_DeploymentException, ::IceGrid::T_ApplicationNotExistException])
|
788
|
+
Admin_mixin::OP_syncApplicationWithoutRestart = ::Ice::__defineOperation('syncApplicationWithoutRestart', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::IceGrid::T_ApplicationDescriptor, false, 0]], [], nil, [::IceGrid::T_AccessDeniedException, ::IceGrid::T_DeploymentException, ::IceGrid::T_ApplicationNotExistException])
|
789
|
+
Admin_mixin::OP_updateApplicationWithoutRestart = ::Ice::__defineOperation('updateApplicationWithoutRestart', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::IceGrid::T_ApplicationUpdateDescriptor, false, 0]], [], nil, [::IceGrid::T_AccessDeniedException, ::IceGrid::T_DeploymentException, ::IceGrid::T_ApplicationNotExistException])
|
790
|
+
Admin_mixin::OP_removeApplication = ::Ice::__defineOperation('removeApplication', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_string, false, 0]], [], nil, [::IceGrid::T_AccessDeniedException, ::IceGrid::T_DeploymentException, ::IceGrid::T_ApplicationNotExistException])
|
791
|
+
Admin_mixin::OP_instantiateServer = ::Ice::__defineOperation('instantiateServer', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_string, false, 0], [::Ice::T_string, false, 0], [::IceGrid::T_ServerInstanceDescriptor, false, 0]], [], nil, [::IceGrid::T_AccessDeniedException, ::IceGrid::T_ApplicationNotExistException, ::IceGrid::T_DeploymentException])
|
792
|
+
Admin_mixin::OP_patchApplication = ::Ice::__defineOperation('patchApplication', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Ice::T_string, false, 0], [::Ice::T_bool, false, 0]], [], nil, [::IceGrid::T_ApplicationNotExistException, ::IceGrid::T_PatchException])
|
793
|
+
Admin_mixin::OP_getApplicationInfo = ::Ice::__defineOperation('getApplicationInfo', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [[::Ice::T_string, false, 0]], [], [::IceGrid::T_ApplicationInfo, false, 0], [::IceGrid::T_ApplicationNotExistException])
|
794
|
+
Admin_mixin::OP_getDefaultApplicationDescriptor = ::Ice::__defineOperation('getDefaultApplicationDescriptor', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::IceGrid::T_ApplicationDescriptor, false, 0], [::IceGrid::T_DeploymentException])
|
795
|
+
Admin_mixin::OP_getAllApplicationNames = ::Ice::__defineOperation('getAllApplicationNames', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_StringSeq, false, 0], [])
|
796
|
+
Admin_mixin::OP_getServerInfo = ::Ice::__defineOperation('getServerInfo', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [[::Ice::T_string, false, 0]], [], [::IceGrid::T_ServerInfo, false, 0], [::IceGrid::T_ServerNotExistException])
|
797
|
+
Admin_mixin::OP_getServerState = ::Ice::__defineOperation('getServerState', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [[::Ice::T_string, false, 0]], [], [::IceGrid::T_ServerState, false, 0], [::IceGrid::T_ServerNotExistException, ::IceGrid::T_NodeUnreachableException, ::IceGrid::T_DeploymentException])
|
798
|
+
Admin_mixin::OP_getServerPid = ::Ice::__defineOperation('getServerPid', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [[::Ice::T_string, false, 0]], [], [::Ice::T_int, false, 0], [::IceGrid::T_ServerNotExistException, ::IceGrid::T_NodeUnreachableException, ::IceGrid::T_DeploymentException])
|
799
|
+
Admin_mixin::OP_getServerAdminCategory = ::Ice::__defineOperation('getServerAdminCategory', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [], [], [::Ice::T_string, false, 0], [])
|
800
|
+
Admin_mixin::OP_getServerAdmin = ::Ice::__defineOperation('getServerAdmin', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_string, false, 0]], [], [::Ice::T_ObjectPrx, false, 0], [::IceGrid::T_ServerNotExistException, ::IceGrid::T_NodeUnreachableException, ::IceGrid::T_DeploymentException])
|
801
|
+
Admin_mixin::OP_enableServer = ::Ice::__defineOperation('enableServer', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_string, false, 0], [::Ice::T_bool, false, 0]], [], nil, [::IceGrid::T_ServerNotExistException, ::IceGrid::T_NodeUnreachableException, ::IceGrid::T_DeploymentException])
|
802
|
+
Admin_mixin::OP_isServerEnabled = ::Ice::__defineOperation('isServerEnabled', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [[::Ice::T_string, false, 0]], [], [::Ice::T_bool, false, 0], [::IceGrid::T_ServerNotExistException, ::IceGrid::T_NodeUnreachableException, ::IceGrid::T_DeploymentException])
|
803
|
+
Admin_mixin::OP_startServer = ::Ice::__defineOperation('startServer', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Ice::T_string, false, 0]], [], nil, [::IceGrid::T_ServerNotExistException, ::IceGrid::T_ServerStartException, ::IceGrid::T_NodeUnreachableException, ::IceGrid::T_DeploymentException])
|
804
|
+
Admin_mixin::OP_stopServer = ::Ice::__defineOperation('stopServer', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Ice::T_string, false, 0]], [], nil, [::IceGrid::T_ServerNotExistException, ::IceGrid::T_ServerStopException, ::IceGrid::T_NodeUnreachableException, ::IceGrid::T_DeploymentException])
|
805
|
+
Admin_mixin::OP_patchServer = ::Ice::__defineOperation('patchServer', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Ice::T_string, false, 0], [::Ice::T_bool, false, 0]], [], nil, [::IceGrid::T_ServerNotExistException, ::IceGrid::T_NodeUnreachableException, ::IceGrid::T_DeploymentException, ::IceGrid::T_PatchException])
|
806
|
+
Admin_mixin::OP_sendSignal = ::Ice::__defineOperation('sendSignal', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_string, false, 0], [::Ice::T_string, false, 0]], [], nil, [::IceGrid::T_ServerNotExistException, ::IceGrid::T_NodeUnreachableException, ::IceGrid::T_DeploymentException, ::IceGrid::T_BadSignalException])
|
807
|
+
Admin_mixin::OP_getAllServerIds = ::Ice::__defineOperation('getAllServerIds', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_StringSeq, false, 0], [])
|
808
|
+
Admin_mixin::OP_getAdapterInfo = ::Ice::__defineOperation('getAdapterInfo', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [[::Ice::T_string, false, 0]], [], [::IceGrid::T_AdapterInfoSeq, false, 0], [::IceGrid::T_AdapterNotExistException])
|
809
|
+
Admin_mixin::OP_removeAdapter = ::Ice::__defineOperation('removeAdapter', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_string, false, 0]], [], nil, [::IceGrid::T_AdapterNotExistException, ::IceGrid::T_DeploymentException])
|
810
|
+
Admin_mixin::OP_getAllAdapterIds = ::Ice::__defineOperation('getAllAdapterIds', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_StringSeq, false, 0], [])
|
811
|
+
Admin_mixin::OP_addObject = ::Ice::__defineOperation('addObject', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_ObjectPrx, false, 0]], [], nil, [::IceGrid::T_ObjectExistsException, ::IceGrid::T_DeploymentException])
|
812
|
+
Admin_mixin::OP_updateObject = ::Ice::__defineOperation('updateObject', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_ObjectPrx, false, 0]], [], nil, [::IceGrid::T_ObjectNotRegisteredException, ::IceGrid::T_DeploymentException])
|
813
|
+
Admin_mixin::OP_addObjectWithType = ::Ice::__defineOperation('addObjectWithType', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_ObjectPrx, false, 0], [::Ice::T_string, false, 0]], [], nil, [::IceGrid::T_ObjectExistsException, ::IceGrid::T_DeploymentException])
|
814
|
+
Admin_mixin::OP_removeObject = ::Ice::__defineOperation('removeObject', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_Identity, false, 0]], [], nil, [::IceGrid::T_ObjectNotRegisteredException, ::IceGrid::T_DeploymentException])
|
815
|
+
Admin_mixin::OP_getObjectInfo = ::Ice::__defineOperation('getObjectInfo', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [[::Ice::T_Identity, false, 0]], [], [::IceGrid::T_ObjectInfo, false, 0], [::IceGrid::T_ObjectNotRegisteredException])
|
816
|
+
Admin_mixin::OP_getObjectInfosByType = ::Ice::__defineOperation('getObjectInfosByType', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [[::Ice::T_string, false, 0]], [], [::IceGrid::T_ObjectInfoSeq, false, 0], [])
|
817
|
+
Admin_mixin::OP_getAllObjectInfos = ::Ice::__defineOperation('getAllObjectInfos', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [[::Ice::T_string, false, 0]], [], [::IceGrid::T_ObjectInfoSeq, false, 0], [])
|
818
|
+
Admin_mixin::OP_pingNode = ::Ice::__defineOperation('pingNode', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [[::Ice::T_string, false, 0]], [], [::Ice::T_bool, false, 0], [::IceGrid::T_NodeNotExistException])
|
819
|
+
Admin_mixin::OP_getNodeLoad = ::Ice::__defineOperation('getNodeLoad', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [[::Ice::T_string, false, 0]], [], [::IceGrid::T_LoadInfo, false, 0], [::IceGrid::T_NodeNotExistException, ::IceGrid::T_NodeUnreachableException])
|
820
|
+
Admin_mixin::OP_getNodeInfo = ::Ice::__defineOperation('getNodeInfo', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [[::Ice::T_string, false, 0]], [], [::IceGrid::T_NodeInfo, false, 0], [::IceGrid::T_NodeNotExistException, ::IceGrid::T_NodeUnreachableException])
|
821
|
+
Admin_mixin::OP_getNodeAdmin = ::Ice::__defineOperation('getNodeAdmin', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_string, false, 0]], [], [::Ice::T_ObjectPrx, false, 0], [::IceGrid::T_NodeNotExistException, ::IceGrid::T_NodeUnreachableException])
|
822
|
+
Admin_mixin::OP_getNodeProcessorSocketCount = ::Ice::__defineOperation('getNodeProcessorSocketCount', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [[::Ice::T_string, false, 0]], [], [::Ice::T_int, false, 0], [::IceGrid::T_NodeNotExistException, ::IceGrid::T_NodeUnreachableException])
|
823
|
+
Admin_mixin::OP_shutdownNode = ::Ice::__defineOperation('shutdownNode', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_string, false, 0]], [], nil, [::IceGrid::T_NodeNotExistException, ::IceGrid::T_NodeUnreachableException])
|
824
|
+
Admin_mixin::OP_getNodeHostname = ::Ice::__defineOperation('getNodeHostname', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [[::Ice::T_string, false, 0]], [], [::Ice::T_string, false, 0], [::IceGrid::T_NodeNotExistException, ::IceGrid::T_NodeUnreachableException])
|
825
|
+
Admin_mixin::OP_getAllNodeNames = ::Ice::__defineOperation('getAllNodeNames', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_StringSeq, false, 0], [])
|
826
|
+
Admin_mixin::OP_pingRegistry = ::Ice::__defineOperation('pingRegistry', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_string, false, 0]], [], [::Ice::T_bool, false, 0], [::IceGrid::T_RegistryNotExistException])
|
827
|
+
Admin_mixin::OP_getRegistryInfo = ::Ice::__defineOperation('getRegistryInfo', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_string, false, 0]], [], [::IceGrid::T_RegistryInfo, false, 0], [::IceGrid::T_RegistryNotExistException, ::IceGrid::T_RegistryUnreachableException])
|
828
|
+
Admin_mixin::OP_getRegistryAdmin = ::Ice::__defineOperation('getRegistryAdmin', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_string, false, 0]], [], [::Ice::T_ObjectPrx, false, 0], [::IceGrid::T_RegistryNotExistException])
|
829
|
+
Admin_mixin::OP_shutdownRegistry = ::Ice::__defineOperation('shutdownRegistry', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_string, false, 0]], [], nil, [::IceGrid::T_RegistryNotExistException, ::IceGrid::T_RegistryUnreachableException])
|
830
|
+
Admin_mixin::OP_getAllRegistryNames = ::Ice::__defineOperation('getAllRegistryNames', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [], [], [::Ice::T_StringSeq, false, 0], [])
|
831
|
+
Admin_mixin::OP_shutdown = ::Ice::__defineOperation('shutdown', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [], [], nil, [])
|
832
|
+
Admin_mixin::OP_getSliceChecksums = ::Ice::__defineOperation('getSliceChecksums', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_SliceChecksumDict, false, 0], [])
|
833
|
+
end
|
834
|
+
|
835
|
+
if not defined?(::IceGrid::FileIterator_mixin)
|
836
|
+
module FileIterator_mixin
|
837
|
+
include ::Ice::Object_mixin
|
838
|
+
|
839
|
+
def ice_ids(current=nil)
|
840
|
+
['::Ice::Object', '::IceGrid::FileIterator']
|
841
|
+
end
|
842
|
+
|
843
|
+
def ice_id(current=nil)
|
844
|
+
'::IceGrid::FileIterator'
|
845
|
+
end
|
846
|
+
|
847
|
+
#
|
848
|
+
# Operation signatures.
|
849
|
+
#
|
850
|
+
# def read(size, current=nil)
|
851
|
+
# def destroy(current=nil)
|
852
|
+
|
853
|
+
def inspect
|
854
|
+
::Ice::__stringify(self, T_FileIterator)
|
855
|
+
end
|
856
|
+
end
|
857
|
+
class FileIterator
|
858
|
+
include FileIterator_mixin
|
859
|
+
|
860
|
+
def FileIterator.ice_staticId()
|
861
|
+
'::IceGrid::FileIterator'
|
862
|
+
end
|
863
|
+
end
|
864
|
+
module FileIteratorPrx_mixin
|
865
|
+
|
866
|
+
def read(size, _ctx=nil)
|
867
|
+
FileIterator_mixin::OP_read.invoke(self, [size], _ctx)
|
868
|
+
end
|
869
|
+
|
870
|
+
def destroy(_ctx=nil)
|
871
|
+
FileIterator_mixin::OP_destroy.invoke(self, [], _ctx)
|
872
|
+
end
|
873
|
+
end
|
874
|
+
class FileIteratorPrx < ::Ice::ObjectPrx
|
875
|
+
include FileIteratorPrx_mixin
|
876
|
+
|
877
|
+
def FileIteratorPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
878
|
+
ice_checkedCast(proxy, '::IceGrid::FileIterator', facetOrCtx, _ctx)
|
879
|
+
end
|
880
|
+
|
881
|
+
def FileIteratorPrx.uncheckedCast(proxy, facet=nil)
|
882
|
+
ice_uncheckedCast(proxy, facet)
|
883
|
+
end
|
884
|
+
def FileIteratorPrx.ice_staticId()
|
885
|
+
'::IceGrid::FileIterator'
|
886
|
+
end
|
887
|
+
end
|
888
|
+
|
889
|
+
if not defined?(::IceGrid::T_FileIterator)
|
890
|
+
T_FileIterator = ::Ice::__declareClass('::IceGrid::FileIterator')
|
891
|
+
T_FileIteratorPrx = ::Ice::__declareProxy('::IceGrid::FileIterator')
|
892
|
+
end
|
893
|
+
|
894
|
+
T_FileIterator.defineClass(FileIterator, -1, true, false, nil, [], [])
|
895
|
+
FileIterator_mixin::ICE_TYPE = T_FileIterator
|
896
|
+
|
897
|
+
T_FileIteratorPrx.defineProxy(FileIteratorPrx, T_FileIterator)
|
898
|
+
FileIteratorPrx::ICE_TYPE = T_FileIteratorPrx
|
899
|
+
|
900
|
+
FileIterator_mixin::OP_read = ::Ice::__defineOperation('read', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_int, false, 0]], [[::Ice::T_StringSeq, false, 0]], [::Ice::T_bool, false, 0], [::IceGrid::T_FileNotAvailableException])
|
901
|
+
FileIterator_mixin::OP_destroy = ::Ice::__defineOperation('destroy', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [], [], nil, [])
|
902
|
+
end
|
903
|
+
|
904
|
+
if not defined?(::IceGrid::T_RegistryObserver)
|
905
|
+
T_RegistryObserver = ::Ice::__declareClass('::IceGrid::RegistryObserver')
|
906
|
+
T_RegistryObserverPrx = ::Ice::__declareProxy('::IceGrid::RegistryObserver')
|
907
|
+
end
|
908
|
+
|
909
|
+
if not defined?(::IceGrid::T_NodeObserver)
|
910
|
+
T_NodeObserver = ::Ice::__declareClass('::IceGrid::NodeObserver')
|
911
|
+
T_NodeObserverPrx = ::Ice::__declareProxy('::IceGrid::NodeObserver')
|
912
|
+
end
|
913
|
+
|
914
|
+
if not defined?(::IceGrid::T_ApplicationObserver)
|
915
|
+
T_ApplicationObserver = ::Ice::__declareClass('::IceGrid::ApplicationObserver')
|
916
|
+
T_ApplicationObserverPrx = ::Ice::__declareProxy('::IceGrid::ApplicationObserver')
|
917
|
+
end
|
918
|
+
|
919
|
+
if not defined?(::IceGrid::T_AdapterObserver)
|
920
|
+
T_AdapterObserver = ::Ice::__declareClass('::IceGrid::AdapterObserver')
|
921
|
+
T_AdapterObserverPrx = ::Ice::__declareProxy('::IceGrid::AdapterObserver')
|
922
|
+
end
|
923
|
+
|
924
|
+
if not defined?(::IceGrid::T_ObjectObserver)
|
925
|
+
T_ObjectObserver = ::Ice::__declareClass('::IceGrid::ObjectObserver')
|
926
|
+
T_ObjectObserverPrx = ::Ice::__declareProxy('::IceGrid::ObjectObserver')
|
927
|
+
end
|
928
|
+
|
929
|
+
if not defined?(::IceGrid::AdminSession_mixin)
|
930
|
+
module AdminSession_mixin
|
931
|
+
include ::Ice::Object_mixin
|
932
|
+
|
933
|
+
def ice_ids(current=nil)
|
934
|
+
['::Glacier2::Session', '::Ice::Object', '::IceGrid::AdminSession']
|
935
|
+
end
|
936
|
+
|
937
|
+
def ice_id(current=nil)
|
938
|
+
'::IceGrid::AdminSession'
|
939
|
+
end
|
940
|
+
|
941
|
+
#
|
942
|
+
# Operation signatures.
|
943
|
+
#
|
944
|
+
# def keepAlive(current=nil)
|
945
|
+
# def getAdmin(current=nil)
|
946
|
+
# def getAdminCallbackTemplate(current=nil)
|
947
|
+
# def setObservers(registryObs, nodeObs, appObs, adptObs, objObs, current=nil)
|
948
|
+
# def setObserversByIdentity(registryObs, nodeObs, appObs, adptObs, objObs, current=nil)
|
949
|
+
# def startUpdate(current=nil)
|
950
|
+
# def finishUpdate(current=nil)
|
951
|
+
# def getReplicaName(current=nil)
|
952
|
+
# def openServerLog(id, path, count, current=nil)
|
953
|
+
# def openServerStdErr(id, count, current=nil)
|
954
|
+
# def openServerStdOut(id, count, current=nil)
|
955
|
+
# def openNodeStdErr(name, count, current=nil)
|
956
|
+
# def openNodeStdOut(name, count, current=nil)
|
957
|
+
# def openRegistryStdErr(name, count, current=nil)
|
958
|
+
# def openRegistryStdOut(name, count, current=nil)
|
959
|
+
|
960
|
+
def inspect
|
961
|
+
::Ice::__stringify(self, T_AdminSession)
|
962
|
+
end
|
963
|
+
end
|
964
|
+
class AdminSession
|
965
|
+
include AdminSession_mixin
|
966
|
+
|
967
|
+
def AdminSession.ice_staticId()
|
968
|
+
'::IceGrid::AdminSession'
|
969
|
+
end
|
970
|
+
end
|
971
|
+
module AdminSessionPrx_mixin
|
972
|
+
include ::Glacier2::SessionPrx_mixin
|
973
|
+
|
974
|
+
def keepAlive(_ctx=nil)
|
975
|
+
AdminSession_mixin::OP_keepAlive.invoke(self, [], _ctx)
|
976
|
+
end
|
977
|
+
|
978
|
+
def getAdmin(_ctx=nil)
|
979
|
+
AdminSession_mixin::OP_getAdmin.invoke(self, [], _ctx)
|
980
|
+
end
|
981
|
+
|
982
|
+
def getAdminCallbackTemplate(_ctx=nil)
|
983
|
+
AdminSession_mixin::OP_getAdminCallbackTemplate.invoke(self, [], _ctx)
|
984
|
+
end
|
985
|
+
|
986
|
+
def setObservers(registryObs, nodeObs, appObs, adptObs, objObs, _ctx=nil)
|
987
|
+
AdminSession_mixin::OP_setObservers.invoke(self, [registryObs, nodeObs, appObs, adptObs, objObs], _ctx)
|
988
|
+
end
|
989
|
+
|
990
|
+
def setObserversByIdentity(registryObs, nodeObs, appObs, adptObs, objObs, _ctx=nil)
|
991
|
+
AdminSession_mixin::OP_setObserversByIdentity.invoke(self, [registryObs, nodeObs, appObs, adptObs, objObs], _ctx)
|
992
|
+
end
|
993
|
+
|
994
|
+
def startUpdate(_ctx=nil)
|
995
|
+
AdminSession_mixin::OP_startUpdate.invoke(self, [], _ctx)
|
996
|
+
end
|
997
|
+
|
998
|
+
def finishUpdate(_ctx=nil)
|
999
|
+
AdminSession_mixin::OP_finishUpdate.invoke(self, [], _ctx)
|
1000
|
+
end
|
1001
|
+
|
1002
|
+
def getReplicaName(_ctx=nil)
|
1003
|
+
AdminSession_mixin::OP_getReplicaName.invoke(self, [], _ctx)
|
1004
|
+
end
|
1005
|
+
|
1006
|
+
def openServerLog(id, path, count, _ctx=nil)
|
1007
|
+
AdminSession_mixin::OP_openServerLog.invoke(self, [id, path, count], _ctx)
|
1008
|
+
end
|
1009
|
+
|
1010
|
+
def openServerStdErr(id, count, _ctx=nil)
|
1011
|
+
AdminSession_mixin::OP_openServerStdErr.invoke(self, [id, count], _ctx)
|
1012
|
+
end
|
1013
|
+
|
1014
|
+
def openServerStdOut(id, count, _ctx=nil)
|
1015
|
+
AdminSession_mixin::OP_openServerStdOut.invoke(self, [id, count], _ctx)
|
1016
|
+
end
|
1017
|
+
|
1018
|
+
def openNodeStdErr(name, count, _ctx=nil)
|
1019
|
+
AdminSession_mixin::OP_openNodeStdErr.invoke(self, [name, count], _ctx)
|
1020
|
+
end
|
1021
|
+
|
1022
|
+
def openNodeStdOut(name, count, _ctx=nil)
|
1023
|
+
AdminSession_mixin::OP_openNodeStdOut.invoke(self, [name, count], _ctx)
|
1024
|
+
end
|
1025
|
+
|
1026
|
+
def openRegistryStdErr(name, count, _ctx=nil)
|
1027
|
+
AdminSession_mixin::OP_openRegistryStdErr.invoke(self, [name, count], _ctx)
|
1028
|
+
end
|
1029
|
+
|
1030
|
+
def openRegistryStdOut(name, count, _ctx=nil)
|
1031
|
+
AdminSession_mixin::OP_openRegistryStdOut.invoke(self, [name, count], _ctx)
|
1032
|
+
end
|
1033
|
+
end
|
1034
|
+
class AdminSessionPrx < ::Ice::ObjectPrx
|
1035
|
+
include AdminSessionPrx_mixin
|
1036
|
+
|
1037
|
+
def AdminSessionPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
1038
|
+
ice_checkedCast(proxy, '::IceGrid::AdminSession', facetOrCtx, _ctx)
|
1039
|
+
end
|
1040
|
+
|
1041
|
+
def AdminSessionPrx.uncheckedCast(proxy, facet=nil)
|
1042
|
+
ice_uncheckedCast(proxy, facet)
|
1043
|
+
end
|
1044
|
+
def AdminSessionPrx.ice_staticId()
|
1045
|
+
'::IceGrid::AdminSession'
|
1046
|
+
end
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
if not defined?(::IceGrid::T_AdminSession)
|
1050
|
+
T_AdminSession = ::Ice::__declareClass('::IceGrid::AdminSession')
|
1051
|
+
T_AdminSessionPrx = ::Ice::__declareProxy('::IceGrid::AdminSession')
|
1052
|
+
end
|
1053
|
+
|
1054
|
+
T_AdminSession.defineClass(AdminSession, -1, true, false, nil, [::Glacier2::T_Session], [])
|
1055
|
+
AdminSession_mixin::ICE_TYPE = T_AdminSession
|
1056
|
+
|
1057
|
+
T_AdminSessionPrx.defineProxy(AdminSessionPrx, T_AdminSession)
|
1058
|
+
AdminSessionPrx::ICE_TYPE = T_AdminSessionPrx
|
1059
|
+
|
1060
|
+
AdminSession_mixin::OP_keepAlive = ::Ice::__defineOperation('keepAlive', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [], [], nil, [])
|
1061
|
+
AdminSession_mixin::OP_getAdmin = ::Ice::__defineOperation('getAdmin', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::IceGrid::T_AdminPrx, false, 0], [])
|
1062
|
+
AdminSession_mixin::OP_getAdminCallbackTemplate = ::Ice::__defineOperation('getAdminCallbackTemplate', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [], [], [::Ice::T_ObjectPrx, false, 0], [])
|
1063
|
+
AdminSession_mixin::OP_setObservers = ::Ice::__defineOperation('setObservers', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::IceGrid::T_RegistryObserverPrx, false, 0], [::IceGrid::T_NodeObserverPrx, false, 0], [::IceGrid::T_ApplicationObserverPrx, false, 0], [::IceGrid::T_AdapterObserverPrx, false, 0], [::IceGrid::T_ObjectObserverPrx, false, 0]], [], nil, [::IceGrid::T_ObserverAlreadyRegisteredException])
|
1064
|
+
AdminSession_mixin::OP_setObserversByIdentity = ::Ice::__defineOperation('setObserversByIdentity', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_Identity, false, 0], [::Ice::T_Identity, false, 0], [::Ice::T_Identity, false, 0], [::Ice::T_Identity, false, 0], [::Ice::T_Identity, false, 0]], [], nil, [::IceGrid::T_ObserverAlreadyRegisteredException])
|
1065
|
+
AdminSession_mixin::OP_startUpdate = ::Ice::__defineOperation('startUpdate', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [], [], [::Ice::T_int, false, 0], [::IceGrid::T_AccessDeniedException])
|
1066
|
+
AdminSession_mixin::OP_finishUpdate = ::Ice::__defineOperation('finishUpdate', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [], [], nil, [::IceGrid::T_AccessDeniedException])
|
1067
|
+
AdminSession_mixin::OP_getReplicaName = ::Ice::__defineOperation('getReplicaName', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [], [], [::Ice::T_string, false, 0], [])
|
1068
|
+
AdminSession_mixin::OP_openServerLog = ::Ice::__defineOperation('openServerLog', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_string, false, 0], [::Ice::T_string, false, 0], [::Ice::T_int, false, 0]], [], [::IceGrid::T_FileIteratorPrx, false, 0], [::IceGrid::T_FileNotAvailableException, ::IceGrid::T_ServerNotExistException, ::IceGrid::T_NodeUnreachableException, ::IceGrid::T_DeploymentException])
|
1069
|
+
AdminSession_mixin::OP_openServerStdErr = ::Ice::__defineOperation('openServerStdErr', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_string, false, 0], [::Ice::T_int, false, 0]], [], [::IceGrid::T_FileIteratorPrx, false, 0], [::IceGrid::T_FileNotAvailableException, ::IceGrid::T_ServerNotExistException, ::IceGrid::T_NodeUnreachableException, ::IceGrid::T_DeploymentException])
|
1070
|
+
AdminSession_mixin::OP_openServerStdOut = ::Ice::__defineOperation('openServerStdOut', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_string, false, 0], [::Ice::T_int, false, 0]], [], [::IceGrid::T_FileIteratorPrx, false, 0], [::IceGrid::T_FileNotAvailableException, ::IceGrid::T_ServerNotExistException, ::IceGrid::T_NodeUnreachableException, ::IceGrid::T_DeploymentException])
|
1071
|
+
AdminSession_mixin::OP_openNodeStdErr = ::Ice::__defineOperation('openNodeStdErr', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_string, false, 0], [::Ice::T_int, false, 0]], [], [::IceGrid::T_FileIteratorPrx, false, 0], [::IceGrid::T_FileNotAvailableException, ::IceGrid::T_NodeNotExistException, ::IceGrid::T_NodeUnreachableException])
|
1072
|
+
AdminSession_mixin::OP_openNodeStdOut = ::Ice::__defineOperation('openNodeStdOut', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_string, false, 0], [::Ice::T_int, false, 0]], [], [::IceGrid::T_FileIteratorPrx, false, 0], [::IceGrid::T_FileNotAvailableException, ::IceGrid::T_NodeNotExistException, ::IceGrid::T_NodeUnreachableException])
|
1073
|
+
AdminSession_mixin::OP_openRegistryStdErr = ::Ice::__defineOperation('openRegistryStdErr', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_string, false, 0], [::Ice::T_int, false, 0]], [], [::IceGrid::T_FileIteratorPrx, false, 0], [::IceGrid::T_FileNotAvailableException, ::IceGrid::T_RegistryNotExistException, ::IceGrid::T_RegistryUnreachableException])
|
1074
|
+
AdminSession_mixin::OP_openRegistryStdOut = ::Ice::__defineOperation('openRegistryStdOut', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_string, false, 0], [::Ice::T_int, false, 0]], [], [::IceGrid::T_FileIteratorPrx, false, 0], [::IceGrid::T_FileNotAvailableException, ::IceGrid::T_RegistryNotExistException, ::IceGrid::T_RegistryUnreachableException])
|
1075
|
+
end
|
1076
|
+
end
|