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.
pull/10991/head
Mehrdad Afshari 8 years ago committed by Mehrdad Afshari
parent a64ea5496d
commit 7ee630a3d7
  1. 5
      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();

Loading…
Cancel
Save