6 #ifndef IROHA_CLIENT_FACTORY_IMPL_HPP 7 #define IROHA_CLIENT_FACTORY_IMPL_HPP 18 template <
typename Service>
22 std::shared_ptr<const GenericClientFactory> generic_factory)
23 : generic_factory_(
std::move(generic_factory)) {}
28 return generic_factory_->createClient<Service>(peer);
32 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
Definition: client_factory_impl.hpp:27
Definition: result_fwd.hpp:27
Definition: block_query.hpp:15
Definition: client_factory_impl.hpp:19
ClientFactoryImpl(std::shared_ptr< const GenericClientFactory > generic_factory)
Definition: client_factory_impl.hpp:21
Definition: mst_transport_grpc.hpp:29