blob: ac3c5f9536d2e81df9fb4438c967eeee0e8177e5 [file] [log] [blame]
Roger Meier2be7f242012-05-10 09:01:45 +00001namespace cpp apache.thrift.test
2
3exception MyError {
4 1: string message
5}
6
7service ParentService {
8 i32 incrementGeneration()
9 i32 getGeneration()
10 void addString(1: string s)
11 list<string> getStrings()
12
13 binary getDataWait(1: i32 length)
14 oneway void onewayWait()
15 void exceptionWait(1: string message) throws (2: MyError error)
16 void unexpectedExceptionWait(1: string message)
17}
18
19service ChildService extends ParentService {
20 i32 setValue(1: i32 value)
21 i32 getValue()
22}