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

#include "peer.hpp"

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

Public Member Functions

template<typename PeerType >
 Peer (PeerType &&peer)
 
 Peer (const Peer &o)
 
 Peer (Peer &&o) noexcept
 
const interface::types::AddressTypeaddress () const override
 
const interface::types::PubkeyTypepubkey () const override
 
- Public Member Functions inherited from shared_model::proto::CopyableProto< interface::Peer, iroha::protocol::Peer, Peer >
 CopyableProto (ProtoLoader &&ref)
 
const iroha::protocol::Peer & getTransport () const
 
- 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
 
- Public Member Functions inherited from Cloneable< ModelPrimitive< Peer > >
virtual ~Cloneable ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::proto::CopyableProto< interface::Peer, iroha::protocol::Peer, Peer >
using TransportType = iroha::protocol::Peer
 
- Public Types inherited from shared_model::interface::ModelPrimitive< Peer >
using ModelType = Peer
 
- Public Types inherited from Cloneable< ModelPrimitive< Peer > >
using base_type = ModelPrimitive< Peer >
 
- Protected Member Functions inherited from shared_model::proto::CopyableProto< interface::Peer, iroha::protocol::Peer, Peer >
interface::Peer::ModelTypeclone () const overridefinal
 
- Protected Attributes inherited from shared_model::proto::CopyableProto< interface::Peer, iroha::protocol::Peer, Peer >
detail::ReferenceHolder< iroha::protocol::Peer > proto_
 

Constructor & Destructor Documentation

template<typename PeerType >
shared_model::proto::Peer::Peer ( PeerType &&  peer)
inlineexplicit
shared_model::proto::Peer::Peer ( const Peer o)
inline
shared_model::proto::Peer::Peer ( Peer &&  o)
inlinenoexcept

Member Function Documentation

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

Implements shared_model::interface::Peer.

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

Implements shared_model::interface::Peer.

Here is the call graph for this function:


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