6 #ifndef IROHA_CHANNEL_POOL_HPP 7 #define IROHA_CHANNEL_POOL_HPP 20 explicit ChannelPool(std::unique_ptr<ChannelProvider> channel_provider);
25 getChannel(
const std::string &service_full_name,
30 std::unique_ptr<Impl> impl_;
iroha::expected::Result< std::shared_ptr< grpc::Channel >, std::string > getChannel(const std::string &service_full_name, const shared_model::interface::Peer &peer) override
Definition: channel_pool.cpp:53
Definition: channel_pool.hpp:14
Definition: result_fwd.hpp:27
Definition: block_query.hpp:15
ChannelPool(std::unique_ptr< ChannelProvider > channel_provider)
Definition: channel_pool.cpp:48
Definition: channel_pool.cpp:18
Definition: channel_provider.hpp:24