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::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
 

Detailed Description

Provide response with peers in the network

Member Function Documentation

◆ operator==()

bool shared_model::interface::PeersResponse::operator== ( const ModelType rhs) const
override
Here is the call graph for this function:

◆ peers()

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:

◆ toString()

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

Make string developer representation of object

Returns
string with internal state of object

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

Here is the call graph for this function:

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