62 std::shared_ptr<transport::IBackend> backend)
override {
68 config_.add_uri(std::move(uri));
72 [[nodiscard]] std::shared_ptr<clients::impl::IClientImpl>
build()
override {
73 const auto connector = std::make_shared<ClientConnector>(
executor_,
76 const auto call_list = std::make_shared<CallList>(
79 auto client = std::make_shared<ClientImpl>(
88 std::shared_ptr<executors::IAsyncExecutor>
executor_;
Definition of BackendList class.
Definition of CallList class.
Class of URIs (Uniform Resource Identifiers) to specify endpoints in this library.
ClientBuilderImpl(std::shared_ptr< executors::IAsyncExecutor > executor, std::shared_ptr< logging::Logger > logger, config::ClientConfig config, transport::BackendList backends)
Constructor.
std::shared_ptr< logging::Logger > logger_
Logger.
transport::BackendList backends_
Backends.
void connect_to(addresses::URI uri) override
Add a URI to connect to.
std::shared_ptr< executors::IAsyncExecutor > executor_
Executor.
config::ClientConfig config_
Configuration.
void register_protocol(std::shared_ptr< transport::IBackend > backend) override
Register a protocol.
std::shared_ptr< clients::impl::IClientImpl > build() override
Build a client.
Class of configuration of clients.
Class of lists of backends of protocols.
Definition of ClientConfig class.
Definition of ClientConnector class.
Definition of ClientImpl class.
Definition of IAsyncExecutor class.
Definition of IBackend class.
Definition of IClientBuilderImpl class.
Definition of IClientImpl class.
Definition of Logger class.
Namespace of internal implementations.
Namespace of configurations.