Public Member Functions | Private Attributes | List of all members
grpc::HealthCheckServiceServerBuilderOption Class Reference

#include <health_check_service_server_builder_option.h>

Inheritance diagram for grpc::HealthCheckServiceServerBuilderOption:
Inheritance graph
[legend]

Public Member Functions

 HealthCheckServiceServerBuilderOption (std::unique_ptr< HealthCheckServiceInterface > hc)
 
void UpdateArguments (ChannelArguments *args) override
 Alter the ChannelArguments used to create the gRPC server. More...
 
void UpdatePlugins (std::vector< std::unique_ptr< ServerBuilderPlugin >> *plugins) override
 
 ~HealthCheckServiceServerBuilderOption () override
 
- Public Member Functions inherited from grpc::ServerBuilderOption
virtual void UpdatePlugins (std::vector< std::unique_ptr< grpc::ServerBuilderPlugin >> *plugins)=0
 Alter the ServerBuilderPlugin map that will be added into ServerBuilder. More...
 
virtual ~ServerBuilderOption ()
 

Private Attributes

std::unique_ptr< HealthCheckServiceInterfacehc_
 

Detailed Description

Definition at line 30 of file grpcpp/ext/health_check_service_server_builder_option.h.

Constructor & Destructor Documentation

◆ HealthCheckServiceServerBuilderOption()

grpc::HealthCheckServiceServerBuilderOption::HealthCheckServiceServerBuilderOption ( std::unique_ptr< HealthCheckServiceInterface hc)
explicit

The ownership of hc will be taken and transferred to the grpc server. To explicitly disable default service, pass in a nullptr.

Definition at line 30 of file health_check_service_server_builder_option.cc.

◆ ~HealthCheckServiceServerBuilderOption()

grpc::HealthCheckServiceServerBuilderOption::~HealthCheckServiceServerBuilderOption ( )
inlineoverride

Member Function Documentation

◆ UpdateArguments()

void grpc::HealthCheckServiceServerBuilderOption::UpdateArguments ( ChannelArguments args)
overridevirtual

Alter the ChannelArguments used to create the gRPC server.

Implements grpc::ServerBuilderOption.

Definition at line 34 of file health_check_service_server_builder_option.cc.

◆ UpdatePlugins()

void grpc::HealthCheckServiceServerBuilderOption::UpdatePlugins ( std::vector< std::unique_ptr< ServerBuilderPlugin >> *  plugins)
override

Member Data Documentation

◆ hc_

std::unique_ptr<HealthCheckServiceInterface> grpc::HealthCheckServiceServerBuilderOption::hc_
private

The documentation for this class was generated from the following files:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:31