thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 陈竞 <cj.mag...@gmail.com>
Subject Re: Does thrift support asynchronous in c++?
Date Tue, 14 Jun 2011 03:57:20 GMT
oneway seems to be a temporary solution, expect that thrift can support
asynchronous service,
eg:
service Echo {
       void Echo(),
       async void Echo()  // asynchronous call
}

2011/6/13 Eastdawn Yang <eastdawnyang@gmail.com>

> Oneway might be a workaround, for example:
>
> Endpoint A --------ServiceB::sendOnewayRequest( ... )-----> Endpoint B
> Endpoint A <------ServiceA::recvOnewayResponse( ... )----- Endpoint B
>
>
> On Mon, Jun 13, 2011 at 4:07 PM, 陈竞 <cj.magina@gmail.com> wrote:
>
> > I want to use asynchronous call . But it seems that thrift do not support
> > asynchronous call.
> > I need help. thanks
> >
> > --
> >
> > celix
> >
>



-- 
陈竞,中科院计算技术研究所,高性能计算机中心
Jing Chen HPCC.ICT.AC China

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