zeroc-ice-x64-mingw 3.6b1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/ICE_LICENSE +54 -0
- data/LICENSE +339 -0
- data/bin/slice2rb +17 -0
- data/ice-x64-mingw.gemspec +41 -0
- data/lib/Glacier2.rb +12 -0
- data/lib/Glacier2/Metrics.rb +99 -0
- data/lib/Glacier2/PermissionsVerifier.rb +168 -0
- data/lib/Glacier2/PermissionsVerifierF.rb +34 -0
- data/lib/Glacier2/Router.rb +141 -0
- data/lib/Glacier2/RouterF.rb +29 -0
- data/lib/Glacier2/SSLInfo.rb +79 -0
- data/lib/Glacier2/Session.rb +470 -0
- data/lib/Ice.rb +659 -0
- data/lib/Ice/BuiltinSequences.rb +64 -0
- data/lib/Ice/Communicator.rb +93 -0
- data/lib/Ice/CommunicatorF.rb +28 -0
- data/lib/Ice/Connection.rb +414 -0
- data/lib/Ice/ConnectionF.rb +36 -0
- data/lib/Ice/Current.rb +152 -0
- data/lib/Ice/Endpoint.rb +265 -0
- data/lib/Ice/EndpointF.rb +52 -0
- data/lib/Ice/EndpointTypes.rb +77 -0
- data/lib/Ice/FacetMap.rb +28 -0
- data/lib/Ice/Identity.rb +70 -0
- data/lib/Ice/ImplicitContext.rb +59 -0
- data/lib/Ice/ImplicitContextF.rb +28 -0
- data/lib/Ice/Instrumentation.rb +425 -0
- data/lib/Ice/InstrumentationF.rb +35 -0
- data/lib/Ice/LocalException.rb +1081 -0
- data/lib/Ice/Locator.rb +314 -0
- data/lib/Ice/LocatorF.rb +34 -0
- data/lib/Ice/Logger.rb +57 -0
- data/lib/Ice/LoggerF.rb +28 -0
- data/lib/Ice/Metrics.rb +696 -0
- data/lib/Ice/ObjectAdapterF.rb +28 -0
- data/lib/Ice/ObjectFactory.rb +53 -0
- data/lib/Ice/ObjectFactoryF.rb +28 -0
- data/lib/Ice/Plugin.rb +87 -0
- data/lib/Ice/PluginF.rb +32 -0
- data/lib/Ice/Process.rb +93 -0
- data/lib/Ice/ProcessF.rb +29 -0
- data/lib/Ice/Properties.rb +65 -0
- data/lib/Ice/PropertiesAdmin.rb +104 -0
- data/lib/Ice/PropertiesF.rb +33 -0
- data/lib/Ice/Router.rb +163 -0
- data/lib/Ice/RouterF.rb +29 -0
- data/lib/Ice/SliceChecksumDict.rb +28 -0
- data/lib/Ice/Version.rb +100 -0
- data/lib/IceBox.rb +10 -0
- data/lib/IceBox/IceBox.rb +272 -0
- data/lib/IceGrid.rb +17 -0
- data/lib/IceGrid/Admin.rb +1076 -0
- data/lib/IceGrid/Descriptor.rb +1505 -0
- data/lib/IceGrid/Exception.rb +401 -0
- data/lib/IceGrid/FileParser.rb +105 -0
- data/lib/IceGrid/Locator.rb +105 -0
- data/lib/IceGrid/Observer.rb +571 -0
- data/lib/IceGrid/Query.rb +168 -0
- data/lib/IceGrid/Registry.rb +120 -0
- data/lib/IceGrid/Session.rb +114 -0
- data/lib/IceGrid/UserAccountMapper.rb +101 -0
- data/lib/IcePatch2.rb +10 -0
- data/lib/IcePatch2/FileInfo.rb +75 -0
- data/lib/IcePatch2/FileServer.rb +141 -0
- data/lib/IceRuby.so +0 -0
- data/lib/IceStorm.rb +11 -0
- data/lib/IceStorm/IceStorm.rb +463 -0
- data/lib/IceStorm/Metrics.rb +155 -0
- data/slice/Freeze/BackgroundSaveEvictor.ice +111 -0
- data/slice/Freeze/CatalogData.ice +49 -0
- data/slice/Freeze/Connection.ice +111 -0
- data/slice/Freeze/ConnectionF.ice +20 -0
- data/slice/Freeze/DB.ice +37 -0
- data/slice/Freeze/Evictor.ice +339 -0
- data/slice/Freeze/EvictorF.ice +22 -0
- data/slice/Freeze/EvictorStorage.ice +72 -0
- data/slice/Freeze/Exception.ice +100 -0
- data/slice/Freeze/Transaction.ice +57 -0
- data/slice/Freeze/TransactionalEvictor.ice +50 -0
- data/slice/Glacier2/Metrics.ice +77 -0
- data/slice/Glacier2/PermissionsVerifier.ice +105 -0
- data/slice/Glacier2/PermissionsVerifierF.ice +21 -0
- data/slice/Glacier2/Router.ice +178 -0
- data/slice/Glacier2/RouterF.ice +20 -0
- data/slice/Glacier2/SSLInfo.ice +50 -0
- data/slice/Glacier2/Session.ice +273 -0
- data/slice/Ice/BuiltinSequences.ice +48 -0
- data/slice/Ice/Communicator.ice +567 -0
- data/slice/Ice/CommunicatorF.ice +20 -0
- data/slice/Ice/Connection.ice +323 -0
- data/slice/Ice/ConnectionF.ice +22 -0
- data/slice/Ice/Current.ice +160 -0
- data/slice/Ice/Endpoint.ice +227 -0
- data/slice/Ice/EndpointF.ice +32 -0
- data/slice/Ice/EndpointTypes.ice +38 -0
- data/slice/Ice/FacetMap.ice +25 -0
- data/slice/Ice/Identity.ice +59 -0
- data/slice/Ice/ImplicitContext.ice +109 -0
- data/slice/Ice/ImplicitContextF.ice +20 -0
- data/slice/Ice/Instrumentation.ice +499 -0
- data/slice/Ice/InstrumentationF.ice +26 -0
- data/slice/Ice/LocalException.ice +1015 -0
- data/slice/Ice/Locator.ice +227 -0
- data/slice/Ice/LocatorF.ice +21 -0
- data/slice/Ice/Logger.ice +86 -0
- data/slice/Ice/LoggerF.ice +20 -0
- data/slice/Ice/Metrics.ice +422 -0
- data/slice/Ice/ObjectAdapter.ice +673 -0
- data/slice/Ice/ObjectAdapterF.ice +20 -0
- data/slice/Ice/ObjectFactory.ice +60 -0
- data/slice/Ice/ObjectFactoryF.ice +20 -0
- data/slice/Ice/Plugin.ice +117 -0
- data/slice/Ice/PluginF.ice +21 -0
- data/slice/Ice/Process.ice +54 -0
- data/slice/Ice/ProcessF.ice +20 -0
- data/slice/Ice/Properties.ice +228 -0
- data/slice/Ice/PropertiesAdmin.ice +75 -0
- data/slice/Ice/PropertiesF.ice +21 -0
- data/slice/Ice/RemoteLogger.ice +232 -0
- data/slice/Ice/Router.ice +83 -0
- data/slice/Ice/RouterF.ice +20 -0
- data/slice/Ice/ServantLocator.ice +117 -0
- data/slice/Ice/ServantLocatorF.ice +20 -0
- data/slice/Ice/SliceChecksumDict.ice +25 -0
- data/slice/Ice/Version.ice +39 -0
- data/slice/IceBox/IceBox.ice +194 -0
- data/slice/IceDiscovery/IceDiscovery.ice +32 -0
- data/slice/IceGrid/Admin.ice +1578 -0
- data/slice/IceGrid/Descriptor.ice +1079 -0
- data/slice/IceGrid/Discovery.ice +73 -0
- data/slice/IceGrid/Exception.ice +383 -0
- data/slice/IceGrid/FileParser.ice +61 -0
- data/slice/IceGrid/Locator.ice +56 -0
- data/slice/IceGrid/Observer.ice +394 -0
- data/slice/IceGrid/PluginFacade.ice +316 -0
- data/slice/IceGrid/Query.ice +130 -0
- data/slice/IceGrid/Registry.ice +138 -0
- data/slice/IceGrid/Session.ice +124 -0
- data/slice/IceGrid/UserAccountMapper.ice +58 -0
- data/slice/IcePatch2/FileInfo.ice +49 -0
- data/slice/IcePatch2/FileServer.ice +129 -0
- data/slice/IceSSL/ConnectionInfo.ice +34 -0
- data/slice/IceSSL/EndpointInfo.ice +41 -0
- data/slice/IceStorm/IceStorm.ice +405 -0
- data/slice/IceStorm/Metrics.ice +71 -0
- metadata +207 -0
data/lib/Glacier2.rb
ADDED
@@ -0,0 +1,12 @@
|
|
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 'Glacier2/Router'
|
11
|
+
require 'Glacier2/PermissionsVerifier'
|
12
|
+
require 'Glacier2/Metrics'
|
@@ -0,0 +1,99 @@
|
|
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/Metrics.rb'
|
23
|
+
|
24
|
+
module IceMX
|
25
|
+
|
26
|
+
if not defined?(::IceMX::SessionMetrics_mixin)
|
27
|
+
module SessionMetrics_mixin
|
28
|
+
include ::IceMX::Metrics_mixin
|
29
|
+
|
30
|
+
def ice_ids(current=nil)
|
31
|
+
['::Ice::Object', '::IceMX::Metrics', '::IceMX::SessionMetrics']
|
32
|
+
end
|
33
|
+
|
34
|
+
def ice_id(current=nil)
|
35
|
+
'::IceMX::SessionMetrics'
|
36
|
+
end
|
37
|
+
|
38
|
+
def inspect
|
39
|
+
::Ice::__stringify(self, T_SessionMetrics)
|
40
|
+
end
|
41
|
+
|
42
|
+
attr_accessor :forwardedClient, :forwardedServer, :routingTableSize, :queuedClient, :queuedServer, :overriddenClient, :overriddenServer
|
43
|
+
end
|
44
|
+
class SessionMetrics < ::IceMX::Metrics
|
45
|
+
include SessionMetrics_mixin
|
46
|
+
|
47
|
+
def SessionMetrics.ice_staticId()
|
48
|
+
'::IceMX::SessionMetrics'
|
49
|
+
end
|
50
|
+
|
51
|
+
def initialize(id='', total=0, current=0, totalLifetime=0, failures=0, forwardedClient=0, forwardedServer=0, routingTableSize=0, queuedClient=0, queuedServer=0, overriddenClient=0, overriddenServer=0)
|
52
|
+
super(id, total, current, totalLifetime, failures)
|
53
|
+
@forwardedClient = forwardedClient
|
54
|
+
@forwardedServer = forwardedServer
|
55
|
+
@routingTableSize = routingTableSize
|
56
|
+
@queuedClient = queuedClient
|
57
|
+
@queuedServer = queuedServer
|
58
|
+
@overriddenClient = overriddenClient
|
59
|
+
@overriddenServer = overriddenServer
|
60
|
+
end
|
61
|
+
end
|
62
|
+
module SessionMetricsPrx_mixin
|
63
|
+
include ::IceMX::MetricsPrx_mixin
|
64
|
+
end
|
65
|
+
class SessionMetricsPrx < ::Ice::ObjectPrx
|
66
|
+
include SessionMetricsPrx_mixin
|
67
|
+
|
68
|
+
def SessionMetricsPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
69
|
+
ice_checkedCast(proxy, '::IceMX::SessionMetrics', facetOrCtx, _ctx)
|
70
|
+
end
|
71
|
+
|
72
|
+
def SessionMetricsPrx.uncheckedCast(proxy, facet=nil)
|
73
|
+
ice_uncheckedCast(proxy, facet)
|
74
|
+
end
|
75
|
+
def SessionMetricsPrx.ice_staticId()
|
76
|
+
'::IceMX::SessionMetrics'
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
if not defined?(::IceMX::T_SessionMetrics)
|
81
|
+
T_SessionMetrics = ::Ice::__declareClass('::IceMX::SessionMetrics')
|
82
|
+
T_SessionMetricsPrx = ::Ice::__declareProxy('::IceMX::SessionMetrics')
|
83
|
+
end
|
84
|
+
|
85
|
+
T_SessionMetrics.defineClass(SessionMetrics, -1, false, false, ::IceMX::T_Metrics, [], [
|
86
|
+
['forwardedClient', ::Ice::T_int, false, 0],
|
87
|
+
['forwardedServer', ::Ice::T_int, false, 0],
|
88
|
+
['routingTableSize', ::Ice::T_int, false, 0],
|
89
|
+
['queuedClient', ::Ice::T_int, false, 0],
|
90
|
+
['queuedServer', ::Ice::T_int, false, 0],
|
91
|
+
['overriddenClient', ::Ice::T_int, false, 0],
|
92
|
+
['overriddenServer', ::Ice::T_int, false, 0]
|
93
|
+
])
|
94
|
+
SessionMetrics_mixin::ICE_TYPE = T_SessionMetrics
|
95
|
+
|
96
|
+
T_SessionMetricsPrx.defineProxy(SessionMetricsPrx, T_SessionMetrics)
|
97
|
+
SessionMetricsPrx::ICE_TYPE = T_SessionMetricsPrx
|
98
|
+
end
|
99
|
+
end
|
@@ -0,0 +1,168 @@
|
|
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 `PermissionsVerifier.ice'
|
15
|
+
#
|
16
|
+
# Warning: do not edit this file.
|
17
|
+
#
|
18
|
+
# </auto-generated>
|
19
|
+
#
|
20
|
+
|
21
|
+
require 'Ice'
|
22
|
+
require 'Glacier2/SSLInfo.rb'
|
23
|
+
|
24
|
+
module Glacier2
|
25
|
+
|
26
|
+
if not defined?(::Glacier2::PermissionDeniedException)
|
27
|
+
class PermissionDeniedException < Ice::UserException
|
28
|
+
def initialize(reason='')
|
29
|
+
@reason = reason
|
30
|
+
end
|
31
|
+
|
32
|
+
def to_s
|
33
|
+
'Glacier2::PermissionDeniedException'
|
34
|
+
end
|
35
|
+
|
36
|
+
attr_accessor :reason
|
37
|
+
end
|
38
|
+
|
39
|
+
T_PermissionDeniedException = ::Ice::__defineException('::Glacier2::PermissionDeniedException', PermissionDeniedException, true, nil, [["reason", ::Ice::T_string, false, 0]])
|
40
|
+
PermissionDeniedException::ICE_TYPE = T_PermissionDeniedException
|
41
|
+
end
|
42
|
+
|
43
|
+
if not defined?(::Glacier2::PermissionsVerifier_mixin)
|
44
|
+
module PermissionsVerifier_mixin
|
45
|
+
include ::Ice::Object_mixin
|
46
|
+
|
47
|
+
def ice_ids(current=nil)
|
48
|
+
['::Glacier2::PermissionsVerifier', '::Ice::Object']
|
49
|
+
end
|
50
|
+
|
51
|
+
def ice_id(current=nil)
|
52
|
+
'::Glacier2::PermissionsVerifier'
|
53
|
+
end
|
54
|
+
|
55
|
+
#
|
56
|
+
# Operation signatures.
|
57
|
+
#
|
58
|
+
# def checkPermissions(userId, password, current=nil)
|
59
|
+
|
60
|
+
def inspect
|
61
|
+
::Ice::__stringify(self, T_PermissionsVerifier)
|
62
|
+
end
|
63
|
+
end
|
64
|
+
class PermissionsVerifier
|
65
|
+
include PermissionsVerifier_mixin
|
66
|
+
|
67
|
+
def PermissionsVerifier.ice_staticId()
|
68
|
+
'::Glacier2::PermissionsVerifier'
|
69
|
+
end
|
70
|
+
end
|
71
|
+
module PermissionsVerifierPrx_mixin
|
72
|
+
|
73
|
+
def checkPermissions(userId, password, _ctx=nil)
|
74
|
+
PermissionsVerifier_mixin::OP_checkPermissions.invoke(self, [userId, password], _ctx)
|
75
|
+
end
|
76
|
+
end
|
77
|
+
class PermissionsVerifierPrx < ::Ice::ObjectPrx
|
78
|
+
include PermissionsVerifierPrx_mixin
|
79
|
+
|
80
|
+
def PermissionsVerifierPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
81
|
+
ice_checkedCast(proxy, '::Glacier2::PermissionsVerifier', facetOrCtx, _ctx)
|
82
|
+
end
|
83
|
+
|
84
|
+
def PermissionsVerifierPrx.uncheckedCast(proxy, facet=nil)
|
85
|
+
ice_uncheckedCast(proxy, facet)
|
86
|
+
end
|
87
|
+
def PermissionsVerifierPrx.ice_staticId()
|
88
|
+
'::Glacier2::PermissionsVerifier'
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
if not defined?(::Glacier2::T_PermissionsVerifier)
|
93
|
+
T_PermissionsVerifier = ::Ice::__declareClass('::Glacier2::PermissionsVerifier')
|
94
|
+
T_PermissionsVerifierPrx = ::Ice::__declareProxy('::Glacier2::PermissionsVerifier')
|
95
|
+
end
|
96
|
+
|
97
|
+
T_PermissionsVerifier.defineClass(PermissionsVerifier, -1, true, false, nil, [], [])
|
98
|
+
PermissionsVerifier_mixin::ICE_TYPE = T_PermissionsVerifier
|
99
|
+
|
100
|
+
T_PermissionsVerifierPrx.defineProxy(PermissionsVerifierPrx, T_PermissionsVerifier)
|
101
|
+
PermissionsVerifierPrx::ICE_TYPE = T_PermissionsVerifierPrx
|
102
|
+
|
103
|
+
PermissionsVerifier_mixin::OP_checkPermissions = ::Ice::__defineOperation('checkPermissions', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, ::Ice::FormatType::SlicedFormat, [[::Ice::T_string, false, 0], [::Ice::T_string, false, 0]], [[::Ice::T_string, false, 0]], [::Ice::T_bool, false, 0], [::Glacier2::T_PermissionDeniedException])
|
104
|
+
end
|
105
|
+
|
106
|
+
if not defined?(::Glacier2::SSLPermissionsVerifier_mixin)
|
107
|
+
module SSLPermissionsVerifier_mixin
|
108
|
+
include ::Ice::Object_mixin
|
109
|
+
|
110
|
+
def ice_ids(current=nil)
|
111
|
+
['::Glacier2::SSLPermissionsVerifier', '::Ice::Object']
|
112
|
+
end
|
113
|
+
|
114
|
+
def ice_id(current=nil)
|
115
|
+
'::Glacier2::SSLPermissionsVerifier'
|
116
|
+
end
|
117
|
+
|
118
|
+
#
|
119
|
+
# Operation signatures.
|
120
|
+
#
|
121
|
+
# def authorize(info, current=nil)
|
122
|
+
|
123
|
+
def inspect
|
124
|
+
::Ice::__stringify(self, T_SSLPermissionsVerifier)
|
125
|
+
end
|
126
|
+
end
|
127
|
+
class SSLPermissionsVerifier
|
128
|
+
include SSLPermissionsVerifier_mixin
|
129
|
+
|
130
|
+
def SSLPermissionsVerifier.ice_staticId()
|
131
|
+
'::Glacier2::SSLPermissionsVerifier'
|
132
|
+
end
|
133
|
+
end
|
134
|
+
module SSLPermissionsVerifierPrx_mixin
|
135
|
+
|
136
|
+
def authorize(info, _ctx=nil)
|
137
|
+
SSLPermissionsVerifier_mixin::OP_authorize.invoke(self, [info], _ctx)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
class SSLPermissionsVerifierPrx < ::Ice::ObjectPrx
|
141
|
+
include SSLPermissionsVerifierPrx_mixin
|
142
|
+
|
143
|
+
def SSLPermissionsVerifierPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
144
|
+
ice_checkedCast(proxy, '::Glacier2::SSLPermissionsVerifier', facetOrCtx, _ctx)
|
145
|
+
end
|
146
|
+
|
147
|
+
def SSLPermissionsVerifierPrx.uncheckedCast(proxy, facet=nil)
|
148
|
+
ice_uncheckedCast(proxy, facet)
|
149
|
+
end
|
150
|
+
def SSLPermissionsVerifierPrx.ice_staticId()
|
151
|
+
'::Glacier2::SSLPermissionsVerifier'
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
if not defined?(::Glacier2::T_SSLPermissionsVerifier)
|
156
|
+
T_SSLPermissionsVerifier = ::Ice::__declareClass('::Glacier2::SSLPermissionsVerifier')
|
157
|
+
T_SSLPermissionsVerifierPrx = ::Ice::__declareProxy('::Glacier2::SSLPermissionsVerifier')
|
158
|
+
end
|
159
|
+
|
160
|
+
T_SSLPermissionsVerifier.defineClass(SSLPermissionsVerifier, -1, true, false, nil, [], [])
|
161
|
+
SSLPermissionsVerifier_mixin::ICE_TYPE = T_SSLPermissionsVerifier
|
162
|
+
|
163
|
+
T_SSLPermissionsVerifierPrx.defineProxy(SSLPermissionsVerifierPrx, T_SSLPermissionsVerifier)
|
164
|
+
SSLPermissionsVerifierPrx::ICE_TYPE = T_SSLPermissionsVerifierPrx
|
165
|
+
|
166
|
+
SSLPermissionsVerifier_mixin::OP_authorize = ::Ice::__defineOperation('authorize', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, ::Ice::FormatType::SlicedFormat, [[::Glacier2::T_SSLInfo, false, 0]], [[::Ice::T_string, false, 0]], [::Ice::T_bool, false, 0], [::Glacier2::T_PermissionDeniedException])
|
167
|
+
end
|
168
|
+
end
|
@@ -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 `PermissionsVerifierF.ice'
|
15
|
+
#
|
16
|
+
# Warning: do not edit this file.
|
17
|
+
#
|
18
|
+
# </auto-generated>
|
19
|
+
#
|
20
|
+
|
21
|
+
require 'Ice'
|
22
|
+
|
23
|
+
module Glacier2
|
24
|
+
|
25
|
+
if not defined?(::Glacier2::T_PermissionsVerifier)
|
26
|
+
T_PermissionsVerifier = ::Ice::__declareClass('::Glacier2::PermissionsVerifier')
|
27
|
+
T_PermissionsVerifierPrx = ::Ice::__declareProxy('::Glacier2::PermissionsVerifier')
|
28
|
+
end
|
29
|
+
|
30
|
+
if not defined?(::Glacier2::T_SSLPermissionsVerifier)
|
31
|
+
T_SSLPermissionsVerifier = ::Ice::__declareClass('::Glacier2::SSLPermissionsVerifier')
|
32
|
+
T_SSLPermissionsVerifierPrx = ::Ice::__declareProxy('::Glacier2::SSLPermissionsVerifier')
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,141 @@
|
|
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/Router.rb'
|
23
|
+
require 'Glacier2/Session.rb'
|
24
|
+
require 'Glacier2/PermissionsVerifier.rb'
|
25
|
+
|
26
|
+
module Glacier2
|
27
|
+
|
28
|
+
if not defined?(::Glacier2::SessionNotExistException)
|
29
|
+
class SessionNotExistException < Ice::UserException
|
30
|
+
def initialize
|
31
|
+
end
|
32
|
+
|
33
|
+
def to_s
|
34
|
+
'Glacier2::SessionNotExistException'
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
T_SessionNotExistException = ::Ice::__defineException('::Glacier2::SessionNotExistException', SessionNotExistException, false, nil, [])
|
39
|
+
SessionNotExistException::ICE_TYPE = T_SessionNotExistException
|
40
|
+
end
|
41
|
+
|
42
|
+
if not defined?(::Glacier2::Router_mixin)
|
43
|
+
module Router_mixin
|
44
|
+
include ::Ice::Object_mixin
|
45
|
+
|
46
|
+
def ice_ids(current=nil)
|
47
|
+
['::Glacier2::Router', '::Ice::Object', '::Ice::Router']
|
48
|
+
end
|
49
|
+
|
50
|
+
def ice_id(current=nil)
|
51
|
+
'::Glacier2::Router'
|
52
|
+
end
|
53
|
+
|
54
|
+
#
|
55
|
+
# Operation signatures.
|
56
|
+
#
|
57
|
+
# def getCategoryForClient(current=nil)
|
58
|
+
# def createSession(userId, password, current=nil)
|
59
|
+
# def createSessionFromSecureConnection(current=nil)
|
60
|
+
# def refreshSession(current=nil)
|
61
|
+
# def destroySession(current=nil)
|
62
|
+
# def getSessionTimeout(current=nil)
|
63
|
+
# def getACMTimeout(current=nil)
|
64
|
+
|
65
|
+
def inspect
|
66
|
+
::Ice::__stringify(self, T_Router)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
class Router
|
70
|
+
include Router_mixin
|
71
|
+
|
72
|
+
def Router.ice_staticId()
|
73
|
+
'::Glacier2::Router'
|
74
|
+
end
|
75
|
+
end
|
76
|
+
module RouterPrx_mixin
|
77
|
+
include ::Ice::RouterPrx_mixin
|
78
|
+
|
79
|
+
def getCategoryForClient(_ctx=nil)
|
80
|
+
Router_mixin::OP_getCategoryForClient.invoke(self, [], _ctx)
|
81
|
+
end
|
82
|
+
|
83
|
+
def createSession(userId, password, _ctx=nil)
|
84
|
+
Router_mixin::OP_createSession.invoke(self, [userId, password], _ctx)
|
85
|
+
end
|
86
|
+
|
87
|
+
def createSessionFromSecureConnection(_ctx=nil)
|
88
|
+
Router_mixin::OP_createSessionFromSecureConnection.invoke(self, [], _ctx)
|
89
|
+
end
|
90
|
+
|
91
|
+
def refreshSession(_ctx=nil)
|
92
|
+
Router_mixin::OP_refreshSession.invoke(self, [], _ctx)
|
93
|
+
end
|
94
|
+
|
95
|
+
def destroySession(_ctx=nil)
|
96
|
+
Router_mixin::OP_destroySession.invoke(self, [], _ctx)
|
97
|
+
end
|
98
|
+
|
99
|
+
def getSessionTimeout(_ctx=nil)
|
100
|
+
Router_mixin::OP_getSessionTimeout.invoke(self, [], _ctx)
|
101
|
+
end
|
102
|
+
|
103
|
+
def getACMTimeout(_ctx=nil)
|
104
|
+
Router_mixin::OP_getACMTimeout.invoke(self, [], _ctx)
|
105
|
+
end
|
106
|
+
end
|
107
|
+
class RouterPrx < ::Ice::ObjectPrx
|
108
|
+
include RouterPrx_mixin
|
109
|
+
|
110
|
+
def RouterPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
111
|
+
ice_checkedCast(proxy, '::Glacier2::Router', facetOrCtx, _ctx)
|
112
|
+
end
|
113
|
+
|
114
|
+
def RouterPrx.uncheckedCast(proxy, facet=nil)
|
115
|
+
ice_uncheckedCast(proxy, facet)
|
116
|
+
end
|
117
|
+
def RouterPrx.ice_staticId()
|
118
|
+
'::Glacier2::Router'
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
122
|
+
if not defined?(::Glacier2::T_Router)
|
123
|
+
T_Router = ::Ice::__declareClass('::Glacier2::Router')
|
124
|
+
T_RouterPrx = ::Ice::__declareProxy('::Glacier2::Router')
|
125
|
+
end
|
126
|
+
|
127
|
+
T_Router.defineClass(Router, -1, true, false, nil, [::Ice::T_Router], [])
|
128
|
+
Router_mixin::ICE_TYPE = T_Router
|
129
|
+
|
130
|
+
T_RouterPrx.defineProxy(RouterPrx, T_Router)
|
131
|
+
RouterPrx::ICE_TYPE = T_RouterPrx
|
132
|
+
|
133
|
+
Router_mixin::OP_getCategoryForClient = ::Ice::__defineOperation('getCategoryForClient', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_string, false, 0], [])
|
134
|
+
Router_mixin::OP_createSession = ::Ice::__defineOperation('createSession', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, ::Ice::FormatType::SlicedFormat, [[::Ice::T_string, false, 0], [::Ice::T_string, false, 0]], [], [::Glacier2::T_SessionPrx, false, 0], [::Glacier2::T_PermissionDeniedException, ::Glacier2::T_CannotCreateSessionException])
|
135
|
+
Router_mixin::OP_createSessionFromSecureConnection = ::Ice::__defineOperation('createSessionFromSecureConnection', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, ::Ice::FormatType::SlicedFormat, [], [], [::Glacier2::T_SessionPrx, false, 0], [::Glacier2::T_PermissionDeniedException, ::Glacier2::T_CannotCreateSessionException])
|
136
|
+
Router_mixin::OP_refreshSession = ::Ice::__defineOperation('refreshSession', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [], [], nil, [::Glacier2::T_SessionNotExistException])
|
137
|
+
Router_mixin::OP_destroySession = ::Ice::__defineOperation('destroySession', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [], [], nil, [::Glacier2::T_SessionNotExistException])
|
138
|
+
Router_mixin::OP_getSessionTimeout = ::Ice::__defineOperation('getSessionTimeout', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_long, false, 0], [])
|
139
|
+
Router_mixin::OP_getACMTimeout = ::Ice::__defineOperation('getACMTimeout', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_int, false, 0], [])
|
140
|
+
end
|
141
|
+
end
|