#ifndef GRADIDO_LOGIN_SERVER_TASKS_SIGNING_TRANSACTION_INCLUDE #define GRADIDO_LOGIN_SERVER_TASKS_SIGNING_TRANSACTION_INCLUDE #include "CPUTask.h" #include "../lib/NotificationList.h" #include "../model/TransactionBase.h" #include "../model/User.h" #include "../controller/User.h" #include "../proto/gradido/GradidoTransaction.pb.h" #include "ProcessingTransaction.h" /* * @author: Dario Rekowski * * @date: 28.10.19 * @desc: Task for signing Transactions */ class SigningTransaction : public UniLib::controller::CPUTask, public NotificationList { public: SigningTransaction(Poco::AutoPtr processingeTransaction, Poco::AutoPtr newUser); virtual ~SigningTransaction(); int run(); const char* getResourceType() const { return "SigningTransaction"; }; protected: Poco::AutoPtr mProcessingeTransaction; Poco::AutoPtr mNewUser; private: std::string getUserEmail(); }; #endif //GRADIDO_LOGIN_SERVER_TASKS_SIGNING_TRANSACTION_INCLUDE