6#include <userver/components/loggable_component_base.hpp>
8#include <userver/ugrpc/server/server.hpp>
10USERVER_NAMESPACE_BEGIN
15struct ServiceDefaults;
47 ServerComponent(
const components::ComponentConfig& config,
50 ~ServerComponent()
override;
57 ServiceConfig ParseServiceConfig(
const components::ComponentConfig& config,
64 void OnAllComponentsLoaded()
override;
66 void OnAllComponentsAreStopping()
override;
69 std::unique_ptr<impl::ServiceDefaults> service_defaults_;
75inline constexpr bool components::kHasValidate<ugrpc::server::ServerComponent> =