aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpcpp/impl/codegen/server_interface.h
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2018-10-30 12:29:35 -0700
committerGravatar Vijay Pai <vpai@google.com>2018-10-30 12:29:35 -0700
commit47d0d5bf1f163e9dc03a771156aa712dc0716d2b (patch)
treef2e0178f36785999a1697e80817a54b0d6dd77aa /include/grpcpp/impl/codegen/server_interface.h
parent84e763f10a1e10d36c7de35970f9d25958ee2e16 (diff)
parent53df56529bfb30214ece3ad5d90c07aa323d776b (diff)
Merge branch 'master' into server_callback
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 bde7740f44..8bfb10f704 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;