#include <userver/ugrpc/client/middlewares/deadline_propagation/component.hpp>
Component for gRPC client deadline_propagation. Update deadline from TaskInheritedData if it exists and more strict than context deadline.
Definition at line 21 of file component.hpp.
Public Member Functions | |
Component (const components::ComponentConfig &config, const components::ComponentContext &context) | |
std::shared_ptr< const MiddlewareFactoryBase > | GetMiddlewareFactory () override |
Returns a middleware according to the component's settings. | |
Public Member Functions inherited from components::LoggableComponentBase | |
LoggableComponentBase (const ComponentConfig &, const ComponentContext &) | |
LoggableComponentBase (LoggableComponentBase &&)=delete | |
LoggableComponentBase (const LoggableComponentBase &)=delete | |
~LoggableComponentBase () override=default | |
ComponentHealth | GetComponentHealth () const override |
void | OnLoadingCancelled () override |
void | OnAllComponentsLoaded () override |
void | OnAllComponentsAreStopping () override |
Static Public Member Functions | |
static yaml_config::Schema | GetStaticConfigSchema () |
Static Public Member Functions inherited from components::LoggableComponentBase | |
static yaml_config::Schema | GetStaticConfigSchema () |
Static Public Attributes | |
static constexpr std::string_view | kName = "grpc-client-deadline-propagation" |
The default name of ugrpc::client::middlewares::deadline_propagation::Component. | |
|
overridevirtual |
Returns a middleware according to the component's settings.
Implements ugrpc::client::MiddlewareComponentBase.