hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::network::ChannelFactoryTls Class Reference

#include "channel_factory_tls.hpp"

Inheritance diagram for iroha::network::ChannelFactoryTls:
Inheritance graph
Collaboration diagram for iroha::network::ChannelFactoryTls:
Collaboration graph

Public Member Functions

 ChannelFactoryTls (std::shared_ptr< const GrpcChannelParams > params, boost::optional< std::shared_ptr< const PeerTlsCertificatesProvider >> peer_cert_provider, boost::optional< std::shared_ptr< const TlsCredentials >> my_creds)
 
- Public Member Functions inherited from iroha::network::ChannelFactory
 ChannelFactory (std::shared_ptr< const GrpcChannelParams > params)
 
 ~ChannelFactory () override
 
iroha::expected::Result< std::shared_ptr< grpc::Channel >, std::string > getChannel (const std::string &service_full_name, const shared_model::interface::Peer &peer) override
 
- Public Member Functions inherited from iroha::network::ChannelProvider
virtual ~ChannelProvider ()=default
 

Protected Member Functions

iroha::expected::Result< std::shared_ptr< grpc::ChannelCredentials >, std::string > getChannelCredentials (const shared_model::interface::Peer &peer) const override
 

Constructor & Destructor Documentation

◆ ChannelFactoryTls()

ChannelFactoryTls::ChannelFactoryTls ( std::shared_ptr< const GrpcChannelParams params,
boost::optional< std::shared_ptr< const PeerTlsCertificatesProvider >>  peer_cert_provider,
boost::optional< std::shared_ptr< const TlsCredentials >>  my_creds 
)

Member Function Documentation

◆ getChannelCredentials()

Result< std::shared_ptr< grpc::ChannelCredentials >, std::string > ChannelFactoryTls::getChannelCredentials ( const shared_model::interface::Peer peer) const
overrideprotectedvirtual

Reimplemented from iroha::network::ChannelFactory.


The documentation for this class was generated from the following files: