Implementation of gRPC health checking protocol.
More...
#include <service_registry.h>
Implementation of gRPC health checking protocol.
Implements the standard gRPC health checking protocol as defined in: https://github.com/grpc/grpc/blob/master/doc/health-checking.md
Definition at line 578 of file service_registry.h.
◆ health_service() [1/3]
| kcenon::network::protocols::grpc::health_service::health_service |
( |
| ) |
|
◆ ~health_service()
| kcenon::network::protocols::grpc::health_service::~health_service |
( |
| ) |
|
|
overridedefault |
◆ health_service() [2/3]
| kcenon::network::protocols::grpc::health_service::health_service |
( |
const health_service & | | ) |
|
|
delete |
◆ health_service() [3/3]
| kcenon::network::protocols::grpc::health_service::health_service |
( |
health_service && | | ) |
|
|
defaultnoexcept |
◆ clear()
| auto kcenon::network::protocols::grpc::health_service::clear |
( |
| ) |
-> void |
◆ descriptor()
| auto kcenon::network::protocols::grpc::health_service::descriptor |
( |
| ) |
const -> const service_descriptor &override |
|
overridevirtual |
◆ get_status()
| auto kcenon::network::protocols::grpc::health_service::get_status |
( |
const std::string & | service_name | ) |
const -> health_status |
Get health status for a service.
- Parameters
-
- Returns
- Health status
Definition at line 878 of file service_registry.cpp.
880{
882}
auto get_status(const std::string &service_name) const -> health_status
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ set_status()
| auto kcenon::network::protocols::grpc::health_service::set_status |
( |
const std::string & | service_name, |
|
|
health_status | status ) -> void |
Set health status for a service.
- Parameters
-
| service_name | Service name (empty string for overall status) |
| status | Health status |
Definition at line 872 of file service_registry.cpp.
874{
876}
auto set_status(const std::string &service_name, health_status status) -> void
◆ impl_
| std::unique_ptr<impl> kcenon::network::protocols::grpc::health_service::impl_ |
|
private |
The documentation for this class was generated from the following files: