diff options
author | yang-g <yangg@google.com> | 2016-12-06 14:20:17 -0800 |
---|---|---|
committer | yang-g <yangg@google.com> | 2016-12-27 15:37:59 -0800 |
commit | c9d2954e556db3f102a858d97e339edb9db0388c (patch) | |
tree | 372b546eca8e0bceccd661f3024969b2d0a11c81 /include/grpc++/server.h | |
parent | 08137362d0c27d9908d91333c2825f09b30bad2b (diff) |
more
Diffstat (limited to 'include/grpc++/server.h')
-rw-r--r-- | include/grpc++/server.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/grpc++/server.h b/include/grpc++/server.h index 511dc35564..dc97a0ec4c 100644 --- a/include/grpc++/server.h +++ b/include/grpc++/server.h @@ -55,12 +55,10 @@ struct grpc_server; namespace grpc { -class GenericServerContext; class AsyncGenericService; -class ServerAsyncStreamingInterface; +class HealthCheckServiceInterface; class ServerContext; class ServerInitializer; -class ThreadPoolInterface; /// Models a gRPC server. /// @@ -99,7 +97,7 @@ class Server final : public ServerInterface, private GrpcLibraryCodegen { /// Returns the health check service. HealthCheckServiceInterface* GetHealthCheckService() const { - return hc_.get(); + return health_check_service_.get(); } private: @@ -221,8 +219,6 @@ class Server final : public ServerInterface, private GrpcLibraryCodegen { std::unique_ptr<ServerInitializer> server_initializer_; std::unique_ptr<HealthCheckServiceInterface> health_check_service_; - // User explicitly disabled health check service. - bool health_check_service_disabled_; }; } // namespace grpc |