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