thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tarun Goyal <join2ta...@gmail.com>
Subject Re: How to extend multiple Services?
Date Thu, 20 Sep 2012 18:27:37 GMT
Thanks Mark for the Reply!!!!!!!


On Thu, Sep 20, 2012 at 11:34 PM, Mark Slee <mslee@fb.com> wrote:

> This is not supported, Thrift does not implement multiple inheritance.
> ________________________________________
> From: Tarun Goyal [join2tarun@gmail.com]
> Sent: Wednesday, September 19, 2012 11:14 PM
> To: user@thrift.apache.org
> Subject: How to extend multiple Services?
>
> Hey,
>
> How to extend multiple services in one service?
>
> service IBase{
>
>     void ping(),
>     int test(),
>
> }
>
> service ID1 extends IBase{
>     int test(),
>     void add(),
>
>
> }
> service ID2 extends IBase{
> int test(),
> void multiply(),
> }
>
>
> service ID3 extends ID1, extends ID2 {
> int test(),
>
> }
>
>
> When i am compiling it. It is throwing errors. Cant we extend multiple
> services?
>
>
>
> Thanks,
> Tarun
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message