Summary: is it possible to write an async C++ client against a regular
async Java server (that is, WITHOUT using an HTTP transport). The only
AsyncChannel implementation I could find right now is
TEvhttpClientChannel.

The 0.6.x ChangeLog mentions "event-driven client and server support for C++":
http://svn.apache.org/viewvc/thrift/branches/0.6.x/CHANGES?view=markup&pathrev=1056450

IIUC, that is referring to THRIFT-923. Confusingly though THRIFT-923
doesn't show up under THRIFT-1 or THRIFT-579.

In any case, I was hoping to try out this feature for a project, so I
tried building a small prototype first. My Java server is based on
THsHaServer over TFramedTransport. However I'm unable to find a way to
use an event-driven C++ client against that unless I also use the C++
TEvHttpServer. I've dug through the code, tests, archives and JIRA but
didn't find any good leads. My conclusion is that another
TAsyncChannel implementation is needed for this to happen. Am I
missing something?

If someone has working C++ async client code, it'll be great if you
can share it.

Diwaker

Reply via email to