hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::proto::PeersResponse Class Referencefinal

#include "proto_peers_response.hpp"

Inheritance diagram for shared_model::proto::PeersResponse:
Inheritance graph
Collaboration diagram for shared_model::proto::PeersResponse:
Collaboration graph

Public Member Functions

 PeersResponse (iroha::protocol::QueryResponse &query_response)
 
interface::PeersForwardCollectionType peers () const override
 
- Public Member Functions inherited from shared_model::interface::PeersResponse
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< PeersResponse >
virtual bool operator== (const ModelType &rhs) const=0
 
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::interface::ModelPrimitive< PeersResponse >
using ModelType = PeersResponse
 

Constructor & Destructor Documentation

◆ PeersResponse()

shared_model::proto::PeersResponse::PeersResponse ( iroha::protocol::QueryResponse &  query_response)
explicit

Member Function Documentation

◆ peers()

interface::PeersForwardCollectionType shared_model::proto::PeersResponse::peers ( ) const
overridevirtual
Returns
a list of peers

Implements shared_model::interface::PeersResponse.


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