8#include <userver/components/loggable_component_base.hpp> 
    9#include <userver/engine/task/task_processor_fwd.hpp> 
   11#include <userver/ugrpc/server/middlewares/fwd.hpp> 
   12#include <userver/ugrpc/server/service_base.hpp> 
   14USERVER_NAMESPACE_BEGIN
 
   36  ServiceComponentBase(
const components::ComponentConfig& config,
 
   47  ServerComponent& server_;
 
   48  ServiceConfig config_;
 
   49  std::atomic<
bool> registered_{
false};
 
   54template <
typename ServiceInterface>
 
   57                             public ServiceInterface {
 
   58  static_assert(std::is_base_of_v<
ServiceBase, ServiceInterface>);
 
   61  ServiceComponentBase(
const components::ComponentConfig& config,