fork of https://github.com/oxigraph/rocksdb and https://github.com/facebook/rocksdb for nextgraph and oxigraph
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
485 B
23 lines
485 B
13 years ago
|
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()
|
||
|
}
|