1 #ifndef MODULEBASEAPPONB_H
2 #define MODULEBASEAPPONB_H
5 #include <QtWebSockets/QWebSocket>
6 #include "network/WebSocket/WebSocketClient.h"
7 #include "ModuleBaseONB.h"
8 #include "tronostools_global.h"
21 explicit ModuleBaseAppONB(QString in_id, QString host, QString port, QObject *parent =
nullptr);
26 virtual bool isActive()
override;
27 virtual bool work()
override;
40 WebSocketClient* m_pClientSocket =
nullptr;
48 virtual void sendPacket(
const ONBPacket &packet)
override;
50 virtual bool start()
override;
58 virtual void receiveData(
const QByteArray &data);
61 #endif // MODULEBASEAPPONB_H
The base class for XORDE module.
Definition: ModuleBaseONB.h:59
ONB module base for external modules.
Definition: ModuleBaseAppONB.h:12