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

#include "peers_response.hpp"

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

Public Member Functions

virtual PeersForwardCollectionType peers () const =0
 
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::NonCopyableModelPrimitive< PeersResponse >
 NonCopyableModelPrimitive ()=default
 
 NonCopyableModelPrimitive (const NonCopyableModelPrimitive &)=delete
 
 NonCopyableModelPrimitive (NonCopyableModelPrimitive &&) noexcept=default
 
NonCopyableModelPrimitiveoperator= (const NonCopyableModelPrimitive &)=delete
 
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~NonCopyableModelPrimitive ()=default
 

Additional Inherited Members

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

Detailed Description

Provide response with peers in the network

Member Function Documentation

bool shared_model::interface::PeersResponse::operator== ( const ModelType rhs) const
overridevirtual

Implements shared_model::interface::NonCopyableModelPrimitive< PeersResponse >.

Here is the call graph for this function:

virtual PeersForwardCollectionType shared_model::interface::PeersResponse::peers ( ) const
pure virtual
Returns
a list of peers

Implemented in shared_model::proto::PeersResponse.

Here is the caller graph for this function:

std::string shared_model::interface::PeersResponse::toString ( ) const
overridevirtual

Make string representation of object for development

Returns
string with internal state of object

Reimplemented from shared_model::interface::NonCopyableModelPrimitive< PeersResponse >.

Here is the call graph for this function:


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