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,227 @@
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 <Ice/Version.ice>
13
+ #include <Ice/BuiltinSequences.ice>
14
+ #include <Ice/EndpointF.ice>
15
+
16
+ [["cpp:header-ext:h"]]
17
+
18
+ module Ice
19
+ {
20
+
21
+ /**
22
+ *
23
+ * Uniquely identifies TCP endpoints.
24
+ *
25
+ **/
26
+ const short TCPEndpointType = 1;
27
+
28
+ /**
29
+ *
30
+ * Uniquely identifies UDP endpoints.
31
+ *
32
+ **/
33
+ const short UDPEndpointType = 3;
34
+
35
+ /**
36
+ *
37
+ * Uniquely identifies TCP-based WebSocket endpoints.
38
+ *
39
+ **/
40
+ const short WSEndpointType = 4;
41
+
42
+ /**
43
+ *
44
+ * Uniquely identifies SSL-based WebSocket endpoints.
45
+ *
46
+ **/
47
+ const short WSSEndpointType = 5;
48
+
49
+ /**
50
+ *
51
+ * Base class providing access to the endpoint details.
52
+ *
53
+ **/
54
+ local class EndpointInfo
55
+ {
56
+ /**
57
+ *
58
+ * The timeout for the endpoint in milliseconds. 0 means
59
+ * non-blocking, -1 means no timeout.
60
+ *
61
+ **/
62
+ int timeout;
63
+
64
+ /**
65
+ *
66
+ * Specifies whether or not compression should be used if
67
+ * available when using this endpoint.
68
+ *
69
+ */
70
+ bool compress;
71
+
72
+ /**
73
+ *
74
+ * Returns the type of the endpoint.
75
+ *
76
+ **/
77
+ ["cpp:const"] short type();
78
+
79
+ /**
80
+ *
81
+ * Returns true if this endpoint is a datagram endpoint.
82
+ *
83
+ **/
84
+ ["cpp:const"] bool datagram();
85
+
86
+ /**
87
+ *
88
+ * Returns true if this endpoint is a secure endpoint.
89
+ *
90
+ **/
91
+ ["cpp:const"] bool secure();
92
+ };
93
+
94
+ /**
95
+ *
96
+ * The user-level interface to an endpoint.
97
+ *
98
+ **/
99
+ local interface Endpoint
100
+ {
101
+ /**
102
+ *
103
+ * Return a string representation of the endpoint.
104
+ *
105
+ * @return The string representation of the endpoint.
106
+ *
107
+ **/
108
+ ["cpp:const"] string toString();
109
+
110
+ /**
111
+ *
112
+ * Returns the endpoint information.
113
+ *
114
+ * @return The endpoint information class.
115
+ *
116
+ **/
117
+ ["cpp:const"] EndpointInfo getInfo();
118
+ };
119
+
120
+ /**
121
+ *
122
+ * Provides access to the address details of a IP endpoint.
123
+ *
124
+ * @see Endpoint
125
+ *
126
+ **/
127
+ local class IPEndpointInfo extends EndpointInfo
128
+ {
129
+ /**
130
+ *
131
+ * The host or address configured with the endpoint.
132
+ *
133
+ **/
134
+ string host;
135
+
136
+ /**
137
+ *
138
+ * The port number.
139
+ *
140
+ **/
141
+ int port;
142
+
143
+ /**
144
+ *
145
+ * The source IP address.
146
+ *
147
+ */
148
+ string sourceAddress;
149
+ };
150
+
151
+ /**
152
+ *
153
+ * Provides access to a TCP endpoint information.
154
+ *
155
+ * @see Endpoint
156
+ *
157
+ **/
158
+ local class TCPEndpointInfo extends IPEndpointInfo
159
+ {
160
+ };
161
+
162
+ /**
163
+ *
164
+ * Provides access to an UDP endpoint information.
165
+ *
166
+ * @see Endpoint
167
+ *
168
+ **/
169
+ local class UDPEndpointInfo extends IPEndpointInfo
170
+ {
171
+ /**
172
+ *
173
+ * The multicast interface.
174
+ *
175
+ **/
176
+ string mcastInterface;
177
+
178
+ /**
179
+ *
180
+ * The multicast time-to-live (or hops).
181
+ *
182
+ **/
183
+ int mcastTtl;
184
+ };
185
+
186
+ /**
187
+ *
188
+ * Provides access to a WebSocket endpoint information.
189
+ *
190
+ **/
191
+ local class WSEndpointInfo extends IPEndpointInfo
192
+ {
193
+ /**
194
+ *
195
+ * The URI configured with the endpoint.
196
+ *
197
+ **/
198
+ string resource;
199
+ };
200
+
201
+ /**
202
+ *
203
+ * Provides access to the details of an opaque endpoint.
204
+ *
205
+ * @see Endpoint
206
+ *
207
+ **/
208
+ local class OpaqueEndpointInfo extends EndpointInfo
209
+ {
210
+ /**
211
+ *
212
+ * The encoding version of the opaque endpoint (to decode or
213
+ * encode the rawBytes).
214
+ *
215
+ **/
216
+ Ice::EncodingVersion rawEncoding;
217
+
218
+ /**
219
+ *
220
+ * The raw encoding of the opaque endpoint.
221
+ *
222
+ **/
223
+ Ice::ByteSeq rawBytes;
224
+ };
225
+
226
+ };
227
+
@@ -0,0 +1,32 @@
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 Ice
15
+ {
16
+
17
+ local class EndpointInfo;
18
+ local class IPEndpointInfo;
19
+ local class TCPEndpointInfo;
20
+ local class UDPEndpointInfo;
21
+ local class WSEndpointInfo;
22
+ local interface Endpoint;
23
+
24
+ /**
25
+ *
26
+ * A sequence of endpoints.
27
+ *
28
+ **/
29
+ local sequence<Endpoint> EndpointSeq;
30
+
31
+ };
32
+
@@ -0,0 +1,38 @@
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
+
13
+ [["cpp:header-ext:h"]]
14
+
15
+ module Ice
16
+ {
17
+
18
+ /**
19
+ *
20
+ * Determines the order in which the Ice run time uses the endpoints
21
+ * in a proxy when establishing a connection.
22
+ *
23
+ **/
24
+ enum EndpointSelectionType
25
+ {
26
+ /**
27
+ * <tt>Random</tt> causes the endpoints to be arranged in a random order.
28
+ */
29
+ Random,
30
+ /**
31
+ * <tt>Ordered</tt> forces the Ice run time to use the endpoints in the
32
+ * order they appeared in the proxy.
33
+ */
34
+ Ordered
35
+ };
36
+
37
+ };
38
+
@@ -0,0 +1,25 @@
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 Ice
15
+ {
16
+
17
+ /**
18
+ *
19
+ * A mapping from facet name to servant.
20
+ *
21
+ **/
22
+ local dictionary<string, Object> FacetMap;
23
+
24
+ };
25
+
@@ -0,0 +1,59 @@
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 Ice
15
+ {
16
+
17
+ /**
18
+ *
19
+ * The identity of an Ice object. In a proxy, an empty {@link Identity#name} denotes a nil
20
+ * proxy. An identity with an empty {@link Identity#name} and a non-empty {@link Identity#category}
21
+ * is illegal. You cannot add a servant with an empty name to the Active Servant Map.
22
+ *
23
+ * @see ServantLocator
24
+ * @see ObjectAdapter#addServantLocator
25
+ *
26
+ **/
27
+ struct Identity
28
+ {
29
+ /**
30
+ *
31
+ * The name of the Ice object.
32
+ *
33
+ **/
34
+ string name;
35
+
36
+ /**
37
+ *
38
+ * The Ice object category.
39
+ *
40
+ **/
41
+ string category;
42
+ };
43
+
44
+ /**
45
+ *
46
+ * A mapping between identities and Ice objects.
47
+ *
48
+ **/
49
+ local dictionary<Identity, Object> ObjectDict;
50
+
51
+ /**
52
+ *
53
+ * A sequence of identities.
54
+ *
55
+ **/
56
+ sequence<Identity> IdentitySeq;
57
+
58
+ };
59
+
@@ -0,0 +1,109 @@
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 <Ice/LocalException.ice>
15
+ #include <Ice/Current.ice>
16
+
17
+ module Ice
18
+ {
19
+
20
+ /**
21
+ *
22
+ * An interface to associate implict contexts with communicators.
23
+ *
24
+ * When you make a remote invocation without an explicit {@link Context} parameter,
25
+ * Ice uses the per-proxy {@link Context} (if any) combined with the <tt>ImplicitContext</tt>
26
+ * associated with the communicator.</p>
27
+ * <p>Ice provides several implementations of <tt>ImplicitContext</tt>. The implementation
28
+ * used depends on the value of the <tt>Ice.ImplicitContext</tt> property.
29
+ * <dl>
30
+ * <dt><tt>None</tt> (default)</dt>
31
+ * <dd>No implicit context at all.</dd>
32
+ * <dt><tt>PerThread</tt></dt>
33
+ * <dd>The implementation maintains a {@link Context} per thread.</dd>
34
+ * <dt><tt>Shared</tt></dt>
35
+ * <dd>The implementation maintains a single {@link Context} shared
36
+ * by all threads.</dd>
37
+ * </dl><p>
38
+ *
39
+ * <tt>ImplicitContext</tt> also provides a number of operations to create, update or retrieve
40
+ * an entry in the underlying context without first retrieving a copy of the entire
41
+ * context. These operations correspond to a subset of the <tt>java.util.Map</tt> methods,
42
+ * with <tt>java.lang.Object</tt> replaced by <tt>string</tt> and null replaced by the empty-string.
43
+ *
44
+ **/
45
+
46
+ local interface ImplicitContext
47
+ {
48
+ /**
49
+ * Get a copy of the underlying context.
50
+ * @return A copy of the underlying context.
51
+ *
52
+ **/
53
+ ["cpp:const"] Context getContext();
54
+
55
+ /**
56
+ * Set the underlying context.
57
+ *
58
+ * @param newContext The new context.
59
+ *
60
+ **/
61
+ void setContext(Context newContext);
62
+
63
+ /**
64
+ * Check if this key has an associated value in the underlying context.
65
+ *
66
+ * @param key The key.
67
+ *
68
+ * @return True if the key has an associated value, False otherwise.
69
+ *
70
+ **/
71
+ ["cpp:const"] bool containsKey(string key);
72
+
73
+ /**
74
+ * Get the value associated with the given key in the underlying context.
75
+ * Returns an empty string if no value is associated with the key.
76
+ * {@link #containsKey} allows you to distinguish between an empty-string value and
77
+ * no value at all.
78
+ *
79
+ * @param key The key.
80
+ *
81
+ * @return The value associated with the key.
82
+ *
83
+ **/
84
+ ["cpp:const"] string get(string key);
85
+
86
+ /**
87
+ * Create or update a key/value entry in the underlying context.
88
+ *
89
+ * @param key The key.
90
+ *
91
+ * @param value The value.
92
+ *
93
+ * @return The previous value associated with the key, if any.
94
+ *
95
+ **/
96
+ string put(string key, string value);
97
+
98
+ /**
99
+ * Remove the entry for the given key in the underlying context.
100
+ *
101
+ * @param key The key.
102
+ *
103
+ * @return The value associated with the key, if any.
104
+ *
105
+ **/
106
+ string remove(string key);
107
+ };
108
+ };
109
+