hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_get_peers.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_PROTO_GET_PEERS_HPP
7 #define IROHA_PROTO_GET_PEERS_HPP
8 
11 #include "queries.pb.h"
12 
13 namespace shared_model {
14  namespace proto {
15  class GetPeers final
16  : public TrivialProto<interface::GetPeers, iroha::protocol::Query> {
17  public:
18  template <typename QueryType>
19  explicit GetPeers(QueryType &&query);
20 
21  GetPeers(const GetPeers &o);
22 
23  GetPeers(GetPeers &&o) noexcept;
24  };
25 
26  } // namespace proto
27 } // namespace shared_model
28 
29 #endif // IROHA_PROTO_GET_PEERS_HPP
Definition: proto_get_peers.hpp:15
GetPeers(QueryType &&query)
Definition: proto_get_peers.cpp:12
Definition: trivial_proto.hpp:19
Definition: command_executor.hpp:12