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,155 @@
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::TopicMetrics_mixin)
27
+ module TopicMetrics_mixin
28
+ include ::IceMX::Metrics_mixin
29
+
30
+ def ice_ids(current=nil)
31
+ ['::Ice::Object', '::IceMX::Metrics', '::IceMX::TopicMetrics']
32
+ end
33
+
34
+ def ice_id(current=nil)
35
+ '::IceMX::TopicMetrics'
36
+ end
37
+
38
+ def inspect
39
+ ::Ice::__stringify(self, T_TopicMetrics)
40
+ end
41
+
42
+ attr_accessor :published, :forwarded
43
+ end
44
+ class TopicMetrics < ::IceMX::Metrics
45
+ include TopicMetrics_mixin
46
+
47
+ def TopicMetrics.ice_staticId()
48
+ '::IceMX::TopicMetrics'
49
+ end
50
+
51
+ def initialize(id='', total=0, current=0, totalLifetime=0, failures=0, published=0, forwarded=0)
52
+ super(id, total, current, totalLifetime, failures)
53
+ @published = published
54
+ @forwarded = forwarded
55
+ end
56
+ end
57
+ module TopicMetricsPrx_mixin
58
+ include ::IceMX::MetricsPrx_mixin
59
+ end
60
+ class TopicMetricsPrx < ::Ice::ObjectPrx
61
+ include TopicMetricsPrx_mixin
62
+
63
+ def TopicMetricsPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
64
+ ice_checkedCast(proxy, '::IceMX::TopicMetrics', facetOrCtx, _ctx)
65
+ end
66
+
67
+ def TopicMetricsPrx.uncheckedCast(proxy, facet=nil)
68
+ ice_uncheckedCast(proxy, facet)
69
+ end
70
+ def TopicMetricsPrx.ice_staticId()
71
+ '::IceMX::TopicMetrics'
72
+ end
73
+ end
74
+
75
+ if not defined?(::IceMX::T_TopicMetrics)
76
+ T_TopicMetrics = ::Ice::__declareClass('::IceMX::TopicMetrics')
77
+ T_TopicMetricsPrx = ::Ice::__declareProxy('::IceMX::TopicMetrics')
78
+ end
79
+
80
+ T_TopicMetrics.defineClass(TopicMetrics, -1, false, false, ::IceMX::T_Metrics, [], [
81
+ ['published', ::Ice::T_long, false, 0],
82
+ ['forwarded', ::Ice::T_long, false, 0]
83
+ ])
84
+ TopicMetrics_mixin::ICE_TYPE = T_TopicMetrics
85
+
86
+ T_TopicMetricsPrx.defineProxy(TopicMetricsPrx, T_TopicMetrics)
87
+ TopicMetricsPrx::ICE_TYPE = T_TopicMetricsPrx
88
+ end
89
+
90
+ if not defined?(::IceMX::SubscriberMetrics_mixin)
91
+ module SubscriberMetrics_mixin
92
+ include ::IceMX::Metrics_mixin
93
+
94
+ def ice_ids(current=nil)
95
+ ['::Ice::Object', '::IceMX::Metrics', '::IceMX::SubscriberMetrics']
96
+ end
97
+
98
+ def ice_id(current=nil)
99
+ '::IceMX::SubscriberMetrics'
100
+ end
101
+
102
+ def inspect
103
+ ::Ice::__stringify(self, T_SubscriberMetrics)
104
+ end
105
+
106
+ attr_accessor :queued, :outstanding, :delivered
107
+ end
108
+ class SubscriberMetrics < ::IceMX::Metrics
109
+ include SubscriberMetrics_mixin
110
+
111
+ def SubscriberMetrics.ice_staticId()
112
+ '::IceMX::SubscriberMetrics'
113
+ end
114
+
115
+ def initialize(id='', total=0, current=0, totalLifetime=0, failures=0, queued=0, outstanding=0, delivered=0)
116
+ super(id, total, current, totalLifetime, failures)
117
+ @queued = queued
118
+ @outstanding = outstanding
119
+ @delivered = delivered
120
+ end
121
+ end
122
+ module SubscriberMetricsPrx_mixin
123
+ include ::IceMX::MetricsPrx_mixin
124
+ end
125
+ class SubscriberMetricsPrx < ::Ice::ObjectPrx
126
+ include SubscriberMetricsPrx_mixin
127
+
128
+ def SubscriberMetricsPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
129
+ ice_checkedCast(proxy, '::IceMX::SubscriberMetrics', facetOrCtx, _ctx)
130
+ end
131
+
132
+ def SubscriberMetricsPrx.uncheckedCast(proxy, facet=nil)
133
+ ice_uncheckedCast(proxy, facet)
134
+ end
135
+ def SubscriberMetricsPrx.ice_staticId()
136
+ '::IceMX::SubscriberMetrics'
137
+ end
138
+ end
139
+
140
+ if not defined?(::IceMX::T_SubscriberMetrics)
141
+ T_SubscriberMetrics = ::Ice::__declareClass('::IceMX::SubscriberMetrics')
142
+ T_SubscriberMetricsPrx = ::Ice::__declareProxy('::IceMX::SubscriberMetrics')
143
+ end
144
+
145
+ T_SubscriberMetrics.defineClass(SubscriberMetrics, -1, false, false, ::IceMX::T_Metrics, [], [
146
+ ['queued', ::Ice::T_int, false, 0],
147
+ ['outstanding', ::Ice::T_int, false, 0],
148
+ ['delivered', ::Ice::T_long, false, 0]
149
+ ])
150
+ SubscriberMetrics_mixin::ICE_TYPE = T_SubscriberMetrics
151
+
152
+ T_SubscriberMetricsPrx.defineProxy(SubscriberMetricsPrx, T_SubscriberMetrics)
153
+ SubscriberMetricsPrx::ICE_TYPE = T_SubscriberMetricsPrx
154
+ end
155
+ end
@@ -0,0 +1,111 @@
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
+ #pragma once
11
+
12
+ [["cpp:header-ext:h"]]
13
+
14
+ #include <Freeze/Evictor.ice>
15
+
16
+ module Freeze
17
+ {
18
+
19
+ /**
20
+ *
21
+ * A background-save evictor is an evictor that saves updates
22
+ * asynchronously in a background thread.
23
+ *
24
+ **/
25
+
26
+ local interface BackgroundSaveEvictor extends Evictor
27
+ {
28
+ /**
29
+ *
30
+ * Lock this object in the evictor cache. This lock can be released
31
+ * by {@link #release} or {@link #remove}. {@link #release} releases only one lock, while
32
+ * {@link #remove} releases all the locks.
33
+ *
34
+ * @param id The identity of the Ice object.
35
+ *
36
+ * @throws Ice.NotRegisteredException Raised if this identity was not
37
+ * registered with the evictor.
38
+ *
39
+ * @throws DatabaseException Raised if a database failure occurred.
40
+ *
41
+ * @see #keepFacet
42
+ * @see #release
43
+ * @see #remove
44
+ *
45
+ **/
46
+ void keep(Ice::Identity id);
47
+
48
+ /**
49
+ *
50
+ * Like {@link #keep}, but with a facet. Calling <tt>keep(id)</tt>
51
+ * is equivalent to calling {@link #keepFacet} with an empty facet.
52
+ *
53
+ * @param id The identity of the Ice object.
54
+ *
55
+ * @param facet The facet. An empty facet means the default
56
+ * facet.
57
+ *
58
+ * @throws Ice.NotRegisteredException Raised if this identity was not
59
+ * registered with the evictor.
60
+ *
61
+ * @throws DatabaseException Raised if a database failure occurred.
62
+ *
63
+ * @see #keep
64
+ * @see #releaseFacet
65
+ * @see #removeFacet
66
+ *
67
+ **/
68
+ void keepFacet(Ice::Identity id, string facet);
69
+
70
+
71
+ /**
72
+ *
73
+ * Release a lock acquired by {@link #keep}. Once all the locks on an
74
+ * object have been released, the object is again subject to the
75
+ * normal eviction strategy.
76
+ *
77
+ * @param id The identity of the Ice object.
78
+ *
79
+ * @throws Ice.NotRegisteredException Raised if this object was not
80
+ * locked with {@link #keep} or {@link #keepFacet}.
81
+ *
82
+ * @see #keepFacet
83
+ * @see #release
84
+ *
85
+ **/
86
+ void release(Ice::Identity id);
87
+
88
+ /**
89
+ *
90
+ * Like {@link #release}, but with a facet. Calling <tt>release(id)</tt>
91
+ * is equivalent to calling {@link #releaseFacet} with an empty facet.
92
+ *
93
+ * @param id The identity of the Ice object.
94
+ *
95
+ * @param facet The facet. An empty facet means the default
96
+ * facet.
97
+ *
98
+ * @throws Ice.NotRegisteredException Raised if this object was not
99
+ * locked with {@link #keep} or {@link #keepFacet}.
100
+ *
101
+ * @see #keep
102
+ * @see #releaseFacet
103
+ *
104
+ **/
105
+ void releaseFacet(Ice::Identity id, string facet);
106
+ };
107
+
108
+ };
109
+
110
+
111
+
@@ -0,0 +1,49 @@
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
+ #pragma once
11
+
12
+ [["cpp:header-ext:h"]]
13
+
14
+ module Freeze
15
+ {
16
+
17
+ /**
18
+ *
19
+ * The catalog keeps information about Freeze Maps and Freeze
20
+ * evictors in a Berkeley Db environment. It is used by FreezeScript.
21
+ *
22
+ **/
23
+
24
+ struct CatalogData
25
+ {
26
+ /**
27
+ *
28
+ * True if this entry describes an evictor database, false if it describes a map database.
29
+ *
30
+ **/
31
+ bool evictor;
32
+
33
+ /**
34
+ *
35
+ * The Slice type for the database key.
36
+ *
37
+ **/
38
+ string key;
39
+
40
+ /**
41
+ *
42
+ * The Slice type for the database value.
43
+ *
44
+ **/
45
+ string value;
46
+ };
47
+
48
+ };
49
+
@@ -0,0 +1,111 @@
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
+ #pragma once
11
+
12
+ #include <Freeze/Transaction.ice>
13
+ #include <Ice/Version.ice>
14
+ #include <Ice/CommunicatorF.ice>
15
+
16
+ [["cpp:header-ext:h"]]
17
+
18
+ module Freeze
19
+ {
20
+
21
+ /**
22
+ *
23
+ * An attempt was made to start a transaction
24
+ * while a previous transaction has not yet been
25
+ * committed or rolled back.
26
+ *
27
+ **/
28
+ local exception TransactionAlreadyInProgressException
29
+ {
30
+ };
31
+
32
+
33
+ /**
34
+ *
35
+ * A connection to a database (database environment with Berkeley
36
+ * DB). If you want to use a connection concurrently
37
+ * in multiple threads, you need to serialize access to this
38
+ * connection.
39
+ *
40
+ **/
41
+ local interface Connection
42
+ {
43
+ /**
44
+ *
45
+ * Create a new transaction. Only one transaction at a time can
46
+ * be associated with a connection.
47
+ *
48
+ * @return The new transaction.
49
+ *
50
+ * @throws TransactionAlreadyInProgressException Raised if a
51
+ * transaction is already associated with this connection.
52
+ *
53
+ **/
54
+ Transaction beginTransaction();
55
+
56
+
57
+ /**
58
+ *
59
+ * Returns the transaction associated with this connection.
60
+ *
61
+ * @return The current transaction if there is one, null otherwise.
62
+ *
63
+ **/
64
+ ["cpp:const"] Transaction currentTransaction();
65
+
66
+
67
+ /**
68
+ *
69
+ * Remove an old unused Freeze Map index
70
+ * @throws IndexNotFoundException Raised if this index
71
+ * does not exist
72
+ *
73
+ **/
74
+ void removeMapIndex(string mapName, string indexName);
75
+
76
+
77
+ /**
78
+ *
79
+ * Closes this connection. If there is an associated transaction,
80
+ * it is rolled back.
81
+ *
82
+ **/
83
+ void close();
84
+
85
+
86
+ /**
87
+ *
88
+ * Returns the communicator associated with this connection.
89
+ *
90
+ **/
91
+ ["cpp:const"] Ice::Communicator getCommunicator();
92
+
93
+ /**
94
+ *
95
+ * Returns the encoding version used to encode the data.
96
+ *
97
+ **/
98
+ ["cpp:const"] Ice::EncodingVersion getEncoding();
99
+
100
+ /**
101
+ *
102
+ * The name of the connected system (for example, the Berkeley DB
103
+ * environment).
104
+ *
105
+ **/
106
+ ["cpp:const"] string getName();
107
+
108
+ };
109
+
110
+ };
111
+
@@ -0,0 +1,20 @@
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
+ #pragma once
11
+
12
+ [["cpp:header-ext:h"]]
13
+
14
+ module Freeze
15
+ {
16
+
17
+ local interface Connection;
18
+
19
+ };
20
+