rocksdb/thrift/lib/cpp/processor/test/proc.thrift
Dhruba Borthakur 80c663882a Create leveldb server via Thrift.
Summary:
First draft.
Unit tests pass.

Test Plan: unit tests attached

Reviewers: heyongqiang

Reviewed By: heyongqiang

Differential Revision: https://reviews.facebook.net/D3969
2012-07-07 09:42:39 -07:00

23 lines
485 B
Thrift

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()
}