QVisu
Qt-based visualization for smart homes
|
#include <qvwebsocket.h>
Public Slots | |
void | open (QUrl) |
void | close () |
void | shutdown () |
void | sendTextMessage (QString) |
void | startLogging (QString) |
void | stopLogging () |
Signals | |
void | connected () |
void | disconnected () |
void | textMessageReceived (QString) |
Public Member Functions | |
QVWebsocket (QObject *parent=0) | |
Provides websocket functionality. The Qt5 websocket module seems to be incompatible with sh.py. This class is used by QVDriver and should not be accessed directly. Only text messages are supported.
|
slot |
Hard close of the websocket connection. shutdown() should be used instead.
|
signal |
Emitted when the websocket connection is established.
|
signal |
Emitted when the websocket connection is terminated.
|
slot |
Open a websocket URL. The URL must start with ws://
|
slot |
Send a text message to the other party
|
slot |
Send a termination message to the other party, requesting it to shut down the connection
|
signal |
Emitted when a text message was received.