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

template<typename CommandType >
 AddPeer (CommandType &&command)
 
 AddPeer (const AddPeer &o)
 
 AddPeer (AddPeer &&o) noexcept
 
const interface::Peerpeer () const override
 
- Public Member Functions inherited from shared_model::proto::CopyableProto< interface::AddPeer, iroha::protocol::Command, AddPeer >
 CopyableProto (ProtoLoader &&ref)
 
const iroha::protocol::Command & getTransport () const
 
- 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::ModelPrimitive< AddPeer >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 
- Public Member Functions inherited from Cloneable< ModelPrimitive< AddPeer > >
virtual ~Cloneable ()=default
 

Additional Inherited Members

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

Constructor & Destructor Documentation

template<typename CommandType >
shared_model::proto::AddPeer::AddPeer ( CommandType &&  command)
explicit
shared_model::proto::AddPeer::AddPeer ( const AddPeer o)
shared_model::proto::AddPeer::AddPeer ( AddPeer &&  o)
noexcept

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: