zeroc-ice-x86-mingw 3.6b1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/ICE_LICENSE +54 -0
- data/LICENSE +339 -0
- data/bin/slice2rb +17 -0
- data/ice-x86-mingw.gemspec +41 -0
- data/lib/Glacier2.rb +12 -0
- data/lib/Glacier2/Metrics.rb +99 -0
- data/lib/Glacier2/PermissionsVerifier.rb +168 -0
- data/lib/Glacier2/PermissionsVerifierF.rb +34 -0
- data/lib/Glacier2/Router.rb +141 -0
- data/lib/Glacier2/RouterF.rb +29 -0
- data/lib/Glacier2/SSLInfo.rb +79 -0
- data/lib/Glacier2/Session.rb +470 -0
- data/lib/Ice.rb +659 -0
- data/lib/Ice/BuiltinSequences.rb +64 -0
- data/lib/Ice/Communicator.rb +93 -0
- data/lib/Ice/CommunicatorF.rb +28 -0
- data/lib/Ice/Connection.rb +414 -0
- data/lib/Ice/ConnectionF.rb +36 -0
- data/lib/Ice/Current.rb +152 -0
- data/lib/Ice/Endpoint.rb +265 -0
- data/lib/Ice/EndpointF.rb +52 -0
- data/lib/Ice/EndpointTypes.rb +77 -0
- data/lib/Ice/FacetMap.rb +28 -0
- data/lib/Ice/Identity.rb +70 -0
- data/lib/Ice/ImplicitContext.rb +59 -0
- data/lib/Ice/ImplicitContextF.rb +28 -0
- data/lib/Ice/Instrumentation.rb +425 -0
- data/lib/Ice/InstrumentationF.rb +35 -0
- data/lib/Ice/LocalException.rb +1081 -0
- data/lib/Ice/Locator.rb +314 -0
- data/lib/Ice/LocatorF.rb +34 -0
- data/lib/Ice/Logger.rb +57 -0
- data/lib/Ice/LoggerF.rb +28 -0
- data/lib/Ice/Metrics.rb +696 -0
- data/lib/Ice/ObjectAdapterF.rb +28 -0
- data/lib/Ice/ObjectFactory.rb +53 -0
- data/lib/Ice/ObjectFactoryF.rb +28 -0
- data/lib/Ice/Plugin.rb +87 -0
- data/lib/Ice/PluginF.rb +32 -0
- data/lib/Ice/Process.rb +93 -0
- data/lib/Ice/ProcessF.rb +29 -0
- data/lib/Ice/Properties.rb +65 -0
- data/lib/Ice/PropertiesAdmin.rb +104 -0
- data/lib/Ice/PropertiesF.rb +33 -0
- data/lib/Ice/Router.rb +163 -0
- data/lib/Ice/RouterF.rb +29 -0
- data/lib/Ice/SliceChecksumDict.rb +28 -0
- data/lib/Ice/Version.rb +100 -0
- data/lib/IceBox.rb +10 -0
- data/lib/IceBox/IceBox.rb +272 -0
- data/lib/IceGrid.rb +17 -0
- data/lib/IceGrid/Admin.rb +1076 -0
- data/lib/IceGrid/Descriptor.rb +1505 -0
- data/lib/IceGrid/Exception.rb +401 -0
- data/lib/IceGrid/FileParser.rb +105 -0
- data/lib/IceGrid/Locator.rb +105 -0
- data/lib/IceGrid/Observer.rb +571 -0
- data/lib/IceGrid/Query.rb +168 -0
- data/lib/IceGrid/Registry.rb +120 -0
- data/lib/IceGrid/Session.rb +114 -0
- data/lib/IceGrid/UserAccountMapper.rb +101 -0
- data/lib/IcePatch2.rb +10 -0
- data/lib/IcePatch2/FileInfo.rb +75 -0
- data/lib/IcePatch2/FileServer.rb +141 -0
- data/lib/IceRuby.so +0 -0
- data/lib/IceStorm.rb +11 -0
- data/lib/IceStorm/IceStorm.rb +463 -0
- data/lib/IceStorm/Metrics.rb +155 -0
- data/slice/Freeze/BackgroundSaveEvictor.ice +111 -0
- data/slice/Freeze/CatalogData.ice +49 -0
- data/slice/Freeze/Connection.ice +111 -0
- data/slice/Freeze/ConnectionF.ice +20 -0
- data/slice/Freeze/DB.ice +37 -0
- data/slice/Freeze/Evictor.ice +339 -0
- data/slice/Freeze/EvictorF.ice +22 -0
- data/slice/Freeze/EvictorStorage.ice +72 -0
- data/slice/Freeze/Exception.ice +100 -0
- data/slice/Freeze/Transaction.ice +57 -0
- data/slice/Freeze/TransactionalEvictor.ice +50 -0
- data/slice/Glacier2/Metrics.ice +77 -0
- data/slice/Glacier2/PermissionsVerifier.ice +105 -0
- data/slice/Glacier2/PermissionsVerifierF.ice +21 -0
- data/slice/Glacier2/Router.ice +178 -0
- data/slice/Glacier2/RouterF.ice +20 -0
- data/slice/Glacier2/SSLInfo.ice +50 -0
- data/slice/Glacier2/Session.ice +273 -0
- data/slice/Ice/BuiltinSequences.ice +48 -0
- data/slice/Ice/Communicator.ice +567 -0
- data/slice/Ice/CommunicatorF.ice +20 -0
- data/slice/Ice/Connection.ice +323 -0
- data/slice/Ice/ConnectionF.ice +22 -0
- data/slice/Ice/Current.ice +160 -0
- data/slice/Ice/Endpoint.ice +227 -0
- data/slice/Ice/EndpointF.ice +32 -0
- data/slice/Ice/EndpointTypes.ice +38 -0
- data/slice/Ice/FacetMap.ice +25 -0
- data/slice/Ice/Identity.ice +59 -0
- data/slice/Ice/ImplicitContext.ice +109 -0
- data/slice/Ice/ImplicitContextF.ice +20 -0
- data/slice/Ice/Instrumentation.ice +499 -0
- data/slice/Ice/InstrumentationF.ice +26 -0
- data/slice/Ice/LocalException.ice +1015 -0
- data/slice/Ice/Locator.ice +227 -0
- data/slice/Ice/LocatorF.ice +21 -0
- data/slice/Ice/Logger.ice +86 -0
- data/slice/Ice/LoggerF.ice +20 -0
- data/slice/Ice/Metrics.ice +422 -0
- data/slice/Ice/ObjectAdapter.ice +673 -0
- data/slice/Ice/ObjectAdapterF.ice +20 -0
- data/slice/Ice/ObjectFactory.ice +60 -0
- data/slice/Ice/ObjectFactoryF.ice +20 -0
- data/slice/Ice/Plugin.ice +117 -0
- data/slice/Ice/PluginF.ice +21 -0
- data/slice/Ice/Process.ice +54 -0
- data/slice/Ice/ProcessF.ice +20 -0
- data/slice/Ice/Properties.ice +228 -0
- data/slice/Ice/PropertiesAdmin.ice +75 -0
- data/slice/Ice/PropertiesF.ice +21 -0
- data/slice/Ice/RemoteLogger.ice +232 -0
- data/slice/Ice/Router.ice +83 -0
- data/slice/Ice/RouterF.ice +20 -0
- data/slice/Ice/ServantLocator.ice +117 -0
- data/slice/Ice/ServantLocatorF.ice +20 -0
- data/slice/Ice/SliceChecksumDict.ice +25 -0
- data/slice/Ice/Version.ice +39 -0
- data/slice/IceBox/IceBox.ice +194 -0
- data/slice/IceDiscovery/IceDiscovery.ice +32 -0
- data/slice/IceGrid/Admin.ice +1578 -0
- data/slice/IceGrid/Descriptor.ice +1079 -0
- data/slice/IceGrid/Discovery.ice +73 -0
- data/slice/IceGrid/Exception.ice +383 -0
- data/slice/IceGrid/FileParser.ice +61 -0
- data/slice/IceGrid/Locator.ice +56 -0
- data/slice/IceGrid/Observer.ice +394 -0
- data/slice/IceGrid/PluginFacade.ice +316 -0
- data/slice/IceGrid/Query.ice +130 -0
- data/slice/IceGrid/Registry.ice +138 -0
- data/slice/IceGrid/Session.ice +124 -0
- data/slice/IceGrid/UserAccountMapper.ice +58 -0
- data/slice/IcePatch2/FileInfo.ice +49 -0
- data/slice/IcePatch2/FileServer.ice +129 -0
- data/slice/IceSSL/ConnectionInfo.ice +34 -0
- data/slice/IceSSL/EndpointInfo.ice +41 -0
- data/slice/IceStorm/IceStorm.ice +405 -0
- data/slice/IceStorm/Metrics.ice +71 -0
- metadata +207 -0
data/lib/IcePatch2.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 'IcePatch2/FileServer'
|
@@ -0,0 +1,75 @@
|
|
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 `FileInfo.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 IcePatch2
|
25
|
+
|
26
|
+
if not defined?(::IcePatch2::FileInfo)
|
27
|
+
class FileInfo
|
28
|
+
def initialize(path='', checksum=nil, size=0, executable=false)
|
29
|
+
@path = path
|
30
|
+
@checksum = checksum
|
31
|
+
@size = size
|
32
|
+
@executable = executable
|
33
|
+
end
|
34
|
+
|
35
|
+
def hash
|
36
|
+
_h = 0
|
37
|
+
_h = 5 * _h + @path.hash
|
38
|
+
_h = 5 * _h + @checksum.hash
|
39
|
+
_h = 5 * _h + @size.hash
|
40
|
+
_h = 5 * _h + @executable.hash
|
41
|
+
_h % 0x7fffffff
|
42
|
+
end
|
43
|
+
|
44
|
+
def ==(other)
|
45
|
+
return false if
|
46
|
+
@path != other.path or
|
47
|
+
@checksum != other.checksum or
|
48
|
+
@size != other.size or
|
49
|
+
@executable != other.executable
|
50
|
+
true
|
51
|
+
end
|
52
|
+
|
53
|
+
def eql?(other)
|
54
|
+
return other.class == self.class && other == self
|
55
|
+
end
|
56
|
+
|
57
|
+
def inspect
|
58
|
+
::Ice::__stringify(self, T_FileInfo)
|
59
|
+
end
|
60
|
+
|
61
|
+
attr_accessor :path, :checksum, :size, :executable
|
62
|
+
end
|
63
|
+
|
64
|
+
T_FileInfo = ::Ice::__defineStruct('::IcePatch2::FileInfo', FileInfo, [
|
65
|
+
["path", ::Ice::T_string],
|
66
|
+
["checksum", ::Ice::T_ByteSeq],
|
67
|
+
["size", ::Ice::T_int],
|
68
|
+
["executable", ::Ice::T_bool]
|
69
|
+
])
|
70
|
+
end
|
71
|
+
|
72
|
+
if not defined?(::IcePatch2::T_FileInfoSeq)
|
73
|
+
T_FileInfoSeq = ::Ice::__defineSequence('::IcePatch2::FileInfoSeq', ::IcePatch2::T_FileInfo)
|
74
|
+
end
|
75
|
+
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 `FileServer.ice'
|
15
|
+
#
|
16
|
+
# Warning: do not edit this file.
|
17
|
+
#
|
18
|
+
# </auto-generated>
|
19
|
+
#
|
20
|
+
|
21
|
+
require 'Ice'
|
22
|
+
require 'IcePatch2/FileInfo.rb'
|
23
|
+
|
24
|
+
module IcePatch2
|
25
|
+
|
26
|
+
if not defined?(::IcePatch2::T_ByteSeqSeq)
|
27
|
+
T_ByteSeqSeq = ::Ice::__defineSequence('::IcePatch2::ByteSeqSeq', ::Ice::T_ByteSeq)
|
28
|
+
end
|
29
|
+
|
30
|
+
if not defined?(::IcePatch2::PartitionOutOfRangeException)
|
31
|
+
class PartitionOutOfRangeException < Ice::UserException
|
32
|
+
def initialize
|
33
|
+
end
|
34
|
+
|
35
|
+
def to_s
|
36
|
+
'IcePatch2::PartitionOutOfRangeException'
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
T_PartitionOutOfRangeException = ::Ice::__defineException('::IcePatch2::PartitionOutOfRangeException', PartitionOutOfRangeException, false, nil, [])
|
41
|
+
PartitionOutOfRangeException::ICE_TYPE = T_PartitionOutOfRangeException
|
42
|
+
end
|
43
|
+
|
44
|
+
if not defined?(::IcePatch2::FileAccessException)
|
45
|
+
class FileAccessException < Ice::UserException
|
46
|
+
def initialize(reason='')
|
47
|
+
@reason = reason
|
48
|
+
end
|
49
|
+
|
50
|
+
def to_s
|
51
|
+
'IcePatch2::FileAccessException'
|
52
|
+
end
|
53
|
+
|
54
|
+
attr_accessor :reason
|
55
|
+
end
|
56
|
+
|
57
|
+
T_FileAccessException = ::Ice::__defineException('::IcePatch2::FileAccessException', FileAccessException, false, nil, [["reason", ::Ice::T_string, false, 0]])
|
58
|
+
FileAccessException::ICE_TYPE = T_FileAccessException
|
59
|
+
end
|
60
|
+
|
61
|
+
if not defined?(::IcePatch2::FileServer_mixin)
|
62
|
+
module FileServer_mixin
|
63
|
+
include ::Ice::Object_mixin
|
64
|
+
|
65
|
+
def ice_ids(current=nil)
|
66
|
+
['::Ice::Object', '::IcePatch2::FileServer']
|
67
|
+
end
|
68
|
+
|
69
|
+
def ice_id(current=nil)
|
70
|
+
'::IcePatch2::FileServer'
|
71
|
+
end
|
72
|
+
|
73
|
+
#
|
74
|
+
# Operation signatures.
|
75
|
+
#
|
76
|
+
# def getFileInfoSeq(partition, current=nil)
|
77
|
+
# def getChecksumSeq(current=nil)
|
78
|
+
# def getChecksum(current=nil)
|
79
|
+
# def getFileCompressed(path, pos, num, current=nil)
|
80
|
+
|
81
|
+
def inspect
|
82
|
+
::Ice::__stringify(self, T_FileServer)
|
83
|
+
end
|
84
|
+
end
|
85
|
+
class FileServer
|
86
|
+
include FileServer_mixin
|
87
|
+
|
88
|
+
def FileServer.ice_staticId()
|
89
|
+
'::IcePatch2::FileServer'
|
90
|
+
end
|
91
|
+
end
|
92
|
+
module FileServerPrx_mixin
|
93
|
+
|
94
|
+
def getFileInfoSeq(partition, _ctx=nil)
|
95
|
+
FileServer_mixin::OP_getFileInfoSeq.invoke(self, [partition], _ctx)
|
96
|
+
end
|
97
|
+
|
98
|
+
def getChecksumSeq(_ctx=nil)
|
99
|
+
FileServer_mixin::OP_getChecksumSeq.invoke(self, [], _ctx)
|
100
|
+
end
|
101
|
+
|
102
|
+
def getChecksum(_ctx=nil)
|
103
|
+
FileServer_mixin::OP_getChecksum.invoke(self, [], _ctx)
|
104
|
+
end
|
105
|
+
|
106
|
+
def getFileCompressed(path, pos, num, _ctx=nil)
|
107
|
+
FileServer_mixin::OP_getFileCompressed.invoke(self, [path, pos, num], _ctx)
|
108
|
+
end
|
109
|
+
end
|
110
|
+
class FileServerPrx < ::Ice::ObjectPrx
|
111
|
+
include FileServerPrx_mixin
|
112
|
+
|
113
|
+
def FileServerPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
114
|
+
ice_checkedCast(proxy, '::IcePatch2::FileServer', facetOrCtx, _ctx)
|
115
|
+
end
|
116
|
+
|
117
|
+
def FileServerPrx.uncheckedCast(proxy, facet=nil)
|
118
|
+
ice_uncheckedCast(proxy, facet)
|
119
|
+
end
|
120
|
+
def FileServerPrx.ice_staticId()
|
121
|
+
'::IcePatch2::FileServer'
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
if not defined?(::IcePatch2::T_FileServer)
|
126
|
+
T_FileServer = ::Ice::__declareClass('::IcePatch2::FileServer')
|
127
|
+
T_FileServerPrx = ::Ice::__declareProxy('::IcePatch2::FileServer')
|
128
|
+
end
|
129
|
+
|
130
|
+
T_FileServer.defineClass(FileServer, -1, true, false, nil, [], [])
|
131
|
+
FileServer_mixin::ICE_TYPE = T_FileServer
|
132
|
+
|
133
|
+
T_FileServerPrx.defineProxy(FileServerPrx, T_FileServer)
|
134
|
+
FileServerPrx::ICE_TYPE = T_FileServerPrx
|
135
|
+
|
136
|
+
FileServer_mixin::OP_getFileInfoSeq = ::Ice::__defineOperation('getFileInfoSeq', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [[::Ice::T_int, false, 0]], [], [::IcePatch2::T_FileInfoSeq, false, 0], [::IcePatch2::T_PartitionOutOfRangeException])
|
137
|
+
FileServer_mixin::OP_getChecksumSeq = ::Ice::__defineOperation('getChecksumSeq', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::IcePatch2::T_ByteSeqSeq, false, 0], [])
|
138
|
+
FileServer_mixin::OP_getChecksum = ::Ice::__defineOperation('getChecksum', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_ByteSeq, false, 0], [])
|
139
|
+
FileServer_mixin::OP_getFileCompressed = ::Ice::__defineOperation('getFileCompressed', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, true, nil, [[::Ice::T_string, false, 0], [::Ice::T_int, false, 0], [::Ice::T_int, false, 0]], [], [::Ice::T_ByteSeq, false, 0], [::IcePatch2::T_FileAccessException])
|
140
|
+
end
|
141
|
+
end
|
data/lib/IceRuby.so
ADDED
Binary file
|
data/lib/IceStorm.rb
ADDED
@@ -0,0 +1,11 @@
|
|
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 'IceStorm/IceStorm'
|
11
|
+
require 'IceStorm/Metrics'
|
@@ -0,0 +1,463 @@
|
|
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 `IceStorm.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/SliceChecksumDict.rb'
|
24
|
+
require 'IceStorm/Metrics.rb'
|
25
|
+
|
26
|
+
module IceStorm
|
27
|
+
|
28
|
+
if not defined?(::IceStorm::T_Topic)
|
29
|
+
T_Topic = ::Ice::__declareClass('::IceStorm::Topic')
|
30
|
+
T_TopicPrx = ::Ice::__declareProxy('::IceStorm::Topic')
|
31
|
+
end
|
32
|
+
|
33
|
+
if not defined?(::IceStorm::LinkInfo)
|
34
|
+
class LinkInfo
|
35
|
+
def initialize(theTopic=nil, name='', cost=0)
|
36
|
+
@theTopic = theTopic
|
37
|
+
@name = name
|
38
|
+
@cost = cost
|
39
|
+
end
|
40
|
+
|
41
|
+
def hash
|
42
|
+
_h = 0
|
43
|
+
_h = 5 * _h + @theTopic.hash
|
44
|
+
_h = 5 * _h + @name.hash
|
45
|
+
_h = 5 * _h + @cost.hash
|
46
|
+
_h % 0x7fffffff
|
47
|
+
end
|
48
|
+
|
49
|
+
def ==(other)
|
50
|
+
return false if
|
51
|
+
@theTopic != other.theTopic or
|
52
|
+
@name != other.name or
|
53
|
+
@cost != other.cost
|
54
|
+
true
|
55
|
+
end
|
56
|
+
|
57
|
+
def eql?(other)
|
58
|
+
return other.class == self.class && other == self
|
59
|
+
end
|
60
|
+
|
61
|
+
def inspect
|
62
|
+
::Ice::__stringify(self, T_LinkInfo)
|
63
|
+
end
|
64
|
+
|
65
|
+
attr_accessor :theTopic, :name, :cost
|
66
|
+
end
|
67
|
+
|
68
|
+
T_LinkInfo = ::Ice::__defineStruct('::IceStorm::LinkInfo', LinkInfo, [
|
69
|
+
["theTopic", ::IceStorm::T_TopicPrx],
|
70
|
+
["name", ::Ice::T_string],
|
71
|
+
["cost", ::Ice::T_int]
|
72
|
+
])
|
73
|
+
end
|
74
|
+
|
75
|
+
if not defined?(::IceStorm::T_LinkInfoSeq)
|
76
|
+
T_LinkInfoSeq = ::Ice::__defineSequence('::IceStorm::LinkInfoSeq', ::IceStorm::T_LinkInfo)
|
77
|
+
end
|
78
|
+
|
79
|
+
if not defined?(::IceStorm::T_QoS)
|
80
|
+
T_QoS = ::Ice::__defineDictionary('::IceStorm::QoS', ::Ice::T_string, ::Ice::T_string)
|
81
|
+
end
|
82
|
+
|
83
|
+
if not defined?(::IceStorm::LinkExists)
|
84
|
+
class LinkExists < Ice::UserException
|
85
|
+
def initialize(name='')
|
86
|
+
@name = name
|
87
|
+
end
|
88
|
+
|
89
|
+
def to_s
|
90
|
+
'IceStorm::LinkExists'
|
91
|
+
end
|
92
|
+
|
93
|
+
attr_accessor :name
|
94
|
+
end
|
95
|
+
|
96
|
+
T_LinkExists = ::Ice::__defineException('::IceStorm::LinkExists', LinkExists, false, nil, [["name", ::Ice::T_string, false, 0]])
|
97
|
+
LinkExists::ICE_TYPE = T_LinkExists
|
98
|
+
end
|
99
|
+
|
100
|
+
if not defined?(::IceStorm::NoSuchLink)
|
101
|
+
class NoSuchLink < Ice::UserException
|
102
|
+
def initialize(name='')
|
103
|
+
@name = name
|
104
|
+
end
|
105
|
+
|
106
|
+
def to_s
|
107
|
+
'IceStorm::NoSuchLink'
|
108
|
+
end
|
109
|
+
|
110
|
+
attr_accessor :name
|
111
|
+
end
|
112
|
+
|
113
|
+
T_NoSuchLink = ::Ice::__defineException('::IceStorm::NoSuchLink', NoSuchLink, false, nil, [["name", ::Ice::T_string, false, 0]])
|
114
|
+
NoSuchLink::ICE_TYPE = T_NoSuchLink
|
115
|
+
end
|
116
|
+
|
117
|
+
if not defined?(::IceStorm::AlreadySubscribed)
|
118
|
+
class AlreadySubscribed < Ice::UserException
|
119
|
+
def initialize
|
120
|
+
end
|
121
|
+
|
122
|
+
def to_s
|
123
|
+
'IceStorm::AlreadySubscribed'
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
T_AlreadySubscribed = ::Ice::__defineException('::IceStorm::AlreadySubscribed', AlreadySubscribed, false, nil, [])
|
128
|
+
AlreadySubscribed::ICE_TYPE = T_AlreadySubscribed
|
129
|
+
end
|
130
|
+
|
131
|
+
if not defined?(::IceStorm::InvalidSubscriber)
|
132
|
+
class InvalidSubscriber < Ice::UserException
|
133
|
+
def initialize(reason='')
|
134
|
+
@reason = reason
|
135
|
+
end
|
136
|
+
|
137
|
+
def to_s
|
138
|
+
'IceStorm::InvalidSubscriber'
|
139
|
+
end
|
140
|
+
|
141
|
+
attr_accessor :reason
|
142
|
+
end
|
143
|
+
|
144
|
+
T_InvalidSubscriber = ::Ice::__defineException('::IceStorm::InvalidSubscriber', InvalidSubscriber, false, nil, [["reason", ::Ice::T_string, false, 0]])
|
145
|
+
InvalidSubscriber::ICE_TYPE = T_InvalidSubscriber
|
146
|
+
end
|
147
|
+
|
148
|
+
if not defined?(::IceStorm::BadQoS)
|
149
|
+
class BadQoS < Ice::UserException
|
150
|
+
def initialize(reason='')
|
151
|
+
@reason = reason
|
152
|
+
end
|
153
|
+
|
154
|
+
def to_s
|
155
|
+
'IceStorm::BadQoS'
|
156
|
+
end
|
157
|
+
|
158
|
+
attr_accessor :reason
|
159
|
+
end
|
160
|
+
|
161
|
+
T_BadQoS = ::Ice::__defineException('::IceStorm::BadQoS', BadQoS, false, nil, [["reason", ::Ice::T_string, false, 0]])
|
162
|
+
BadQoS::ICE_TYPE = T_BadQoS
|
163
|
+
end
|
164
|
+
|
165
|
+
if not defined?(::IceStorm::Topic_mixin)
|
166
|
+
module Topic_mixin
|
167
|
+
include ::Ice::Object_mixin
|
168
|
+
|
169
|
+
def ice_ids(current=nil)
|
170
|
+
['::Ice::Object', '::IceStorm::Topic']
|
171
|
+
end
|
172
|
+
|
173
|
+
def ice_id(current=nil)
|
174
|
+
'::IceStorm::Topic'
|
175
|
+
end
|
176
|
+
|
177
|
+
#
|
178
|
+
# Operation signatures.
|
179
|
+
#
|
180
|
+
# def getName(current=nil)
|
181
|
+
# def getPublisher(current=nil)
|
182
|
+
# def getNonReplicatedPublisher(current=nil)
|
183
|
+
# def subscribeAndGetPublisher(theQoS, subscriber, current=nil)
|
184
|
+
# def unsubscribe(subscriber, current=nil)
|
185
|
+
# def link(linkTo, cost, current=nil)
|
186
|
+
# def unlink(linkTo, current=nil)
|
187
|
+
# def getLinkInfoSeq(current=nil)
|
188
|
+
# def getSubscribers(current=nil)
|
189
|
+
# def destroy(current=nil)
|
190
|
+
|
191
|
+
def inspect
|
192
|
+
::Ice::__stringify(self, T_Topic)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
class Topic
|
196
|
+
include Topic_mixin
|
197
|
+
|
198
|
+
def Topic.ice_staticId()
|
199
|
+
'::IceStorm::Topic'
|
200
|
+
end
|
201
|
+
end
|
202
|
+
module TopicPrx_mixin
|
203
|
+
|
204
|
+
def getName(_ctx=nil)
|
205
|
+
Topic_mixin::OP_getName.invoke(self, [], _ctx)
|
206
|
+
end
|
207
|
+
|
208
|
+
def getPublisher(_ctx=nil)
|
209
|
+
Topic_mixin::OP_getPublisher.invoke(self, [], _ctx)
|
210
|
+
end
|
211
|
+
|
212
|
+
def getNonReplicatedPublisher(_ctx=nil)
|
213
|
+
Topic_mixin::OP_getNonReplicatedPublisher.invoke(self, [], _ctx)
|
214
|
+
end
|
215
|
+
|
216
|
+
def subscribeAndGetPublisher(theQoS, subscriber, _ctx=nil)
|
217
|
+
Topic_mixin::OP_subscribeAndGetPublisher.invoke(self, [theQoS, subscriber], _ctx)
|
218
|
+
end
|
219
|
+
|
220
|
+
def unsubscribe(subscriber, _ctx=nil)
|
221
|
+
Topic_mixin::OP_unsubscribe.invoke(self, [subscriber], _ctx)
|
222
|
+
end
|
223
|
+
|
224
|
+
def link(linkTo, cost, _ctx=nil)
|
225
|
+
Topic_mixin::OP_link.invoke(self, [linkTo, cost], _ctx)
|
226
|
+
end
|
227
|
+
|
228
|
+
def unlink(linkTo, _ctx=nil)
|
229
|
+
Topic_mixin::OP_unlink.invoke(self, [linkTo], _ctx)
|
230
|
+
end
|
231
|
+
|
232
|
+
def getLinkInfoSeq(_ctx=nil)
|
233
|
+
Topic_mixin::OP_getLinkInfoSeq.invoke(self, [], _ctx)
|
234
|
+
end
|
235
|
+
|
236
|
+
def getSubscribers(_ctx=nil)
|
237
|
+
Topic_mixin::OP_getSubscribers.invoke(self, [], _ctx)
|
238
|
+
end
|
239
|
+
|
240
|
+
def destroy(_ctx=nil)
|
241
|
+
Topic_mixin::OP_destroy.invoke(self, [], _ctx)
|
242
|
+
end
|
243
|
+
end
|
244
|
+
class TopicPrx < ::Ice::ObjectPrx
|
245
|
+
include TopicPrx_mixin
|
246
|
+
|
247
|
+
def TopicPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
248
|
+
ice_checkedCast(proxy, '::IceStorm::Topic', facetOrCtx, _ctx)
|
249
|
+
end
|
250
|
+
|
251
|
+
def TopicPrx.uncheckedCast(proxy, facet=nil)
|
252
|
+
ice_uncheckedCast(proxy, facet)
|
253
|
+
end
|
254
|
+
def TopicPrx.ice_staticId()
|
255
|
+
'::IceStorm::Topic'
|
256
|
+
end
|
257
|
+
end
|
258
|
+
|
259
|
+
if not defined?(::IceStorm::T_Topic)
|
260
|
+
T_Topic = ::Ice::__declareClass('::IceStorm::Topic')
|
261
|
+
T_TopicPrx = ::Ice::__declareProxy('::IceStorm::Topic')
|
262
|
+
end
|
263
|
+
|
264
|
+
T_Topic.defineClass(Topic, -1, true, false, nil, [], [])
|
265
|
+
Topic_mixin::ICE_TYPE = T_Topic
|
266
|
+
|
267
|
+
T_TopicPrx.defineProxy(TopicPrx, T_Topic)
|
268
|
+
TopicPrx::ICE_TYPE = T_TopicPrx
|
269
|
+
|
270
|
+
Topic_mixin::OP_getName = ::Ice::__defineOperation('getName', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_string, false, 0], [])
|
271
|
+
Topic_mixin::OP_getPublisher = ::Ice::__defineOperation('getPublisher', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_ObjectPrx, false, 0], [])
|
272
|
+
Topic_mixin::OP_getNonReplicatedPublisher = ::Ice::__defineOperation('getNonReplicatedPublisher', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_ObjectPrx, false, 0], [])
|
273
|
+
Topic_mixin::OP_subscribeAndGetPublisher = ::Ice::__defineOperation('subscribeAndGetPublisher', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::IceStorm::T_QoS, false, 0], [::Ice::T_ObjectPrx, false, 0]], [], [::Ice::T_ObjectPrx, false, 0], [::IceStorm::T_AlreadySubscribed, ::IceStorm::T_InvalidSubscriber, ::IceStorm::T_BadQoS])
|
274
|
+
Topic_mixin::OP_unsubscribe = ::Ice::__defineOperation('unsubscribe', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_ObjectPrx, false, 0]], [], nil, [])
|
275
|
+
Topic_mixin::OP_link = ::Ice::__defineOperation('link', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::IceStorm::T_TopicPrx, false, 0], [::Ice::T_int, false, 0]], [], nil, [::IceStorm::T_LinkExists])
|
276
|
+
Topic_mixin::OP_unlink = ::Ice::__defineOperation('unlink', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::IceStorm::T_TopicPrx, false, 0]], [], nil, [::IceStorm::T_NoSuchLink])
|
277
|
+
Topic_mixin::OP_getLinkInfoSeq = ::Ice::__defineOperation('getLinkInfoSeq', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::IceStorm::T_LinkInfoSeq, false, 0], [])
|
278
|
+
Topic_mixin::OP_getSubscribers = ::Ice::__defineOperation('getSubscribers', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [], [], [::Ice::T_IdentitySeq, false, 0], [])
|
279
|
+
Topic_mixin::OP_destroy = ::Ice::__defineOperation('destroy', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [], [], nil, [])
|
280
|
+
end
|
281
|
+
|
282
|
+
if not defined?(::IceStorm::T_TopicDict)
|
283
|
+
T_TopicDict = ::Ice::__defineDictionary('::IceStorm::TopicDict', ::Ice::T_string, ::IceStorm::T_TopicPrx)
|
284
|
+
end
|
285
|
+
|
286
|
+
if not defined?(::IceStorm::TopicExists)
|
287
|
+
class TopicExists < Ice::UserException
|
288
|
+
def initialize(name='')
|
289
|
+
@name = name
|
290
|
+
end
|
291
|
+
|
292
|
+
def to_s
|
293
|
+
'IceStorm::TopicExists'
|
294
|
+
end
|
295
|
+
|
296
|
+
attr_accessor :name
|
297
|
+
end
|
298
|
+
|
299
|
+
T_TopicExists = ::Ice::__defineException('::IceStorm::TopicExists', TopicExists, false, nil, [["name", ::Ice::T_string, false, 0]])
|
300
|
+
TopicExists::ICE_TYPE = T_TopicExists
|
301
|
+
end
|
302
|
+
|
303
|
+
if not defined?(::IceStorm::NoSuchTopic)
|
304
|
+
class NoSuchTopic < Ice::UserException
|
305
|
+
def initialize(name='')
|
306
|
+
@name = name
|
307
|
+
end
|
308
|
+
|
309
|
+
def to_s
|
310
|
+
'IceStorm::NoSuchTopic'
|
311
|
+
end
|
312
|
+
|
313
|
+
attr_accessor :name
|
314
|
+
end
|
315
|
+
|
316
|
+
T_NoSuchTopic = ::Ice::__defineException('::IceStorm::NoSuchTopic', NoSuchTopic, false, nil, [["name", ::Ice::T_string, false, 0]])
|
317
|
+
NoSuchTopic::ICE_TYPE = T_NoSuchTopic
|
318
|
+
end
|
319
|
+
|
320
|
+
if not defined?(::IceStorm::TopicManager_mixin)
|
321
|
+
module TopicManager_mixin
|
322
|
+
include ::Ice::Object_mixin
|
323
|
+
|
324
|
+
def ice_ids(current=nil)
|
325
|
+
['::Ice::Object', '::IceStorm::TopicManager']
|
326
|
+
end
|
327
|
+
|
328
|
+
def ice_id(current=nil)
|
329
|
+
'::IceStorm::TopicManager'
|
330
|
+
end
|
331
|
+
|
332
|
+
#
|
333
|
+
# Operation signatures.
|
334
|
+
#
|
335
|
+
# def create(name, current=nil)
|
336
|
+
# def retrieve(name, current=nil)
|
337
|
+
# def retrieveAll(current=nil)
|
338
|
+
# def getSliceChecksums(current=nil)
|
339
|
+
|
340
|
+
def inspect
|
341
|
+
::Ice::__stringify(self, T_TopicManager)
|
342
|
+
end
|
343
|
+
end
|
344
|
+
class TopicManager
|
345
|
+
include TopicManager_mixin
|
346
|
+
|
347
|
+
def TopicManager.ice_staticId()
|
348
|
+
'::IceStorm::TopicManager'
|
349
|
+
end
|
350
|
+
end
|
351
|
+
module TopicManagerPrx_mixin
|
352
|
+
|
353
|
+
def create(name, _ctx=nil)
|
354
|
+
TopicManager_mixin::OP_create.invoke(self, [name], _ctx)
|
355
|
+
end
|
356
|
+
|
357
|
+
def retrieve(name, _ctx=nil)
|
358
|
+
TopicManager_mixin::OP_retrieve.invoke(self, [name], _ctx)
|
359
|
+
end
|
360
|
+
|
361
|
+
def retrieveAll(_ctx=nil)
|
362
|
+
TopicManager_mixin::OP_retrieveAll.invoke(self, [], _ctx)
|
363
|
+
end
|
364
|
+
|
365
|
+
def getSliceChecksums(_ctx=nil)
|
366
|
+
TopicManager_mixin::OP_getSliceChecksums.invoke(self, [], _ctx)
|
367
|
+
end
|
368
|
+
end
|
369
|
+
class TopicManagerPrx < ::Ice::ObjectPrx
|
370
|
+
include TopicManagerPrx_mixin
|
371
|
+
|
372
|
+
def TopicManagerPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
373
|
+
ice_checkedCast(proxy, '::IceStorm::TopicManager', facetOrCtx, _ctx)
|
374
|
+
end
|
375
|
+
|
376
|
+
def TopicManagerPrx.uncheckedCast(proxy, facet=nil)
|
377
|
+
ice_uncheckedCast(proxy, facet)
|
378
|
+
end
|
379
|
+
def TopicManagerPrx.ice_staticId()
|
380
|
+
'::IceStorm::TopicManager'
|
381
|
+
end
|
382
|
+
end
|
383
|
+
|
384
|
+
if not defined?(::IceStorm::T_TopicManager)
|
385
|
+
T_TopicManager = ::Ice::__declareClass('::IceStorm::TopicManager')
|
386
|
+
T_TopicManagerPrx = ::Ice::__declareProxy('::IceStorm::TopicManager')
|
387
|
+
end
|
388
|
+
|
389
|
+
T_TopicManager.defineClass(TopicManager, -1, true, false, nil, [], [])
|
390
|
+
TopicManager_mixin::ICE_TYPE = T_TopicManager
|
391
|
+
|
392
|
+
T_TopicManagerPrx.defineProxy(TopicManagerPrx, T_TopicManager)
|
393
|
+
TopicManagerPrx::ICE_TYPE = T_TopicManagerPrx
|
394
|
+
|
395
|
+
TopicManager_mixin::OP_create = ::Ice::__defineOperation('create', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_string, false, 0]], [], [::IceStorm::T_TopicPrx, false, 0], [::IceStorm::T_TopicExists])
|
396
|
+
TopicManager_mixin::OP_retrieve = ::Ice::__defineOperation('retrieve', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [[::Ice::T_string, false, 0]], [], [::IceStorm::T_TopicPrx, false, 0], [::IceStorm::T_NoSuchTopic])
|
397
|
+
TopicManager_mixin::OP_retrieveAll = ::Ice::__defineOperation('retrieveAll', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::IceStorm::T_TopicDict, false, 0], [])
|
398
|
+
TopicManager_mixin::OP_getSliceChecksums = ::Ice::__defineOperation('getSliceChecksums', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_SliceChecksumDict, false, 0], [])
|
399
|
+
end
|
400
|
+
|
401
|
+
if not defined?(::IceStorm::Finder_mixin)
|
402
|
+
module Finder_mixin
|
403
|
+
include ::Ice::Object_mixin
|
404
|
+
|
405
|
+
def ice_ids(current=nil)
|
406
|
+
['::Ice::Object', '::IceStorm::Finder']
|
407
|
+
end
|
408
|
+
|
409
|
+
def ice_id(current=nil)
|
410
|
+
'::IceStorm::Finder'
|
411
|
+
end
|
412
|
+
|
413
|
+
#
|
414
|
+
# Operation signatures.
|
415
|
+
#
|
416
|
+
# def getTopicManager(current=nil)
|
417
|
+
|
418
|
+
def inspect
|
419
|
+
::Ice::__stringify(self, T_Finder)
|
420
|
+
end
|
421
|
+
end
|
422
|
+
class Finder
|
423
|
+
include Finder_mixin
|
424
|
+
|
425
|
+
def Finder.ice_staticId()
|
426
|
+
'::IceStorm::Finder'
|
427
|
+
end
|
428
|
+
end
|
429
|
+
module FinderPrx_mixin
|
430
|
+
|
431
|
+
def getTopicManager(_ctx=nil)
|
432
|
+
Finder_mixin::OP_getTopicManager.invoke(self, [], _ctx)
|
433
|
+
end
|
434
|
+
end
|
435
|
+
class FinderPrx < ::Ice::ObjectPrx
|
436
|
+
include FinderPrx_mixin
|
437
|
+
|
438
|
+
def FinderPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
439
|
+
ice_checkedCast(proxy, '::IceStorm::Finder', facetOrCtx, _ctx)
|
440
|
+
end
|
441
|
+
|
442
|
+
def FinderPrx.uncheckedCast(proxy, facet=nil)
|
443
|
+
ice_uncheckedCast(proxy, facet)
|
444
|
+
end
|
445
|
+
def FinderPrx.ice_staticId()
|
446
|
+
'::IceStorm::Finder'
|
447
|
+
end
|
448
|
+
end
|
449
|
+
|
450
|
+
if not defined?(::IceStorm::T_Finder)
|
451
|
+
T_Finder = ::Ice::__declareClass('::IceStorm::Finder')
|
452
|
+
T_FinderPrx = ::Ice::__declareProxy('::IceStorm::Finder')
|
453
|
+
end
|
454
|
+
|
455
|
+
T_Finder.defineClass(Finder, -1, true, false, nil, [], [])
|
456
|
+
Finder_mixin::ICE_TYPE = T_Finder
|
457
|
+
|
458
|
+
T_FinderPrx.defineProxy(FinderPrx, T_Finder)
|
459
|
+
FinderPrx::ICE_TYPE = T_FinderPrx
|
460
|
+
|
461
|
+
Finder_mixin::OP_getTopicManager = ::Ice::__defineOperation('getTopicManager', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [], [], [::IceStorm::T_TopicManagerPrx, false, 0], [])
|
462
|
+
end
|
463
|
+
end
|