Finally,
The typedef template above was generated properly and I was mislead by the
template error message that was raised at compiled time. When invoking the
Request session, the stream parameter passed was wrong.
mCallData->GetService()->RequestSession(&mCtx, &mStream,
mCallData->GetCompletionQueue(),
mCallData->GetCompletionQueue(),
&mProceedFunction);
I mismatched request and response in the ServerAsyncReaderWriter declaration:
grpc::ServerAsyncReaderWriter<Response, Request> mStream
So to the question I was asking, yes, it is possible to have multiple rpc
streams in a single grpc service.
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/protobuf/1890e403-f199-4784-bfeb-49d4fb6f1a18%40googlegroups.com.