32 #ifndef LEDGER_CORE_ETHEREUMLIKEWEBSOCKETNOTIFICATIONPARSER_H 33 #define LEDGER_CORE_ETHEREUMLIKEWEBSOCKETNOTIFICATIONPARSER_H 38 #include <rapidjson/reader.h> 40 #include <net/HttpClient.hpp> 41 #include <collections/collections.hpp> 42 #include "../EthereumLikeBlockchainExplorer.h" 43 #include "EthereumLikeBlockParser.hpp" 44 #include "EthereumLikeTransactionParser.hpp" 45 #include <wallet/common/explorers/api/AbstractWebSocketNotificationParser.h> 54 _blockParser(lastKey),
55 _transactionParser(lastKey) {
59 bool Key(
const rapidjson::Reader::Ch* str, rapidjson::SizeType length,
bool copy)
override {
60 _lastKey = std::string(str, length);
70 return _transactionParser;
75 std::string &getLastKey()
override {
80 std::string& _lastKey;
88 #endif //LEDGER_CORE_ETHEREUMLIKEWEBSOCKETNOTIFICATIONPARSER_H Definition: EthereumLikeBlockchainExplorer.h:71
Definition: Account.cpp:8
Definition: AbstractWebSocketNotificationParser.h:46
Definition: EthereumLikeWebSocketNotificationParser.h:49
Definition: EthereumLikeBlockParser.hpp:37
Definition: EthereumLikeTransactionParser.hpp:45