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 : public CopyableProto<interface::GetPeers,
16  iroha::protocol::Query,
17  GetPeers> {
18  public:
19  template <typename QueryType>
20  explicit GetPeers(QueryType &&query);
21 
22  GetPeers(const GetPeers &o);
23 
24  GetPeers(GetPeers &&o) noexcept;
25  };
26 
27  } // namespace proto
28 } // namespace shared_model
29 
30 #endif // IROHA_PROTO_GET_PEERS_HPP
Definition: proto_get_peers.hpp:15
GetPeers(QueryType &&query)
Definition: proto_get_peers.cpp:12
Definition: command_executor.hpp:12
Definition: trivial_proto.hpp:45