GRPC C++  1.66.0
Public Member Functions
grpc::HealthCheckServiceServerBuilderOption Class Reference

#include <health_check_service_server_builder_option.h>

Public Member Functions

 HealthCheckServiceServerBuilderOption (std::unique_ptr< HealthCheckServiceInterface > hc)
 The ownership of hc will be taken and transferred to the grpc server. More...
 
 ~HealthCheckServiceServerBuilderOption () override
 
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
 
- Public Member Functions inherited from grpc::ServerBuilderOption
virtual ~ServerBuilderOption ()
 
virtual void UpdatePlugins (std::vector< std::unique_ptr< grpc::ServerBuilderPlugin >> *plugins)=0
 Alter the ServerBuilderPlugin map that will be added into ServerBuilder. More...
 

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.

◆ ~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.

◆ UpdatePlugins()

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

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