1 // Copyright (c) 2017 The Zcash developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 #ifndef ZCASH_AMQP_AMQPNOTIFICATIONINTERFACE_H
6 #define ZCASH_AMQP_AMQPNOTIFICATIONINTERFACE_H
8 #include "validationinterface.h"
13 class AMQPAbstractNotifier;
15 class AMQPNotificationInterface : public CValidationInterface
18 virtual ~AMQPNotificationInterface();
20 static AMQPNotificationInterface* CreateWithArguments(const std::map<std::string, std::string> &args);
26 // CValidationInterface
27 void SyncTransaction(const CTransaction &tx, const CBlock *pblock);
28 void UpdatedBlockTip(const CBlockIndex *pindex);
31 AMQPNotificationInterface();
33 std::list<AMQPAbstractNotifier*> notifiers;
36 #endif // ZCASH_AMQP_AMQPNOTIFICATIONINTERFACE_H