aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/server.h
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2016-10-18 11:51:28 -0700
committerGravatar Sree Kuchibhotla <sreek@google.com>2016-10-18 11:51:28 -0700
commite4eb51f20cdb8d80cf872ca933945c0154369faf (patch)
treea85bf14bb5810b0c59a2f7f8ab4f0ea27a99a898 /include/grpc++/server.h
parent2a00d3d1bca70096451370102afec25faa33edb8 (diff)
reorder params in Server
Diffstat (limited to 'include/grpc++/server.h')
-rw-r--r--include/grpc++/server.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/grpc++/server.h b/include/grpc++/server.h
index 9c33b38ce0..d0a357aeac 100644
--- a/include/grpc++/server.h
+++ b/include/grpc++/server.h
@@ -119,15 +119,15 @@ class Server GRPC_FINAL : public ServerInterface, private GrpcLibraryCodegen {
/// Server constructors. To be used by \a ServerBuilder only.
///
- /// \param sync_server_cqs The completion queues to use if the server is a
- /// synchronous server (or a hybrid server). The server polls for new RPCs on
- /// these queues
- ///
/// \param max_message_size Maximum message length that the channel can
/// receive.
///
/// \param args The channel args
///
+ /// \param sync_server_cqs The completion queues to use if the server is a
+ /// synchronous server (or a hybrid server). The server polls for new RPCs on
+ /// these queues
+ ///
/// \param min_pollers The minimum number of polling threads per server
/// completion queue (in param sync_server_cqs) to use for listening to
/// incoming requests (used only in case of sync server)
@@ -138,10 +138,10 @@ class Server GRPC_FINAL : public ServerInterface, private GrpcLibraryCodegen {
///
/// \param sync_cq_timeout_msec The timeout to use when calling AsyncNext() on
/// server completion queues passed via sync_server_cqs param.
- Server(std::shared_ptr<std::vector<std::unique_ptr<ServerCompletionQueue>>>
+ Server(int max_message_size, ChannelArguments* args,
+ std::shared_ptr<std::vector<std::unique_ptr<ServerCompletionQueue>>>
sync_server_cqs,
- int max_message_size, ChannelArguments* args, int min_pollers,
- int max_pollers, int sync_cq_timeout_msec);
+ int min_pollers, int max_pollers, int sync_cq_timeout_msec);
/// Register a service. This call does not take ownership of the service.
/// The service must exist for the lifetime of the Server instance.