aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-01-20 11:31:47 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-01-20 11:31:47 -0800
commitb7b7486c4bbe2351702fff76cae59292060fe9e4 (patch)
treeb2dd81edc3625a5299ed2282141c441b0b4a789d /include/grpc++
parent4906d2c4b1d86a881d86e53f1d6be400f4421e5f (diff)
parentbd827887ffbb57a95990130f585913b13f44a5b7 (diff)
Merge github.com:grpc/grpc into metadata_filter
Diffstat (limited to 'include/grpc++')
-rw-r--r--include/grpc++/impl/codegen/config.h6
-rw-r--r--include/grpc++/support/channel_arguments.h4
2 files changed, 10 insertions, 0 deletions
diff --git a/include/grpc++/impl/codegen/config.h b/include/grpc++/impl/codegen/config.h
index af3ee5a4cf..a43bf65f91 100644
--- a/include/grpc++/impl/codegen/config.h
+++ b/include/grpc++/impl/codegen/config.h
@@ -39,6 +39,12 @@
#define GRPC_CUSTOM_STRING std::string
#endif
+// The following macros are deprecated and appear only for users
+// with PB files generated using gRPC 1.0.x plugins. They should
+// not be used in new code
+#define GRPC_OVERRIDE override // deprecated
+#define GRPC_FINAL final // deprecated
+
namespace grpc {
typedef GRPC_CUSTOM_STRING string;
diff --git a/include/grpc++/support/channel_arguments.h b/include/grpc++/support/channel_arguments.h
index d43f7c61bd..efdf7772ad 100644
--- a/include/grpc++/support/channel_arguments.h
+++ b/include/grpc++/support/channel_arguments.h
@@ -88,6 +88,10 @@ class ChannelArguments {
/// The given buffer pool will be attached to the constructed channel
void SetResourceQuota(const ResourceQuota& resource_quota);
+ /// Sets the max receive and send message sizes.
+ void SetMaxReceiveMessageSize(int size);
+ void SetMaxSendMessageSize(int size);
+
/// 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.