aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpcpp/impl/codegen/interceptor.h
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2019-01-07 16:32:24 -0800
committerGravatar GitHub <noreply@github.com>2019-01-07 16:32:24 -0800
commit8dcda4dc36aa4e4d3a4c46023f6470b4c1ec7bca (patch)
tree1b4c33de61f67f7ed45a7e1f9204f34ff93be0ca /include/grpcpp/impl/codegen/interceptor.h
parentbcd29821ec609996367bafe905b7f38b0e84d661 (diff)
parent34d77aae5ec26063e2eb5dc4b47ba4dce90c7136 (diff)
Merge pull request #17630 from yashykt/nocopyinterception
Modifying semantics for GetSendMessage and GetSerializedSendMessage. Also adding ModifySendMessage
Diffstat (limited to 'include/grpcpp/impl/codegen/interceptor.h')
-rw-r--r--include/grpcpp/impl/codegen/interceptor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grpcpp/impl/codegen/interceptor.h b/include/grpcpp/impl/codegen/interceptor.h
index a57a3fccbb..d749d8578a 100644
--- a/include/grpcpp/impl/codegen/interceptor.h
+++ b/include/grpcpp/impl/codegen/interceptor.h
@@ -118,6 +118,8 @@ class InterceptorBatchMethods {
/// only supported for sync and callback APIs at the present moment.
virtual const void* GetSendMessage() = 0;
+ virtual void ModifySendMessage(const void* message) = 0;
+
/// Checks whether the SEND MESSAGE op succeeded. Valid for POST_SEND_MESSAGE
/// interceptions.
virtual bool GetSendMessageStatus() = 0;