sgns::api::RpcThreadPool¶
thread pool for serve RPC calls
#include <rpc_thread_pool.hpp>
Inherits from std::enable_shared_from_this< RpcThreadPool >, IComponent
Public Classes¶
| Name | |
|---|---|
| struct | Configuration |
Public Types¶
| Name | |
|---|---|
| using RpcContext | Context |
Public Functions¶
| Name | |
|---|---|
| RpcThreadPool(std::shared_ptr< Context > context, const Configuration & configuration) | |
| ~RpcThreadPool() override =default | |
| void | start() starts pool |
| void | stop() stops pool |
| virtual std::string | GetName() override |
Additional inherited members¶
Public Functions inherited from IComponent
| Name | |
|---|---|
| virtual | ~IComponent() =default |
Public Types Documentation¶
using Context¶
Public Functions Documentation¶
function RpcThreadPool¶
function ~RpcThreadPool¶
function start¶
starts pool
function stop¶
stops pool
function GetName¶
Reimplements: IComponent::GetName
Updated on 2026-03-04 at 13:10:43 -0800