#include <client.h>
Signals | |
| void | closed () |
Public Member Functions | |
| Client (const QUrl &url, bool debug=false, QObject *parent=Q_NULLPTR) | |
| [constructor] | |
Private Slots | |
| void | onConnected () |
| [constructor] | |
| void | onTextMessageReceived (QString message) |
| [onConnected] | |
| void | sendMsg (const QString &key) |
Private Attributes | |
| double | i_ |
| bool | m_debug |
| QUrl | m_url |
| QWebSocket | m_webSocket |
| QTimer | timer2_ |
| QTimer | timer_ |
| QT_USE_NAMESPACE Client::Client | ( | const QUrl & | url, |
| bool | debug = false, |
||
| QObject * | parent = Q_NULLPTR |
||
| ) | [explicit] |
[constructor]
Definition at line 65 of file client.cpp.
| void Client::closed | ( | ) | [signal] |
| void Client::onConnected | ( | ) | [private, slot] |
| void Client::onTextMessageReceived | ( | QString | message | ) | [private, slot] |
| void Client::sendMsg | ( | const QString & | key | ) | [private, slot] |
Definition at line 101 of file client.cpp.
double Client::i_ [private] |
bool Client::m_debug [private] |
QUrl Client::m_url [private] |
QWebSocket Client::m_webSocket [private] |
QTimer Client::timer2_ [private] |
QTimer Client::timer_ [private] |