aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/ext
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2016-12-01 12:15:50 -0800
committerGravatar yang-g <yangg@google.com>2016-12-27 15:37:59 -0800
commit64868839401b48a68afca187b28bc772043a2e1b (patch)
treecef9684db14f0a8ca4e8e1da97067ffe444e3382 /include/grpc++/ext
parent0498124f8ebead73d71fefdfc63e9b29d0da7a8f (diff)
Add more files
Diffstat (limited to 'include/grpc++/ext')
-rw-r--r--include/grpc++/ext/health_check_service_server_builder_option.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/grpc++/ext/health_check_service_server_builder_option.h b/include/grpc++/ext/health_check_service_server_builder_option.h
index 9da1d18c98..fb5263d742 100644
--- a/include/grpc++/ext/health_check_service_server_builder_option.h
+++ b/include/grpc++/ext/health_check_service_server_builder_option.h
@@ -36,21 +36,25 @@
#include <memory>
+#include <grpc++/ext/health_check_service_interface.h>
+#include <grpc++/impl/server_builder_option.h>
#include <grpc++/support/config.h>
namespace grpc {
-class HealthCheckServiceInterface;
-
class HealthCheckServiceServerBuilderOption : public ServerBuilderOption {
public:
explicit HealthCheckServiceServerBuilderOption(
std::unique_ptr<HealthCheckServiceInterface> hc);
+ ~HealthCheckServiceServerBuilderOption() {}
void UpdateArguments(ChannelArguments* args) override;
+ void UpdatePlugins(std::vector<std::unique_ptr<ServerBuilderPlugin>>* plugins) override;
private:
std::unique_ptr<HealthCheckServiceInterface> hc_;
};
+void EnableDefaultHealthCheckService(bool enable);
+
} // namespace grpc
#endif // GRPCXX_EXT_HEALTH_CHECK_SERVICE_SERVER_BUILDER_OPTION_H