diff options
author | Sree Kuchibhotla <sreek@google.com> | 2016-09-21 11:17:41 -0700 |
---|---|---|
committer | Sree Kuchibhotla <sreek@google.com> | 2016-09-21 11:17:41 -0700 |
commit | 7974232f411a68456948288280214366b623c6d4 (patch) | |
tree | 02720ba0765350b36845aa7738553506d5f03e92 /include/grpc++/server.h | |
parent | 4028d2c11b6561ad7aea71e7bc465dc56865d40d (diff) | |
parent | bbf5dc8421c56fa69f7a7434a0be23f40070722b (diff) |
Merge branch 'master' into rpc_mgr
Diffstat (limited to 'include/grpc++/server.h')
-rw-r--r-- | include/grpc++/server.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/grpc++/server.h b/include/grpc++/server.h index af0a15d7bd..6bbc265bc4 100644 --- a/include/grpc++/server.h +++ b/include/grpc++/server.h @@ -183,13 +183,15 @@ class Server GRPC_FINAL : public ServerInterface, private GrpcLibraryCodegen { void ShutdownInternal(gpr_timespec deadline) GRPC_OVERRIDE; - int max_message_size() const GRPC_OVERRIDE { return max_message_size_; }; + int max_receive_message_size() const GRPC_OVERRIDE { + return max_receive_message_size_; + }; grpc_server* server() GRPC_OVERRIDE { return server_; }; ServerInitializer* initializer(); - const int max_message_size_; + const int max_receive_message_size_; /// The following completion queues are ONLY used in case of Sync API i.e if /// the server has any services with sync methods. The server uses these |