blob: 58357fe342696ab34dcbf33cf23c6f78a2401d5e [file] [log] [blame]
Mark Sleee129a2d2007-02-21 05:17:48 +00001
2struct Goodbyez {
3 1: i32 val = 325;
Mark Slee9e288d42007-01-24 23:42:12 +00004}
5
Mark Sleee129a2d2007-02-21 05:17:48 +00006senum Thinger {
7 "ASDFKJ",
8 "r32)*F#@",
9 "ASDFLJASDF"
10}
11
12struct Hello {
13 1: i32 simple = 53,
14 2: map<i32,i32> complex = {23:532, 6243:632, 2355:532},
15 3: map<i32, map<i32,i32>> complexer,
16 4: string words = "words",
17 5: Goodbyez thinz = {'val' : 36632}
18}
19
20const map<i32,map<i32,i32>> CMAP = { 235: {235:235}, 53:{53:53} }
21const i32 CINT = 325;
22const Hello WHOA = {'simple' : 532}
23
Mark Slee9e288d42007-01-24 23:42:12 +000024exception Goodbye {
25 1: i32 simple,
26 2: map<i32,i32> complex,
27 3: map<i32, map<i32,i32>> complexer,
28}
29
30service SmallService {
Mark Sleee129a2d2007-02-21 05:17:48 +000031 Thinger testThinger(1:Thinger bootz),
32 Hello testMe(1:i32 hello=64, 2: Hello wonk) throws (1: Goodbye g),
Mark Slee9e288d42007-01-24 23:42:12 +000033 void testVoid() throws (1: Goodbye g),
34 i32 testI32(1:i32 boo)
35}