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::ModelPrimitive< AddPeer >
virtual bool operator!= (const ModelType &rhs) const
virtual ~ModelPrimitive ()=default

Additional Inherited Members

- Public Types inherited from shared_model::interface::ModelPrimitive< AddPeer >
using ModelType = AddPeer

Constructor & Destructor Documentation

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

Member Function Documentation

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

Return peer to be added by the command.


Implements shared_model::interface::AddPeer.

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