zeroc-ice-x86-mingw 3.6b1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/ICE_LICENSE +54 -0
- data/LICENSE +339 -0
- data/bin/slice2rb +17 -0
- data/ice-x86-mingw.gemspec +41 -0
- data/lib/Glacier2.rb +12 -0
- data/lib/Glacier2/Metrics.rb +99 -0
- data/lib/Glacier2/PermissionsVerifier.rb +168 -0
- data/lib/Glacier2/PermissionsVerifierF.rb +34 -0
- data/lib/Glacier2/Router.rb +141 -0
- data/lib/Glacier2/RouterF.rb +29 -0
- data/lib/Glacier2/SSLInfo.rb +79 -0
- data/lib/Glacier2/Session.rb +470 -0
- data/lib/Ice.rb +659 -0
- data/lib/Ice/BuiltinSequences.rb +64 -0
- data/lib/Ice/Communicator.rb +93 -0
- data/lib/Ice/CommunicatorF.rb +28 -0
- data/lib/Ice/Connection.rb +414 -0
- data/lib/Ice/ConnectionF.rb +36 -0
- data/lib/Ice/Current.rb +152 -0
- data/lib/Ice/Endpoint.rb +265 -0
- data/lib/Ice/EndpointF.rb +52 -0
- data/lib/Ice/EndpointTypes.rb +77 -0
- data/lib/Ice/FacetMap.rb +28 -0
- data/lib/Ice/Identity.rb +70 -0
- data/lib/Ice/ImplicitContext.rb +59 -0
- data/lib/Ice/ImplicitContextF.rb +28 -0
- data/lib/Ice/Instrumentation.rb +425 -0
- data/lib/Ice/InstrumentationF.rb +35 -0
- data/lib/Ice/LocalException.rb +1081 -0
- data/lib/Ice/Locator.rb +314 -0
- data/lib/Ice/LocatorF.rb +34 -0
- data/lib/Ice/Logger.rb +57 -0
- data/lib/Ice/LoggerF.rb +28 -0
- data/lib/Ice/Metrics.rb +696 -0
- data/lib/Ice/ObjectAdapterF.rb +28 -0
- data/lib/Ice/ObjectFactory.rb +53 -0
- data/lib/Ice/ObjectFactoryF.rb +28 -0
- data/lib/Ice/Plugin.rb +87 -0
- data/lib/Ice/PluginF.rb +32 -0
- data/lib/Ice/Process.rb +93 -0
- data/lib/Ice/ProcessF.rb +29 -0
- data/lib/Ice/Properties.rb +65 -0
- data/lib/Ice/PropertiesAdmin.rb +104 -0
- data/lib/Ice/PropertiesF.rb +33 -0
- data/lib/Ice/Router.rb +163 -0
- data/lib/Ice/RouterF.rb +29 -0
- data/lib/Ice/SliceChecksumDict.rb +28 -0
- data/lib/Ice/Version.rb +100 -0
- data/lib/IceBox.rb +10 -0
- data/lib/IceBox/IceBox.rb +272 -0
- data/lib/IceGrid.rb +17 -0
- data/lib/IceGrid/Admin.rb +1076 -0
- data/lib/IceGrid/Descriptor.rb +1505 -0
- data/lib/IceGrid/Exception.rb +401 -0
- data/lib/IceGrid/FileParser.rb +105 -0
- data/lib/IceGrid/Locator.rb +105 -0
- data/lib/IceGrid/Observer.rb +571 -0
- data/lib/IceGrid/Query.rb +168 -0
- data/lib/IceGrid/Registry.rb +120 -0
- data/lib/IceGrid/Session.rb +114 -0
- data/lib/IceGrid/UserAccountMapper.rb +101 -0
- data/lib/IcePatch2.rb +10 -0
- data/lib/IcePatch2/FileInfo.rb +75 -0
- data/lib/IcePatch2/FileServer.rb +141 -0
- data/lib/IceRuby.so +0 -0
- data/lib/IceStorm.rb +11 -0
- data/lib/IceStorm/IceStorm.rb +463 -0
- data/lib/IceStorm/Metrics.rb +155 -0
- data/slice/Freeze/BackgroundSaveEvictor.ice +111 -0
- data/slice/Freeze/CatalogData.ice +49 -0
- data/slice/Freeze/Connection.ice +111 -0
- data/slice/Freeze/ConnectionF.ice +20 -0
- data/slice/Freeze/DB.ice +37 -0
- data/slice/Freeze/Evictor.ice +339 -0
- data/slice/Freeze/EvictorF.ice +22 -0
- data/slice/Freeze/EvictorStorage.ice +72 -0
- data/slice/Freeze/Exception.ice +100 -0
- data/slice/Freeze/Transaction.ice +57 -0
- data/slice/Freeze/TransactionalEvictor.ice +50 -0
- data/slice/Glacier2/Metrics.ice +77 -0
- data/slice/Glacier2/PermissionsVerifier.ice +105 -0
- data/slice/Glacier2/PermissionsVerifierF.ice +21 -0
- data/slice/Glacier2/Router.ice +178 -0
- data/slice/Glacier2/RouterF.ice +20 -0
- data/slice/Glacier2/SSLInfo.ice +50 -0
- data/slice/Glacier2/Session.ice +273 -0
- data/slice/Ice/BuiltinSequences.ice +48 -0
- data/slice/Ice/Communicator.ice +567 -0
- data/slice/Ice/CommunicatorF.ice +20 -0
- data/slice/Ice/Connection.ice +323 -0
- data/slice/Ice/ConnectionF.ice +22 -0
- data/slice/Ice/Current.ice +160 -0
- data/slice/Ice/Endpoint.ice +227 -0
- data/slice/Ice/EndpointF.ice +32 -0
- data/slice/Ice/EndpointTypes.ice +38 -0
- data/slice/Ice/FacetMap.ice +25 -0
- data/slice/Ice/Identity.ice +59 -0
- data/slice/Ice/ImplicitContext.ice +109 -0
- data/slice/Ice/ImplicitContextF.ice +20 -0
- data/slice/Ice/Instrumentation.ice +499 -0
- data/slice/Ice/InstrumentationF.ice +26 -0
- data/slice/Ice/LocalException.ice +1015 -0
- data/slice/Ice/Locator.ice +227 -0
- data/slice/Ice/LocatorF.ice +21 -0
- data/slice/Ice/Logger.ice +86 -0
- data/slice/Ice/LoggerF.ice +20 -0
- data/slice/Ice/Metrics.ice +422 -0
- data/slice/Ice/ObjectAdapter.ice +673 -0
- data/slice/Ice/ObjectAdapterF.ice +20 -0
- data/slice/Ice/ObjectFactory.ice +60 -0
- data/slice/Ice/ObjectFactoryF.ice +20 -0
- data/slice/Ice/Plugin.ice +117 -0
- data/slice/Ice/PluginF.ice +21 -0
- data/slice/Ice/Process.ice +54 -0
- data/slice/Ice/ProcessF.ice +20 -0
- data/slice/Ice/Properties.ice +228 -0
- data/slice/Ice/PropertiesAdmin.ice +75 -0
- data/slice/Ice/PropertiesF.ice +21 -0
- data/slice/Ice/RemoteLogger.ice +232 -0
- data/slice/Ice/Router.ice +83 -0
- data/slice/Ice/RouterF.ice +20 -0
- data/slice/Ice/ServantLocator.ice +117 -0
- data/slice/Ice/ServantLocatorF.ice +20 -0
- data/slice/Ice/SliceChecksumDict.ice +25 -0
- data/slice/Ice/Version.ice +39 -0
- data/slice/IceBox/IceBox.ice +194 -0
- data/slice/IceDiscovery/IceDiscovery.ice +32 -0
- data/slice/IceGrid/Admin.ice +1578 -0
- data/slice/IceGrid/Descriptor.ice +1079 -0
- data/slice/IceGrid/Discovery.ice +73 -0
- data/slice/IceGrid/Exception.ice +383 -0
- data/slice/IceGrid/FileParser.ice +61 -0
- data/slice/IceGrid/Locator.ice +56 -0
- data/slice/IceGrid/Observer.ice +394 -0
- data/slice/IceGrid/PluginFacade.ice +316 -0
- data/slice/IceGrid/Query.ice +130 -0
- data/slice/IceGrid/Registry.ice +138 -0
- data/slice/IceGrid/Session.ice +124 -0
- data/slice/IceGrid/UserAccountMapper.ice +58 -0
- data/slice/IcePatch2/FileInfo.ice +49 -0
- data/slice/IcePatch2/FileServer.ice +129 -0
- data/slice/IceSSL/ConnectionInfo.ice +34 -0
- data/slice/IceSSL/EndpointInfo.ice +41 -0
- data/slice/IceStorm/IceStorm.ice +405 -0
- data/slice/IceStorm/Metrics.ice +71 -0
- metadata +207 -0
@@ -0,0 +1,52 @@
|
|
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 `EndpointF.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_EndpointInfo)
|
26
|
+
T_EndpointInfo = ::Ice::__declareLocalClass('::Ice::EndpointInfo')
|
27
|
+
end
|
28
|
+
|
29
|
+
if not defined?(::Ice::T_IPEndpointInfo)
|
30
|
+
T_IPEndpointInfo = ::Ice::__declareLocalClass('::Ice::IPEndpointInfo')
|
31
|
+
end
|
32
|
+
|
33
|
+
if not defined?(::Ice::T_TCPEndpointInfo)
|
34
|
+
T_TCPEndpointInfo = ::Ice::__declareLocalClass('::Ice::TCPEndpointInfo')
|
35
|
+
end
|
36
|
+
|
37
|
+
if not defined?(::Ice::T_UDPEndpointInfo)
|
38
|
+
T_UDPEndpointInfo = ::Ice::__declareLocalClass('::Ice::UDPEndpointInfo')
|
39
|
+
end
|
40
|
+
|
41
|
+
if not defined?(::Ice::T_WSEndpointInfo)
|
42
|
+
T_WSEndpointInfo = ::Ice::__declareLocalClass('::Ice::WSEndpointInfo')
|
43
|
+
end
|
44
|
+
|
45
|
+
if not defined?(::Ice::T_Endpoint)
|
46
|
+
T_Endpoint = ::Ice::__declareLocalClass('::Ice::Endpoint')
|
47
|
+
end
|
48
|
+
|
49
|
+
if not defined?(::Ice::T_EndpointSeq)
|
50
|
+
T_EndpointSeq = ::Ice::__defineSequence('::Ice::EndpointSeq', ::Ice::T_Endpoint)
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,77 @@
|
|
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 `EndpointTypes.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::EndpointSelectionType)
|
26
|
+
class EndpointSelectionType
|
27
|
+
include Comparable
|
28
|
+
|
29
|
+
def initialize(name, value)
|
30
|
+
@name = name
|
31
|
+
@value = value
|
32
|
+
end
|
33
|
+
|
34
|
+
def EndpointSelectionType.from_int(val)
|
35
|
+
@@_enumerators[val]
|
36
|
+
end
|
37
|
+
|
38
|
+
def to_s
|
39
|
+
@name
|
40
|
+
end
|
41
|
+
|
42
|
+
def to_i
|
43
|
+
@value
|
44
|
+
end
|
45
|
+
|
46
|
+
def <=>(other)
|
47
|
+
other.is_a?(EndpointSelectionType) or raise ArgumentError, "value must be a EndpointSelectionType"
|
48
|
+
@value <=> other.to_i
|
49
|
+
end
|
50
|
+
|
51
|
+
def hash
|
52
|
+
@value.hash
|
53
|
+
end
|
54
|
+
|
55
|
+
def inspect
|
56
|
+
@name + "(#{@value})"
|
57
|
+
end
|
58
|
+
|
59
|
+
def EndpointSelectionType.each(&block)
|
60
|
+
@@_enumerators.each_value(&block)
|
61
|
+
end
|
62
|
+
|
63
|
+
Random = EndpointSelectionType.new("Random", 0)
|
64
|
+
Ordered = EndpointSelectionType.new("Ordered", 1)
|
65
|
+
|
66
|
+
@@_enumerators = {0=>Random, 1=>Ordered}
|
67
|
+
|
68
|
+
def EndpointSelectionType._enumerators
|
69
|
+
@@_enumerators
|
70
|
+
end
|
71
|
+
|
72
|
+
private_class_method :new
|
73
|
+
end
|
74
|
+
|
75
|
+
T_EndpointSelectionType = ::Ice::__defineEnum('::Ice::EndpointSelectionType', EndpointSelectionType, EndpointSelectionType::_enumerators)
|
76
|
+
end
|
77
|
+
end
|
data/lib/Ice/FacetMap.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 `FacetMap.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_FacetMap)
|
26
|
+
T_FacetMap = ::Ice::__defineDictionary('::Ice::FacetMap', ::Ice::T_string, ::Ice::T_Object)
|
27
|
+
end
|
28
|
+
end
|
data/lib/Ice/Identity.rb
ADDED
@@ -0,0 +1,70 @@
|
|
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 `Identity.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::Identity)
|
26
|
+
class Identity
|
27
|
+
def initialize(name='', category='')
|
28
|
+
@name = name
|
29
|
+
@category = category
|
30
|
+
end
|
31
|
+
|
32
|
+
def hash
|
33
|
+
_h = 0
|
34
|
+
_h = 5 * _h + @name.hash
|
35
|
+
_h = 5 * _h + @category.hash
|
36
|
+
_h % 0x7fffffff
|
37
|
+
end
|
38
|
+
|
39
|
+
def ==(other)
|
40
|
+
return false if
|
41
|
+
@name != other.name or
|
42
|
+
@category != other.category
|
43
|
+
true
|
44
|
+
end
|
45
|
+
|
46
|
+
def eql?(other)
|
47
|
+
return other.class == self.class && other == self
|
48
|
+
end
|
49
|
+
|
50
|
+
def inspect
|
51
|
+
::Ice::__stringify(self, T_Identity)
|
52
|
+
end
|
53
|
+
|
54
|
+
attr_accessor :name, :category
|
55
|
+
end
|
56
|
+
|
57
|
+
T_Identity = ::Ice::__defineStruct('::Ice::Identity', Identity, [
|
58
|
+
["name", ::Ice::T_string],
|
59
|
+
["category", ::Ice::T_string]
|
60
|
+
])
|
61
|
+
end
|
62
|
+
|
63
|
+
if not defined?(::Ice::T_ObjectDict)
|
64
|
+
T_ObjectDict = ::Ice::__defineDictionary('::Ice::ObjectDict', ::Ice::T_Identity, ::Ice::T_Object)
|
65
|
+
end
|
66
|
+
|
67
|
+
if not defined?(::Ice::T_IdentitySeq)
|
68
|
+
T_IdentitySeq = ::Ice::__defineSequence('::Ice::IdentitySeq', ::Ice::T_Identity)
|
69
|
+
end
|
70
|
+
end
|
@@ -0,0 +1,59 @@
|
|
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 `ImplicitContext.ice'
|
15
|
+
#
|
16
|
+
# Warning: do not edit this file.
|
17
|
+
#
|
18
|
+
# </auto-generated>
|
19
|
+
#
|
20
|
+
|
21
|
+
require 'Ice'
|
22
|
+
require 'Ice/LocalException.rb'
|
23
|
+
require 'Ice/Current.rb'
|
24
|
+
|
25
|
+
module Ice
|
26
|
+
|
27
|
+
if not defined?(::Ice::ImplicitContext_mixin)
|
28
|
+
module ImplicitContext_mixin
|
29
|
+
|
30
|
+
#
|
31
|
+
# Operation signatures.
|
32
|
+
#
|
33
|
+
# def getContext()
|
34
|
+
# def setContext(newContext)
|
35
|
+
# def containsKey(key)
|
36
|
+
# def get(key)
|
37
|
+
# def put(key, value)
|
38
|
+
# def remove(key)
|
39
|
+
|
40
|
+
def inspect
|
41
|
+
::Ice::__stringify(self, T_ImplicitContext)
|
42
|
+
end
|
43
|
+
end
|
44
|
+
class ImplicitContext
|
45
|
+
include ImplicitContext_mixin
|
46
|
+
|
47
|
+
def ImplicitContext.ice_staticId()
|
48
|
+
'::Ice::ImplicitContext'
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
if not defined?(::Ice::T_ImplicitContext)
|
53
|
+
T_ImplicitContext = ::Ice::__declareLocalClass('::Ice::ImplicitContext')
|
54
|
+
end
|
55
|
+
|
56
|
+
T_ImplicitContext.defineClass(ImplicitContext, -1, true, false, nil, [], [])
|
57
|
+
ImplicitContext_mixin::ICE_TYPE = T_ImplicitContext
|
58
|
+
end
|
59
|
+
end
|
@@ -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 `ImplicitContextF.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_ImplicitContext)
|
26
|
+
T_ImplicitContext = ::Ice::__declareLocalClass('::Ice::ImplicitContext')
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,425 @@
|
|
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 `Instrumentation.ice'
|
15
|
+
#
|
16
|
+
# Warning: do not edit this file.
|
17
|
+
#
|
18
|
+
# </auto-generated>
|
19
|
+
#
|
20
|
+
|
21
|
+
require 'Ice'
|
22
|
+
require 'Ice/EndpointF.rb'
|
23
|
+
require 'Ice/ConnectionF.rb'
|
24
|
+
require 'Ice/Current.rb'
|
25
|
+
|
26
|
+
module Ice
|
27
|
+
|
28
|
+
module Instrumentation
|
29
|
+
|
30
|
+
if not defined?(::Ice::Instrumentation::Observer_mixin)
|
31
|
+
module Observer_mixin
|
32
|
+
|
33
|
+
#
|
34
|
+
# Operation signatures.
|
35
|
+
#
|
36
|
+
# def attach()
|
37
|
+
# def detach()
|
38
|
+
# def failed(exceptionName)
|
39
|
+
|
40
|
+
def inspect
|
41
|
+
::Ice::__stringify(self, T_Observer)
|
42
|
+
end
|
43
|
+
end
|
44
|
+
class Observer
|
45
|
+
include Observer_mixin
|
46
|
+
|
47
|
+
def Observer.ice_staticId()
|
48
|
+
'::Ice::Instrumentation::Observer'
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
if not defined?(::Ice::Instrumentation::T_Observer)
|
53
|
+
T_Observer = ::Ice::__declareLocalClass('::Ice::Instrumentation::Observer')
|
54
|
+
end
|
55
|
+
|
56
|
+
T_Observer.defineClass(Observer, -1, true, false, nil, [], [])
|
57
|
+
Observer_mixin::ICE_TYPE = T_Observer
|
58
|
+
end
|
59
|
+
|
60
|
+
if not defined?(::Ice::Instrumentation::ThreadState)
|
61
|
+
class ThreadState
|
62
|
+
include Comparable
|
63
|
+
|
64
|
+
def initialize(name, value)
|
65
|
+
@name = name
|
66
|
+
@value = value
|
67
|
+
end
|
68
|
+
|
69
|
+
def ThreadState.from_int(val)
|
70
|
+
@@_enumerators[val]
|
71
|
+
end
|
72
|
+
|
73
|
+
def to_s
|
74
|
+
@name
|
75
|
+
end
|
76
|
+
|
77
|
+
def to_i
|
78
|
+
@value
|
79
|
+
end
|
80
|
+
|
81
|
+
def <=>(other)
|
82
|
+
other.is_a?(ThreadState) or raise ArgumentError, "value must be a ThreadState"
|
83
|
+
@value <=> other.to_i
|
84
|
+
end
|
85
|
+
|
86
|
+
def hash
|
87
|
+
@value.hash
|
88
|
+
end
|
89
|
+
|
90
|
+
def inspect
|
91
|
+
@name + "(#{@value})"
|
92
|
+
end
|
93
|
+
|
94
|
+
def ThreadState.each(&block)
|
95
|
+
@@_enumerators.each_value(&block)
|
96
|
+
end
|
97
|
+
|
98
|
+
ThreadStateIdle = ThreadState.new("ThreadStateIdle", 0)
|
99
|
+
ThreadStateInUseForIO = ThreadState.new("ThreadStateInUseForIO", 1)
|
100
|
+
ThreadStateInUseForUser = ThreadState.new("ThreadStateInUseForUser", 2)
|
101
|
+
ThreadStateInUseForOther = ThreadState.new("ThreadStateInUseForOther", 3)
|
102
|
+
|
103
|
+
@@_enumerators = {0=>ThreadStateIdle, 1=>ThreadStateInUseForIO, 2=>ThreadStateInUseForUser, 3=>ThreadStateInUseForOther}
|
104
|
+
|
105
|
+
def ThreadState._enumerators
|
106
|
+
@@_enumerators
|
107
|
+
end
|
108
|
+
|
109
|
+
private_class_method :new
|
110
|
+
end
|
111
|
+
|
112
|
+
T_ThreadState = ::Ice::__defineEnum('::Ice::Instrumentation::ThreadState', ThreadState, ThreadState::_enumerators)
|
113
|
+
end
|
114
|
+
|
115
|
+
if not defined?(::Ice::Instrumentation::ThreadObserver_mixin)
|
116
|
+
module ThreadObserver_mixin
|
117
|
+
|
118
|
+
#
|
119
|
+
# Operation signatures.
|
120
|
+
#
|
121
|
+
# def stateChanged(oldState, newState)
|
122
|
+
|
123
|
+
def inspect
|
124
|
+
::Ice::__stringify(self, T_ThreadObserver)
|
125
|
+
end
|
126
|
+
end
|
127
|
+
class ThreadObserver
|
128
|
+
include ThreadObserver_mixin
|
129
|
+
|
130
|
+
def ThreadObserver.ice_staticId()
|
131
|
+
'::Ice::Instrumentation::ThreadObserver'
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
if not defined?(::Ice::Instrumentation::T_ThreadObserver)
|
136
|
+
T_ThreadObserver = ::Ice::__declareLocalClass('::Ice::Instrumentation::ThreadObserver')
|
137
|
+
end
|
138
|
+
|
139
|
+
T_ThreadObserver.defineClass(ThreadObserver, -1, true, false, nil, [::Ice::Instrumentation::T_Observer], [])
|
140
|
+
ThreadObserver_mixin::ICE_TYPE = T_ThreadObserver
|
141
|
+
end
|
142
|
+
|
143
|
+
if not defined?(::Ice::Instrumentation::ConnectionState)
|
144
|
+
class ConnectionState
|
145
|
+
include Comparable
|
146
|
+
|
147
|
+
def initialize(name, value)
|
148
|
+
@name = name
|
149
|
+
@value = value
|
150
|
+
end
|
151
|
+
|
152
|
+
def ConnectionState.from_int(val)
|
153
|
+
@@_enumerators[val]
|
154
|
+
end
|
155
|
+
|
156
|
+
def to_s
|
157
|
+
@name
|
158
|
+
end
|
159
|
+
|
160
|
+
def to_i
|
161
|
+
@value
|
162
|
+
end
|
163
|
+
|
164
|
+
def <=>(other)
|
165
|
+
other.is_a?(ConnectionState) or raise ArgumentError, "value must be a ConnectionState"
|
166
|
+
@value <=> other.to_i
|
167
|
+
end
|
168
|
+
|
169
|
+
def hash
|
170
|
+
@value.hash
|
171
|
+
end
|
172
|
+
|
173
|
+
def inspect
|
174
|
+
@name + "(#{@value})"
|
175
|
+
end
|
176
|
+
|
177
|
+
def ConnectionState.each(&block)
|
178
|
+
@@_enumerators.each_value(&block)
|
179
|
+
end
|
180
|
+
|
181
|
+
ConnectionStateValidating = ConnectionState.new("ConnectionStateValidating", 0)
|
182
|
+
ConnectionStateHolding = ConnectionState.new("ConnectionStateHolding", 1)
|
183
|
+
ConnectionStateActive = ConnectionState.new("ConnectionStateActive", 2)
|
184
|
+
ConnectionStateClosing = ConnectionState.new("ConnectionStateClosing", 3)
|
185
|
+
ConnectionStateClosed = ConnectionState.new("ConnectionStateClosed", 4)
|
186
|
+
|
187
|
+
@@_enumerators = {0=>ConnectionStateValidating, 1=>ConnectionStateHolding, 2=>ConnectionStateActive, 3=>ConnectionStateClosing, 4=>ConnectionStateClosed}
|
188
|
+
|
189
|
+
def ConnectionState._enumerators
|
190
|
+
@@_enumerators
|
191
|
+
end
|
192
|
+
|
193
|
+
private_class_method :new
|
194
|
+
end
|
195
|
+
|
196
|
+
T_ConnectionState = ::Ice::__defineEnum('::Ice::Instrumentation::ConnectionState', ConnectionState, ConnectionState::_enumerators)
|
197
|
+
end
|
198
|
+
|
199
|
+
if not defined?(::Ice::Instrumentation::ConnectionObserver_mixin)
|
200
|
+
module ConnectionObserver_mixin
|
201
|
+
|
202
|
+
#
|
203
|
+
# Operation signatures.
|
204
|
+
#
|
205
|
+
# def sentBytes(num)
|
206
|
+
# def receivedBytes(num)
|
207
|
+
|
208
|
+
def inspect
|
209
|
+
::Ice::__stringify(self, T_ConnectionObserver)
|
210
|
+
end
|
211
|
+
end
|
212
|
+
class ConnectionObserver
|
213
|
+
include ConnectionObserver_mixin
|
214
|
+
|
215
|
+
def ConnectionObserver.ice_staticId()
|
216
|
+
'::Ice::Instrumentation::ConnectionObserver'
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
if not defined?(::Ice::Instrumentation::T_ConnectionObserver)
|
221
|
+
T_ConnectionObserver = ::Ice::__declareLocalClass('::Ice::Instrumentation::ConnectionObserver')
|
222
|
+
end
|
223
|
+
|
224
|
+
T_ConnectionObserver.defineClass(ConnectionObserver, -1, true, false, nil, [::Ice::Instrumentation::T_Observer], [])
|
225
|
+
ConnectionObserver_mixin::ICE_TYPE = T_ConnectionObserver
|
226
|
+
end
|
227
|
+
|
228
|
+
if not defined?(::Ice::Instrumentation::DispatchObserver_mixin)
|
229
|
+
module DispatchObserver_mixin
|
230
|
+
|
231
|
+
#
|
232
|
+
# Operation signatures.
|
233
|
+
#
|
234
|
+
# def userException()
|
235
|
+
# def reply(size)
|
236
|
+
|
237
|
+
def inspect
|
238
|
+
::Ice::__stringify(self, T_DispatchObserver)
|
239
|
+
end
|
240
|
+
end
|
241
|
+
class DispatchObserver
|
242
|
+
include DispatchObserver_mixin
|
243
|
+
|
244
|
+
def DispatchObserver.ice_staticId()
|
245
|
+
'::Ice::Instrumentation::DispatchObserver'
|
246
|
+
end
|
247
|
+
end
|
248
|
+
|
249
|
+
if not defined?(::Ice::Instrumentation::T_DispatchObserver)
|
250
|
+
T_DispatchObserver = ::Ice::__declareLocalClass('::Ice::Instrumentation::DispatchObserver')
|
251
|
+
end
|
252
|
+
|
253
|
+
T_DispatchObserver.defineClass(DispatchObserver, -1, true, false, nil, [::Ice::Instrumentation::T_Observer], [])
|
254
|
+
DispatchObserver_mixin::ICE_TYPE = T_DispatchObserver
|
255
|
+
end
|
256
|
+
|
257
|
+
if not defined?(::Ice::Instrumentation::ChildInvocationObserver_mixin)
|
258
|
+
module ChildInvocationObserver_mixin
|
259
|
+
|
260
|
+
#
|
261
|
+
# Operation signatures.
|
262
|
+
#
|
263
|
+
# def reply(size)
|
264
|
+
|
265
|
+
def inspect
|
266
|
+
::Ice::__stringify(self, T_ChildInvocationObserver)
|
267
|
+
end
|
268
|
+
end
|
269
|
+
class ChildInvocationObserver
|
270
|
+
include ChildInvocationObserver_mixin
|
271
|
+
|
272
|
+
def ChildInvocationObserver.ice_staticId()
|
273
|
+
'::Ice::Instrumentation::ChildInvocationObserver'
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
277
|
+
if not defined?(::Ice::Instrumentation::T_ChildInvocationObserver)
|
278
|
+
T_ChildInvocationObserver = ::Ice::__declareLocalClass('::Ice::Instrumentation::ChildInvocationObserver')
|
279
|
+
end
|
280
|
+
|
281
|
+
T_ChildInvocationObserver.defineClass(ChildInvocationObserver, -1, true, false, nil, [::Ice::Instrumentation::T_Observer], [])
|
282
|
+
ChildInvocationObserver_mixin::ICE_TYPE = T_ChildInvocationObserver
|
283
|
+
end
|
284
|
+
|
285
|
+
if not defined?(::Ice::Instrumentation::RemoteObserver_mixin)
|
286
|
+
module RemoteObserver_mixin
|
287
|
+
|
288
|
+
def inspect
|
289
|
+
::Ice::__stringify(self, T_RemoteObserver)
|
290
|
+
end
|
291
|
+
end
|
292
|
+
class RemoteObserver
|
293
|
+
include RemoteObserver_mixin
|
294
|
+
|
295
|
+
def RemoteObserver.ice_staticId()
|
296
|
+
'::Ice::Instrumentation::RemoteObserver'
|
297
|
+
end
|
298
|
+
end
|
299
|
+
|
300
|
+
if not defined?(::Ice::Instrumentation::T_RemoteObserver)
|
301
|
+
T_RemoteObserver = ::Ice::__declareLocalClass('::Ice::Instrumentation::RemoteObserver')
|
302
|
+
end
|
303
|
+
|
304
|
+
T_RemoteObserver.defineClass(RemoteObserver, -1, true, false, nil, [::Ice::Instrumentation::T_ChildInvocationObserver], [])
|
305
|
+
RemoteObserver_mixin::ICE_TYPE = T_RemoteObserver
|
306
|
+
end
|
307
|
+
|
308
|
+
if not defined?(::Ice::Instrumentation::CollocatedObserver_mixin)
|
309
|
+
module CollocatedObserver_mixin
|
310
|
+
|
311
|
+
def inspect
|
312
|
+
::Ice::__stringify(self, T_CollocatedObserver)
|
313
|
+
end
|
314
|
+
end
|
315
|
+
class CollocatedObserver
|
316
|
+
include CollocatedObserver_mixin
|
317
|
+
|
318
|
+
def CollocatedObserver.ice_staticId()
|
319
|
+
'::Ice::Instrumentation::CollocatedObserver'
|
320
|
+
end
|
321
|
+
end
|
322
|
+
|
323
|
+
if not defined?(::Ice::Instrumentation::T_CollocatedObserver)
|
324
|
+
T_CollocatedObserver = ::Ice::__declareLocalClass('::Ice::Instrumentation::CollocatedObserver')
|
325
|
+
end
|
326
|
+
|
327
|
+
T_CollocatedObserver.defineClass(CollocatedObserver, -1, true, false, nil, [::Ice::Instrumentation::T_ChildInvocationObserver], [])
|
328
|
+
CollocatedObserver_mixin::ICE_TYPE = T_CollocatedObserver
|
329
|
+
end
|
330
|
+
|
331
|
+
if not defined?(::Ice::Instrumentation::InvocationObserver_mixin)
|
332
|
+
module InvocationObserver_mixin
|
333
|
+
|
334
|
+
#
|
335
|
+
# Operation signatures.
|
336
|
+
#
|
337
|
+
# def retried()
|
338
|
+
# def userException()
|
339
|
+
# def getRemoteObserver(con, endpt, requestId, size)
|
340
|
+
# def getCollocatedObserver(adapter, requestId, size)
|
341
|
+
|
342
|
+
def inspect
|
343
|
+
::Ice::__stringify(self, T_InvocationObserver)
|
344
|
+
end
|
345
|
+
end
|
346
|
+
class InvocationObserver
|
347
|
+
include InvocationObserver_mixin
|
348
|
+
|
349
|
+
def InvocationObserver.ice_staticId()
|
350
|
+
'::Ice::Instrumentation::InvocationObserver'
|
351
|
+
end
|
352
|
+
end
|
353
|
+
|
354
|
+
if not defined?(::Ice::Instrumentation::T_InvocationObserver)
|
355
|
+
T_InvocationObserver = ::Ice::__declareLocalClass('::Ice::Instrumentation::InvocationObserver')
|
356
|
+
end
|
357
|
+
|
358
|
+
T_InvocationObserver.defineClass(InvocationObserver, -1, true, false, nil, [::Ice::Instrumentation::T_Observer], [])
|
359
|
+
InvocationObserver_mixin::ICE_TYPE = T_InvocationObserver
|
360
|
+
end
|
361
|
+
|
362
|
+
if not defined?(::Ice::Instrumentation::ObserverUpdater_mixin)
|
363
|
+
module ObserverUpdater_mixin
|
364
|
+
|
365
|
+
#
|
366
|
+
# Operation signatures.
|
367
|
+
#
|
368
|
+
# def updateConnectionObservers()
|
369
|
+
# def updateThreadObservers()
|
370
|
+
|
371
|
+
def inspect
|
372
|
+
::Ice::__stringify(self, T_ObserverUpdater)
|
373
|
+
end
|
374
|
+
end
|
375
|
+
class ObserverUpdater
|
376
|
+
include ObserverUpdater_mixin
|
377
|
+
|
378
|
+
def ObserverUpdater.ice_staticId()
|
379
|
+
'::Ice::Instrumentation::ObserverUpdater'
|
380
|
+
end
|
381
|
+
end
|
382
|
+
|
383
|
+
if not defined?(::Ice::Instrumentation::T_ObserverUpdater)
|
384
|
+
T_ObserverUpdater = ::Ice::__declareLocalClass('::Ice::Instrumentation::ObserverUpdater')
|
385
|
+
end
|
386
|
+
|
387
|
+
T_ObserverUpdater.defineClass(ObserverUpdater, -1, true, false, nil, [], [])
|
388
|
+
ObserverUpdater_mixin::ICE_TYPE = T_ObserverUpdater
|
389
|
+
end
|
390
|
+
|
391
|
+
if not defined?(::Ice::Instrumentation::CommunicatorObserver_mixin)
|
392
|
+
module CommunicatorObserver_mixin
|
393
|
+
|
394
|
+
#
|
395
|
+
# Operation signatures.
|
396
|
+
#
|
397
|
+
# def getConnectionEstablishmentObserver(endpt, connector)
|
398
|
+
# def getEndpointLookupObserver(endpt)
|
399
|
+
# def getConnectionObserver(c, e, s, o)
|
400
|
+
# def getThreadObserver(parent, id, s, o)
|
401
|
+
# def getInvocationObserver(prx, operation, ctx)
|
402
|
+
# def getDispatchObserver(c, size)
|
403
|
+
# def setObserverUpdater(updater)
|
404
|
+
|
405
|
+
def inspect
|
406
|
+
::Ice::__stringify(self, T_CommunicatorObserver)
|
407
|
+
end
|
408
|
+
end
|
409
|
+
class CommunicatorObserver
|
410
|
+
include CommunicatorObserver_mixin
|
411
|
+
|
412
|
+
def CommunicatorObserver.ice_staticId()
|
413
|
+
'::Ice::Instrumentation::CommunicatorObserver'
|
414
|
+
end
|
415
|
+
end
|
416
|
+
|
417
|
+
if not defined?(::Ice::Instrumentation::T_CommunicatorObserver)
|
418
|
+
T_CommunicatorObserver = ::Ice::__declareLocalClass('::Ice::Instrumentation::CommunicatorObserver')
|
419
|
+
end
|
420
|
+
|
421
|
+
T_CommunicatorObserver.defineClass(CommunicatorObserver, -1, true, false, nil, [], [])
|
422
|
+
CommunicatorObserver_mixin::ICE_TYPE = T_CommunicatorObserver
|
423
|
+
end
|
424
|
+
end
|
425
|
+
end
|