userver: ugrpc::server::MiddlewareComponentBase Class Reference
Loading...
Searching...
No Matches
ugrpc::server::MiddlewareComponentBase Class Referenceabstract

#include <userver/ugrpc/server/middlewares/base.hpp>

Detailed Description

Base class for middleware component.

Examples
samples/grpc_middleware_service/src/middlewares/server/component.hpp.

Definition at line 83 of file base.hpp.

+ Inheritance diagram for ugrpc::server::MiddlewareComponentBase:
+ Collaboration diagram for ugrpc::server::MiddlewareComponentBase:

Public Member Functions

virtual std::shared_ptr< MiddlewareBaseGetMiddleware ()=0
 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
 

Additional Inherited Members

- Static Public Member Functions inherited from components::LoggableComponentBase
static yaml_config::Schema GetStaticConfigSchema ()
 

Member Function Documentation

◆ GetMiddleware()

virtual std::shared_ptr< MiddlewareBase > ugrpc::server::MiddlewareComponentBase::GetMiddleware ( )
pure virtual

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