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