8#include <userver/components/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
37 ServiceComponentBase(
const components::ComponentConfig& config,
const components::ComponentContext& context);
50 ServerComponent& server_;
51 ServiceConfig config_;
52 std::atomic<
bool> registered_{
false};
57template <
typename ServiceInterface>
63 ServiceComponentBase(
const components::ComponentConfig& config,
const components::ComponentContext& context)
70 RegisterService(*
this);