Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
/**
* Small test program to connect to the wls websocket
* $Id$
* $HeadURL$
* $Author$
* Created by Christian Ehrlicher, SLSE, 2017-01-10
*/
#pragma once
#include <QObject>
#include <QWebSocket>
class WlsJsonclientTest : public QObject
{
Q_OBJECT
public:
WlsJsonclientTest(const QString &hostname, unsigned short port);
protected Q_SLOTS:
void run();
void onConnected();
void onClosed();
void onTextMessageReceived(const QString &msg);
private:
QWebSocket *m_socket;
QString m_hostname;
unsigned short m_port;
};