aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/support
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2016-11-02 16:00:52 -0700
committerGravatar Vijay Pai <vpai@google.com>2016-11-02 16:00:52 -0700
commit739a93e47fcf985113293be554e79b3d03c9edaa (patch)
tree9f4d737eccb8ff681bf69e0a64d898b2d8433d70 /include/grpc++/support
parent0109d16ac0158b6ab60a8ea5c94707c639736414 (diff)
parentea14e0e2a0ad698855d052e2fe8ba0b7e8114c57 (diff)
Merge branch 'master' into turn_it_to_11
Diffstat (limited to 'include/grpc++/support')
-rw-r--r--include/grpc++/support/channel_arguments.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/grpc++/support/channel_arguments.h b/include/grpc++/support/channel_arguments.h
index ba203f85bd..49a3e9461c 100644
--- a/include/grpc++/support/channel_arguments.h
+++ b/include/grpc++/support/channel_arguments.h
@@ -85,6 +85,11 @@ class ChannelArguments {
/// The given buffer pool will be attached to the constructed channel
void SetResourceQuota(const ResourceQuota& resource_quota);
+ /// Set LB policy name.
+ /// Note that if the name resolver returns only balancer addresses, the
+ /// grpclb LB policy will be used, regardless of what is specified here.
+ void SetLoadBalancingPolicyName(const grpc::string& lb_policy_name);
+
// Generic channel argument setters. Only for advanced use cases.
/// Set an integer argument \a value under \a key.
void SetInt(const grpc::string& key, int value);