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.
rocksdb/thrift/lib/cpp/server/test/AggregatorTest.thrift

42 lines
848 B

#!/usr/local/bin/thrift -cpp
include "common/fb303/if/fb303.thrift"
namespace cpp apache.thrift.async
struct StructRequest {
1:i32 i32Val,
2:i64 i64Val,
3:double doubleVal,
4:string stringVal,
}
struct StructResponse {
1:StructRequest request,
2:i32 errorCode
3:string answerString,
}
service AggregatorTest extends fb303.FacebookService {
StructResponse sendStructRecvStruct(1:StructRequest request),
oneway void sendStructNoRecv(1:StructRequest request),
StructResponse sendMultiParamsRecvStruct(
1:i32 i32Val,
2:i64 i64Val,
3:double doubleVal,
4:string stringVal,
5:StructRequest structVal,
),
oneway void sendMultiParamsNoRecv(
1:i32 i32Val,
2:i64 i64Val,
3:double doubleVal,
4:string stringVal,
5:StructRequest structVal,
),
StructResponse noSendRecvStruct(),
oneway void noSendNoRecv(),
}