thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oswald <...@jas.it.cx>
Subject Re: Need Quick Response
Date Mon, 03 Sep 2012 17:58:37 GMT
On 08/27/2012 07:18 AM, Tarun Goyal wrote:
> I want to know how to define a servive in thrift with multiple out
> parameters.

Create a struct that can hold the values that you want to return.

Note that thrift is designed to be language agnostic and it is left up 
to the compiler how it implements the notion of a return value. It might 
be done by the function returning a value or by filling in the fields of 
an argument that is passed by reference.

Mime
View raw message