17 void sendMessage(
const std::string& _message, std::string& _response);
29 void slotMessageReceived(
const QString& _message);
30 void slotSocketDisconnected();
31 void slotSslErrors(
const QList<QSslError>& _errors);
32 void slotProcessMessageQueue(
void);
35 void handleMessageReceived(
const QString& _message,
bool _isExternalMessage);
36 void processMessages(
void);
37 void sendExecuteOrQueueMessage(QString message);
38 bool ensureConnection(
void);
39 void queueMessageProcessingIfNeeded(
void);
40 bool anyWaitingForResponse(
void)
const;
42 QWebSocket m_webSocket;
45 std::map<std::string, bool> m_waitingForResponse;
46 bool m_currentlyProcessingQueuedMessage;
47 std::string m_responseText;
48 std::list<QString> m_commandQueue;
49 bool m_sessionIsClosing;