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

#include "client_factory.hpp"

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

Public Member Functions

virtual ~ClientFactory ()=default
 
virtual iroha::expected::Result< std::unique_ptr< typename Service::StubInterface >, std::string > createClient (const shared_model::interface::Peer &peer) const =0
 

Constructor & Destructor Documentation

◆ ~ClientFactory()

template<typename Service >
virtual iroha::network::ClientFactory< Service >::~ClientFactory ( )
virtualdefault

Member Function Documentation

◆ createClient()

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

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