aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2019-01-04 11:29:57 -0800
committerGravatar Yash Tibrewal <yashkt@google.com>2019-01-04 11:29:57 -0800
commit9b9ef640278fd5d0c9a64c1b0c7182277bc35f53 (patch)
tree4d4855bff1858d1a5835d26dc1fccd07b94ec4b0 /include
parent24e37e249a4db24ff2c886960e3a00311e2591dd (diff)
Add more information on the usage of FailHijackedRecvMessage
Diffstat (limited to 'include')
-rw-r--r--include/grpcpp/impl/codegen/interceptor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/grpcpp/impl/codegen/interceptor.h b/include/grpcpp/impl/codegen/interceptor.h
index a1cb80013d..cf92ce46b4 100644
--- a/include/grpcpp/impl/codegen/interceptor.h
+++ b/include/grpcpp/impl/codegen/interceptor.h
@@ -157,7 +157,9 @@ class InterceptorBatchMethods {
/// list.
virtual std::unique_ptr<ChannelInterface> GetInterceptedChannel() = 0;
- // On a hijacked RPC, an interceptor can decide to fail a RECV MESSAGE op.
+ /// On a hijacked RPC, an interceptor can decide to fail a PRE_RECV_MESSAGE
+ /// op. This would be a signal to the reader that there will be no more
+ /// messages, or the stream has failed or been cancelled.
virtual void FailHijackedRecvMessage() = 0;
};