diff options
author | Yash Tibrewal <yashkt@google.com> | 2018-11-15 13:55:56 -0800 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2018-11-15 13:55:56 -0800 |
commit | 0911e489e3fe22e2ca5d7c927dac83358f2f05b7 (patch) | |
tree | f20fe0049cb0303e370e7a751416a8b2ea02521f /include/grpcpp/impl/codegen/interceptor.h | |
parent | ceeb28a360d48389edb8c1c91a1efac46e24a9b7 (diff) |
Add a method to check whether the message was received successfully
Diffstat (limited to 'include/grpcpp/impl/codegen/interceptor.h')
-rw-r--r-- | include/grpcpp/impl/codegen/interceptor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/grpcpp/impl/codegen/interceptor.h b/include/grpcpp/impl/codegen/interceptor.h index 943376a545..b977c35016 100644 --- a/include/grpcpp/impl/codegen/interceptor.h +++ b/include/grpcpp/impl/codegen/interceptor.h @@ -103,6 +103,9 @@ class InterceptorBatchMethods { // is already deserialized virtual void* GetRecvMessage() = 0; + // Checks whether the RECV MESSAGE op completed successfully + virtual bool GetRecvMessageStatus() = 0; + // Returns a modifiable multimap of the received initial metadata virtual std::multimap<grpc::string_ref, grpc::string_ref>* GetRecvInitialMetadata() = 0; |