aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpcpp/impl/codegen/server_interface.h
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-10-29 01:56:12 -0700
committerGravatar Yash Tibrewal <yashkt@google.com>2018-10-29 01:56:12 -0700
commitbfd1935afc34fc1cc1a3ddf357f62ad32aff249e (patch)
tree60cf9edb53c7bcbf44376c1492a879ee7dc006df /include/grpcpp/impl/codegen/server_interface.h
parent85ddf5c71351faae8d269339bbc8be638a3d52c1 (diff)
Add note on the experimental nature of the additional method in ServerInterface
Diffstat (limited to 'include/grpcpp/impl/codegen/server_interface.h')
-rw-r--r--include/grpcpp/impl/codegen/server_interface.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/grpcpp/impl/codegen/server_interface.h b/include/grpcpp/impl/codegen/server_interface.h
index 92c87a5f7e..3967e96cfe 100644
--- a/include/grpcpp/impl/codegen/server_interface.h
+++ b/include/grpcpp/impl/codegen/server_interface.h
@@ -333,7 +333,12 @@ class ServerInterface : public internal::CallHook {
}
private:
- virtual const std::vector<
+ // EXPERIMENTAL
+ // Getter method for the vector of interceptor factory objects.
+ // Returns a nullptr (rather than being pure) since this is a new method and
+ // adding a new pure method to an interface would be a breaking change (even
+ // though this is private and non-API)
+ virtual std::vector<
std::unique_ptr<experimental::ServerInterceptorFactoryInterface>>*
interceptor_creators() {
return nullptr;