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

#include "peer.hpp"

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

Public Member Functions

virtual const interface::types::AddressTypeaddress () const =0
 
virtual const interface::types::PubkeyTypepubkey () const =0
 
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< Peer >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 

Additional Inherited Members

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

Detailed Description

Representation of a network participant.

Member Function Documentation

virtual const interface::types::AddressType& shared_model::interface::Peer::address ( ) const
pure virtual
Returns
Peer address, for fetching data

Implemented in shared_model::proto::Peer, and shared_model::plain::Peer.

Here is the caller graph for this function:

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

Implements shared_model::interface::ModelPrimitive< Peer >.

Here is the call graph for this function:

virtual const interface::types::PubkeyType& shared_model::interface::Peer::pubkey ( ) const
pure virtual
Returns
Public key, for fetching data

Implemented in shared_model::proto::Peer, and shared_model::plain::Peer.

Here is the caller graph for this function:

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

Make string developer representation of object

Returns
string with internal state of object

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

Here is the call graph for this function:


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