zeroc-ice-x86-mingw 3.6b1 → 3.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/BZIP2_LICENSE +42 -0
- data/ICE_LICENSE +8 -14
- data/LICENSE +2 -1
- data/MCPP_LICENSE +29 -0
- data/bin/slice2rb +1 -1
- data/ice-x86-mingw.gemspec +3 -3
- data/lib/Glacier2.rb +1 -1
- data/lib/Glacier2/Metrics.rb +2 -2
- data/lib/Glacier2/PermissionsVerifier.rb +2 -2
- data/lib/Glacier2/PermissionsVerifierF.rb +2 -2
- data/lib/Glacier2/Router.rb +2 -2
- data/lib/Glacier2/RouterF.rb +2 -2
- data/lib/Glacier2/SSLInfo.rb +2 -2
- data/lib/Glacier2/Session.rb +2 -2
- data/lib/Ice.rb +1 -1
- data/lib/Ice/BuiltinSequences.rb +2 -2
- data/lib/Ice/Communicator.rb +2 -2
- data/lib/Ice/CommunicatorF.rb +2 -2
- data/lib/Ice/Connection.rb +26 -14
- data/lib/Ice/ConnectionF.rb +2 -2
- data/lib/Ice/Current.rb +2 -2
- data/lib/Ice/Endpoint.rb +4 -2
- data/lib/Ice/EndpointF.rb +2 -2
- data/lib/Ice/EndpointTypes.rb +2 -2
- data/lib/Ice/FacetMap.rb +2 -2
- data/lib/Ice/Identity.rb +2 -2
- data/lib/Ice/ImplicitContext.rb +2 -2
- data/lib/Ice/ImplicitContextF.rb +2 -2
- data/lib/Ice/Instrumentation.rb +2 -2
- data/lib/Ice/InstrumentationF.rb +2 -2
- data/lib/Ice/LocalException.rb +2 -2
- data/lib/Ice/Locator.rb +2 -2
- data/lib/Ice/LocatorF.rb +2 -2
- data/lib/Ice/Logger.rb +2 -2
- data/lib/Ice/LoggerF.rb +2 -2
- data/lib/Ice/Metrics.rb +2 -2
- data/lib/Ice/ObjectAdapterF.rb +2 -2
- data/lib/Ice/ObjectFactory.rb +2 -2
- data/lib/Ice/ObjectFactoryF.rb +2 -2
- data/lib/Ice/Plugin.rb +2 -2
- data/lib/Ice/PluginF.rb +2 -2
- data/lib/Ice/Process.rb +2 -2
- data/lib/Ice/ProcessF.rb +2 -2
- data/lib/Ice/Properties.rb +2 -2
- data/lib/Ice/PropertiesAdmin.rb +2 -2
- data/lib/Ice/PropertiesF.rb +2 -2
- data/lib/Ice/Router.rb +2 -2
- data/lib/Ice/RouterF.rb +2 -2
- data/lib/Ice/SliceChecksumDict.rb +2 -2
- data/lib/Ice/Version.rb +2 -2
- data/lib/IceBox.rb +1 -1
- data/lib/IceBox/IceBox.rb +2 -2
- data/lib/IceGrid.rb +1 -1
- data/lib/IceGrid/Admin.rb +2 -2
- data/lib/IceGrid/Descriptor.rb +2 -2
- data/lib/IceGrid/Exception.rb +2 -2
- data/lib/IceGrid/FileParser.rb +2 -2
- data/lib/IceGrid/Locator.rb +2 -2
- data/lib/IceGrid/Observer.rb +2 -2
- data/lib/IceGrid/Query.rb +2 -2
- data/lib/IceGrid/Registry.rb +2 -2
- data/lib/IceGrid/Session.rb +2 -2
- data/lib/IceGrid/UserAccountMapper.rb +2 -2
- data/lib/IcePatch2.rb +1 -1
- data/lib/IcePatch2/FileInfo.rb +52 -2
- data/lib/IcePatch2/FileServer.rb +33 -4
- data/lib/IceRuby.so +0 -0
- data/lib/IceStorm.rb +1 -1
- data/lib/IceStorm/IceStorm.rb +2 -2
- data/lib/IceStorm/Metrics.rb +2 -2
- data/slice/Freeze/BackgroundSaveEvictor.ice +2 -2
- data/slice/Freeze/CatalogData.ice +2 -2
- data/slice/Freeze/Connection.ice +2 -2
- data/slice/Freeze/ConnectionF.ice +2 -2
- data/slice/Freeze/DB.ice +2 -2
- data/slice/Freeze/Evictor.ice +2 -2
- data/slice/Freeze/EvictorF.ice +2 -2
- data/slice/Freeze/EvictorStorage.ice +2 -2
- data/slice/Freeze/Exception.ice +2 -2
- data/slice/Freeze/Transaction.ice +2 -2
- data/slice/Freeze/TransactionalEvictor.ice +2 -2
- data/slice/Glacier2/Metrics.ice +7 -6
- data/slice/Glacier2/PermissionsVerifier.ice +4 -3
- data/slice/Glacier2/PermissionsVerifierF.ice +3 -2
- data/slice/Glacier2/Router.ice +4 -3
- data/slice/Glacier2/RouterF.ice +3 -2
- data/slice/Glacier2/SSLInfo.ice +3 -2
- data/slice/Glacier2/Session.ice +12 -11
- data/slice/Ice/BuiltinSequences.ice +4 -3
- data/slice/Ice/Communicator.ice +22 -25
- data/slice/Ice/CommunicatorF.ice +3 -2
- data/slice/Ice/Connection.ice +39 -11
- data/slice/Ice/ConnectionF.ice +3 -2
- data/slice/Ice/Current.ice +4 -3
- data/slice/Ice/Endpoint.ice +11 -3
- data/slice/Ice/EndpointF.ice +3 -2
- data/slice/Ice/EndpointTypes.ice +3 -2
- data/slice/Ice/FacetMap.ice +3 -2
- data/slice/Ice/Identity.ice +3 -2
- data/slice/Ice/ImplicitContext.ice +3 -2
- data/slice/Ice/ImplicitContextF.ice +3 -2
- data/slice/Ice/Instrumentation.ice +4 -2
- data/slice/Ice/InstrumentationF.ice +4 -2
- data/slice/Ice/LocalException.ice +29 -10
- data/slice/Ice/Locator.ice +5 -3
- data/slice/Ice/LocatorF.ice +3 -2
- data/slice/Ice/Logger.ice +3 -2
- data/slice/Ice/LoggerF.ice +3 -2
- data/slice/Ice/Metrics.ice +15 -14
- data/slice/Ice/ObjectAdapter.ice +5 -4
- data/slice/Ice/ObjectAdapterF.ice +3 -2
- data/slice/Ice/ObjectFactory.ice +3 -2
- data/slice/Ice/ObjectFactoryF.ice +3 -2
- data/slice/Ice/Plugin.ice +3 -2
- data/slice/Ice/PluginF.ice +3 -2
- data/slice/Ice/Process.ice +3 -2
- data/slice/Ice/ProcessF.ice +3 -2
- data/slice/Ice/Properties.ice +3 -2
- data/slice/Ice/PropertiesAdmin.ice +3 -2
- data/slice/Ice/PropertiesF.ice +3 -2
- data/slice/Ice/RemoteLogger.ice +3 -2
- data/slice/Ice/Router.ice +3 -2
- data/slice/Ice/RouterF.ice +3 -2
- data/slice/Ice/ServantLocator.ice +3 -2
- data/slice/Ice/ServantLocatorF.ice +3 -2
- data/slice/Ice/SliceChecksumDict.ice +3 -2
- data/slice/Ice/Version.ice +3 -2
- data/slice/IceBox/IceBox.ice +2 -2
- data/slice/IceDiscovery/IceDiscovery.ice +2 -2
- data/slice/IceGrid/Admin.ice +49 -48
- data/slice/IceGrid/Descriptor.ice +3 -2
- data/slice/IceGrid/Exception.ice +6 -5
- data/slice/IceGrid/FileParser.ice +4 -3
- data/slice/IceGrid/Locator.ice +4 -3
- data/slice/IceGrid/Observer.ice +28 -27
- data/slice/IceGrid/PluginFacade.ice +3 -2
- data/slice/IceGrid/Query.ice +3 -2
- data/slice/IceGrid/Registry.ice +4 -3
- data/slice/IceGrid/Session.ice +9 -8
- data/slice/IceGrid/UserAccountMapper.ice +4 -3
- data/slice/{IceGrid/Discovery.ice → IceLocatorDiscovery/IceLocatorDiscovery.ice} +12 -14
- data/slice/IcePatch2/FileInfo.ice +31 -2
- data/slice/IcePatch2/FileServer.ice +63 -5
- data/slice/IceSSL/ConnectionInfo.ice +17 -2
- data/slice/IceSSL/EndpointInfo.ice +21 -3
- data/slice/IceStorm/IceStorm.ice +3 -2
- data/slice/IceStorm/Metrics.ice +4 -3
- metadata +8 -6
data/lib/Ice/PropertiesF.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# **********************************************************************
|
2
2
|
#
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
4
|
#
|
5
5
|
# This copy of Ice is licensed to you under the terms described in the
|
6
6
|
# ICE_LICENSE file included in this distribution.
|
7
7
|
#
|
8
8
|
# **********************************************************************
|
9
9
|
#
|
10
|
-
# Ice version 3.
|
10
|
+
# Ice version 3.6.0
|
11
11
|
#
|
12
12
|
# <auto-generated>
|
13
13
|
#
|
data/lib/Ice/Router.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# **********************************************************************
|
2
2
|
#
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
4
|
#
|
5
5
|
# This copy of Ice is licensed to you under the terms described in the
|
6
6
|
# ICE_LICENSE file included in this distribution.
|
7
7
|
#
|
8
8
|
# **********************************************************************
|
9
9
|
#
|
10
|
-
# Ice version 3.
|
10
|
+
# Ice version 3.6.0
|
11
11
|
#
|
12
12
|
# <auto-generated>
|
13
13
|
#
|
data/lib/Ice/RouterF.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# **********************************************************************
|
2
2
|
#
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
4
|
#
|
5
5
|
# This copy of Ice is licensed to you under the terms described in the
|
6
6
|
# ICE_LICENSE file included in this distribution.
|
7
7
|
#
|
8
8
|
# **********************************************************************
|
9
9
|
#
|
10
|
-
# Ice version 3.
|
10
|
+
# Ice version 3.6.0
|
11
11
|
#
|
12
12
|
# <auto-generated>
|
13
13
|
#
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# **********************************************************************
|
2
2
|
#
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
4
|
#
|
5
5
|
# This copy of Ice is licensed to you under the terms described in the
|
6
6
|
# ICE_LICENSE file included in this distribution.
|
7
7
|
#
|
8
8
|
# **********************************************************************
|
9
9
|
#
|
10
|
-
# Ice version 3.
|
10
|
+
# Ice version 3.6.0
|
11
11
|
#
|
12
12
|
# <auto-generated>
|
13
13
|
#
|
data/lib/Ice/Version.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# **********************************************************************
|
2
2
|
#
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
4
|
#
|
5
5
|
# This copy of Ice is licensed to you under the terms described in the
|
6
6
|
# ICE_LICENSE file included in this distribution.
|
7
7
|
#
|
8
8
|
# **********************************************************************
|
9
9
|
#
|
10
|
-
# Ice version 3.
|
10
|
+
# Ice version 3.6.0
|
11
11
|
#
|
12
12
|
# <auto-generated>
|
13
13
|
#
|
data/lib/IceBox.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# **********************************************************************
|
2
2
|
#
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
4
|
#
|
5
5
|
# This copy of Ice is licensed to you under the terms described in the
|
6
6
|
# ICE_LICENSE file included in this distribution.
|
data/lib/IceBox/IceBox.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# **********************************************************************
|
2
2
|
#
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
4
|
#
|
5
5
|
# This copy of Ice is licensed to you under the terms described in the
|
6
6
|
# ICE_LICENSE file included in this distribution.
|
7
7
|
#
|
8
8
|
# **********************************************************************
|
9
9
|
#
|
10
|
-
# Ice version 3.
|
10
|
+
# Ice version 3.6.0
|
11
11
|
#
|
12
12
|
# <auto-generated>
|
13
13
|
#
|
data/lib/IceGrid.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# **********************************************************************
|
2
2
|
#
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
4
|
#
|
5
5
|
# This copy of Ice is licensed to you under the terms described in the
|
6
6
|
# ICE_LICENSE file included in this distribution.
|
data/lib/IceGrid/Admin.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# **********************************************************************
|
2
2
|
#
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
4
|
#
|
5
5
|
# This copy of Ice is licensed to you under the terms described in the
|
6
6
|
# ICE_LICENSE file included in this distribution.
|
7
7
|
#
|
8
8
|
# **********************************************************************
|
9
9
|
#
|
10
|
-
# Ice version 3.
|
10
|
+
# Ice version 3.6.0
|
11
11
|
#
|
12
12
|
# <auto-generated>
|
13
13
|
#
|
data/lib/IceGrid/Descriptor.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# **********************************************************************
|
2
2
|
#
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
4
|
#
|
5
5
|
# This copy of Ice is licensed to you under the terms described in the
|
6
6
|
# ICE_LICENSE file included in this distribution.
|
7
7
|
#
|
8
8
|
# **********************************************************************
|
9
9
|
#
|
10
|
-
# Ice version 3.
|
10
|
+
# Ice version 3.6.0
|
11
11
|
#
|
12
12
|
# <auto-generated>
|
13
13
|
#
|
data/lib/IceGrid/Exception.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# **********************************************************************
|
2
2
|
#
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
4
|
#
|
5
5
|
# This copy of Ice is licensed to you under the terms described in the
|
6
6
|
# ICE_LICENSE file included in this distribution.
|
7
7
|
#
|
8
8
|
# **********************************************************************
|
9
9
|
#
|
10
|
-
# Ice version 3.
|
10
|
+
# Ice version 3.6.0
|
11
11
|
#
|
12
12
|
# <auto-generated>
|
13
13
|
#
|
data/lib/IceGrid/FileParser.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# **********************************************************************
|
2
2
|
#
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
4
|
#
|
5
5
|
# This copy of Ice is licensed to you under the terms described in the
|
6
6
|
# ICE_LICENSE file included in this distribution.
|
7
7
|
#
|
8
8
|
# **********************************************************************
|
9
9
|
#
|
10
|
-
# Ice version 3.
|
10
|
+
# Ice version 3.6.0
|
11
11
|
#
|
12
12
|
# <auto-generated>
|
13
13
|
#
|
data/lib/IceGrid/Locator.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# **********************************************************************
|
2
2
|
#
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
4
|
#
|
5
5
|
# This copy of Ice is licensed to you under the terms described in the
|
6
6
|
# ICE_LICENSE file included in this distribution.
|
7
7
|
#
|
8
8
|
# **********************************************************************
|
9
9
|
#
|
10
|
-
# Ice version 3.
|
10
|
+
# Ice version 3.6.0
|
11
11
|
#
|
12
12
|
# <auto-generated>
|
13
13
|
#
|
data/lib/IceGrid/Observer.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# **********************************************************************
|
2
2
|
#
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
4
|
#
|
5
5
|
# This copy of Ice is licensed to you under the terms described in the
|
6
6
|
# ICE_LICENSE file included in this distribution.
|
7
7
|
#
|
8
8
|
# **********************************************************************
|
9
9
|
#
|
10
|
-
# Ice version 3.
|
10
|
+
# Ice version 3.6.0
|
11
11
|
#
|
12
12
|
# <auto-generated>
|
13
13
|
#
|
data/lib/IceGrid/Query.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# **********************************************************************
|
2
2
|
#
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
4
|
#
|
5
5
|
# This copy of Ice is licensed to you under the terms described in the
|
6
6
|
# ICE_LICENSE file included in this distribution.
|
7
7
|
#
|
8
8
|
# **********************************************************************
|
9
9
|
#
|
10
|
-
# Ice version 3.
|
10
|
+
# Ice version 3.6.0
|
11
11
|
#
|
12
12
|
# <auto-generated>
|
13
13
|
#
|
data/lib/IceGrid/Registry.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# **********************************************************************
|
2
2
|
#
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
4
|
#
|
5
5
|
# This copy of Ice is licensed to you under the terms described in the
|
6
6
|
# ICE_LICENSE file included in this distribution.
|
7
7
|
#
|
8
8
|
# **********************************************************************
|
9
9
|
#
|
10
|
-
# Ice version 3.
|
10
|
+
# Ice version 3.6.0
|
11
11
|
#
|
12
12
|
# <auto-generated>
|
13
13
|
#
|
data/lib/IceGrid/Session.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# **********************************************************************
|
2
2
|
#
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
4
|
#
|
5
5
|
# This copy of Ice is licensed to you under the terms described in the
|
6
6
|
# ICE_LICENSE file included in this distribution.
|
7
7
|
#
|
8
8
|
# **********************************************************************
|
9
9
|
#
|
10
|
-
# Ice version 3.
|
10
|
+
# Ice version 3.6.0
|
11
11
|
#
|
12
12
|
# <auto-generated>
|
13
13
|
#
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# **********************************************************************
|
2
2
|
#
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
4
|
#
|
5
5
|
# This copy of Ice is licensed to you under the terms described in the
|
6
6
|
# ICE_LICENSE file included in this distribution.
|
7
7
|
#
|
8
8
|
# **********************************************************************
|
9
9
|
#
|
10
|
-
# Ice version 3.
|
10
|
+
# Ice version 3.6.0
|
11
11
|
#
|
12
12
|
# <auto-generated>
|
13
13
|
#
|
data/lib/IcePatch2.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# **********************************************************************
|
2
2
|
#
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
4
|
#
|
5
5
|
# This copy of Ice is licensed to you under the terms described in the
|
6
6
|
# ICE_LICENSE file included in this distribution.
|
data/lib/IcePatch2/FileInfo.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# **********************************************************************
|
2
2
|
#
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
4
|
#
|
5
5
|
# This copy of Ice is licensed to you under the terms described in the
|
6
6
|
# ICE_LICENSE file included in this distribution.
|
7
7
|
#
|
8
8
|
# **********************************************************************
|
9
9
|
#
|
10
|
-
# Ice version 3.
|
10
|
+
# Ice version 3.6.0
|
11
11
|
#
|
12
12
|
# <auto-generated>
|
13
13
|
#
|
@@ -72,4 +72,54 @@ module IcePatch2
|
|
72
72
|
if not defined?(::IcePatch2::T_FileInfoSeq)
|
73
73
|
T_FileInfoSeq = ::Ice::__defineSequence('::IcePatch2::FileInfoSeq', ::IcePatch2::T_FileInfo)
|
74
74
|
end
|
75
|
+
|
76
|
+
if not defined?(::IcePatch2::LargeFileInfo)
|
77
|
+
class LargeFileInfo
|
78
|
+
def initialize(path='', checksum=nil, size=0, executable=false)
|
79
|
+
@path = path
|
80
|
+
@checksum = checksum
|
81
|
+
@size = size
|
82
|
+
@executable = executable
|
83
|
+
end
|
84
|
+
|
85
|
+
def hash
|
86
|
+
_h = 0
|
87
|
+
_h = 5 * _h + @path.hash
|
88
|
+
_h = 5 * _h + @checksum.hash
|
89
|
+
_h = 5 * _h + @size.hash
|
90
|
+
_h = 5 * _h + @executable.hash
|
91
|
+
_h % 0x7fffffff
|
92
|
+
end
|
93
|
+
|
94
|
+
def ==(other)
|
95
|
+
return false if
|
96
|
+
@path != other.path or
|
97
|
+
@checksum != other.checksum or
|
98
|
+
@size != other.size or
|
99
|
+
@executable != other.executable
|
100
|
+
true
|
101
|
+
end
|
102
|
+
|
103
|
+
def eql?(other)
|
104
|
+
return other.class == self.class && other == self
|
105
|
+
end
|
106
|
+
|
107
|
+
def inspect
|
108
|
+
::Ice::__stringify(self, T_LargeFileInfo)
|
109
|
+
end
|
110
|
+
|
111
|
+
attr_accessor :path, :checksum, :size, :executable
|
112
|
+
end
|
113
|
+
|
114
|
+
T_LargeFileInfo = ::Ice::__defineStruct('::IcePatch2::LargeFileInfo', LargeFileInfo, [
|
115
|
+
["path", ::Ice::T_string],
|
116
|
+
["checksum", ::Ice::T_ByteSeq],
|
117
|
+
["size", ::Ice::T_long],
|
118
|
+
["executable", ::Ice::T_bool]
|
119
|
+
])
|
120
|
+
end
|
121
|
+
|
122
|
+
if not defined?(::IcePatch2::T_LargeFileInfoSeq)
|
123
|
+
T_LargeFileInfoSeq = ::Ice::__defineSequence('::IcePatch2::LargeFileInfoSeq', ::IcePatch2::T_LargeFileInfo)
|
124
|
+
end
|
75
125
|
end
|
data/lib/IcePatch2/FileServer.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# **********************************************************************
|
2
2
|
#
|
3
|
-
# Copyright (c) 2003-
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
4
|
#
|
5
5
|
# This copy of Ice is licensed to you under the terms described in the
|
6
6
|
# ICE_LICENSE file included in this distribution.
|
7
7
|
#
|
8
8
|
# **********************************************************************
|
9
9
|
#
|
10
|
-
# Ice version 3.
|
10
|
+
# Ice version 3.6.0
|
11
11
|
#
|
12
12
|
# <auto-generated>
|
13
13
|
#
|
@@ -58,6 +58,21 @@ module IcePatch2
|
|
58
58
|
FileAccessException::ICE_TYPE = T_FileAccessException
|
59
59
|
end
|
60
60
|
|
61
|
+
if not defined?(::IcePatch2::FileSizeRangeException)
|
62
|
+
class FileSizeRangeException < ::IcePatch2::FileAccessException
|
63
|
+
def initialize(reason='')
|
64
|
+
super(reason)
|
65
|
+
end
|
66
|
+
|
67
|
+
def to_s
|
68
|
+
'IcePatch2::FileSizeRangeException'
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
T_FileSizeRangeException = ::Ice::__defineException('::IcePatch2::FileSizeRangeException', FileSizeRangeException, false, ::IcePatch2::T_FileAccessException, [])
|
73
|
+
FileSizeRangeException::ICE_TYPE = T_FileSizeRangeException
|
74
|
+
end
|
75
|
+
|
61
76
|
if not defined?(::IcePatch2::FileServer_mixin)
|
62
77
|
module FileServer_mixin
|
63
78
|
include ::Ice::Object_mixin
|
@@ -74,9 +89,11 @@ module IcePatch2
|
|
74
89
|
# Operation signatures.
|
75
90
|
#
|
76
91
|
# def getFileInfoSeq(partition, current=nil)
|
92
|
+
# def getLargeFileInfoSeq(partition, current=nil)
|
77
93
|
# def getChecksumSeq(current=nil)
|
78
94
|
# def getChecksum(current=nil)
|
79
95
|
# def getFileCompressed(path, pos, num, current=nil)
|
96
|
+
# def getLargeFileCompressed(path, pos, num, current=nil)
|
80
97
|
|
81
98
|
def inspect
|
82
99
|
::Ice::__stringify(self, T_FileServer)
|
@@ -95,6 +112,10 @@ module IcePatch2
|
|
95
112
|
FileServer_mixin::OP_getFileInfoSeq.invoke(self, [partition], _ctx)
|
96
113
|
end
|
97
114
|
|
115
|
+
def getLargeFileInfoSeq(partition, _ctx=nil)
|
116
|
+
FileServer_mixin::OP_getLargeFileInfoSeq.invoke(self, [partition], _ctx)
|
117
|
+
end
|
118
|
+
|
98
119
|
def getChecksumSeq(_ctx=nil)
|
99
120
|
FileServer_mixin::OP_getChecksumSeq.invoke(self, [], _ctx)
|
100
121
|
end
|
@@ -106,6 +127,10 @@ module IcePatch2
|
|
106
127
|
def getFileCompressed(path, pos, num, _ctx=nil)
|
107
128
|
FileServer_mixin::OP_getFileCompressed.invoke(self, [path, pos, num], _ctx)
|
108
129
|
end
|
130
|
+
|
131
|
+
def getLargeFileCompressed(path, pos, num, _ctx=nil)
|
132
|
+
FileServer_mixin::OP_getLargeFileCompressed.invoke(self, [path, pos, num], _ctx)
|
133
|
+
end
|
109
134
|
end
|
110
135
|
class FileServerPrx < ::Ice::ObjectPrx
|
111
136
|
include FileServerPrx_mixin
|
@@ -133,9 +158,13 @@ module IcePatch2
|
|
133
158
|
T_FileServerPrx.defineProxy(FileServerPrx, T_FileServer)
|
134
159
|
FileServerPrx::ICE_TYPE = T_FileServerPrx
|
135
160
|
|
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])
|
161
|
+
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, ::IcePatch2::T_FileSizeRangeException])
|
162
|
+
FileServer_mixin::OP_getFileInfoSeq.deprecate("getFileInfoSeq() is deprecated, use getLargeFileInfoSeq() instead.")
|
163
|
+
FileServer_mixin::OP_getLargeFileInfoSeq = ::Ice::__defineOperation('getLargeFileInfoSeq', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [[::Ice::T_int, false, 0]], [], [::IcePatch2::T_LargeFileInfoSeq, false, 0], [::IcePatch2::T_PartitionOutOfRangeException])
|
137
164
|
FileServer_mixin::OP_getChecksumSeq = ::Ice::__defineOperation('getChecksumSeq', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::IcePatch2::T_ByteSeqSeq, false, 0], [])
|
138
165
|
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])
|
166
|
+
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, ::IcePatch2::T_FileSizeRangeException])
|
167
|
+
FileServer_mixin::OP_getFileCompressed.deprecate("getFileCompressed() is deprecated, use getLargeFileCompressed() instead.")
|
168
|
+
FileServer_mixin::OP_getLargeFileCompressed = ::Ice::__defineOperation('getLargeFileCompressed', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, true, nil, [[::Ice::T_string, false, 0], [::Ice::T_long, false, 0], [::Ice::T_int, false, 0]], [], [::Ice::T_ByteSeq, false, 0], [::IcePatch2::T_FileAccessException])
|
140
169
|
end
|
141
170
|
end
|