aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/impl
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-09-02 15:27:33 +0200
committerGravatar David Garcia Quintas <dgq@google.com>2016-09-02 15:27:33 +0200
commite44902ecc94a75649b1294ddea77668a87b603a2 (patch)
tree0a0f01288cfb83ad82d831cfffcdb2eed4fe1812 /include/grpc++/impl
parentd3dee724370937503ebe05b9507c90feab2df602 (diff)
parent79620aaa1052fd02539a36caa63cbe24a2087b0f (diff)
Merge branch 'master' of github.com:grpc/grpc into codegen_cleanse
Diffstat (limited to 'include/grpc++/impl')
-rw-r--r--include/grpc++/impl/server_builder_plugin.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/grpc++/impl/server_builder_plugin.h b/include/grpc++/impl/server_builder_plugin.h
index 1e157efa11..61632e32fa 100644
--- a/include/grpc++/impl/server_builder_plugin.h
+++ b/include/grpc++/impl/server_builder_plugin.h
@@ -41,6 +41,7 @@
namespace grpc {
class ServerInitializer;
+class ChannelArguments;
class ServerBuilderPlugin {
public:
@@ -58,6 +59,10 @@ class ServerBuilderPlugin {
// ServerBuilderOption::UpdatePlugins
virtual void ChangeArguments(const grpc::string& name, void* value) = 0;
+ // UpdateChannelArguments will be called in ServerBuilder::BuildAndStart(),
+ // before the Server instance is created.
+ virtual void UpdateChannelArguments(ChannelArguments* args) {}
+
virtual bool has_sync_methods() const { return false; }
virtual bool has_async_methods() const { return false; }
};