GRPC C++  1.13.0-dev
Public Member Functions
grpc::HealthCheckServiceInterface Class Referenceabstract

The gRPC server uses this interface to expose the health checking service without depending on protobuf. More...

#include <health_check_service_interface.h>

Public Member Functions

virtual ~HealthCheckServiceInterface ()
 
virtual void SetServingStatus (const grpc::string &service_name, bool serving)=0
 Set or change the serving status of the given service_name. More...
 
virtual void SetServingStatus (bool serving)=0
 Apply to all registered service names. More...
 

Detailed Description

The gRPC server uses this interface to expose the health checking service without depending on protobuf.

Constructor & Destructor Documentation

◆ ~HealthCheckServiceInterface()

virtual grpc::HealthCheckServiceInterface::~HealthCheckServiceInterface ( )
inlinevirtual

Member Function Documentation

◆ SetServingStatus() [1/2]

virtual void grpc::HealthCheckServiceInterface::SetServingStatus ( const grpc::string service_name,
bool  serving 
)
pure virtual

Set or change the serving status of the given service_name.

◆ SetServingStatus() [2/2]

virtual void grpc::HealthCheckServiceInterface::SetServingStatus ( bool  serving)
pure virtual

Apply to all registered service names.


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