|
Network System 0.1.1
High-performance modular networking library for scalable client-server applications
|
Base class for all gRPC service implementations. More...
#include <service_registry.h>


Public Member Functions | |
| virtual | ~service_base ()=default |
| virtual auto | descriptor () const -> const service_descriptor &=0 |
| Get the service descriptor. | |
| virtual auto | is_ready () const -> bool |
| Check if this service is ready to handle requests. | |
Base class for all gRPC service implementations.
This class provides the common interface for gRPC services, whether they are dynamically registered or generated by protoc.
Definition at line 162 of file service_registry.h.
|
virtualdefault |
|
pure virtual |
Get the service descriptor.
Implemented in kcenon::network::protocols::grpc::generic_service, and kcenon::network::protocols::grpc::health_service.
|
inlinevirtual |
Check if this service is ready to handle requests.
Definition at line 177 of file service_registry.h.