48 std::shared_ptr<logging::Logger> logger);
51 [[nodiscard]] std::string_view
scheme()
const noexcept override;
Class of configuration of parsers of messages.
TCPBackend(const std::shared_ptr< executors::IExecutor > &executor, const config::MessageParserConfig &message_parser_config, std::shared_ptr< logging::Logger > logger)
Constructor.
config::MessageParserConfig message_parser_config_
Configuration of parsers of messages.
std::string_view scheme() const noexcept override
Get the scheme.
std::shared_ptr< logging::Logger > logger_
Logger.
std::shared_ptr< executors::IExecutor > executor() const
Get the executor.
std::shared_ptr< IAcceptorFactory > create_acceptor_factory() override
Create a factory to create acceptors.
std::weak_ptr< executors::IExecutor > executor_
Executor.
~TCPBackend() noexcept override
Destructor.
std::shared_ptr< IConnector > create_connector() override
Create a connector to connect to endpoints of acceptors.
Definition of IAcceptorFactory class.
Definition of IBackend class.
Definition of IConnector class.
Definition of IExecutor class.
Definition of Logger class.
Definition of MessageParserConfig class.
Namespace of configurations.
Namespace of executors to process asynchronous tasks.
Namespace of transport of messages via TCP.