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
@@ -0,0 +1,33 @@
|
|
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 `PropertiesF.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_Properties)
|
26
|
+
T_Properties = ::Ice::__declareLocalClass('::Ice::Properties')
|
27
|
+
end
|
28
|
+
|
29
|
+
if not defined?(::Ice::T_PropertiesAdmin)
|
30
|
+
T_PropertiesAdmin = ::Ice::__declareClass('::Ice::PropertiesAdmin')
|
31
|
+
T_PropertiesAdminPrx = ::Ice::__declareProxy('::Ice::PropertiesAdmin')
|
32
|
+
end
|
33
|
+
end
|
data/lib/Ice/Router.rb
ADDED
@@ -0,0 +1,163 @@
|
|
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 `Router.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 Ice
|
25
|
+
|
26
|
+
if not defined?(::Ice::Router_mixin)
|
27
|
+
module Router_mixin
|
28
|
+
include ::Ice::Object_mixin
|
29
|
+
|
30
|
+
def ice_ids(current=nil)
|
31
|
+
['::Ice::Object', '::Ice::Router']
|
32
|
+
end
|
33
|
+
|
34
|
+
def ice_id(current=nil)
|
35
|
+
'::Ice::Router'
|
36
|
+
end
|
37
|
+
|
38
|
+
#
|
39
|
+
# Operation signatures.
|
40
|
+
#
|
41
|
+
# def getClientProxy(current=nil)
|
42
|
+
# def getServerProxy(current=nil)
|
43
|
+
# def addProxies(proxies, current=nil)
|
44
|
+
|
45
|
+
def inspect
|
46
|
+
::Ice::__stringify(self, T_Router)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
class Router
|
50
|
+
include Router_mixin
|
51
|
+
|
52
|
+
def Router.ice_staticId()
|
53
|
+
'::Ice::Router'
|
54
|
+
end
|
55
|
+
end
|
56
|
+
module RouterPrx_mixin
|
57
|
+
|
58
|
+
def getClientProxy(_ctx=nil)
|
59
|
+
Router_mixin::OP_getClientProxy.invoke(self, [], _ctx)
|
60
|
+
end
|
61
|
+
|
62
|
+
def getServerProxy(_ctx=nil)
|
63
|
+
Router_mixin::OP_getServerProxy.invoke(self, [], _ctx)
|
64
|
+
end
|
65
|
+
|
66
|
+
def addProxies(proxies, _ctx=nil)
|
67
|
+
Router_mixin::OP_addProxies.invoke(self, [proxies], _ctx)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
class RouterPrx < ::Ice::ObjectPrx
|
71
|
+
include RouterPrx_mixin
|
72
|
+
|
73
|
+
def RouterPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
74
|
+
ice_checkedCast(proxy, '::Ice::Router', facetOrCtx, _ctx)
|
75
|
+
end
|
76
|
+
|
77
|
+
def RouterPrx.uncheckedCast(proxy, facet=nil)
|
78
|
+
ice_uncheckedCast(proxy, facet)
|
79
|
+
end
|
80
|
+
def RouterPrx.ice_staticId()
|
81
|
+
'::Ice::Router'
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
if not defined?(::Ice::T_Router)
|
86
|
+
T_Router = ::Ice::__declareClass('::Ice::Router')
|
87
|
+
T_RouterPrx = ::Ice::__declareProxy('::Ice::Router')
|
88
|
+
end
|
89
|
+
|
90
|
+
T_Router.defineClass(Router, -1, true, false, nil, [], [])
|
91
|
+
Router_mixin::ICE_TYPE = T_Router
|
92
|
+
|
93
|
+
T_RouterPrx.defineProxy(RouterPrx, T_Router)
|
94
|
+
RouterPrx::ICE_TYPE = T_RouterPrx
|
95
|
+
|
96
|
+
Router_mixin::OP_getClientProxy = ::Ice::__defineOperation('getClientProxy', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_ObjectPrx, false, 0], [])
|
97
|
+
Router_mixin::OP_getServerProxy = ::Ice::__defineOperation('getServerProxy', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_ObjectPrx, false, 0], [])
|
98
|
+
Router_mixin::OP_addProxies = ::Ice::__defineOperation('addProxies', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_ObjectProxySeq, false, 0]], [], [::Ice::T_ObjectProxySeq, false, 0], [])
|
99
|
+
end
|
100
|
+
|
101
|
+
if not defined?(::Ice::RouterFinder_mixin)
|
102
|
+
module RouterFinder_mixin
|
103
|
+
include ::Ice::Object_mixin
|
104
|
+
|
105
|
+
def ice_ids(current=nil)
|
106
|
+
['::Ice::Object', '::Ice::RouterFinder']
|
107
|
+
end
|
108
|
+
|
109
|
+
def ice_id(current=nil)
|
110
|
+
'::Ice::RouterFinder'
|
111
|
+
end
|
112
|
+
|
113
|
+
#
|
114
|
+
# Operation signatures.
|
115
|
+
#
|
116
|
+
# def getRouter(current=nil)
|
117
|
+
|
118
|
+
def inspect
|
119
|
+
::Ice::__stringify(self, T_RouterFinder)
|
120
|
+
end
|
121
|
+
end
|
122
|
+
class RouterFinder
|
123
|
+
include RouterFinder_mixin
|
124
|
+
|
125
|
+
def RouterFinder.ice_staticId()
|
126
|
+
'::Ice::RouterFinder'
|
127
|
+
end
|
128
|
+
end
|
129
|
+
module RouterFinderPrx_mixin
|
130
|
+
|
131
|
+
def getRouter(_ctx=nil)
|
132
|
+
RouterFinder_mixin::OP_getRouter.invoke(self, [], _ctx)
|
133
|
+
end
|
134
|
+
end
|
135
|
+
class RouterFinderPrx < ::Ice::ObjectPrx
|
136
|
+
include RouterFinderPrx_mixin
|
137
|
+
|
138
|
+
def RouterFinderPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
139
|
+
ice_checkedCast(proxy, '::Ice::RouterFinder', facetOrCtx, _ctx)
|
140
|
+
end
|
141
|
+
|
142
|
+
def RouterFinderPrx.uncheckedCast(proxy, facet=nil)
|
143
|
+
ice_uncheckedCast(proxy, facet)
|
144
|
+
end
|
145
|
+
def RouterFinderPrx.ice_staticId()
|
146
|
+
'::Ice::RouterFinder'
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
if not defined?(::Ice::T_RouterFinder)
|
151
|
+
T_RouterFinder = ::Ice::__declareClass('::Ice::RouterFinder')
|
152
|
+
T_RouterFinderPrx = ::Ice::__declareProxy('::Ice::RouterFinder')
|
153
|
+
end
|
154
|
+
|
155
|
+
T_RouterFinder.defineClass(RouterFinder, -1, true, false, nil, [], [])
|
156
|
+
RouterFinder_mixin::ICE_TYPE = T_RouterFinder
|
157
|
+
|
158
|
+
T_RouterFinderPrx.defineProxy(RouterFinderPrx, T_RouterFinder)
|
159
|
+
RouterFinderPrx::ICE_TYPE = T_RouterFinderPrx
|
160
|
+
|
161
|
+
RouterFinder_mixin::OP_getRouter = ::Ice::__defineOperation('getRouter', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [], [], [::Ice::T_RouterPrx, false, 0], [])
|
162
|
+
end
|
163
|
+
end
|
data/lib/Ice/RouterF.rb
ADDED
@@ -0,0 +1,29 @@
|
|
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 `RouterF.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_Router)
|
26
|
+
T_Router = ::Ice::__declareClass('::Ice::Router')
|
27
|
+
T_RouterPrx = ::Ice::__declareProxy('::Ice::Router')
|
28
|
+
end
|
29
|
+
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 `SliceChecksumDict.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_SliceChecksumDict)
|
26
|
+
T_SliceChecksumDict = ::Ice::__defineDictionary('::Ice::SliceChecksumDict', ::Ice::T_string, ::Ice::T_string)
|
27
|
+
end
|
28
|
+
end
|
data/lib/Ice/Version.rb
ADDED
@@ -0,0 +1,100 @@
|
|
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 `Version.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::ProtocolVersion)
|
26
|
+
class ProtocolVersion
|
27
|
+
def initialize(major=0, minor=0)
|
28
|
+
@major = major
|
29
|
+
@minor = minor
|
30
|
+
end
|
31
|
+
|
32
|
+
def hash
|
33
|
+
_h = 0
|
34
|
+
_h = 5 * _h + @major.hash
|
35
|
+
_h = 5 * _h + @minor.hash
|
36
|
+
_h % 0x7fffffff
|
37
|
+
end
|
38
|
+
|
39
|
+
def ==(other)
|
40
|
+
return false if
|
41
|
+
@major != other.major or
|
42
|
+
@minor != other.minor
|
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_ProtocolVersion)
|
52
|
+
end
|
53
|
+
|
54
|
+
attr_accessor :major, :minor
|
55
|
+
end
|
56
|
+
|
57
|
+
T_ProtocolVersion = ::Ice::__defineStruct('::Ice::ProtocolVersion', ProtocolVersion, [
|
58
|
+
["major", ::Ice::T_byte],
|
59
|
+
["minor", ::Ice::T_byte]
|
60
|
+
])
|
61
|
+
end
|
62
|
+
|
63
|
+
if not defined?(::Ice::EncodingVersion)
|
64
|
+
class EncodingVersion
|
65
|
+
def initialize(major=0, minor=0)
|
66
|
+
@major = major
|
67
|
+
@minor = minor
|
68
|
+
end
|
69
|
+
|
70
|
+
def hash
|
71
|
+
_h = 0
|
72
|
+
_h = 5 * _h + @major.hash
|
73
|
+
_h = 5 * _h + @minor.hash
|
74
|
+
_h % 0x7fffffff
|
75
|
+
end
|
76
|
+
|
77
|
+
def ==(other)
|
78
|
+
return false if
|
79
|
+
@major != other.major or
|
80
|
+
@minor != other.minor
|
81
|
+
true
|
82
|
+
end
|
83
|
+
|
84
|
+
def eql?(other)
|
85
|
+
return other.class == self.class && other == self
|
86
|
+
end
|
87
|
+
|
88
|
+
def inspect
|
89
|
+
::Ice::__stringify(self, T_EncodingVersion)
|
90
|
+
end
|
91
|
+
|
92
|
+
attr_accessor :major, :minor
|
93
|
+
end
|
94
|
+
|
95
|
+
T_EncodingVersion = ::Ice::__defineStruct('::Ice::EncodingVersion', EncodingVersion, [
|
96
|
+
["major", ::Ice::T_byte],
|
97
|
+
["minor", ::Ice::T_byte]
|
98
|
+
])
|
99
|
+
end
|
100
|
+
end
|
data/lib/IceBox.rb
ADDED
@@ -0,0 +1,10 @@
|
|
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 'IceBox/IceBox'
|
@@ -0,0 +1,272 @@
|
|
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 `IceBox.ice'
|
15
|
+
#
|
16
|
+
# Warning: do not edit this file.
|
17
|
+
#
|
18
|
+
# </auto-generated>
|
19
|
+
#
|
20
|
+
|
21
|
+
require 'Ice'
|
22
|
+
require 'Ice/BuiltinSequences.rb'
|
23
|
+
require 'Ice/CommunicatorF.rb'
|
24
|
+
require 'Ice/PropertiesF.rb'
|
25
|
+
require 'Ice/SliceChecksumDict.rb'
|
26
|
+
|
27
|
+
module IceBox
|
28
|
+
|
29
|
+
if not defined?(::IceBox::FailureException)
|
30
|
+
class FailureException < Ice::LocalException
|
31
|
+
def initialize(reason='')
|
32
|
+
@reason = reason
|
33
|
+
end
|
34
|
+
|
35
|
+
def to_s
|
36
|
+
'IceBox::FailureException'
|
37
|
+
end
|
38
|
+
|
39
|
+
attr_accessor :reason
|
40
|
+
end
|
41
|
+
|
42
|
+
T_FailureException = ::Ice::__defineException('::IceBox::FailureException', FailureException, false, nil, [["reason", ::Ice::T_string, false, 0]])
|
43
|
+
FailureException::ICE_TYPE = T_FailureException
|
44
|
+
end
|
45
|
+
|
46
|
+
if not defined?(::IceBox::AlreadyStartedException)
|
47
|
+
class AlreadyStartedException < Ice::UserException
|
48
|
+
def initialize
|
49
|
+
end
|
50
|
+
|
51
|
+
def to_s
|
52
|
+
'IceBox::AlreadyStartedException'
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
T_AlreadyStartedException = ::Ice::__defineException('::IceBox::AlreadyStartedException', AlreadyStartedException, false, nil, [])
|
57
|
+
AlreadyStartedException::ICE_TYPE = T_AlreadyStartedException
|
58
|
+
end
|
59
|
+
|
60
|
+
if not defined?(::IceBox::AlreadyStoppedException)
|
61
|
+
class AlreadyStoppedException < Ice::UserException
|
62
|
+
def initialize
|
63
|
+
end
|
64
|
+
|
65
|
+
def to_s
|
66
|
+
'IceBox::AlreadyStoppedException'
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
T_AlreadyStoppedException = ::Ice::__defineException('::IceBox::AlreadyStoppedException', AlreadyStoppedException, false, nil, [])
|
71
|
+
AlreadyStoppedException::ICE_TYPE = T_AlreadyStoppedException
|
72
|
+
end
|
73
|
+
|
74
|
+
if not defined?(::IceBox::NoSuchServiceException)
|
75
|
+
class NoSuchServiceException < Ice::UserException
|
76
|
+
def initialize
|
77
|
+
end
|
78
|
+
|
79
|
+
def to_s
|
80
|
+
'IceBox::NoSuchServiceException'
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
T_NoSuchServiceException = ::Ice::__defineException('::IceBox::NoSuchServiceException', NoSuchServiceException, false, nil, [])
|
85
|
+
NoSuchServiceException::ICE_TYPE = T_NoSuchServiceException
|
86
|
+
end
|
87
|
+
|
88
|
+
if not defined?(::IceBox::Service_mixin)
|
89
|
+
module Service_mixin
|
90
|
+
|
91
|
+
#
|
92
|
+
# Operation signatures.
|
93
|
+
#
|
94
|
+
# def start(name, communicator, args)
|
95
|
+
# def stop()
|
96
|
+
|
97
|
+
def inspect
|
98
|
+
::Ice::__stringify(self, T_Service)
|
99
|
+
end
|
100
|
+
end
|
101
|
+
class Service
|
102
|
+
include Service_mixin
|
103
|
+
|
104
|
+
def Service.ice_staticId()
|
105
|
+
'::IceBox::Service'
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
if not defined?(::IceBox::T_Service)
|
110
|
+
T_Service = ::Ice::__declareLocalClass('::IceBox::Service')
|
111
|
+
end
|
112
|
+
|
113
|
+
T_Service.defineClass(Service, -1, true, false, nil, [], [])
|
114
|
+
Service_mixin::ICE_TYPE = T_Service
|
115
|
+
end
|
116
|
+
|
117
|
+
if not defined?(::IceBox::ServiceObserver_mixin)
|
118
|
+
module ServiceObserver_mixin
|
119
|
+
include ::Ice::Object_mixin
|
120
|
+
|
121
|
+
def ice_ids(current=nil)
|
122
|
+
['::Ice::Object', '::IceBox::ServiceObserver']
|
123
|
+
end
|
124
|
+
|
125
|
+
def ice_id(current=nil)
|
126
|
+
'::IceBox::ServiceObserver'
|
127
|
+
end
|
128
|
+
|
129
|
+
#
|
130
|
+
# Operation signatures.
|
131
|
+
#
|
132
|
+
# def servicesStarted(services, current=nil)
|
133
|
+
# def servicesStopped(services, current=nil)
|
134
|
+
|
135
|
+
def inspect
|
136
|
+
::Ice::__stringify(self, T_ServiceObserver)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
class ServiceObserver
|
140
|
+
include ServiceObserver_mixin
|
141
|
+
|
142
|
+
def ServiceObserver.ice_staticId()
|
143
|
+
'::IceBox::ServiceObserver'
|
144
|
+
end
|
145
|
+
end
|
146
|
+
module ServiceObserverPrx_mixin
|
147
|
+
|
148
|
+
def servicesStarted(services, _ctx=nil)
|
149
|
+
ServiceObserver_mixin::OP_servicesStarted.invoke(self, [services], _ctx)
|
150
|
+
end
|
151
|
+
|
152
|
+
def servicesStopped(services, _ctx=nil)
|
153
|
+
ServiceObserver_mixin::OP_servicesStopped.invoke(self, [services], _ctx)
|
154
|
+
end
|
155
|
+
end
|
156
|
+
class ServiceObserverPrx < ::Ice::ObjectPrx
|
157
|
+
include ServiceObserverPrx_mixin
|
158
|
+
|
159
|
+
def ServiceObserverPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
160
|
+
ice_checkedCast(proxy, '::IceBox::ServiceObserver', facetOrCtx, _ctx)
|
161
|
+
end
|
162
|
+
|
163
|
+
def ServiceObserverPrx.uncheckedCast(proxy, facet=nil)
|
164
|
+
ice_uncheckedCast(proxy, facet)
|
165
|
+
end
|
166
|
+
def ServiceObserverPrx.ice_staticId()
|
167
|
+
'::IceBox::ServiceObserver'
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
if not defined?(::IceBox::T_ServiceObserver)
|
172
|
+
T_ServiceObserver = ::Ice::__declareClass('::IceBox::ServiceObserver')
|
173
|
+
T_ServiceObserverPrx = ::Ice::__declareProxy('::IceBox::ServiceObserver')
|
174
|
+
end
|
175
|
+
|
176
|
+
T_ServiceObserver.defineClass(ServiceObserver, -1, true, false, nil, [], [])
|
177
|
+
ServiceObserver_mixin::ICE_TYPE = T_ServiceObserver
|
178
|
+
|
179
|
+
T_ServiceObserverPrx.defineProxy(ServiceObserverPrx, T_ServiceObserver)
|
180
|
+
ServiceObserverPrx::ICE_TYPE = T_ServiceObserverPrx
|
181
|
+
|
182
|
+
ServiceObserver_mixin::OP_servicesStarted = ::Ice::__defineOperation('servicesStarted', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_StringSeq, false, 0]], [], nil, [])
|
183
|
+
ServiceObserver_mixin::OP_servicesStopped = ::Ice::__defineOperation('servicesStopped', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_StringSeq, false, 0]], [], nil, [])
|
184
|
+
end
|
185
|
+
|
186
|
+
if not defined?(::IceBox::ServiceManager_mixin)
|
187
|
+
module ServiceManager_mixin
|
188
|
+
include ::Ice::Object_mixin
|
189
|
+
|
190
|
+
def ice_ids(current=nil)
|
191
|
+
['::Ice::Object', '::IceBox::ServiceManager']
|
192
|
+
end
|
193
|
+
|
194
|
+
def ice_id(current=nil)
|
195
|
+
'::IceBox::ServiceManager'
|
196
|
+
end
|
197
|
+
|
198
|
+
#
|
199
|
+
# Operation signatures.
|
200
|
+
#
|
201
|
+
# def getSliceChecksums(current=nil)
|
202
|
+
# def startService(service, current=nil)
|
203
|
+
# def stopService(service, current=nil)
|
204
|
+
# def addObserver(observer, current=nil)
|
205
|
+
# def shutdown(current=nil)
|
206
|
+
|
207
|
+
def inspect
|
208
|
+
::Ice::__stringify(self, T_ServiceManager)
|
209
|
+
end
|
210
|
+
end
|
211
|
+
class ServiceManager
|
212
|
+
include ServiceManager_mixin
|
213
|
+
|
214
|
+
def ServiceManager.ice_staticId()
|
215
|
+
'::IceBox::ServiceManager'
|
216
|
+
end
|
217
|
+
end
|
218
|
+
module ServiceManagerPrx_mixin
|
219
|
+
|
220
|
+
def getSliceChecksums(_ctx=nil)
|
221
|
+
ServiceManager_mixin::OP_getSliceChecksums.invoke(self, [], _ctx)
|
222
|
+
end
|
223
|
+
|
224
|
+
def startService(service, _ctx=nil)
|
225
|
+
ServiceManager_mixin::OP_startService.invoke(self, [service], _ctx)
|
226
|
+
end
|
227
|
+
|
228
|
+
def stopService(service, _ctx=nil)
|
229
|
+
ServiceManager_mixin::OP_stopService.invoke(self, [service], _ctx)
|
230
|
+
end
|
231
|
+
|
232
|
+
def addObserver(observer, _ctx=nil)
|
233
|
+
ServiceManager_mixin::OP_addObserver.invoke(self, [observer], _ctx)
|
234
|
+
end
|
235
|
+
|
236
|
+
def shutdown(_ctx=nil)
|
237
|
+
ServiceManager_mixin::OP_shutdown.invoke(self, [], _ctx)
|
238
|
+
end
|
239
|
+
end
|
240
|
+
class ServiceManagerPrx < ::Ice::ObjectPrx
|
241
|
+
include ServiceManagerPrx_mixin
|
242
|
+
|
243
|
+
def ServiceManagerPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
244
|
+
ice_checkedCast(proxy, '::IceBox::ServiceManager', facetOrCtx, _ctx)
|
245
|
+
end
|
246
|
+
|
247
|
+
def ServiceManagerPrx.uncheckedCast(proxy, facet=nil)
|
248
|
+
ice_uncheckedCast(proxy, facet)
|
249
|
+
end
|
250
|
+
def ServiceManagerPrx.ice_staticId()
|
251
|
+
'::IceBox::ServiceManager'
|
252
|
+
end
|
253
|
+
end
|
254
|
+
|
255
|
+
if not defined?(::IceBox::T_ServiceManager)
|
256
|
+
T_ServiceManager = ::Ice::__declareClass('::IceBox::ServiceManager')
|
257
|
+
T_ServiceManagerPrx = ::Ice::__declareProxy('::IceBox::ServiceManager')
|
258
|
+
end
|
259
|
+
|
260
|
+
T_ServiceManager.defineClass(ServiceManager, -1, true, false, nil, [], [])
|
261
|
+
ServiceManager_mixin::ICE_TYPE = T_ServiceManager
|
262
|
+
|
263
|
+
T_ServiceManagerPrx.defineProxy(ServiceManagerPrx, T_ServiceManager)
|
264
|
+
ServiceManagerPrx::ICE_TYPE = T_ServiceManagerPrx
|
265
|
+
|
266
|
+
ServiceManager_mixin::OP_getSliceChecksums = ::Ice::__defineOperation('getSliceChecksums', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_SliceChecksumDict, false, 0], [])
|
267
|
+
ServiceManager_mixin::OP_startService = ::Ice::__defineOperation('startService', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_string, false, 0]], [], nil, [::IceBox::T_AlreadyStartedException, ::IceBox::T_NoSuchServiceException])
|
268
|
+
ServiceManager_mixin::OP_stopService = ::Ice::__defineOperation('stopService', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_string, false, 0]], [], nil, [::IceBox::T_AlreadyStoppedException, ::IceBox::T_NoSuchServiceException])
|
269
|
+
ServiceManager_mixin::OP_addObserver = ::Ice::__defineOperation('addObserver', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::IceBox::T_ServiceObserverPrx, false, 0]], [], nil, [])
|
270
|
+
ServiceManager_mixin::OP_shutdown = ::Ice::__defineOperation('shutdown', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [], [], nil, [])
|
271
|
+
end
|
272
|
+
end
|