zeroc-ice-x64-mingw 3.6b1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +7 -0
  2. data/ICE_LICENSE +54 -0
  3. data/LICENSE +339 -0
  4. data/bin/slice2rb +17 -0
  5. data/ice-x64-mingw.gemspec +41 -0
  6. data/lib/Glacier2.rb +12 -0
  7. data/lib/Glacier2/Metrics.rb +99 -0
  8. data/lib/Glacier2/PermissionsVerifier.rb +168 -0
  9. data/lib/Glacier2/PermissionsVerifierF.rb +34 -0
  10. data/lib/Glacier2/Router.rb +141 -0
  11. data/lib/Glacier2/RouterF.rb +29 -0
  12. data/lib/Glacier2/SSLInfo.rb +79 -0
  13. data/lib/Glacier2/Session.rb +470 -0
  14. data/lib/Ice.rb +659 -0
  15. data/lib/Ice/BuiltinSequences.rb +64 -0
  16. data/lib/Ice/Communicator.rb +93 -0
  17. data/lib/Ice/CommunicatorF.rb +28 -0
  18. data/lib/Ice/Connection.rb +414 -0
  19. data/lib/Ice/ConnectionF.rb +36 -0
  20. data/lib/Ice/Current.rb +152 -0
  21. data/lib/Ice/Endpoint.rb +265 -0
  22. data/lib/Ice/EndpointF.rb +52 -0
  23. data/lib/Ice/EndpointTypes.rb +77 -0
  24. data/lib/Ice/FacetMap.rb +28 -0
  25. data/lib/Ice/Identity.rb +70 -0
  26. data/lib/Ice/ImplicitContext.rb +59 -0
  27. data/lib/Ice/ImplicitContextF.rb +28 -0
  28. data/lib/Ice/Instrumentation.rb +425 -0
  29. data/lib/Ice/InstrumentationF.rb +35 -0
  30. data/lib/Ice/LocalException.rb +1081 -0
  31. data/lib/Ice/Locator.rb +314 -0
  32. data/lib/Ice/LocatorF.rb +34 -0
  33. data/lib/Ice/Logger.rb +57 -0
  34. data/lib/Ice/LoggerF.rb +28 -0
  35. data/lib/Ice/Metrics.rb +696 -0
  36. data/lib/Ice/ObjectAdapterF.rb +28 -0
  37. data/lib/Ice/ObjectFactory.rb +53 -0
  38. data/lib/Ice/ObjectFactoryF.rb +28 -0
  39. data/lib/Ice/Plugin.rb +87 -0
  40. data/lib/Ice/PluginF.rb +32 -0
  41. data/lib/Ice/Process.rb +93 -0
  42. data/lib/Ice/ProcessF.rb +29 -0
  43. data/lib/Ice/Properties.rb +65 -0
  44. data/lib/Ice/PropertiesAdmin.rb +104 -0
  45. data/lib/Ice/PropertiesF.rb +33 -0
  46. data/lib/Ice/Router.rb +163 -0
  47. data/lib/Ice/RouterF.rb +29 -0
  48. data/lib/Ice/SliceChecksumDict.rb +28 -0
  49. data/lib/Ice/Version.rb +100 -0
  50. data/lib/IceBox.rb +10 -0
  51. data/lib/IceBox/IceBox.rb +272 -0
  52. data/lib/IceGrid.rb +17 -0
  53. data/lib/IceGrid/Admin.rb +1076 -0
  54. data/lib/IceGrid/Descriptor.rb +1505 -0
  55. data/lib/IceGrid/Exception.rb +401 -0
  56. data/lib/IceGrid/FileParser.rb +105 -0
  57. data/lib/IceGrid/Locator.rb +105 -0
  58. data/lib/IceGrid/Observer.rb +571 -0
  59. data/lib/IceGrid/Query.rb +168 -0
  60. data/lib/IceGrid/Registry.rb +120 -0
  61. data/lib/IceGrid/Session.rb +114 -0
  62. data/lib/IceGrid/UserAccountMapper.rb +101 -0
  63. data/lib/IcePatch2.rb +10 -0
  64. data/lib/IcePatch2/FileInfo.rb +75 -0
  65. data/lib/IcePatch2/FileServer.rb +141 -0
  66. data/lib/IceRuby.so +0 -0
  67. data/lib/IceStorm.rb +11 -0
  68. data/lib/IceStorm/IceStorm.rb +463 -0
  69. data/lib/IceStorm/Metrics.rb +155 -0
  70. data/slice/Freeze/BackgroundSaveEvictor.ice +111 -0
  71. data/slice/Freeze/CatalogData.ice +49 -0
  72. data/slice/Freeze/Connection.ice +111 -0
  73. data/slice/Freeze/ConnectionF.ice +20 -0
  74. data/slice/Freeze/DB.ice +37 -0
  75. data/slice/Freeze/Evictor.ice +339 -0
  76. data/slice/Freeze/EvictorF.ice +22 -0
  77. data/slice/Freeze/EvictorStorage.ice +72 -0
  78. data/slice/Freeze/Exception.ice +100 -0
  79. data/slice/Freeze/Transaction.ice +57 -0
  80. data/slice/Freeze/TransactionalEvictor.ice +50 -0
  81. data/slice/Glacier2/Metrics.ice +77 -0
  82. data/slice/Glacier2/PermissionsVerifier.ice +105 -0
  83. data/slice/Glacier2/PermissionsVerifierF.ice +21 -0
  84. data/slice/Glacier2/Router.ice +178 -0
  85. data/slice/Glacier2/RouterF.ice +20 -0
  86. data/slice/Glacier2/SSLInfo.ice +50 -0
  87. data/slice/Glacier2/Session.ice +273 -0
  88. data/slice/Ice/BuiltinSequences.ice +48 -0
  89. data/slice/Ice/Communicator.ice +567 -0
  90. data/slice/Ice/CommunicatorF.ice +20 -0
  91. data/slice/Ice/Connection.ice +323 -0
  92. data/slice/Ice/ConnectionF.ice +22 -0
  93. data/slice/Ice/Current.ice +160 -0
  94. data/slice/Ice/Endpoint.ice +227 -0
  95. data/slice/Ice/EndpointF.ice +32 -0
  96. data/slice/Ice/EndpointTypes.ice +38 -0
  97. data/slice/Ice/FacetMap.ice +25 -0
  98. data/slice/Ice/Identity.ice +59 -0
  99. data/slice/Ice/ImplicitContext.ice +109 -0
  100. data/slice/Ice/ImplicitContextF.ice +20 -0
  101. data/slice/Ice/Instrumentation.ice +499 -0
  102. data/slice/Ice/InstrumentationF.ice +26 -0
  103. data/slice/Ice/LocalException.ice +1015 -0
  104. data/slice/Ice/Locator.ice +227 -0
  105. data/slice/Ice/LocatorF.ice +21 -0
  106. data/slice/Ice/Logger.ice +86 -0
  107. data/slice/Ice/LoggerF.ice +20 -0
  108. data/slice/Ice/Metrics.ice +422 -0
  109. data/slice/Ice/ObjectAdapter.ice +673 -0
  110. data/slice/Ice/ObjectAdapterF.ice +20 -0
  111. data/slice/Ice/ObjectFactory.ice +60 -0
  112. data/slice/Ice/ObjectFactoryF.ice +20 -0
  113. data/slice/Ice/Plugin.ice +117 -0
  114. data/slice/Ice/PluginF.ice +21 -0
  115. data/slice/Ice/Process.ice +54 -0
  116. data/slice/Ice/ProcessF.ice +20 -0
  117. data/slice/Ice/Properties.ice +228 -0
  118. data/slice/Ice/PropertiesAdmin.ice +75 -0
  119. data/slice/Ice/PropertiesF.ice +21 -0
  120. data/slice/Ice/RemoteLogger.ice +232 -0
  121. data/slice/Ice/Router.ice +83 -0
  122. data/slice/Ice/RouterF.ice +20 -0
  123. data/slice/Ice/ServantLocator.ice +117 -0
  124. data/slice/Ice/ServantLocatorF.ice +20 -0
  125. data/slice/Ice/SliceChecksumDict.ice +25 -0
  126. data/slice/Ice/Version.ice +39 -0
  127. data/slice/IceBox/IceBox.ice +194 -0
  128. data/slice/IceDiscovery/IceDiscovery.ice +32 -0
  129. data/slice/IceGrid/Admin.ice +1578 -0
  130. data/slice/IceGrid/Descriptor.ice +1079 -0
  131. data/slice/IceGrid/Discovery.ice +73 -0
  132. data/slice/IceGrid/Exception.ice +383 -0
  133. data/slice/IceGrid/FileParser.ice +61 -0
  134. data/slice/IceGrid/Locator.ice +56 -0
  135. data/slice/IceGrid/Observer.ice +394 -0
  136. data/slice/IceGrid/PluginFacade.ice +316 -0
  137. data/slice/IceGrid/Query.ice +130 -0
  138. data/slice/IceGrid/Registry.ice +138 -0
  139. data/slice/IceGrid/Session.ice +124 -0
  140. data/slice/IceGrid/UserAccountMapper.ice +58 -0
  141. data/slice/IcePatch2/FileInfo.ice +49 -0
  142. data/slice/IcePatch2/FileServer.ice +129 -0
  143. data/slice/IceSSL/ConnectionInfo.ice +34 -0
  144. data/slice/IceSSL/EndpointInfo.ice +41 -0
  145. data/slice/IceStorm/IceStorm.ice +405 -0
  146. data/slice/IceStorm/Metrics.ice +71 -0
  147. metadata +207 -0
@@ -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 `Query.ice'
15
+ #
16
+ # Warning: do not edit this file.
17
+ #
18
+ # </auto-generated>
19
+ #
20
+
21
+ require 'Ice'
22
+ require 'Ice/Identity.rb'
23
+ require 'Ice/BuiltinSequences.rb'
24
+ require 'IceGrid/Exception.rb'
25
+
26
+ module IceGrid
27
+
28
+ if not defined?(::IceGrid::LoadSample)
29
+ class LoadSample
30
+ include Comparable
31
+
32
+ def initialize(name, value)
33
+ @name = name
34
+ @value = value
35
+ end
36
+
37
+ def LoadSample.from_int(val)
38
+ @@_enumerators[val]
39
+ end
40
+
41
+ def to_s
42
+ @name
43
+ end
44
+
45
+ def to_i
46
+ @value
47
+ end
48
+
49
+ def <=>(other)
50
+ other.is_a?(LoadSample) or raise ArgumentError, "value must be a LoadSample"
51
+ @value <=> other.to_i
52
+ end
53
+
54
+ def hash
55
+ @value.hash
56
+ end
57
+
58
+ def inspect
59
+ @name + "(#{@value})"
60
+ end
61
+
62
+ def LoadSample.each(&block)
63
+ @@_enumerators.each_value(&block)
64
+ end
65
+
66
+ LoadSample1 = LoadSample.new("LoadSample1", 0)
67
+ LoadSample5 = LoadSample.new("LoadSample5", 1)
68
+ LoadSample15 = LoadSample.new("LoadSample15", 2)
69
+
70
+ @@_enumerators = {0=>LoadSample1, 1=>LoadSample5, 2=>LoadSample15}
71
+
72
+ def LoadSample._enumerators
73
+ @@_enumerators
74
+ end
75
+
76
+ private_class_method :new
77
+ end
78
+
79
+ T_LoadSample = ::Ice::__defineEnum('::IceGrid::LoadSample', LoadSample, LoadSample::_enumerators)
80
+ end
81
+
82
+ if not defined?(::IceGrid::Query_mixin)
83
+ module Query_mixin
84
+ include ::Ice::Object_mixin
85
+
86
+ def ice_ids(current=nil)
87
+ ['::Ice::Object', '::IceGrid::Query']
88
+ end
89
+
90
+ def ice_id(current=nil)
91
+ '::IceGrid::Query'
92
+ end
93
+
94
+ #
95
+ # Operation signatures.
96
+ #
97
+ # def findObjectById(id, current=nil)
98
+ # def findObjectByType(type, current=nil)
99
+ # def findObjectByTypeOnLeastLoadedNode(type, sample, current=nil)
100
+ # def findAllObjectsByType(type, current=nil)
101
+ # def findAllReplicas(proxy, current=nil)
102
+
103
+ def inspect
104
+ ::Ice::__stringify(self, T_Query)
105
+ end
106
+ end
107
+ class Query
108
+ include Query_mixin
109
+
110
+ def Query.ice_staticId()
111
+ '::IceGrid::Query'
112
+ end
113
+ end
114
+ module QueryPrx_mixin
115
+
116
+ def findObjectById(id, _ctx=nil)
117
+ Query_mixin::OP_findObjectById.invoke(self, [id], _ctx)
118
+ end
119
+
120
+ def findObjectByType(type, _ctx=nil)
121
+ Query_mixin::OP_findObjectByType.invoke(self, [type], _ctx)
122
+ end
123
+
124
+ def findObjectByTypeOnLeastLoadedNode(type, sample, _ctx=nil)
125
+ Query_mixin::OP_findObjectByTypeOnLeastLoadedNode.invoke(self, [type, sample], _ctx)
126
+ end
127
+
128
+ def findAllObjectsByType(type, _ctx=nil)
129
+ Query_mixin::OP_findAllObjectsByType.invoke(self, [type], _ctx)
130
+ end
131
+
132
+ def findAllReplicas(proxy, _ctx=nil)
133
+ Query_mixin::OP_findAllReplicas.invoke(self, [proxy], _ctx)
134
+ end
135
+ end
136
+ class QueryPrx < ::Ice::ObjectPrx
137
+ include QueryPrx_mixin
138
+
139
+ def QueryPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
140
+ ice_checkedCast(proxy, '::IceGrid::Query', facetOrCtx, _ctx)
141
+ end
142
+
143
+ def QueryPrx.uncheckedCast(proxy, facet=nil)
144
+ ice_uncheckedCast(proxy, facet)
145
+ end
146
+ def QueryPrx.ice_staticId()
147
+ '::IceGrid::Query'
148
+ end
149
+ end
150
+
151
+ if not defined?(::IceGrid::T_Query)
152
+ T_Query = ::Ice::__declareClass('::IceGrid::Query')
153
+ T_QueryPrx = ::Ice::__declareProxy('::IceGrid::Query')
154
+ end
155
+
156
+ T_Query.defineClass(Query, -1, true, false, nil, [], [])
157
+ Query_mixin::ICE_TYPE = T_Query
158
+
159
+ T_QueryPrx.defineProxy(QueryPrx, T_Query)
160
+ QueryPrx::ICE_TYPE = T_QueryPrx
161
+
162
+ Query_mixin::OP_findObjectById = ::Ice::__defineOperation('findObjectById', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [[::Ice::T_Identity, false, 0]], [], [::Ice::T_ObjectPrx, false, 0], [])
163
+ Query_mixin::OP_findObjectByType = ::Ice::__defineOperation('findObjectByType', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [[::Ice::T_string, false, 0]], [], [::Ice::T_ObjectPrx, false, 0], [])
164
+ Query_mixin::OP_findObjectByTypeOnLeastLoadedNode = ::Ice::__defineOperation('findObjectByTypeOnLeastLoadedNode', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [[::Ice::T_string, false, 0], [::IceGrid::T_LoadSample, false, 0]], [], [::Ice::T_ObjectPrx, false, 0], [])
165
+ Query_mixin::OP_findAllObjectsByType = ::Ice::__defineOperation('findAllObjectsByType', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [[::Ice::T_string, false, 0]], [], [::Ice::T_ObjectProxySeq, false, 0], [])
166
+ Query_mixin::OP_findAllReplicas = ::Ice::__defineOperation('findAllReplicas', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_ObjectPrx, false, 0]], [], [::Ice::T_ObjectProxySeq, false, 0], [])
167
+ end
168
+ end
@@ -0,0 +1,120 @@
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 `Registry.ice'
15
+ #
16
+ # Warning: do not edit this file.
17
+ #
18
+ # </auto-generated>
19
+ #
20
+
21
+ require 'Ice'
22
+ require 'IceGrid/Exception.rb'
23
+ require 'IceGrid/Session.rb'
24
+ require 'IceGrid/Admin.rb'
25
+
26
+ module IceGrid
27
+
28
+ if not defined?(::IceGrid::Registry_mixin)
29
+ module Registry_mixin
30
+ include ::Ice::Object_mixin
31
+
32
+ def ice_ids(current=nil)
33
+ ['::Ice::Object', '::IceGrid::Registry']
34
+ end
35
+
36
+ def ice_id(current=nil)
37
+ '::IceGrid::Registry'
38
+ end
39
+
40
+ #
41
+ # Operation signatures.
42
+ #
43
+ # def createSession(userId, password, current=nil)
44
+ # def createAdminSession(userId, password, current=nil)
45
+ # def createSessionFromSecureConnection(current=nil)
46
+ # def createAdminSessionFromSecureConnection(current=nil)
47
+ # def getSessionTimeout(current=nil)
48
+ # def getACMTimeout(current=nil)
49
+
50
+ def inspect
51
+ ::Ice::__stringify(self, T_Registry)
52
+ end
53
+ end
54
+ class Registry
55
+ include Registry_mixin
56
+
57
+ def Registry.ice_staticId()
58
+ '::IceGrid::Registry'
59
+ end
60
+ end
61
+ module RegistryPrx_mixin
62
+
63
+ def createSession(userId, password, _ctx=nil)
64
+ Registry_mixin::OP_createSession.invoke(self, [userId, password], _ctx)
65
+ end
66
+
67
+ def createAdminSession(userId, password, _ctx=nil)
68
+ Registry_mixin::OP_createAdminSession.invoke(self, [userId, password], _ctx)
69
+ end
70
+
71
+ def createSessionFromSecureConnection(_ctx=nil)
72
+ Registry_mixin::OP_createSessionFromSecureConnection.invoke(self, [], _ctx)
73
+ end
74
+
75
+ def createAdminSessionFromSecureConnection(_ctx=nil)
76
+ Registry_mixin::OP_createAdminSessionFromSecureConnection.invoke(self, [], _ctx)
77
+ end
78
+
79
+ def getSessionTimeout(_ctx=nil)
80
+ Registry_mixin::OP_getSessionTimeout.invoke(self, [], _ctx)
81
+ end
82
+
83
+ def getACMTimeout(_ctx=nil)
84
+ Registry_mixin::OP_getACMTimeout.invoke(self, [], _ctx)
85
+ end
86
+ end
87
+ class RegistryPrx < ::Ice::ObjectPrx
88
+ include RegistryPrx_mixin
89
+
90
+ def RegistryPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
91
+ ice_checkedCast(proxy, '::IceGrid::Registry', facetOrCtx, _ctx)
92
+ end
93
+
94
+ def RegistryPrx.uncheckedCast(proxy, facet=nil)
95
+ ice_uncheckedCast(proxy, facet)
96
+ end
97
+ def RegistryPrx.ice_staticId()
98
+ '::IceGrid::Registry'
99
+ end
100
+ end
101
+
102
+ if not defined?(::IceGrid::T_Registry)
103
+ T_Registry = ::Ice::__declareClass('::IceGrid::Registry')
104
+ T_RegistryPrx = ::Ice::__declareProxy('::IceGrid::Registry')
105
+ end
106
+
107
+ T_Registry.defineClass(Registry, -1, true, false, nil, [], [])
108
+ Registry_mixin::ICE_TYPE = T_Registry
109
+
110
+ T_RegistryPrx.defineProxy(RegistryPrx, T_Registry)
111
+ RegistryPrx::ICE_TYPE = T_RegistryPrx
112
+
113
+ Registry_mixin::OP_createSession = ::Ice::__defineOperation('createSession', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_string, false, 0], [::Ice::T_string, false, 0]], [], [::IceGrid::T_SessionPrx, false, 0], [::IceGrid::T_PermissionDeniedException])
114
+ Registry_mixin::OP_createAdminSession = ::Ice::__defineOperation('createAdminSession', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_string, false, 0], [::Ice::T_string, false, 0]], [], [::IceGrid::T_AdminSessionPrx, false, 0], [::IceGrid::T_PermissionDeniedException])
115
+ Registry_mixin::OP_createSessionFromSecureConnection = ::Ice::__defineOperation('createSessionFromSecureConnection', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [], [], [::IceGrid::T_SessionPrx, false, 0], [::IceGrid::T_PermissionDeniedException])
116
+ Registry_mixin::OP_createAdminSessionFromSecureConnection = ::Ice::__defineOperation('createAdminSessionFromSecureConnection', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [], [], [::IceGrid::T_AdminSessionPrx, false, 0], [::IceGrid::T_PermissionDeniedException])
117
+ Registry_mixin::OP_getSessionTimeout = ::Ice::__defineOperation('getSessionTimeout', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_int, false, 0], [])
118
+ Registry_mixin::OP_getACMTimeout = ::Ice::__defineOperation('getACMTimeout', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_int, false, 0], [])
119
+ end
120
+ end
@@ -0,0 +1,114 @@
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 `Session.ice'
15
+ #
16
+ # Warning: do not edit this file.
17
+ #
18
+ # </auto-generated>
19
+ #
20
+
21
+ require 'Ice'
22
+ require 'Glacier2/Session.rb'
23
+ require 'IceGrid/Exception.rb'
24
+
25
+ module IceGrid
26
+
27
+ if not defined?(::IceGrid::Session_mixin)
28
+ module Session_mixin
29
+ include ::Ice::Object_mixin
30
+
31
+ def ice_ids(current=nil)
32
+ ['::Glacier2::Session', '::Ice::Object', '::IceGrid::Session']
33
+ end
34
+
35
+ def ice_id(current=nil)
36
+ '::IceGrid::Session'
37
+ end
38
+
39
+ #
40
+ # Operation signatures.
41
+ #
42
+ # def keepAlive(current=nil)
43
+ # def allocateObjectById(id, current=nil)
44
+ # def allocateObjectByType(type, current=nil)
45
+ # def releaseObject(id, current=nil)
46
+ # def setAllocationTimeout(timeout, current=nil)
47
+
48
+ def inspect
49
+ ::Ice::__stringify(self, T_Session)
50
+ end
51
+ end
52
+ class Session
53
+ include Session_mixin
54
+
55
+ def Session.ice_staticId()
56
+ '::IceGrid::Session'
57
+ end
58
+ end
59
+ module SessionPrx_mixin
60
+ include ::Glacier2::SessionPrx_mixin
61
+
62
+ def keepAlive(_ctx=nil)
63
+ Session_mixin::OP_keepAlive.invoke(self, [], _ctx)
64
+ end
65
+
66
+ def allocateObjectById(id, _ctx=nil)
67
+ Session_mixin::OP_allocateObjectById.invoke(self, [id], _ctx)
68
+ end
69
+
70
+ def allocateObjectByType(type, _ctx=nil)
71
+ Session_mixin::OP_allocateObjectByType.invoke(self, [type], _ctx)
72
+ end
73
+
74
+ def releaseObject(id, _ctx=nil)
75
+ Session_mixin::OP_releaseObject.invoke(self, [id], _ctx)
76
+ end
77
+
78
+ def setAllocationTimeout(timeout, _ctx=nil)
79
+ Session_mixin::OP_setAllocationTimeout.invoke(self, [timeout], _ctx)
80
+ end
81
+ end
82
+ class SessionPrx < ::Ice::ObjectPrx
83
+ include SessionPrx_mixin
84
+
85
+ def SessionPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
86
+ ice_checkedCast(proxy, '::IceGrid::Session', facetOrCtx, _ctx)
87
+ end
88
+
89
+ def SessionPrx.uncheckedCast(proxy, facet=nil)
90
+ ice_uncheckedCast(proxy, facet)
91
+ end
92
+ def SessionPrx.ice_staticId()
93
+ '::IceGrid::Session'
94
+ end
95
+ end
96
+
97
+ if not defined?(::IceGrid::T_Session)
98
+ T_Session = ::Ice::__declareClass('::IceGrid::Session')
99
+ T_SessionPrx = ::Ice::__declareProxy('::IceGrid::Session')
100
+ end
101
+
102
+ T_Session.defineClass(Session, -1, true, false, nil, [::Glacier2::T_Session], [])
103
+ Session_mixin::ICE_TYPE = T_Session
104
+
105
+ T_SessionPrx.defineProxy(SessionPrx, T_Session)
106
+ SessionPrx::ICE_TYPE = T_SessionPrx
107
+
108
+ Session_mixin::OP_keepAlive = ::Ice::__defineOperation('keepAlive', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [], [], nil, [])
109
+ Session_mixin::OP_allocateObjectById = ::Ice::__defineOperation('allocateObjectById', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Ice::T_Identity, false, 0]], [], [::Ice::T_ObjectPrx, false, 0], [::IceGrid::T_ObjectNotRegisteredException, ::IceGrid::T_AllocationException])
110
+ Session_mixin::OP_allocateObjectByType = ::Ice::__defineOperation('allocateObjectByType', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Ice::T_string, false, 0]], [], [::Ice::T_ObjectPrx, false, 0], [::IceGrid::T_AllocationException])
111
+ Session_mixin::OP_releaseObject = ::Ice::__defineOperation('releaseObject', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_Identity, false, 0]], [], nil, [::IceGrid::T_ObjectNotRegisteredException, ::IceGrid::T_AllocationException])
112
+ Session_mixin::OP_setAllocationTimeout = ::Ice::__defineOperation('setAllocationTimeout', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_int, false, 0]], [], nil, [])
113
+ end
114
+ end
@@ -0,0 +1,101 @@
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 `UserAccountMapper.ice'
15
+ #
16
+ # Warning: do not edit this file.
17
+ #
18
+ # </auto-generated>
19
+ #
20
+
21
+ require 'Ice'
22
+
23
+ module IceGrid
24
+
25
+ if not defined?(::IceGrid::UserAccountNotFoundException)
26
+ class UserAccountNotFoundException < Ice::UserException
27
+ def initialize
28
+ end
29
+
30
+ def to_s
31
+ 'IceGrid::UserAccountNotFoundException'
32
+ end
33
+ end
34
+
35
+ T_UserAccountNotFoundException = ::Ice::__defineException('::IceGrid::UserAccountNotFoundException', UserAccountNotFoundException, false, nil, [])
36
+ UserAccountNotFoundException::ICE_TYPE = T_UserAccountNotFoundException
37
+ end
38
+
39
+ if not defined?(::IceGrid::UserAccountMapper_mixin)
40
+ module UserAccountMapper_mixin
41
+ include ::Ice::Object_mixin
42
+
43
+ def ice_ids(current=nil)
44
+ ['::Ice::Object', '::IceGrid::UserAccountMapper']
45
+ end
46
+
47
+ def ice_id(current=nil)
48
+ '::IceGrid::UserAccountMapper'
49
+ end
50
+
51
+ #
52
+ # Operation signatures.
53
+ #
54
+ # def getUserAccount(user, current=nil)
55
+
56
+ def inspect
57
+ ::Ice::__stringify(self, T_UserAccountMapper)
58
+ end
59
+ end
60
+ class UserAccountMapper
61
+ include UserAccountMapper_mixin
62
+
63
+ def UserAccountMapper.ice_staticId()
64
+ '::IceGrid::UserAccountMapper'
65
+ end
66
+ end
67
+ module UserAccountMapperPrx_mixin
68
+
69
+ def getUserAccount(user, _ctx=nil)
70
+ UserAccountMapper_mixin::OP_getUserAccount.invoke(self, [user], _ctx)
71
+ end
72
+ end
73
+ class UserAccountMapperPrx < ::Ice::ObjectPrx
74
+ include UserAccountMapperPrx_mixin
75
+
76
+ def UserAccountMapperPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
77
+ ice_checkedCast(proxy, '::IceGrid::UserAccountMapper', facetOrCtx, _ctx)
78
+ end
79
+
80
+ def UserAccountMapperPrx.uncheckedCast(proxy, facet=nil)
81
+ ice_uncheckedCast(proxy, facet)
82
+ end
83
+ def UserAccountMapperPrx.ice_staticId()
84
+ '::IceGrid::UserAccountMapper'
85
+ end
86
+ end
87
+
88
+ if not defined?(::IceGrid::T_UserAccountMapper)
89
+ T_UserAccountMapper = ::Ice::__declareClass('::IceGrid::UserAccountMapper')
90
+ T_UserAccountMapperPrx = ::Ice::__declareProxy('::IceGrid::UserAccountMapper')
91
+ end
92
+
93
+ T_UserAccountMapper.defineClass(UserAccountMapper, -1, true, false, nil, [], [])
94
+ UserAccountMapper_mixin::ICE_TYPE = T_UserAccountMapper
95
+
96
+ T_UserAccountMapperPrx.defineProxy(UserAccountMapperPrx, T_UserAccountMapper)
97
+ UserAccountMapperPrx::ICE_TYPE = T_UserAccountMapperPrx
98
+
99
+ UserAccountMapper_mixin::OP_getUserAccount = ::Ice::__defineOperation('getUserAccount', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_string, false, 0]], [], [::Ice::T_string, false, 0], [::IceGrid::T_UserAccountNotFoundException])
100
+ end
101
+ end