diff options
Diffstat (limited to 'include/grpc++/generic/generic_stub.h')
-rw-r--r-- | include/grpc++/generic/generic_stub.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/grpc++/generic/generic_stub.h b/include/grpc++/generic/generic_stub.h index 3c11e55001..fdd2377204 100644 --- a/include/grpc++/generic/generic_stub.h +++ b/include/grpc++/generic/generic_stub.h @@ -50,7 +50,11 @@ class GenericStub final { explicit GenericStub(std::shared_ptr<ChannelInterface> channel) : channel_(channel) {} - /// begin a call to a named method + /// Begin a call to a named method \a method usign \a context. + /// A tag \a tag will be deliever to \a cq when the call has been started + /// (i.e, initial metadata has been sent). + /// The return value only indicates whether or not registration of the call + /// succeeded (i.e. the call won't proceed if the return value is 0). std::unique_ptr<GenericClientAsyncReaderWriter> Call( ClientContext* context, const grpc::string& method, CompletionQueue* cq, void* tag); |