34 std::shared_ptr<executors::IAsyncExecutor> executor,
35 std::shared_ptr<logging::Logger> logger) {
36 return std::make_unique<ServerBuilderImpl>(std::move(executor),
38 std::vector<addresses::URI>{});
43 const std::shared_ptr<logging::Logger>& logger) {
47 auto builder = std::make_unique<ServerBuilderImpl>(executor, logger,
50 server_config.
uris());
Definition of BackendList class.
Class of configurations of servers.
ExecutorConfig & executor() noexcept
Get the configuration of executors.
const std::vector< addresses::URI > & uris() const noexcept
Get the URIs of the server.
MessageParserConfig & message_parser() noexcept
Get the configuration of parsers of messages.
Class of lists of backends of protocols.
Definition of create_default_backend_list function.
Definition of IServerBuilderImpl class.
std::shared_ptr< IAsyncExecutor > create_executor(std::shared_ptr< logging::Logger > logger, const config::ExecutorConfig &config)
Create an executor.
Namespace of internal implementation.
std::unique_ptr< IServerBuilderImpl > create_empty_server_builder_impl(std::shared_ptr< executors::IAsyncExecutor > executor, std::shared_ptr< logging::Logger > logger)
Create an empty IServerBuilderImpl object.
std::unique_ptr< IServerBuilderImpl > create_default_builder_impl(const config::ServerConfig &server_config, const std::shared_ptr< logging::Logger > &logger)
Create an IServerBuilderImpl object with default protocols.
BackendList create_default_backend_list(const std::shared_ptr< executors::IExecutor > &executor, const config::MessageParserConfig &message_parser_config, const std::shared_ptr< logging::Logger > &logger)
Create a list of backends with default backends of protocols.
Definition of ServerBuilderImpl class.