mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
refactoring
This commit is contained in:
@@ -23,34 +23,35 @@ class TCPClient : public QObject
|
||||
|
||||
public:
|
||||
explicit TCPClient(QObject *parent = 0);
|
||||
void Initialize(RecognizeSystem *recognize,ExternalExecuter *externalExecuter);
|
||||
void SetConnect(ServerSettings *serverSettings);
|
||||
void SendClientAutorization();
|
||||
void SendFile();
|
||||
void SendUnityConnect();
|
||||
void SetDisconnect();
|
||||
void initialize(RecognizeSystem *recognize,ExternalExecuter *externalExecuter);
|
||||
void setConnect(ServerSettings *serverSettings);
|
||||
void sendClientAutorization();
|
||||
void sendUnityConnect();
|
||||
|
||||
void sendDisable();
|
||||
void waitWrites();
|
||||
void WaitRead(int time);
|
||||
QTcpSocket* GetSocket();
|
||||
void waitRead(int time);
|
||||
QTcpSocket* getSocket();
|
||||
~TCPClient();
|
||||
|
||||
signals:
|
||||
void onSendDebugLog(QString message);
|
||||
void Recognize(QTcpSocket *socket);
|
||||
void ConnectionState(bool flag);
|
||||
QByteArray signalGetXmlAnswer(QString);
|
||||
void sigSendDebugLog(QString message);
|
||||
void sigRecognize(QTcpSocket *socket);
|
||||
void sigConnectionState(bool flag);
|
||||
QByteArray sigGetXmlAnswer(QString);
|
||||
|
||||
public slots:
|
||||
void MessageEntered(QString message);
|
||||
void slotMessageEntered(QString message);
|
||||
|
||||
private slots:
|
||||
void onReadyRead();
|
||||
void slotReadyRead();
|
||||
|
||||
private:
|
||||
QTcpSocket *socket;
|
||||
RecognizeSystem *recognizeSystem;
|
||||
ExternalExecuter * externalExecuter;
|
||||
|
||||
void sendFile();
|
||||
void setDisconnect();
|
||||
};
|
||||
|
||||
#endif // TCPCLIENT_H
|
||||
|
||||
Reference in New Issue
Block a user