diff options
author | Mehrdad Afshari <mmx@google.com> | 2017-05-05 10:11:52 -0700 |
---|---|---|
committer | Mehrdad Afshari <mehrdad@afshari.me> | 2017-05-17 23:30:07 -0700 |
commit | 7ee630a3d7a95c3718f4e6d623c61ffc506762d1 (patch) | |
tree | ce7b1b09804dfc6737a82952c42723345fe72ea2 /include | |
parent | a64ea5496d122aca53b9226108a119ab3b06408d (diff) |
Clarified grpc::Server documentation comment
Make it clear that the creation of the Server instance
is not supposed to happen by using the Server class
directly and they are instructed to use ServerBuilder.
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc++/server.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/grpc++/server.h b/include/grpc++/server.h index 2f7018e95b..0fbf841483 100644 --- a/include/grpc++/server.h +++ b/include/grpc++/server.h @@ -60,9 +60,10 @@ class HealthCheckServiceInterface; class ServerContext; class ServerInitializer; -/// Models a gRPC server. +/// Represents a gRPC server. /// -/// Servers are configured and started via \a grpc::ServerBuilder. +/// Use a \a grpc::ServerBuilder to create, configure, and start +/// \a Server instances. class Server final : public ServerInterface, private GrpcLibraryCodegen { public: ~Server(); |