1 java_package thrift.test
2 cpp_namespace thrift.test
3 ruby_namespace Thrift.Test
4 perl_package ThriftTest
26 1: string string_thing,
35 2: Xtruct struct_thing,
41 1: map<Numberz, UserId> userMap,
42 2: list<Xtruct> xtructs
52 2: Xtruct struct_thing
64 string testString(1: string thing),
65 byte testByte(1: byte thing),
66 i32 testI32(1: i32 thing),
67 i64 testI64(1: i64 thing),
68 double testDouble(1: double thing),
69 Xtruct testStruct(1: Xtruct thing),
70 Xtruct2 testNest(1: Xtruct2 thing),
71 map<i32,i32> testMap(1: map<i32,i32> thing),
72 set<i32> testSet(1: set<i32> thing),
73 list<i32> testList(1: list<i32> thing),
74 Numberz testEnum(1: Numberz thing),
75 UserId testTypedef(1: UserId thing),
77 map<i32,map<i32,i32>> testMapMap(1: i32 hello),
79 /* So you think you've got this all worked, out eh? */
80 map<UserId, map<Numberz,Insanity>> testInsanity(1: Insanity argument),
82 /* Multiple parameters */
83 Xtruct testMulti(byte arg0, i32 arg1, i64 arg2, map<i16, string> arg3, Numberz arg4, UserId arg5),
85 /* Exception specifier */
87 void testException(string arg) throws(Xception err1),
89 /* Multiple exceptions specifier */
91 Xtruct testMultiException(string arg0, string arg1) throws(Xception err1, Xception2 err2)