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

#include "proto_add_peer.hpp"

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

Public Member Functions

 AddPeer (iroha::protocol::Command &command)
 
const interface::Peerpeer () const override
 
- Public Member Functions inherited from shared_model::interface::AddPeer
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::NonCopyableModelPrimitive< AddPeer >
 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< AddPeer >
using ModelType = AddPeer
 

Constructor & Destructor Documentation

shared_model::proto::AddPeer::AddPeer ( iroha::protocol::Command &  command)
explicit

Member Function Documentation

const interface::Peer & shared_model::proto::AddPeer::peer ( ) const
overridevirtual

Return peer to be added by the command.

Returns
Peer

Implements shared_model::interface::AddPeer.


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