blob: e425c2188a2149b3db50e54517941d05f7ba2ca8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#include <exceptions.ice>
module NetFS {
module Client {
["slicer:element:endpoint"]
local sequence<string> EndpointList;
local class Resource {
["slicer:name:export"]
string ExportName;
["slicer:name:service"]
string ServiceIdentity = "Service";
["slicer:name:endpoints"]
EndpointList Endpoints;
["slicer:name:authtoken"]
string AuthToken;
["slicer:name:async"]
bool Async = false;
["slicer:name:listdir"]
bool ListDir = true;
};
["slicer:key:name","slicer:value:resource","slicer:item:resource"]
local dictionary<string, Resource> ResourceMap;
["slicer:root:config"]
local class Configuration {
["slicer:name:resources"]
ResourceMap Resources;
};
["cpp:ice_print"]
exception ResourceNotFound extends ConfigError {
string resourceName;
};
};
};
|