3 #include <QGraphicsScene>
11 explicit WebSocketView(QGraphicsScene* s, quint16 port, QObject* parent = Q_NULLPTR);
15 void closed() W_SIGNAL(closed);
18 void onNewConnection();
19 W_SLOT(onNewConnection);
20 void processTextMessage(QString message);
21 W_SLOT(processTextMessage);
22 void processBinaryMessage(QByteArray message);
23 W_SLOT(processBinaryMessage);
24 void socketDisconnected();
25 W_SLOT(socketDisconnected);
28 QWebSocketServer* m_pWebSocketServer;
29 QGraphicsScene* m_scene{};
30 QList<QWebSocket*> m_clients;
Definition: WebSocketView.hpp:8