#include "channel_provider.hpp"
◆ ~ChannelProvider()
| virtual iroha::network::ChannelProvider::~ChannelProvider |
( |
| ) |
|
|
virtualdefault |
◆ getChannel()
Get or create a grpc::Channel (from a pool of channels)
- Parameters
-
| service_full_name | the full name of grpc service, e.g. iroha.consensus.yac.proto.Yac |
| peer | the target peer |
- Returns
- std::shared_ptr<grpc::Channel> to that address
Implemented in iroha::network::ChannelFactory, and iroha::network::ChannelPool.
The documentation for this class was generated from the following file: