aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/generic
diff options
context:
space:
mode:
authorGravatar Alexander Polcyn <apolcyn@google.com>2017-05-05 14:47:38 -0700
committerGravatar Alexander Polcyn <apolcyn@google.com>2017-05-09 14:28:58 -0700
commit0f02908e67d637acfff579c2a97be20ebfca1b00 (patch)
tree61269376c3d38d1b02770f22244508d760a0f539 /include/grpc++/generic
parenta9f1e2566d084b8f428887523859312f78f511f4 (diff)
address comments
Diffstat (limited to 'include/grpc++/generic')
-rw-r--r--include/grpc++/generic/generic_stub.h6
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);