zeroc-ice-x86-mingw 3.6b1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/ICE_LICENSE +54 -0
- data/LICENSE +339 -0
- data/bin/slice2rb +17 -0
- data/ice-x86-mingw.gemspec +41 -0
- data/lib/Glacier2.rb +12 -0
- data/lib/Glacier2/Metrics.rb +99 -0
- data/lib/Glacier2/PermissionsVerifier.rb +168 -0
- data/lib/Glacier2/PermissionsVerifierF.rb +34 -0
- data/lib/Glacier2/Router.rb +141 -0
- data/lib/Glacier2/RouterF.rb +29 -0
- data/lib/Glacier2/SSLInfo.rb +79 -0
- data/lib/Glacier2/Session.rb +470 -0
- data/lib/Ice.rb +659 -0
- data/lib/Ice/BuiltinSequences.rb +64 -0
- data/lib/Ice/Communicator.rb +93 -0
- data/lib/Ice/CommunicatorF.rb +28 -0
- data/lib/Ice/Connection.rb +414 -0
- data/lib/Ice/ConnectionF.rb +36 -0
- data/lib/Ice/Current.rb +152 -0
- data/lib/Ice/Endpoint.rb +265 -0
- data/lib/Ice/EndpointF.rb +52 -0
- data/lib/Ice/EndpointTypes.rb +77 -0
- data/lib/Ice/FacetMap.rb +28 -0
- data/lib/Ice/Identity.rb +70 -0
- data/lib/Ice/ImplicitContext.rb +59 -0
- data/lib/Ice/ImplicitContextF.rb +28 -0
- data/lib/Ice/Instrumentation.rb +425 -0
- data/lib/Ice/InstrumentationF.rb +35 -0
- data/lib/Ice/LocalException.rb +1081 -0
- data/lib/Ice/Locator.rb +314 -0
- data/lib/Ice/LocatorF.rb +34 -0
- data/lib/Ice/Logger.rb +57 -0
- data/lib/Ice/LoggerF.rb +28 -0
- data/lib/Ice/Metrics.rb +696 -0
- data/lib/Ice/ObjectAdapterF.rb +28 -0
- data/lib/Ice/ObjectFactory.rb +53 -0
- data/lib/Ice/ObjectFactoryF.rb +28 -0
- data/lib/Ice/Plugin.rb +87 -0
- data/lib/Ice/PluginF.rb +32 -0
- data/lib/Ice/Process.rb +93 -0
- data/lib/Ice/ProcessF.rb +29 -0
- data/lib/Ice/Properties.rb +65 -0
- data/lib/Ice/PropertiesAdmin.rb +104 -0
- data/lib/Ice/PropertiesF.rb +33 -0
- data/lib/Ice/Router.rb +163 -0
- data/lib/Ice/RouterF.rb +29 -0
- data/lib/Ice/SliceChecksumDict.rb +28 -0
- data/lib/Ice/Version.rb +100 -0
- data/lib/IceBox.rb +10 -0
- data/lib/IceBox/IceBox.rb +272 -0
- data/lib/IceGrid.rb +17 -0
- data/lib/IceGrid/Admin.rb +1076 -0
- data/lib/IceGrid/Descriptor.rb +1505 -0
- data/lib/IceGrid/Exception.rb +401 -0
- data/lib/IceGrid/FileParser.rb +105 -0
- data/lib/IceGrid/Locator.rb +105 -0
- data/lib/IceGrid/Observer.rb +571 -0
- data/lib/IceGrid/Query.rb +168 -0
- data/lib/IceGrid/Registry.rb +120 -0
- data/lib/IceGrid/Session.rb +114 -0
- data/lib/IceGrid/UserAccountMapper.rb +101 -0
- data/lib/IcePatch2.rb +10 -0
- data/lib/IcePatch2/FileInfo.rb +75 -0
- data/lib/IcePatch2/FileServer.rb +141 -0
- data/lib/IceRuby.so +0 -0
- data/lib/IceStorm.rb +11 -0
- data/lib/IceStorm/IceStorm.rb +463 -0
- data/lib/IceStorm/Metrics.rb +155 -0
- data/slice/Freeze/BackgroundSaveEvictor.ice +111 -0
- data/slice/Freeze/CatalogData.ice +49 -0
- data/slice/Freeze/Connection.ice +111 -0
- data/slice/Freeze/ConnectionF.ice +20 -0
- data/slice/Freeze/DB.ice +37 -0
- data/slice/Freeze/Evictor.ice +339 -0
- data/slice/Freeze/EvictorF.ice +22 -0
- data/slice/Freeze/EvictorStorage.ice +72 -0
- data/slice/Freeze/Exception.ice +100 -0
- data/slice/Freeze/Transaction.ice +57 -0
- data/slice/Freeze/TransactionalEvictor.ice +50 -0
- data/slice/Glacier2/Metrics.ice +77 -0
- data/slice/Glacier2/PermissionsVerifier.ice +105 -0
- data/slice/Glacier2/PermissionsVerifierF.ice +21 -0
- data/slice/Glacier2/Router.ice +178 -0
- data/slice/Glacier2/RouterF.ice +20 -0
- data/slice/Glacier2/SSLInfo.ice +50 -0
- data/slice/Glacier2/Session.ice +273 -0
- data/slice/Ice/BuiltinSequences.ice +48 -0
- data/slice/Ice/Communicator.ice +567 -0
- data/slice/Ice/CommunicatorF.ice +20 -0
- data/slice/Ice/Connection.ice +323 -0
- data/slice/Ice/ConnectionF.ice +22 -0
- data/slice/Ice/Current.ice +160 -0
- data/slice/Ice/Endpoint.ice +227 -0
- data/slice/Ice/EndpointF.ice +32 -0
- data/slice/Ice/EndpointTypes.ice +38 -0
- data/slice/Ice/FacetMap.ice +25 -0
- data/slice/Ice/Identity.ice +59 -0
- data/slice/Ice/ImplicitContext.ice +109 -0
- data/slice/Ice/ImplicitContextF.ice +20 -0
- data/slice/Ice/Instrumentation.ice +499 -0
- data/slice/Ice/InstrumentationF.ice +26 -0
- data/slice/Ice/LocalException.ice +1015 -0
- data/slice/Ice/Locator.ice +227 -0
- data/slice/Ice/LocatorF.ice +21 -0
- data/slice/Ice/Logger.ice +86 -0
- data/slice/Ice/LoggerF.ice +20 -0
- data/slice/Ice/Metrics.ice +422 -0
- data/slice/Ice/ObjectAdapter.ice +673 -0
- data/slice/Ice/ObjectAdapterF.ice +20 -0
- data/slice/Ice/ObjectFactory.ice +60 -0
- data/slice/Ice/ObjectFactoryF.ice +20 -0
- data/slice/Ice/Plugin.ice +117 -0
- data/slice/Ice/PluginF.ice +21 -0
- data/slice/Ice/Process.ice +54 -0
- data/slice/Ice/ProcessF.ice +20 -0
- data/slice/Ice/Properties.ice +228 -0
- data/slice/Ice/PropertiesAdmin.ice +75 -0
- data/slice/Ice/PropertiesF.ice +21 -0
- data/slice/Ice/RemoteLogger.ice +232 -0
- data/slice/Ice/Router.ice +83 -0
- data/slice/Ice/RouterF.ice +20 -0
- data/slice/Ice/ServantLocator.ice +117 -0
- data/slice/Ice/ServantLocatorF.ice +20 -0
- data/slice/Ice/SliceChecksumDict.ice +25 -0
- data/slice/Ice/Version.ice +39 -0
- data/slice/IceBox/IceBox.ice +194 -0
- data/slice/IceDiscovery/IceDiscovery.ice +32 -0
- data/slice/IceGrid/Admin.ice +1578 -0
- data/slice/IceGrid/Descriptor.ice +1079 -0
- data/slice/IceGrid/Discovery.ice +73 -0
- data/slice/IceGrid/Exception.ice +383 -0
- data/slice/IceGrid/FileParser.ice +61 -0
- data/slice/IceGrid/Locator.ice +56 -0
- data/slice/IceGrid/Observer.ice +394 -0
- data/slice/IceGrid/PluginFacade.ice +316 -0
- data/slice/IceGrid/Query.ice +130 -0
- data/slice/IceGrid/Registry.ice +138 -0
- data/slice/IceGrid/Session.ice +124 -0
- data/slice/IceGrid/UserAccountMapper.ice +58 -0
- data/slice/IcePatch2/FileInfo.ice +49 -0
- data/slice/IcePatch2/FileServer.ice +129 -0
- data/slice/IceSSL/ConnectionInfo.ice +34 -0
- data/slice/IceSSL/EndpointInfo.ice +41 -0
- data/slice/IceStorm/IceStorm.ice +405 -0
- data/slice/IceStorm/Metrics.ice +71 -0
- metadata +207 -0
data/lib/Ice/Locator.rb
ADDED
@@ -0,0 +1,314 @@
|
|
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 `Locator.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/ProcessF.rb'
|
24
|
+
|
25
|
+
module Ice
|
26
|
+
|
27
|
+
if not defined?(::Ice::AdapterNotFoundException)
|
28
|
+
class AdapterNotFoundException < Ice::UserException
|
29
|
+
def initialize
|
30
|
+
end
|
31
|
+
|
32
|
+
def to_s
|
33
|
+
'Ice::AdapterNotFoundException'
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
T_AdapterNotFoundException = ::Ice::__defineException('::Ice::AdapterNotFoundException', AdapterNotFoundException, false, nil, [])
|
38
|
+
AdapterNotFoundException::ICE_TYPE = T_AdapterNotFoundException
|
39
|
+
end
|
40
|
+
|
41
|
+
if not defined?(::Ice::InvalidReplicaGroupIdException)
|
42
|
+
class InvalidReplicaGroupIdException < Ice::UserException
|
43
|
+
def initialize
|
44
|
+
end
|
45
|
+
|
46
|
+
def to_s
|
47
|
+
'Ice::InvalidReplicaGroupIdException'
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
T_InvalidReplicaGroupIdException = ::Ice::__defineException('::Ice::InvalidReplicaGroupIdException', InvalidReplicaGroupIdException, false, nil, [])
|
52
|
+
InvalidReplicaGroupIdException::ICE_TYPE = T_InvalidReplicaGroupIdException
|
53
|
+
end
|
54
|
+
|
55
|
+
if not defined?(::Ice::AdapterAlreadyActiveException)
|
56
|
+
class AdapterAlreadyActiveException < Ice::UserException
|
57
|
+
def initialize
|
58
|
+
end
|
59
|
+
|
60
|
+
def to_s
|
61
|
+
'Ice::AdapterAlreadyActiveException'
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
T_AdapterAlreadyActiveException = ::Ice::__defineException('::Ice::AdapterAlreadyActiveException', AdapterAlreadyActiveException, false, nil, [])
|
66
|
+
AdapterAlreadyActiveException::ICE_TYPE = T_AdapterAlreadyActiveException
|
67
|
+
end
|
68
|
+
|
69
|
+
if not defined?(::Ice::ObjectNotFoundException)
|
70
|
+
class ObjectNotFoundException < Ice::UserException
|
71
|
+
def initialize
|
72
|
+
end
|
73
|
+
|
74
|
+
def to_s
|
75
|
+
'Ice::ObjectNotFoundException'
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
T_ObjectNotFoundException = ::Ice::__defineException('::Ice::ObjectNotFoundException', ObjectNotFoundException, false, nil, [])
|
80
|
+
ObjectNotFoundException::ICE_TYPE = T_ObjectNotFoundException
|
81
|
+
end
|
82
|
+
|
83
|
+
if not defined?(::Ice::ServerNotFoundException)
|
84
|
+
class ServerNotFoundException < Ice::UserException
|
85
|
+
def initialize
|
86
|
+
end
|
87
|
+
|
88
|
+
def to_s
|
89
|
+
'Ice::ServerNotFoundException'
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
T_ServerNotFoundException = ::Ice::__defineException('::Ice::ServerNotFoundException', ServerNotFoundException, false, nil, [])
|
94
|
+
ServerNotFoundException::ICE_TYPE = T_ServerNotFoundException
|
95
|
+
end
|
96
|
+
|
97
|
+
if not defined?(::Ice::T_LocatorRegistry)
|
98
|
+
T_LocatorRegistry = ::Ice::__declareClass('::Ice::LocatorRegistry')
|
99
|
+
T_LocatorRegistryPrx = ::Ice::__declareProxy('::Ice::LocatorRegistry')
|
100
|
+
end
|
101
|
+
|
102
|
+
if not defined?(::Ice::Locator_mixin)
|
103
|
+
module Locator_mixin
|
104
|
+
include ::Ice::Object_mixin
|
105
|
+
|
106
|
+
def ice_ids(current=nil)
|
107
|
+
['::Ice::Locator', '::Ice::Object']
|
108
|
+
end
|
109
|
+
|
110
|
+
def ice_id(current=nil)
|
111
|
+
'::Ice::Locator'
|
112
|
+
end
|
113
|
+
|
114
|
+
#
|
115
|
+
# Operation signatures.
|
116
|
+
#
|
117
|
+
# def findObjectById(id, current=nil)
|
118
|
+
# def findAdapterById(id, current=nil)
|
119
|
+
# def getRegistry(current=nil)
|
120
|
+
|
121
|
+
def inspect
|
122
|
+
::Ice::__stringify(self, T_Locator)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
class Locator
|
126
|
+
include Locator_mixin
|
127
|
+
|
128
|
+
def Locator.ice_staticId()
|
129
|
+
'::Ice::Locator'
|
130
|
+
end
|
131
|
+
end
|
132
|
+
module LocatorPrx_mixin
|
133
|
+
|
134
|
+
def findObjectById(id, _ctx=nil)
|
135
|
+
Locator_mixin::OP_findObjectById.invoke(self, [id], _ctx)
|
136
|
+
end
|
137
|
+
|
138
|
+
def findAdapterById(id, _ctx=nil)
|
139
|
+
Locator_mixin::OP_findAdapterById.invoke(self, [id], _ctx)
|
140
|
+
end
|
141
|
+
|
142
|
+
def getRegistry(_ctx=nil)
|
143
|
+
Locator_mixin::OP_getRegistry.invoke(self, [], _ctx)
|
144
|
+
end
|
145
|
+
end
|
146
|
+
class LocatorPrx < ::Ice::ObjectPrx
|
147
|
+
include LocatorPrx_mixin
|
148
|
+
|
149
|
+
def LocatorPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
150
|
+
ice_checkedCast(proxy, '::Ice::Locator', facetOrCtx, _ctx)
|
151
|
+
end
|
152
|
+
|
153
|
+
def LocatorPrx.uncheckedCast(proxy, facet=nil)
|
154
|
+
ice_uncheckedCast(proxy, facet)
|
155
|
+
end
|
156
|
+
def LocatorPrx.ice_staticId()
|
157
|
+
'::Ice::Locator'
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
if not defined?(::Ice::T_Locator)
|
162
|
+
T_Locator = ::Ice::__declareClass('::Ice::Locator')
|
163
|
+
T_LocatorPrx = ::Ice::__declareProxy('::Ice::Locator')
|
164
|
+
end
|
165
|
+
|
166
|
+
T_Locator.defineClass(Locator, -1, true, false, nil, [], [])
|
167
|
+
Locator_mixin::ICE_TYPE = T_Locator
|
168
|
+
|
169
|
+
T_LocatorPrx.defineProxy(LocatorPrx, T_Locator)
|
170
|
+
LocatorPrx::ICE_TYPE = T_LocatorPrx
|
171
|
+
|
172
|
+
Locator_mixin::OP_findObjectById = ::Ice::__defineOperation('findObjectById', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, true, nil, [[::Ice::T_Identity, false, 0]], [], [::Ice::T_ObjectPrx, false, 0], [::Ice::T_ObjectNotFoundException])
|
173
|
+
Locator_mixin::OP_findAdapterById = ::Ice::__defineOperation('findAdapterById', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, true, nil, [[::Ice::T_string, false, 0]], [], [::Ice::T_ObjectPrx, false, 0], [::Ice::T_AdapterNotFoundException])
|
174
|
+
Locator_mixin::OP_getRegistry = ::Ice::__defineOperation('getRegistry', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_LocatorRegistryPrx, false, 0], [])
|
175
|
+
end
|
176
|
+
|
177
|
+
if not defined?(::Ice::LocatorRegistry_mixin)
|
178
|
+
module LocatorRegistry_mixin
|
179
|
+
include ::Ice::Object_mixin
|
180
|
+
|
181
|
+
def ice_ids(current=nil)
|
182
|
+
['::Ice::LocatorRegistry', '::Ice::Object']
|
183
|
+
end
|
184
|
+
|
185
|
+
def ice_id(current=nil)
|
186
|
+
'::Ice::LocatorRegistry'
|
187
|
+
end
|
188
|
+
|
189
|
+
#
|
190
|
+
# Operation signatures.
|
191
|
+
#
|
192
|
+
# def setAdapterDirectProxy(id, proxy, current=nil)
|
193
|
+
# def setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, current=nil)
|
194
|
+
# def setServerProcessProxy(id, proxy, current=nil)
|
195
|
+
|
196
|
+
def inspect
|
197
|
+
::Ice::__stringify(self, T_LocatorRegistry)
|
198
|
+
end
|
199
|
+
end
|
200
|
+
class LocatorRegistry
|
201
|
+
include LocatorRegistry_mixin
|
202
|
+
|
203
|
+
def LocatorRegistry.ice_staticId()
|
204
|
+
'::Ice::LocatorRegistry'
|
205
|
+
end
|
206
|
+
end
|
207
|
+
module LocatorRegistryPrx_mixin
|
208
|
+
|
209
|
+
def setAdapterDirectProxy(id, proxy, _ctx=nil)
|
210
|
+
LocatorRegistry_mixin::OP_setAdapterDirectProxy.invoke(self, [id, proxy], _ctx)
|
211
|
+
end
|
212
|
+
|
213
|
+
def setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, _ctx=nil)
|
214
|
+
LocatorRegistry_mixin::OP_setReplicatedAdapterDirectProxy.invoke(self, [adapterId, replicaGroupId, p], _ctx)
|
215
|
+
end
|
216
|
+
|
217
|
+
def setServerProcessProxy(id, proxy, _ctx=nil)
|
218
|
+
LocatorRegistry_mixin::OP_setServerProcessProxy.invoke(self, [id, proxy], _ctx)
|
219
|
+
end
|
220
|
+
end
|
221
|
+
class LocatorRegistryPrx < ::Ice::ObjectPrx
|
222
|
+
include LocatorRegistryPrx_mixin
|
223
|
+
|
224
|
+
def LocatorRegistryPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
225
|
+
ice_checkedCast(proxy, '::Ice::LocatorRegistry', facetOrCtx, _ctx)
|
226
|
+
end
|
227
|
+
|
228
|
+
def LocatorRegistryPrx.uncheckedCast(proxy, facet=nil)
|
229
|
+
ice_uncheckedCast(proxy, facet)
|
230
|
+
end
|
231
|
+
def LocatorRegistryPrx.ice_staticId()
|
232
|
+
'::Ice::LocatorRegistry'
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
236
|
+
if not defined?(::Ice::T_LocatorRegistry)
|
237
|
+
T_LocatorRegistry = ::Ice::__declareClass('::Ice::LocatorRegistry')
|
238
|
+
T_LocatorRegistryPrx = ::Ice::__declareProxy('::Ice::LocatorRegistry')
|
239
|
+
end
|
240
|
+
|
241
|
+
T_LocatorRegistry.defineClass(LocatorRegistry, -1, true, false, nil, [], [])
|
242
|
+
LocatorRegistry_mixin::ICE_TYPE = T_LocatorRegistry
|
243
|
+
|
244
|
+
T_LocatorRegistryPrx.defineProxy(LocatorRegistryPrx, T_LocatorRegistry)
|
245
|
+
LocatorRegistryPrx::ICE_TYPE = T_LocatorRegistryPrx
|
246
|
+
|
247
|
+
LocatorRegistry_mixin::OP_setAdapterDirectProxy = ::Ice::__defineOperation('setAdapterDirectProxy', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_string, false, 0], [::Ice::T_ObjectPrx, false, 0]], [], nil, [::Ice::T_AdapterNotFoundException, ::Ice::T_AdapterAlreadyActiveException])
|
248
|
+
LocatorRegistry_mixin::OP_setReplicatedAdapterDirectProxy = ::Ice::__defineOperation('setReplicatedAdapterDirectProxy', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_string, false, 0], [::Ice::T_string, false, 0], [::Ice::T_ObjectPrx, false, 0]], [], nil, [::Ice::T_AdapterNotFoundException, ::Ice::T_AdapterAlreadyActiveException, ::Ice::T_InvalidReplicaGroupIdException])
|
249
|
+
LocatorRegistry_mixin::OP_setServerProcessProxy = ::Ice::__defineOperation('setServerProcessProxy', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_string, false, 0], [::Ice::T_ProcessPrx, false, 0]], [], nil, [::Ice::T_ServerNotFoundException])
|
250
|
+
end
|
251
|
+
|
252
|
+
if not defined?(::Ice::LocatorFinder_mixin)
|
253
|
+
module LocatorFinder_mixin
|
254
|
+
include ::Ice::Object_mixin
|
255
|
+
|
256
|
+
def ice_ids(current=nil)
|
257
|
+
['::Ice::LocatorFinder', '::Ice::Object']
|
258
|
+
end
|
259
|
+
|
260
|
+
def ice_id(current=nil)
|
261
|
+
'::Ice::LocatorFinder'
|
262
|
+
end
|
263
|
+
|
264
|
+
#
|
265
|
+
# Operation signatures.
|
266
|
+
#
|
267
|
+
# def getLocator(current=nil)
|
268
|
+
|
269
|
+
def inspect
|
270
|
+
::Ice::__stringify(self, T_LocatorFinder)
|
271
|
+
end
|
272
|
+
end
|
273
|
+
class LocatorFinder
|
274
|
+
include LocatorFinder_mixin
|
275
|
+
|
276
|
+
def LocatorFinder.ice_staticId()
|
277
|
+
'::Ice::LocatorFinder'
|
278
|
+
end
|
279
|
+
end
|
280
|
+
module LocatorFinderPrx_mixin
|
281
|
+
|
282
|
+
def getLocator(_ctx=nil)
|
283
|
+
LocatorFinder_mixin::OP_getLocator.invoke(self, [], _ctx)
|
284
|
+
end
|
285
|
+
end
|
286
|
+
class LocatorFinderPrx < ::Ice::ObjectPrx
|
287
|
+
include LocatorFinderPrx_mixin
|
288
|
+
|
289
|
+
def LocatorFinderPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
290
|
+
ice_checkedCast(proxy, '::Ice::LocatorFinder', facetOrCtx, _ctx)
|
291
|
+
end
|
292
|
+
|
293
|
+
def LocatorFinderPrx.uncheckedCast(proxy, facet=nil)
|
294
|
+
ice_uncheckedCast(proxy, facet)
|
295
|
+
end
|
296
|
+
def LocatorFinderPrx.ice_staticId()
|
297
|
+
'::Ice::LocatorFinder'
|
298
|
+
end
|
299
|
+
end
|
300
|
+
|
301
|
+
if not defined?(::Ice::T_LocatorFinder)
|
302
|
+
T_LocatorFinder = ::Ice::__declareClass('::Ice::LocatorFinder')
|
303
|
+
T_LocatorFinderPrx = ::Ice::__declareProxy('::Ice::LocatorFinder')
|
304
|
+
end
|
305
|
+
|
306
|
+
T_LocatorFinder.defineClass(LocatorFinder, -1, true, false, nil, [], [])
|
307
|
+
LocatorFinder_mixin::ICE_TYPE = T_LocatorFinder
|
308
|
+
|
309
|
+
T_LocatorFinderPrx.defineProxy(LocatorFinderPrx, T_LocatorFinder)
|
310
|
+
LocatorFinderPrx::ICE_TYPE = T_LocatorFinderPrx
|
311
|
+
|
312
|
+
LocatorFinder_mixin::OP_getLocator = ::Ice::__defineOperation('getLocator', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [], [], [::Ice::T_LocatorPrx, false, 0], [])
|
313
|
+
end
|
314
|
+
end
|
data/lib/Ice/LocatorF.rb
ADDED
@@ -0,0 +1,34 @@
|
|
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 `LocatorF.ice'
|
15
|
+
#
|
16
|
+
# Warning: do not edit this file.
|
17
|
+
#
|
18
|
+
# </auto-generated>
|
19
|
+
#
|
20
|
+
|
21
|
+
require 'Ice'
|
22
|
+
|
23
|
+
module Ice
|
24
|
+
|
25
|
+
if not defined?(::Ice::T_Locator)
|
26
|
+
T_Locator = ::Ice::__declareClass('::Ice::Locator')
|
27
|
+
T_LocatorPrx = ::Ice::__declareProxy('::Ice::Locator')
|
28
|
+
end
|
29
|
+
|
30
|
+
if not defined?(::Ice::T_LocatorRegistry)
|
31
|
+
T_LocatorRegistry = ::Ice::__declareClass('::Ice::LocatorRegistry')
|
32
|
+
T_LocatorRegistryPrx = ::Ice::__declareProxy('::Ice::LocatorRegistry')
|
33
|
+
end
|
34
|
+
end
|
data/lib/Ice/Logger.rb
ADDED
@@ -0,0 +1,57 @@
|
|
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 `Logger.ice'
|
15
|
+
#
|
16
|
+
# Warning: do not edit this file.
|
17
|
+
#
|
18
|
+
# </auto-generated>
|
19
|
+
#
|
20
|
+
|
21
|
+
require 'Ice'
|
22
|
+
|
23
|
+
module Ice
|
24
|
+
|
25
|
+
if not defined?(::Ice::Logger_mixin)
|
26
|
+
module Logger_mixin
|
27
|
+
|
28
|
+
#
|
29
|
+
# Operation signatures.
|
30
|
+
#
|
31
|
+
# def print(message)
|
32
|
+
# def trace(category, message)
|
33
|
+
# def warning(message)
|
34
|
+
# def error(message)
|
35
|
+
# def getPrefix()
|
36
|
+
# def cloneWithPrefix(prefix)
|
37
|
+
|
38
|
+
def inspect
|
39
|
+
::Ice::__stringify(self, T_Logger)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
class Logger
|
43
|
+
include Logger_mixin
|
44
|
+
|
45
|
+
def Logger.ice_staticId()
|
46
|
+
'::Ice::Logger'
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
if not defined?(::Ice::T_Logger)
|
51
|
+
T_Logger = ::Ice::__declareLocalClass('::Ice::Logger')
|
52
|
+
end
|
53
|
+
|
54
|
+
T_Logger.defineClass(Logger, -1, true, false, nil, [], [])
|
55
|
+
Logger_mixin::ICE_TYPE = T_Logger
|
56
|
+
end
|
57
|
+
end
|
data/lib/Ice/LoggerF.rb
ADDED
@@ -0,0 +1,28 @@
|
|
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 `LoggerF.ice'
|
15
|
+
#
|
16
|
+
# Warning: do not edit this file.
|
17
|
+
#
|
18
|
+
# </auto-generated>
|
19
|
+
#
|
20
|
+
|
21
|
+
require 'Ice'
|
22
|
+
|
23
|
+
module Ice
|
24
|
+
|
25
|
+
if not defined?(::Ice::T_Logger)
|
26
|
+
T_Logger = ::Ice::__declareLocalClass('::Ice::Logger')
|
27
|
+
end
|
28
|
+
end
|
data/lib/Ice/Metrics.rb
ADDED
@@ -0,0 +1,696 @@
|
|
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 `Metrics.ice'
|
15
|
+
#
|
16
|
+
# Warning: do not edit this file.
|
17
|
+
#
|
18
|
+
# </auto-generated>
|
19
|
+
#
|
20
|
+
|
21
|
+
require 'Ice'
|
22
|
+
require 'Ice/BuiltinSequences.rb'
|
23
|
+
|
24
|
+
module IceMX
|
25
|
+
|
26
|
+
if not defined?(::IceMX::T_StringIntDict)
|
27
|
+
T_StringIntDict = ::Ice::__defineDictionary('::IceMX::StringIntDict', ::Ice::T_string, ::Ice::T_int)
|
28
|
+
end
|
29
|
+
|
30
|
+
if not defined?(::IceMX::Metrics_mixin)
|
31
|
+
module Metrics_mixin
|
32
|
+
include ::Ice::Object_mixin
|
33
|
+
|
34
|
+
def ice_ids(current=nil)
|
35
|
+
['::Ice::Object', '::IceMX::Metrics']
|
36
|
+
end
|
37
|
+
|
38
|
+
def ice_id(current=nil)
|
39
|
+
'::IceMX::Metrics'
|
40
|
+
end
|
41
|
+
|
42
|
+
def inspect
|
43
|
+
::Ice::__stringify(self, T_Metrics)
|
44
|
+
end
|
45
|
+
|
46
|
+
attr_accessor :id, :total, :current, :totalLifetime, :failures
|
47
|
+
end
|
48
|
+
class Metrics
|
49
|
+
include Metrics_mixin
|
50
|
+
|
51
|
+
def Metrics.ice_staticId()
|
52
|
+
'::IceMX::Metrics'
|
53
|
+
end
|
54
|
+
|
55
|
+
def initialize(id='', total=0, current=0, totalLifetime=0, failures=0)
|
56
|
+
@id = id
|
57
|
+
@total = total
|
58
|
+
@current = current
|
59
|
+
@totalLifetime = totalLifetime
|
60
|
+
@failures = failures
|
61
|
+
end
|
62
|
+
end
|
63
|
+
module MetricsPrx_mixin
|
64
|
+
end
|
65
|
+
class MetricsPrx < ::Ice::ObjectPrx
|
66
|
+
include MetricsPrx_mixin
|
67
|
+
|
68
|
+
def MetricsPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
69
|
+
ice_checkedCast(proxy, '::IceMX::Metrics', facetOrCtx, _ctx)
|
70
|
+
end
|
71
|
+
|
72
|
+
def MetricsPrx.uncheckedCast(proxy, facet=nil)
|
73
|
+
ice_uncheckedCast(proxy, facet)
|
74
|
+
end
|
75
|
+
def MetricsPrx.ice_staticId()
|
76
|
+
'::IceMX::Metrics'
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
if not defined?(::IceMX::T_Metrics)
|
81
|
+
T_Metrics = ::Ice::__declareClass('::IceMX::Metrics')
|
82
|
+
T_MetricsPrx = ::Ice::__declareProxy('::IceMX::Metrics')
|
83
|
+
end
|
84
|
+
|
85
|
+
T_Metrics.defineClass(Metrics, -1, false, false, nil, [], [
|
86
|
+
['id', ::Ice::T_string, false, 0],
|
87
|
+
['total', ::Ice::T_long, false, 0],
|
88
|
+
['current', ::Ice::T_int, false, 0],
|
89
|
+
['totalLifetime', ::Ice::T_long, false, 0],
|
90
|
+
['failures', ::Ice::T_int, false, 0]
|
91
|
+
])
|
92
|
+
Metrics_mixin::ICE_TYPE = T_Metrics
|
93
|
+
|
94
|
+
T_MetricsPrx.defineProxy(MetricsPrx, T_Metrics)
|
95
|
+
MetricsPrx::ICE_TYPE = T_MetricsPrx
|
96
|
+
end
|
97
|
+
|
98
|
+
if not defined?(::IceMX::MetricsFailures)
|
99
|
+
class MetricsFailures
|
100
|
+
def initialize(id='', failures=nil)
|
101
|
+
@id = id
|
102
|
+
@failures = failures
|
103
|
+
end
|
104
|
+
|
105
|
+
def hash
|
106
|
+
_h = 0
|
107
|
+
_h = 5 * _h + @id.hash
|
108
|
+
_h = 5 * _h + @failures.hash
|
109
|
+
_h % 0x7fffffff
|
110
|
+
end
|
111
|
+
|
112
|
+
def ==(other)
|
113
|
+
return false if
|
114
|
+
@id != other.id or
|
115
|
+
@failures != other.failures
|
116
|
+
true
|
117
|
+
end
|
118
|
+
|
119
|
+
def eql?(other)
|
120
|
+
return other.class == self.class && other == self
|
121
|
+
end
|
122
|
+
|
123
|
+
def inspect
|
124
|
+
::Ice::__stringify(self, T_MetricsFailures)
|
125
|
+
end
|
126
|
+
|
127
|
+
attr_accessor :id, :failures
|
128
|
+
end
|
129
|
+
|
130
|
+
T_MetricsFailures = ::Ice::__defineStruct('::IceMX::MetricsFailures', MetricsFailures, [
|
131
|
+
["id", ::Ice::T_string],
|
132
|
+
["failures", ::IceMX::T_StringIntDict]
|
133
|
+
])
|
134
|
+
end
|
135
|
+
|
136
|
+
if not defined?(::IceMX::T_MetricsFailuresSeq)
|
137
|
+
T_MetricsFailuresSeq = ::Ice::__defineSequence('::IceMX::MetricsFailuresSeq', ::IceMX::T_MetricsFailures)
|
138
|
+
end
|
139
|
+
|
140
|
+
if not defined?(::IceMX::T_MetricsMap)
|
141
|
+
T_MetricsMap = ::Ice::__defineSequence('::IceMX::MetricsMap', ::IceMX::T_Metrics)
|
142
|
+
end
|
143
|
+
|
144
|
+
if not defined?(::IceMX::T_MetricsView)
|
145
|
+
T_MetricsView = ::Ice::__defineDictionary('::IceMX::MetricsView', ::Ice::T_string, ::IceMX::T_MetricsMap)
|
146
|
+
end
|
147
|
+
|
148
|
+
if not defined?(::IceMX::UnknownMetricsView)
|
149
|
+
class UnknownMetricsView < Ice::UserException
|
150
|
+
def initialize
|
151
|
+
end
|
152
|
+
|
153
|
+
def to_s
|
154
|
+
'IceMX::UnknownMetricsView'
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
T_UnknownMetricsView = ::Ice::__defineException('::IceMX::UnknownMetricsView', UnknownMetricsView, false, nil, [])
|
159
|
+
UnknownMetricsView::ICE_TYPE = T_UnknownMetricsView
|
160
|
+
end
|
161
|
+
|
162
|
+
if not defined?(::IceMX::MetricsAdmin_mixin)
|
163
|
+
module MetricsAdmin_mixin
|
164
|
+
include ::Ice::Object_mixin
|
165
|
+
|
166
|
+
def ice_ids(current=nil)
|
167
|
+
['::Ice::Object', '::IceMX::MetricsAdmin']
|
168
|
+
end
|
169
|
+
|
170
|
+
def ice_id(current=nil)
|
171
|
+
'::IceMX::MetricsAdmin'
|
172
|
+
end
|
173
|
+
|
174
|
+
#
|
175
|
+
# Operation signatures.
|
176
|
+
#
|
177
|
+
# def getMetricsViewNames(current=nil)
|
178
|
+
# def enableMetricsView(name, current=nil)
|
179
|
+
# def disableMetricsView(name, current=nil)
|
180
|
+
# def getMetricsView(view, current=nil)
|
181
|
+
# def getMapMetricsFailures(view, map, current=nil)
|
182
|
+
# def getMetricsFailures(view, map, id, current=nil)
|
183
|
+
|
184
|
+
def inspect
|
185
|
+
::Ice::__stringify(self, T_MetricsAdmin)
|
186
|
+
end
|
187
|
+
end
|
188
|
+
class MetricsAdmin
|
189
|
+
include MetricsAdmin_mixin
|
190
|
+
|
191
|
+
def MetricsAdmin.ice_staticId()
|
192
|
+
'::IceMX::MetricsAdmin'
|
193
|
+
end
|
194
|
+
end
|
195
|
+
module MetricsAdminPrx_mixin
|
196
|
+
|
197
|
+
def getMetricsViewNames(_ctx=nil)
|
198
|
+
MetricsAdmin_mixin::OP_getMetricsViewNames.invoke(self, [], _ctx)
|
199
|
+
end
|
200
|
+
|
201
|
+
def enableMetricsView(name, _ctx=nil)
|
202
|
+
MetricsAdmin_mixin::OP_enableMetricsView.invoke(self, [name], _ctx)
|
203
|
+
end
|
204
|
+
|
205
|
+
def disableMetricsView(name, _ctx=nil)
|
206
|
+
MetricsAdmin_mixin::OP_disableMetricsView.invoke(self, [name], _ctx)
|
207
|
+
end
|
208
|
+
|
209
|
+
def getMetricsView(view, _ctx=nil)
|
210
|
+
MetricsAdmin_mixin::OP_getMetricsView.invoke(self, [view], _ctx)
|
211
|
+
end
|
212
|
+
|
213
|
+
def getMapMetricsFailures(view, map, _ctx=nil)
|
214
|
+
MetricsAdmin_mixin::OP_getMapMetricsFailures.invoke(self, [view, map], _ctx)
|
215
|
+
end
|
216
|
+
|
217
|
+
def getMetricsFailures(view, map, id, _ctx=nil)
|
218
|
+
MetricsAdmin_mixin::OP_getMetricsFailures.invoke(self, [view, map, id], _ctx)
|
219
|
+
end
|
220
|
+
end
|
221
|
+
class MetricsAdminPrx < ::Ice::ObjectPrx
|
222
|
+
include MetricsAdminPrx_mixin
|
223
|
+
|
224
|
+
def MetricsAdminPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
225
|
+
ice_checkedCast(proxy, '::IceMX::MetricsAdmin', facetOrCtx, _ctx)
|
226
|
+
end
|
227
|
+
|
228
|
+
def MetricsAdminPrx.uncheckedCast(proxy, facet=nil)
|
229
|
+
ice_uncheckedCast(proxy, facet)
|
230
|
+
end
|
231
|
+
def MetricsAdminPrx.ice_staticId()
|
232
|
+
'::IceMX::MetricsAdmin'
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
236
|
+
if not defined?(::IceMX::T_MetricsAdmin)
|
237
|
+
T_MetricsAdmin = ::Ice::__declareClass('::IceMX::MetricsAdmin')
|
238
|
+
T_MetricsAdminPrx = ::Ice::__declareProxy('::IceMX::MetricsAdmin')
|
239
|
+
end
|
240
|
+
|
241
|
+
T_MetricsAdmin.defineClass(MetricsAdmin, -1, true, false, nil, [], [])
|
242
|
+
MetricsAdmin_mixin::ICE_TYPE = T_MetricsAdmin
|
243
|
+
|
244
|
+
T_MetricsAdminPrx.defineProxy(MetricsAdminPrx, T_MetricsAdmin)
|
245
|
+
MetricsAdminPrx::ICE_TYPE = T_MetricsAdminPrx
|
246
|
+
|
247
|
+
MetricsAdmin_mixin::OP_getMetricsViewNames = ::Ice::__defineOperation('getMetricsViewNames', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, ::Ice::FormatType::SlicedFormat, [], [[::Ice::T_StringSeq, false, 0]], [::Ice::T_StringSeq, false, 0], [])
|
248
|
+
MetricsAdmin_mixin::OP_enableMetricsView = ::Ice::__defineOperation('enableMetricsView', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, ::Ice::FormatType::SlicedFormat, [[::Ice::T_string, false, 0]], [], nil, [::IceMX::T_UnknownMetricsView])
|
249
|
+
MetricsAdmin_mixin::OP_disableMetricsView = ::Ice::__defineOperation('disableMetricsView', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, ::Ice::FormatType::SlicedFormat, [[::Ice::T_string, false, 0]], [], nil, [::IceMX::T_UnknownMetricsView])
|
250
|
+
MetricsAdmin_mixin::OP_getMetricsView = ::Ice::__defineOperation('getMetricsView', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, ::Ice::FormatType::SlicedFormat, [[::Ice::T_string, false, 0]], [[::Ice::T_long, false, 0]], [::IceMX::T_MetricsView, false, 0], [::IceMX::T_UnknownMetricsView])
|
251
|
+
MetricsAdmin_mixin::OP_getMapMetricsFailures = ::Ice::__defineOperation('getMapMetricsFailures', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, ::Ice::FormatType::SlicedFormat, [[::Ice::T_string, false, 0], [::Ice::T_string, false, 0]], [], [::IceMX::T_MetricsFailuresSeq, false, 0], [::IceMX::T_UnknownMetricsView])
|
252
|
+
MetricsAdmin_mixin::OP_getMetricsFailures = ::Ice::__defineOperation('getMetricsFailures', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, ::Ice::FormatType::SlicedFormat, [[::Ice::T_string, false, 0], [::Ice::T_string, false, 0], [::Ice::T_string, false, 0]], [], [::IceMX::T_MetricsFailures, false, 0], [::IceMX::T_UnknownMetricsView])
|
253
|
+
end
|
254
|
+
|
255
|
+
if not defined?(::IceMX::ThreadMetrics_mixin)
|
256
|
+
module ThreadMetrics_mixin
|
257
|
+
include ::IceMX::Metrics_mixin
|
258
|
+
|
259
|
+
def ice_ids(current=nil)
|
260
|
+
['::Ice::Object', '::IceMX::Metrics', '::IceMX::ThreadMetrics']
|
261
|
+
end
|
262
|
+
|
263
|
+
def ice_id(current=nil)
|
264
|
+
'::IceMX::ThreadMetrics'
|
265
|
+
end
|
266
|
+
|
267
|
+
def inspect
|
268
|
+
::Ice::__stringify(self, T_ThreadMetrics)
|
269
|
+
end
|
270
|
+
|
271
|
+
attr_accessor :inUseForIO, :inUseForUser, :inUseForOther
|
272
|
+
end
|
273
|
+
class ThreadMetrics < ::IceMX::Metrics
|
274
|
+
include ThreadMetrics_mixin
|
275
|
+
|
276
|
+
def ThreadMetrics.ice_staticId()
|
277
|
+
'::IceMX::ThreadMetrics'
|
278
|
+
end
|
279
|
+
|
280
|
+
def initialize(id='', total=0, current=0, totalLifetime=0, failures=0, inUseForIO=0, inUseForUser=0, inUseForOther=0)
|
281
|
+
super(id, total, current, totalLifetime, failures)
|
282
|
+
@inUseForIO = inUseForIO
|
283
|
+
@inUseForUser = inUseForUser
|
284
|
+
@inUseForOther = inUseForOther
|
285
|
+
end
|
286
|
+
end
|
287
|
+
module ThreadMetricsPrx_mixin
|
288
|
+
include ::IceMX::MetricsPrx_mixin
|
289
|
+
end
|
290
|
+
class ThreadMetricsPrx < ::Ice::ObjectPrx
|
291
|
+
include ThreadMetricsPrx_mixin
|
292
|
+
|
293
|
+
def ThreadMetricsPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
294
|
+
ice_checkedCast(proxy, '::IceMX::ThreadMetrics', facetOrCtx, _ctx)
|
295
|
+
end
|
296
|
+
|
297
|
+
def ThreadMetricsPrx.uncheckedCast(proxy, facet=nil)
|
298
|
+
ice_uncheckedCast(proxy, facet)
|
299
|
+
end
|
300
|
+
def ThreadMetricsPrx.ice_staticId()
|
301
|
+
'::IceMX::ThreadMetrics'
|
302
|
+
end
|
303
|
+
end
|
304
|
+
|
305
|
+
if not defined?(::IceMX::T_ThreadMetrics)
|
306
|
+
T_ThreadMetrics = ::Ice::__declareClass('::IceMX::ThreadMetrics')
|
307
|
+
T_ThreadMetricsPrx = ::Ice::__declareProxy('::IceMX::ThreadMetrics')
|
308
|
+
end
|
309
|
+
|
310
|
+
T_ThreadMetrics.defineClass(ThreadMetrics, -1, false, false, ::IceMX::T_Metrics, [], [
|
311
|
+
['inUseForIO', ::Ice::T_int, false, 0],
|
312
|
+
['inUseForUser', ::Ice::T_int, false, 0],
|
313
|
+
['inUseForOther', ::Ice::T_int, false, 0]
|
314
|
+
])
|
315
|
+
ThreadMetrics_mixin::ICE_TYPE = T_ThreadMetrics
|
316
|
+
|
317
|
+
T_ThreadMetricsPrx.defineProxy(ThreadMetricsPrx, T_ThreadMetrics)
|
318
|
+
ThreadMetricsPrx::ICE_TYPE = T_ThreadMetricsPrx
|
319
|
+
end
|
320
|
+
|
321
|
+
if not defined?(::IceMX::DispatchMetrics_mixin)
|
322
|
+
module DispatchMetrics_mixin
|
323
|
+
include ::IceMX::Metrics_mixin
|
324
|
+
|
325
|
+
def ice_ids(current=nil)
|
326
|
+
['::Ice::Object', '::IceMX::DispatchMetrics', '::IceMX::Metrics']
|
327
|
+
end
|
328
|
+
|
329
|
+
def ice_id(current=nil)
|
330
|
+
'::IceMX::DispatchMetrics'
|
331
|
+
end
|
332
|
+
|
333
|
+
def inspect
|
334
|
+
::Ice::__stringify(self, T_DispatchMetrics)
|
335
|
+
end
|
336
|
+
|
337
|
+
attr_accessor :userException, :size, :replySize
|
338
|
+
end
|
339
|
+
class DispatchMetrics < ::IceMX::Metrics
|
340
|
+
include DispatchMetrics_mixin
|
341
|
+
|
342
|
+
def DispatchMetrics.ice_staticId()
|
343
|
+
'::IceMX::DispatchMetrics'
|
344
|
+
end
|
345
|
+
|
346
|
+
def initialize(id='', total=0, current=0, totalLifetime=0, failures=0, userException=0, size=0, replySize=0)
|
347
|
+
super(id, total, current, totalLifetime, failures)
|
348
|
+
@userException = userException
|
349
|
+
@size = size
|
350
|
+
@replySize = replySize
|
351
|
+
end
|
352
|
+
end
|
353
|
+
module DispatchMetricsPrx_mixin
|
354
|
+
include ::IceMX::MetricsPrx_mixin
|
355
|
+
end
|
356
|
+
class DispatchMetricsPrx < ::Ice::ObjectPrx
|
357
|
+
include DispatchMetricsPrx_mixin
|
358
|
+
|
359
|
+
def DispatchMetricsPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
360
|
+
ice_checkedCast(proxy, '::IceMX::DispatchMetrics', facetOrCtx, _ctx)
|
361
|
+
end
|
362
|
+
|
363
|
+
def DispatchMetricsPrx.uncheckedCast(proxy, facet=nil)
|
364
|
+
ice_uncheckedCast(proxy, facet)
|
365
|
+
end
|
366
|
+
def DispatchMetricsPrx.ice_staticId()
|
367
|
+
'::IceMX::DispatchMetrics'
|
368
|
+
end
|
369
|
+
end
|
370
|
+
|
371
|
+
if not defined?(::IceMX::T_DispatchMetrics)
|
372
|
+
T_DispatchMetrics = ::Ice::__declareClass('::IceMX::DispatchMetrics')
|
373
|
+
T_DispatchMetricsPrx = ::Ice::__declareProxy('::IceMX::DispatchMetrics')
|
374
|
+
end
|
375
|
+
|
376
|
+
T_DispatchMetrics.defineClass(DispatchMetrics, -1, false, false, ::IceMX::T_Metrics, [], [
|
377
|
+
['userException', ::Ice::T_int, false, 0],
|
378
|
+
['size', ::Ice::T_long, false, 0],
|
379
|
+
['replySize', ::Ice::T_long, false, 0]
|
380
|
+
])
|
381
|
+
DispatchMetrics_mixin::ICE_TYPE = T_DispatchMetrics
|
382
|
+
|
383
|
+
T_DispatchMetricsPrx.defineProxy(DispatchMetricsPrx, T_DispatchMetrics)
|
384
|
+
DispatchMetricsPrx::ICE_TYPE = T_DispatchMetricsPrx
|
385
|
+
end
|
386
|
+
|
387
|
+
if not defined?(::IceMX::ChildInvocationMetrics_mixin)
|
388
|
+
module ChildInvocationMetrics_mixin
|
389
|
+
include ::IceMX::Metrics_mixin
|
390
|
+
|
391
|
+
def ice_ids(current=nil)
|
392
|
+
['::Ice::Object', '::IceMX::ChildInvocationMetrics', '::IceMX::Metrics']
|
393
|
+
end
|
394
|
+
|
395
|
+
def ice_id(current=nil)
|
396
|
+
'::IceMX::ChildInvocationMetrics'
|
397
|
+
end
|
398
|
+
|
399
|
+
def inspect
|
400
|
+
::Ice::__stringify(self, T_ChildInvocationMetrics)
|
401
|
+
end
|
402
|
+
|
403
|
+
attr_accessor :size, :replySize
|
404
|
+
end
|
405
|
+
class ChildInvocationMetrics < ::IceMX::Metrics
|
406
|
+
include ChildInvocationMetrics_mixin
|
407
|
+
|
408
|
+
def ChildInvocationMetrics.ice_staticId()
|
409
|
+
'::IceMX::ChildInvocationMetrics'
|
410
|
+
end
|
411
|
+
|
412
|
+
def initialize(id='', total=0, current=0, totalLifetime=0, failures=0, size=0, replySize=0)
|
413
|
+
super(id, total, current, totalLifetime, failures)
|
414
|
+
@size = size
|
415
|
+
@replySize = replySize
|
416
|
+
end
|
417
|
+
end
|
418
|
+
module ChildInvocationMetricsPrx_mixin
|
419
|
+
include ::IceMX::MetricsPrx_mixin
|
420
|
+
end
|
421
|
+
class ChildInvocationMetricsPrx < ::Ice::ObjectPrx
|
422
|
+
include ChildInvocationMetricsPrx_mixin
|
423
|
+
|
424
|
+
def ChildInvocationMetricsPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
425
|
+
ice_checkedCast(proxy, '::IceMX::ChildInvocationMetrics', facetOrCtx, _ctx)
|
426
|
+
end
|
427
|
+
|
428
|
+
def ChildInvocationMetricsPrx.uncheckedCast(proxy, facet=nil)
|
429
|
+
ice_uncheckedCast(proxy, facet)
|
430
|
+
end
|
431
|
+
def ChildInvocationMetricsPrx.ice_staticId()
|
432
|
+
'::IceMX::ChildInvocationMetrics'
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
if not defined?(::IceMX::T_ChildInvocationMetrics)
|
437
|
+
T_ChildInvocationMetrics = ::Ice::__declareClass('::IceMX::ChildInvocationMetrics')
|
438
|
+
T_ChildInvocationMetricsPrx = ::Ice::__declareProxy('::IceMX::ChildInvocationMetrics')
|
439
|
+
end
|
440
|
+
|
441
|
+
T_ChildInvocationMetrics.defineClass(ChildInvocationMetrics, -1, false, false, ::IceMX::T_Metrics, [], [
|
442
|
+
['size', ::Ice::T_long, false, 0],
|
443
|
+
['replySize', ::Ice::T_long, false, 0]
|
444
|
+
])
|
445
|
+
ChildInvocationMetrics_mixin::ICE_TYPE = T_ChildInvocationMetrics
|
446
|
+
|
447
|
+
T_ChildInvocationMetricsPrx.defineProxy(ChildInvocationMetricsPrx, T_ChildInvocationMetrics)
|
448
|
+
ChildInvocationMetricsPrx::ICE_TYPE = T_ChildInvocationMetricsPrx
|
449
|
+
end
|
450
|
+
|
451
|
+
if not defined?(::IceMX::CollocatedMetrics_mixin)
|
452
|
+
module CollocatedMetrics_mixin
|
453
|
+
include ::IceMX::ChildInvocationMetrics_mixin
|
454
|
+
|
455
|
+
def ice_ids(current=nil)
|
456
|
+
['::Ice::Object', '::IceMX::ChildInvocationMetrics', '::IceMX::CollocatedMetrics', '::IceMX::Metrics']
|
457
|
+
end
|
458
|
+
|
459
|
+
def ice_id(current=nil)
|
460
|
+
'::IceMX::CollocatedMetrics'
|
461
|
+
end
|
462
|
+
|
463
|
+
def inspect
|
464
|
+
::Ice::__stringify(self, T_CollocatedMetrics)
|
465
|
+
end
|
466
|
+
end
|
467
|
+
class CollocatedMetrics < ::IceMX::ChildInvocationMetrics
|
468
|
+
include CollocatedMetrics_mixin
|
469
|
+
|
470
|
+
def CollocatedMetrics.ice_staticId()
|
471
|
+
'::IceMX::CollocatedMetrics'
|
472
|
+
end
|
473
|
+
|
474
|
+
def initialize(id='', total=0, current=0, totalLifetime=0, failures=0, size=0, replySize=0)
|
475
|
+
super(id, total, current, totalLifetime, failures, size, replySize)
|
476
|
+
end
|
477
|
+
end
|
478
|
+
module CollocatedMetricsPrx_mixin
|
479
|
+
include ::IceMX::ChildInvocationMetricsPrx_mixin
|
480
|
+
end
|
481
|
+
class CollocatedMetricsPrx < ::Ice::ObjectPrx
|
482
|
+
include CollocatedMetricsPrx_mixin
|
483
|
+
|
484
|
+
def CollocatedMetricsPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
485
|
+
ice_checkedCast(proxy, '::IceMX::CollocatedMetrics', facetOrCtx, _ctx)
|
486
|
+
end
|
487
|
+
|
488
|
+
def CollocatedMetricsPrx.uncheckedCast(proxy, facet=nil)
|
489
|
+
ice_uncheckedCast(proxy, facet)
|
490
|
+
end
|
491
|
+
def CollocatedMetricsPrx.ice_staticId()
|
492
|
+
'::IceMX::CollocatedMetrics'
|
493
|
+
end
|
494
|
+
end
|
495
|
+
|
496
|
+
if not defined?(::IceMX::T_CollocatedMetrics)
|
497
|
+
T_CollocatedMetrics = ::Ice::__declareClass('::IceMX::CollocatedMetrics')
|
498
|
+
T_CollocatedMetricsPrx = ::Ice::__declareProxy('::IceMX::CollocatedMetrics')
|
499
|
+
end
|
500
|
+
|
501
|
+
T_CollocatedMetrics.defineClass(CollocatedMetrics, -1, false, false, ::IceMX::T_ChildInvocationMetrics, [], [])
|
502
|
+
CollocatedMetrics_mixin::ICE_TYPE = T_CollocatedMetrics
|
503
|
+
|
504
|
+
T_CollocatedMetricsPrx.defineProxy(CollocatedMetricsPrx, T_CollocatedMetrics)
|
505
|
+
CollocatedMetricsPrx::ICE_TYPE = T_CollocatedMetricsPrx
|
506
|
+
end
|
507
|
+
|
508
|
+
if not defined?(::IceMX::RemoteMetrics_mixin)
|
509
|
+
module RemoteMetrics_mixin
|
510
|
+
include ::IceMX::ChildInvocationMetrics_mixin
|
511
|
+
|
512
|
+
def ice_ids(current=nil)
|
513
|
+
['::Ice::Object', '::IceMX::ChildInvocationMetrics', '::IceMX::Metrics', '::IceMX::RemoteMetrics']
|
514
|
+
end
|
515
|
+
|
516
|
+
def ice_id(current=nil)
|
517
|
+
'::IceMX::RemoteMetrics'
|
518
|
+
end
|
519
|
+
|
520
|
+
def inspect
|
521
|
+
::Ice::__stringify(self, T_RemoteMetrics)
|
522
|
+
end
|
523
|
+
end
|
524
|
+
class RemoteMetrics < ::IceMX::ChildInvocationMetrics
|
525
|
+
include RemoteMetrics_mixin
|
526
|
+
|
527
|
+
def RemoteMetrics.ice_staticId()
|
528
|
+
'::IceMX::RemoteMetrics'
|
529
|
+
end
|
530
|
+
|
531
|
+
def initialize(id='', total=0, current=0, totalLifetime=0, failures=0, size=0, replySize=0)
|
532
|
+
super(id, total, current, totalLifetime, failures, size, replySize)
|
533
|
+
end
|
534
|
+
end
|
535
|
+
module RemoteMetricsPrx_mixin
|
536
|
+
include ::IceMX::ChildInvocationMetricsPrx_mixin
|
537
|
+
end
|
538
|
+
class RemoteMetricsPrx < ::Ice::ObjectPrx
|
539
|
+
include RemoteMetricsPrx_mixin
|
540
|
+
|
541
|
+
def RemoteMetricsPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
542
|
+
ice_checkedCast(proxy, '::IceMX::RemoteMetrics', facetOrCtx, _ctx)
|
543
|
+
end
|
544
|
+
|
545
|
+
def RemoteMetricsPrx.uncheckedCast(proxy, facet=nil)
|
546
|
+
ice_uncheckedCast(proxy, facet)
|
547
|
+
end
|
548
|
+
def RemoteMetricsPrx.ice_staticId()
|
549
|
+
'::IceMX::RemoteMetrics'
|
550
|
+
end
|
551
|
+
end
|
552
|
+
|
553
|
+
if not defined?(::IceMX::T_RemoteMetrics)
|
554
|
+
T_RemoteMetrics = ::Ice::__declareClass('::IceMX::RemoteMetrics')
|
555
|
+
T_RemoteMetricsPrx = ::Ice::__declareProxy('::IceMX::RemoteMetrics')
|
556
|
+
end
|
557
|
+
|
558
|
+
T_RemoteMetrics.defineClass(RemoteMetrics, -1, false, false, ::IceMX::T_ChildInvocationMetrics, [], [])
|
559
|
+
RemoteMetrics_mixin::ICE_TYPE = T_RemoteMetrics
|
560
|
+
|
561
|
+
T_RemoteMetricsPrx.defineProxy(RemoteMetricsPrx, T_RemoteMetrics)
|
562
|
+
RemoteMetricsPrx::ICE_TYPE = T_RemoteMetricsPrx
|
563
|
+
end
|
564
|
+
|
565
|
+
if not defined?(::IceMX::InvocationMetrics_mixin)
|
566
|
+
module InvocationMetrics_mixin
|
567
|
+
include ::IceMX::Metrics_mixin
|
568
|
+
|
569
|
+
def ice_ids(current=nil)
|
570
|
+
['::Ice::Object', '::IceMX::InvocationMetrics', '::IceMX::Metrics']
|
571
|
+
end
|
572
|
+
|
573
|
+
def ice_id(current=nil)
|
574
|
+
'::IceMX::InvocationMetrics'
|
575
|
+
end
|
576
|
+
|
577
|
+
def inspect
|
578
|
+
::Ice::__stringify(self, T_InvocationMetrics)
|
579
|
+
end
|
580
|
+
|
581
|
+
attr_accessor :_retry, :userException, :remotes, :collocated
|
582
|
+
end
|
583
|
+
class InvocationMetrics < ::IceMX::Metrics
|
584
|
+
include InvocationMetrics_mixin
|
585
|
+
|
586
|
+
def InvocationMetrics.ice_staticId()
|
587
|
+
'::IceMX::InvocationMetrics'
|
588
|
+
end
|
589
|
+
|
590
|
+
def initialize(id='', total=0, current=0, totalLifetime=0, failures=0, _retry=0, userException=0, remotes=nil, collocated=nil)
|
591
|
+
super(id, total, current, totalLifetime, failures)
|
592
|
+
@_retry = _retry
|
593
|
+
@userException = userException
|
594
|
+
@remotes = remotes
|
595
|
+
@collocated = collocated
|
596
|
+
end
|
597
|
+
end
|
598
|
+
module InvocationMetricsPrx_mixin
|
599
|
+
include ::IceMX::MetricsPrx_mixin
|
600
|
+
end
|
601
|
+
class InvocationMetricsPrx < ::Ice::ObjectPrx
|
602
|
+
include InvocationMetricsPrx_mixin
|
603
|
+
|
604
|
+
def InvocationMetricsPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
605
|
+
ice_checkedCast(proxy, '::IceMX::InvocationMetrics', facetOrCtx, _ctx)
|
606
|
+
end
|
607
|
+
|
608
|
+
def InvocationMetricsPrx.uncheckedCast(proxy, facet=nil)
|
609
|
+
ice_uncheckedCast(proxy, facet)
|
610
|
+
end
|
611
|
+
def InvocationMetricsPrx.ice_staticId()
|
612
|
+
'::IceMX::InvocationMetrics'
|
613
|
+
end
|
614
|
+
end
|
615
|
+
|
616
|
+
if not defined?(::IceMX::T_InvocationMetrics)
|
617
|
+
T_InvocationMetrics = ::Ice::__declareClass('::IceMX::InvocationMetrics')
|
618
|
+
T_InvocationMetricsPrx = ::Ice::__declareProxy('::IceMX::InvocationMetrics')
|
619
|
+
end
|
620
|
+
|
621
|
+
T_InvocationMetrics.defineClass(InvocationMetrics, -1, false, false, ::IceMX::T_Metrics, [], [
|
622
|
+
['_retry', ::Ice::T_int, false, 0],
|
623
|
+
['userException', ::Ice::T_int, false, 0],
|
624
|
+
['remotes', ::IceMX::T_MetricsMap, false, 0],
|
625
|
+
['collocated', ::IceMX::T_MetricsMap, false, 0]
|
626
|
+
])
|
627
|
+
InvocationMetrics_mixin::ICE_TYPE = T_InvocationMetrics
|
628
|
+
|
629
|
+
T_InvocationMetricsPrx.defineProxy(InvocationMetricsPrx, T_InvocationMetrics)
|
630
|
+
InvocationMetricsPrx::ICE_TYPE = T_InvocationMetricsPrx
|
631
|
+
end
|
632
|
+
|
633
|
+
if not defined?(::IceMX::ConnectionMetrics_mixin)
|
634
|
+
module ConnectionMetrics_mixin
|
635
|
+
include ::IceMX::Metrics_mixin
|
636
|
+
|
637
|
+
def ice_ids(current=nil)
|
638
|
+
['::Ice::Object', '::IceMX::ConnectionMetrics', '::IceMX::Metrics']
|
639
|
+
end
|
640
|
+
|
641
|
+
def ice_id(current=nil)
|
642
|
+
'::IceMX::ConnectionMetrics'
|
643
|
+
end
|
644
|
+
|
645
|
+
def inspect
|
646
|
+
::Ice::__stringify(self, T_ConnectionMetrics)
|
647
|
+
end
|
648
|
+
|
649
|
+
attr_accessor :receivedBytes, :sentBytes
|
650
|
+
end
|
651
|
+
class ConnectionMetrics < ::IceMX::Metrics
|
652
|
+
include ConnectionMetrics_mixin
|
653
|
+
|
654
|
+
def ConnectionMetrics.ice_staticId()
|
655
|
+
'::IceMX::ConnectionMetrics'
|
656
|
+
end
|
657
|
+
|
658
|
+
def initialize(id='', total=0, current=0, totalLifetime=0, failures=0, receivedBytes=0, sentBytes=0)
|
659
|
+
super(id, total, current, totalLifetime, failures)
|
660
|
+
@receivedBytes = receivedBytes
|
661
|
+
@sentBytes = sentBytes
|
662
|
+
end
|
663
|
+
end
|
664
|
+
module ConnectionMetricsPrx_mixin
|
665
|
+
include ::IceMX::MetricsPrx_mixin
|
666
|
+
end
|
667
|
+
class ConnectionMetricsPrx < ::Ice::ObjectPrx
|
668
|
+
include ConnectionMetricsPrx_mixin
|
669
|
+
|
670
|
+
def ConnectionMetricsPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
671
|
+
ice_checkedCast(proxy, '::IceMX::ConnectionMetrics', facetOrCtx, _ctx)
|
672
|
+
end
|
673
|
+
|
674
|
+
def ConnectionMetricsPrx.uncheckedCast(proxy, facet=nil)
|
675
|
+
ice_uncheckedCast(proxy, facet)
|
676
|
+
end
|
677
|
+
def ConnectionMetricsPrx.ice_staticId()
|
678
|
+
'::IceMX::ConnectionMetrics'
|
679
|
+
end
|
680
|
+
end
|
681
|
+
|
682
|
+
if not defined?(::IceMX::T_ConnectionMetrics)
|
683
|
+
T_ConnectionMetrics = ::Ice::__declareClass('::IceMX::ConnectionMetrics')
|
684
|
+
T_ConnectionMetricsPrx = ::Ice::__declareProxy('::IceMX::ConnectionMetrics')
|
685
|
+
end
|
686
|
+
|
687
|
+
T_ConnectionMetrics.defineClass(ConnectionMetrics, -1, false, false, ::IceMX::T_Metrics, [], [
|
688
|
+
['receivedBytes', ::Ice::T_long, false, 0],
|
689
|
+
['sentBytes', ::Ice::T_long, false, 0]
|
690
|
+
])
|
691
|
+
ConnectionMetrics_mixin::ICE_TYPE = T_ConnectionMetrics
|
692
|
+
|
693
|
+
T_ConnectionMetricsPrx.defineProxy(ConnectionMetricsPrx, T_ConnectionMetrics)
|
694
|
+
ConnectionMetricsPrx::ICE_TYPE = T_ConnectionMetricsPrx
|
695
|
+
end
|
696
|
+
end
|