aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpcpp/impl
diff options
context:
space:
mode:
authorGravatar Juanli Shen <aspirinsjl@gmail.com>2018-07-06 22:08:34 -0700
committerGravatar GitHub <noreply@github.com>2018-07-06 22:08:34 -0700
commit86aa172d9baa33d3d0309b06c410d6eac351d748 (patch)
tree1beadd518eaa8fb1732d1bb087963ecc19ffc677 /include/grpcpp/impl
parent252d3f3b460cf56db2e30d68e566a00cef0304eb (diff)
parent9e77eeb0d584725f7049356f1c6b8b70f648d1bb (diff)
Merge pull request #15919 from AspirinSJL/reorder
Reorder steps in ServerBuilder::BuildAndStart()
Diffstat (limited to 'include/grpcpp/impl')
-rw-r--r--include/grpcpp/impl/server_builder_plugin.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/grpcpp/impl/server_builder_plugin.h b/include/grpcpp/impl/server_builder_plugin.h
index d73511e465..39450b42d5 100644
--- a/include/grpcpp/impl/server_builder_plugin.h
+++ b/include/grpcpp/impl/server_builder_plugin.h
@@ -37,8 +37,9 @@ class ServerBuilderPlugin {
virtual ~ServerBuilderPlugin() {}
virtual grpc::string name() = 0;
- /// UpdateServerBuilder will be called at the beginning of
- /// \a ServerBuilder::BuildAndStart().
+ /// UpdateServerBuilder will be called at an early stage in
+ /// ServerBuilder::BuildAndStart(), right after the ServerBuilderOptions have
+ /// done their updates.
virtual void UpdateServerBuilder(ServerBuilder* builder) {}
/// InitServer will be called in ServerBuilder::BuildAndStart(), after the