Definition at line 22 of file reflection_service_component.hpp.
Public Member Functions | |
| ReflectionServiceComponent (const components::ComponentConfig &config, const components::ComponentContext &context) | |
| void | OnLoadingCancelled () override |
| void | OnGracefulShutdown (engine::Deadline serving_shutdown_deadline) override |
| void | OnAllComponentsAreStopping () override |
Static Public Member Functions | |
| static yaml_config::Schema | GetStaticConfigSchema () |
Static Public Attributes | |
| static constexpr std::string_view | kName = "grpc-reflection-service" |
Protected Types | |
| using | MiddlewareFactory |
| using | LoggableComponentBase = ComponentBase |
Protected Member Functions | |
| void | RegisterService (ServiceBase &service) |
| void | RegisterService (GenericServiceBase &service) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
|
protectedinherited |
Definition at line 79 of file component_base.hpp.
|
protectedinherited |
Definition at line 139 of file runner.hpp.
| grpc_reflection::ReflectionServiceComponent::ReflectionServiceComponent | ( | const components::ComponentConfig & | config, |
| const components::ComponentContext & | context ) |
Definition at line 13 of file reflection_service_component.cpp.
|
inlineoverridevirtualinherited |
Component may use this function to stop doing work before the stop of the components that depend on it.
Base components may override it and make final to do some work before the derived object constructor is called. Don't use it otherwise.
Reimplemented from components::RawComponentBase.
Reimplemented in components::Server, and urabbitmq::ConsumerComponentBase.
Definition at line 70 of file component_base.hpp.
|
overridevirtualinherited |
Serving components like HTTP and gRPC servers may use this function to stop accepting new requests and shutdown serving in the given time interval. Application components likely do not need to override it.
| [in] | serving_shutdown_deadline | The deadline until already running requests should be allowed to complete. The component is supposed to stop accepting new requests and continue processing of already active requests until this deadline (unless those requests finish earlier). And it might completely shutdown requests processing when the deadline is reached (or when no active requests left). |
Reimplemented from components::RawComponentBase.
Reimplemented in components::Server.
|
inlineoverridevirtualinherited |
Called once if the creation of any other component failed. If the current component expects some other component to take any action with the current component, this call is a signal that such action may never happen due to components loading was cancelled. Application components might not want to override it.
Reimplemented from components::RawComponentBase.
Definition at line 42 of file component_base.hpp.
|
protectedinherited |
Derived classes must store the actual service class in a field and call RegisterService with it
|
staticconstexpr |
Definition at line 24 of file reflection_service_component.hpp.