fhq-server  v0.2.33
Documentation for fhq-server. FreeHackQuest is an open source platform for competitions of computer security.
notify_to_all_task.h
Go to the documentation of this file.
1 #ifndef NOTIFY_TO_ALL_TASK_H
2 #define NOTIFY_TO_ALL_TASK_H
3 
4 #include <QRunnable>
5 #include <json.hpp>
6 
7 class NotifyToAllTask : public QRunnable {
8 
9  void run();
10 
11  public:
12  NotifyToAllTask(const nlohmann::json &jsonMessage);
13  virtual ~NotifyToAllTask();
14  private:
15  std::string TAG;
16  nlohmann::json m_jsonMessage;
17 };
18 
19 #endif // NOTIFY_TO_ALL_TASK_H
20 
nlohmann::json m_jsonMessage
Definition: notify_to_all_task.h:16
virtual ~NotifyToAllTask()
Definition: notify_to_all_task.cpp:10
void run()
Definition: notify_to_all_task.cpp:14
NotifyToAllTask(const nlohmann::json &jsonMessage)
Definition: notify_to_all_task.cpp:5
Definition: notify_to_all_task.h:7
std::string TAG
Definition: notify_to_all_task.h:15