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

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
Peer address, for fetching data

Implements shared_model::interface::Peer.

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

Implements shared_model::interface::Peer.

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