Reputation: 11
C++ Async describes how to create an async server and a corresponding async client to communicate with it. I have managed to create this in Microsoft Viual Studio.
I now need a java client to speak to the C++ server - I am unable to find a Java equivalent client (to C++) to communicate with C++.
Any pointers would be much appreciated
Upvotes: 0
Views: 1222
Reputation: 26454
"Async" is part of the language-specific API; it isn't part of the RPC type. So you can use any sort of Java client to access your C++ Async server.
Java offers three API styles: async (StreamObserver), blocking, and Future (Guava's ListenableFuture). You can reference the quick start or examples for starting with grpc-java
Upvotes: 0