Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
kcenon::network::protocols::grpc::grpc_service Class Referenceabstract

Base class for gRPC service implementations. More...

#include <server.h>

Collaboration diagram for kcenon::network::protocols::grpc::grpc_service:
Collaboration graph

Public Member Functions

virtual auto service_name () const -> std::string_view=0
 Get the full service name (e.g., "package.ServiceName")
 
virtual ~grpc_service ()=default
 

Detailed Description

Base class for gRPC service implementations.

Derive from this class to implement your gRPC service. Override the service_name() method and register handlers for your RPC methods.

Definition at line 235 of file server.h.

Constructor & Destructor Documentation

◆ ~grpc_service()

virtual kcenon::network::protocols::grpc::grpc_service::~grpc_service ( )
virtualdefault

Member Function Documentation

◆ service_name()

virtual auto kcenon::network::protocols::grpc::grpc_service::service_name ( ) const -> std::string_view
pure virtual

Get the full service name (e.g., "package.ServiceName")

Returns
Service name

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