|
| static constexpr std::string_view | kName = "grpc-reflection-service" |
| |
|
| 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.
|
| |
◆ LoggableComponentBase
◆ MiddlewareFactory [1/2]
◆ MiddlewareFactory [2/2]
◆ ReflectionServiceComponent()
◆ OnAllComponentsAreStopping()
| void components::ComponentBase::OnAllComponentsAreStopping |
( |
| ) |
|
|
inlineoverridevirtualinherited |
◆ OnGracefulShutdown()
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.
- Parameters
-
| [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.
◆ OnLoadingCancelled()
| void components::ComponentBase::OnLoadingCancelled |
( |
| ) |
|
|
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.
◆ RegisterService()
| void ugrpc::server::ServiceComponentBase::RegisterService |
( |
ServiceBase & | service | ) |
|
|
protectedinherited |
Derived classes must store the actual service class in a field and call RegisterService with it
◆ kName
| std::string_view grpc_reflection::ReflectionServiceComponent::kName = "grpc-reflection-service" |
|
staticconstexpr |
The documentation for this class was generated from the following files: