zeroc-ice-x64-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-x64-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
@@ -0,0 +1,73 @@
|
|
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
|
+
[["cpp:include:IceGrid/Config.h"]]
|
14
|
+
|
15
|
+
#include <Ice/Locator.ice>
|
16
|
+
|
17
|
+
module IceGrid
|
18
|
+
{
|
19
|
+
|
20
|
+
/**
|
21
|
+
*
|
22
|
+
* The IceGrid lookup reply interface provides must be implemented by
|
23
|
+
* clients which are searching for IceGrid locators. IceGrid
|
24
|
+
* registries invoke on this interface to provide their locator proxy.
|
25
|
+
*
|
26
|
+
* @see Locator
|
27
|
+
* @see Lookup
|
28
|
+
*
|
29
|
+
**/
|
30
|
+
interface LookupReply
|
31
|
+
{
|
32
|
+
/**
|
33
|
+
*
|
34
|
+
* This method is called by the implementation of the Lookup
|
35
|
+
* interface to reply to a findLocator request.
|
36
|
+
*
|
37
|
+
* @param prx The proxy of the locator.
|
38
|
+
*
|
39
|
+
**/
|
40
|
+
void foundLocator(Ice::Locator* prx);
|
41
|
+
};
|
42
|
+
|
43
|
+
/**
|
44
|
+
*
|
45
|
+
* The IceGrid lookup interface is implemented by IceGrid registries
|
46
|
+
* and can be used by clients to find available IceGrid locators on
|
47
|
+
* the network.
|
48
|
+
*
|
49
|
+
* IceGrid registries provide a well-known `IceGrid/Lookup' object
|
50
|
+
* accessible through UDP multicast. Clients typically make a
|
51
|
+
* multicast findLocator request to find the locator proxy.
|
52
|
+
*
|
53
|
+
* @see Locator
|
54
|
+
* @see LookupReply
|
55
|
+
*
|
56
|
+
**/
|
57
|
+
interface Lookup
|
58
|
+
{
|
59
|
+
/**
|
60
|
+
*
|
61
|
+
* Find a locator proxy with the given instance name.
|
62
|
+
*
|
63
|
+
* @param instanceName Restrict the search to IceGrid registries
|
64
|
+
* configured with the given instance name. If empty, all the
|
65
|
+
* available registries will reply.
|
66
|
+
*
|
67
|
+
* @param reply The reply object to use to send the reply.
|
68
|
+
*
|
69
|
+
**/
|
70
|
+
idempotent void findLocator(string instanceName, LookupReply* reply);
|
71
|
+
};
|
72
|
+
|
73
|
+
};
|
@@ -0,0 +1,383 @@
|
|
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
|
+
[["cpp:include:IceGrid/Config.h"]]
|
14
|
+
|
15
|
+
#include <Ice/Identity.ice>
|
16
|
+
#include <Ice/BuiltinSequences.ice>
|
17
|
+
|
18
|
+
module IceGrid
|
19
|
+
{
|
20
|
+
|
21
|
+
/**
|
22
|
+
*
|
23
|
+
* This exception is raised if an application does not exist.
|
24
|
+
*
|
25
|
+
**/
|
26
|
+
exception ApplicationNotExistException
|
27
|
+
{
|
28
|
+
/**
|
29
|
+
*
|
30
|
+
* The name of the application.
|
31
|
+
*
|
32
|
+
**/
|
33
|
+
string name;
|
34
|
+
};
|
35
|
+
|
36
|
+
/**
|
37
|
+
*
|
38
|
+
* This exception is raised if a server does not exist.
|
39
|
+
*
|
40
|
+
**/
|
41
|
+
exception ServerNotExistException
|
42
|
+
{
|
43
|
+
/**
|
44
|
+
*
|
45
|
+
* The identifier of the server.
|
46
|
+
*
|
47
|
+
*/
|
48
|
+
string id;
|
49
|
+
};
|
50
|
+
|
51
|
+
/**
|
52
|
+
*
|
53
|
+
* This exception is raised if a server failed to start.
|
54
|
+
*
|
55
|
+
**/
|
56
|
+
exception ServerStartException
|
57
|
+
{
|
58
|
+
/**
|
59
|
+
*
|
60
|
+
* The identifier of the server.
|
61
|
+
*
|
62
|
+
**/
|
63
|
+
string id;
|
64
|
+
|
65
|
+
/**
|
66
|
+
*
|
67
|
+
* The reason for the failure.
|
68
|
+
*
|
69
|
+
**/
|
70
|
+
string reason;
|
71
|
+
};
|
72
|
+
|
73
|
+
/**
|
74
|
+
*
|
75
|
+
* This exception is raised if a server failed to stop.
|
76
|
+
*
|
77
|
+
**/
|
78
|
+
exception ServerStopException
|
79
|
+
{
|
80
|
+
/**
|
81
|
+
*
|
82
|
+
* The identifier of the server.
|
83
|
+
*
|
84
|
+
**/
|
85
|
+
string id;
|
86
|
+
|
87
|
+
/**
|
88
|
+
*
|
89
|
+
* The reason for the failure.
|
90
|
+
*
|
91
|
+
**/
|
92
|
+
string reason;
|
93
|
+
};
|
94
|
+
|
95
|
+
/**
|
96
|
+
*
|
97
|
+
* This exception is raised if an adapter does not exist.
|
98
|
+
*
|
99
|
+
**/
|
100
|
+
exception AdapterNotExistException
|
101
|
+
{
|
102
|
+
/**
|
103
|
+
*
|
104
|
+
* The id of the object adapter.
|
105
|
+
*
|
106
|
+
**/
|
107
|
+
string id;
|
108
|
+
};
|
109
|
+
|
110
|
+
/**
|
111
|
+
*
|
112
|
+
* This exception is raised if an object already exists.
|
113
|
+
*
|
114
|
+
**/
|
115
|
+
exception ObjectExistsException
|
116
|
+
{
|
117
|
+
/**
|
118
|
+
*
|
119
|
+
* The identity of the object.
|
120
|
+
*
|
121
|
+
**/
|
122
|
+
Ice::Identity id;
|
123
|
+
};
|
124
|
+
|
125
|
+
/**
|
126
|
+
*
|
127
|
+
* This exception is raised if an object is not registered.
|
128
|
+
*
|
129
|
+
**/
|
130
|
+
exception ObjectNotRegisteredException
|
131
|
+
{
|
132
|
+
/**
|
133
|
+
*
|
134
|
+
* The identity of the object.
|
135
|
+
*
|
136
|
+
**/
|
137
|
+
Ice::Identity id;
|
138
|
+
};
|
139
|
+
|
140
|
+
/**
|
141
|
+
*
|
142
|
+
* This exception is raised if a node does not exist.
|
143
|
+
*
|
144
|
+
**/
|
145
|
+
exception NodeNotExistException
|
146
|
+
{
|
147
|
+
/**
|
148
|
+
*
|
149
|
+
* The node name.
|
150
|
+
*
|
151
|
+
**/
|
152
|
+
string name;
|
153
|
+
};
|
154
|
+
|
155
|
+
/**
|
156
|
+
*
|
157
|
+
* This exception is raised if a registry does not exist.
|
158
|
+
*
|
159
|
+
**/
|
160
|
+
exception RegistryNotExistException
|
161
|
+
{
|
162
|
+
/**
|
163
|
+
*
|
164
|
+
* The registry name.
|
165
|
+
*
|
166
|
+
**/
|
167
|
+
string name;
|
168
|
+
};
|
169
|
+
|
170
|
+
/**
|
171
|
+
*
|
172
|
+
* An exception for deployment errors.
|
173
|
+
*
|
174
|
+
**/
|
175
|
+
exception DeploymentException
|
176
|
+
{
|
177
|
+
/**
|
178
|
+
*
|
179
|
+
* The reason for the failure.
|
180
|
+
*
|
181
|
+
**/
|
182
|
+
string reason;
|
183
|
+
};
|
184
|
+
|
185
|
+
/**
|
186
|
+
*
|
187
|
+
* This exception is raised if a node could not be reached.
|
188
|
+
*
|
189
|
+
**/
|
190
|
+
exception NodeUnreachableException
|
191
|
+
{
|
192
|
+
/**
|
193
|
+
*
|
194
|
+
* The name of the node that is not reachable.
|
195
|
+
*
|
196
|
+
**/
|
197
|
+
string name;
|
198
|
+
|
199
|
+
/**
|
200
|
+
*
|
201
|
+
* The reason why the node couldn't be reached.
|
202
|
+
*
|
203
|
+
**/
|
204
|
+
string reason;
|
205
|
+
};
|
206
|
+
|
207
|
+
/**
|
208
|
+
*
|
209
|
+
* This exception is raised if a server could not be reached.
|
210
|
+
*
|
211
|
+
**/
|
212
|
+
exception ServerUnreachableException
|
213
|
+
{
|
214
|
+
/**
|
215
|
+
*
|
216
|
+
* The id of the server that is not reachable.
|
217
|
+
*
|
218
|
+
**/
|
219
|
+
string name;
|
220
|
+
|
221
|
+
/**
|
222
|
+
*
|
223
|
+
* The reason why the server couldn't be reached.
|
224
|
+
*
|
225
|
+
**/
|
226
|
+
string reason;
|
227
|
+
};
|
228
|
+
|
229
|
+
|
230
|
+
/**
|
231
|
+
*
|
232
|
+
* This exception is raised if a registry could not be reached.
|
233
|
+
*
|
234
|
+
**/
|
235
|
+
exception RegistryUnreachableException
|
236
|
+
{
|
237
|
+
/**
|
238
|
+
*
|
239
|
+
* The name of the registry that is not reachable.
|
240
|
+
*
|
241
|
+
**/
|
242
|
+
string name;
|
243
|
+
|
244
|
+
/**
|
245
|
+
*
|
246
|
+
* The reason why the registry couldn't be reached.
|
247
|
+
*
|
248
|
+
**/
|
249
|
+
string reason;
|
250
|
+
};
|
251
|
+
|
252
|
+
/**
|
253
|
+
*
|
254
|
+
* This exception is raised if an unknown signal was sent to
|
255
|
+
* to a server.
|
256
|
+
*
|
257
|
+
**/
|
258
|
+
exception BadSignalException
|
259
|
+
{
|
260
|
+
/**
|
261
|
+
*
|
262
|
+
* The details of the unknown signal.
|
263
|
+
*
|
264
|
+
**/
|
265
|
+
string reason;
|
266
|
+
};
|
267
|
+
|
268
|
+
/**
|
269
|
+
*
|
270
|
+
* This exception is raised if a patch failed.
|
271
|
+
*
|
272
|
+
**/
|
273
|
+
exception PatchException
|
274
|
+
{
|
275
|
+
/**
|
276
|
+
*
|
277
|
+
* The reasons why the patch failed.
|
278
|
+
*
|
279
|
+
**/
|
280
|
+
Ice::StringSeq reasons;
|
281
|
+
};
|
282
|
+
|
283
|
+
/**
|
284
|
+
*
|
285
|
+
* This exception is raised if a registry lock wasn't
|
286
|
+
* acquired or is already held by a session.
|
287
|
+
*
|
288
|
+
**/
|
289
|
+
exception AccessDeniedException
|
290
|
+
{
|
291
|
+
/**
|
292
|
+
*
|
293
|
+
* The id of the user holding the lock (if any).
|
294
|
+
*
|
295
|
+
**/
|
296
|
+
string lockUserId;
|
297
|
+
};
|
298
|
+
|
299
|
+
/**
|
300
|
+
*
|
301
|
+
* This exception is raised if the allocation of an object failed.
|
302
|
+
*
|
303
|
+
**/
|
304
|
+
exception AllocationException
|
305
|
+
{
|
306
|
+
/**
|
307
|
+
*
|
308
|
+
* The reason why the object couldn't be allocated.
|
309
|
+
*
|
310
|
+
**/
|
311
|
+
string reason;
|
312
|
+
};
|
313
|
+
|
314
|
+
/**
|
315
|
+
*
|
316
|
+
* This exception is raised if the request to allocate an object times
|
317
|
+
* out.
|
318
|
+
*
|
319
|
+
**/
|
320
|
+
exception AllocationTimeoutException extends AllocationException
|
321
|
+
{
|
322
|
+
};
|
323
|
+
|
324
|
+
/**
|
325
|
+
*
|
326
|
+
* This exception is raised if a client is denied the ability to create
|
327
|
+
* a session with IceGrid.
|
328
|
+
*
|
329
|
+
**/
|
330
|
+
exception PermissionDeniedException
|
331
|
+
{
|
332
|
+
/**
|
333
|
+
*
|
334
|
+
* The reason why permission was denied.
|
335
|
+
*
|
336
|
+
**/
|
337
|
+
string reason;
|
338
|
+
};
|
339
|
+
|
340
|
+
/**
|
341
|
+
*
|
342
|
+
* This exception is raised if an observer is already registered with
|
343
|
+
* the registry.
|
344
|
+
*
|
345
|
+
* @see AdminSession#setObservers
|
346
|
+
* @see AdminSession#setObserversByIdentity
|
347
|
+
*
|
348
|
+
**/
|
349
|
+
exception ObserverAlreadyRegisteredException
|
350
|
+
{
|
351
|
+
/**
|
352
|
+
*
|
353
|
+
* The identity of the observer.
|
354
|
+
*
|
355
|
+
**/
|
356
|
+
Ice::Identity id;
|
357
|
+
};
|
358
|
+
|
359
|
+
/**
|
360
|
+
*
|
361
|
+
* This exception is raised if a file is not available.
|
362
|
+
*
|
363
|
+
* @see AdminSession#openServerStdOut
|
364
|
+
* @see AdminSession#openServerStdErr
|
365
|
+
* @see AdminSession#openNodeStdOut
|
366
|
+
* @see AdminSession#openNodeStdErr
|
367
|
+
* @see AdminSession#openRegistryStdOut
|
368
|
+
* @see AdminSession#openRegistryStdErr
|
369
|
+
*
|
370
|
+
**/
|
371
|
+
exception FileNotAvailableException
|
372
|
+
{
|
373
|
+
/**
|
374
|
+
*
|
375
|
+
* The reason for the failure.
|
376
|
+
*
|
377
|
+
**/
|
378
|
+
string reason;
|
379
|
+
};
|
380
|
+
|
381
|
+
|
382
|
+
};
|
383
|
+
|