hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_block_error_response.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_PROTO_BLOCK_ERROR_RESPONSE_HPP
7 #define IROHA_SHARED_MODEL_PROTO_BLOCK_ERROR_RESPONSE_HPP
8 
10 
11 #include "qry_responses.pb.h"
12 
13 namespace shared_model {
14  namespace proto {
16  public:
17  explicit BlockErrorResponse(
18  iroha::protocol::BlockQueryResponse &block_query_response);
19 
20  const interface::types::DescriptionType &message() const override;
21 
22  private:
23  const iroha::protocol::BlockErrorResponse &block_error_response;
24 
25  const interface::types::DescriptionType message_;
26  };
27  } // namespace proto
28 } // namespace shared_model
29 
30 #endif // IROHA_SHARED_MODEL_PROTO_BLOCK_ERROR_RESPONSE_HPP
const interface::types::DescriptionType & message() const override
Definition: proto_block_error_response.cpp:16
Definition: block_error_response.hpp:18
std::string DescriptionType
Type of the transfer message.
Definition: types.hpp:88
BlockErrorResponse(iroha::protocol::BlockQueryResponse &block_query_response)
Definition: proto_block_error_response.cpp:11
Definition: proto_block_error_response.hpp:15
Definition: command_executor.hpp:13