add KeepAlive, Status and Buffered Reads
This commit is contained in:
parent
529a4a8be9
commit
95db23458f
6 changed files with 106 additions and 36 deletions
|
|
@ -45,6 +45,7 @@ public:
|
|||
public slots:
|
||||
void writeOutput(const QByteArray &output);
|
||||
void registerToken(const QString &token);
|
||||
void statusUpdated(const bool status);
|
||||
|
||||
private slots:
|
||||
void wsMessageReceived(const QByteArray &message);
|
||||
|
|
@ -61,12 +62,14 @@ private:
|
|||
QVector<QString> tokens;
|
||||
ServerType type;
|
||||
QObject *server;
|
||||
bool status;
|
||||
|
||||
signals:
|
||||
void tokenRegistered(const QString &password);
|
||||
void inputWritten(const QByteArray &input);
|
||||
void killRequested();
|
||||
void startRequested();
|
||||
void stopRequested();
|
||||
void killRequested();
|
||||
};
|
||||
|
||||
#endif // SMSUBSERVER_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue