Reflection in grpc++ async server

725 views
Skip to first unread message

chri...@lefty.io

unread,
Aug 9, 2017, 10:52:41 AM8/9/17
to grpc.io
Hi,

Is reflection possible in  C++ async server?
I'd assume we need to change our CompletionQueue tags to support answering the requests?

Best,


Yuchen Zeng

unread,
Sep 12, 2017, 7:21:14 PM9/12/17
to grpc.io
It's possible to enable reflection in an async C++ server. But it will turn the server into a hybrid server (sync + async). 
You can enable reflection by linking the libgrpc++_reflection library, as described in https://github.com/grpc/grpc/blob/master/doc/server_reflection_tutorial.md

massimo...@ieee.org

unread,
Oct 8, 2017, 12:41:34 PM10/8/17
to grpc.io
Hi,

I went through that code and examples and worked fine.
However, I tried to implement a client as described here https://github.com/grpc/grpc/blob/master/doc/server_reflection_tutorial.md#use-server-reflection-in-a-c-client but I had several problems in figuring out the way of doing it.
Is it possible to have a running example for this case implementation (perhaps working with the helloworld example)?

Thanks,
Massimo
Reply all
Reply to author
Forward
0 new messages