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

#include "peer.hpp"

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

Public Member Functions

 Peer (const interface::types::AddressType &address, const interface::types::PubkeyType &public_key)
 
const interface::types::AddressTypeaddress () const override
 
const interface::types::PubkeyTypepubkey () const override
 
- Public Member Functions inherited from shared_model::interface::Peer
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::NonCopyableModelPrimitive< Peer >
 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< Peer >
using ModelType = Peer
 

Constructor & Destructor Documentation

Peer::Peer ( const interface::types::AddressType address,
const interface::types::PubkeyType public_key 
)

Member Function Documentation

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

Implements shared_model::interface::Peer.

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

Implements shared_model::interface::Peer.


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