Jens Geyer | 6d15c30 | 2014-10-02 10:03:09 +0200 | [diff] [blame] | 1 | enum Numberz |
2 | { | ||||
3 | ONE = 1, | ||||
4 | TWO, | ||||
5 | THREE, | ||||
6 | FIVE = 5, | ||||
7 | SIX, | ||||
8 | EIGHT = 8 | ||||
9 | } | ||||
10 | |||||
11 | const Numberz myNumberz = Numberz.ONE; | ||||
12 | |||||
13 | struct CapitalizedStruct | ||||
14 | { | ||||
15 | 1: i32 Id, | ||||
16 | 2: binary message | ||||
17 | } | ||||
18 | |||||
19 | struct ListCapitalizedStructs | ||||
20 | { | ||||
21 | 1: list<CapitalizedStruct> structs | ||||
22 | } | ||||
23 | |||||
24 | exception Xception { | ||||
25 | 1: i32 errorCode, | ||||
26 | 2: binary message | ||||
27 | } | ||||
28 | |||||
29 | service LegacyNames | ||||
30 | { | ||||
31 | ListCapitalizedStructs Names(1: CapitalizedStruct foo, 2: CapitalizedStruct bar) | ||||
32 | throws(1: Xception err) | ||||
33 | } |