hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::network::ClientFactoryImpl< Service > Class Template Reference

#include "client_factory_impl.hpp"

Inheritance diagram for iroha::network::ClientFactoryImpl< Service >:
Inheritance graph
Collaboration diagram for iroha::network::ClientFactoryImpl< Service >:
Collaboration graph

Public Member Functions

 ClientFactoryImpl (std::shared_ptr< const GenericClientFactory > generic_factory)
 
iroha::expected::Result< std::unique_ptr< typename Service::StubInterface >, std::string > createClient (const shared_model::interface::Peer &peer) const override
 
- Public Member Functions inherited from iroha::network::ClientFactory< Service >
virtual ~ClientFactory ()=default
 

Constructor & Destructor Documentation

◆ ClientFactoryImpl()

template<typename Service >
iroha::network::ClientFactoryImpl< Service >::ClientFactoryImpl ( std::shared_ptr< const GenericClientFactory generic_factory)
inline

Member Function Documentation

◆ createClient()

template<typename Service >
iroha::expected::Result<std::unique_ptr<typename Service::StubInterface>, std::string> iroha::network::ClientFactoryImpl< Service >::createClient ( const shared_model::interface::Peer peer) const
inlineoverridevirtual

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