hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::ametsuchi::PeerQueryFactory Class Referenceabstract

#include "peer_query_factory.hpp"

Inheritance diagram for iroha::ametsuchi::PeerQueryFactory:
Inheritance graph
Collaboration diagram for iroha::ametsuchi::PeerQueryFactory:
Collaboration graph

Public Member Functions

virtual boost::optional< std::shared_ptr< PeerQuery > > createPeerQuery () const =0
 
virtual ~PeerQueryFactory ()=default
 

Constructor & Destructor Documentation

virtual iroha::ametsuchi::PeerQueryFactory::~PeerQueryFactory ( )
virtualdefault

Member Function Documentation

virtual boost::optional<std::shared_ptr<PeerQuery> > iroha::ametsuchi::PeerQueryFactory::createPeerQuery ( ) const
pure virtual

Creates a peer query from the current state.

Returns
Created peer query

Implemented in iroha::ametsuchi::StorageImpl.


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