Qt Remote objects done
This commit is contained in:
parent
048a673d31
commit
b2392c1943
15 changed files with 240 additions and 423 deletions
|
|
@ -23,30 +23,30 @@ public:
|
|||
explicit LocalServer(QObject* parent = nullptr);
|
||||
~LocalServer();
|
||||
|
||||
bool isRunning() const;
|
||||
// bool isRunning() const;
|
||||
|
||||
protected slots:
|
||||
void onDisconnected();
|
||||
void onNewConnection();
|
||||
// void onDisconnected();
|
||||
// void onNewConnection();
|
||||
|
||||
void onFinished(int exitCode, QProcess::ExitStatus exitStatus);
|
||||
void onStarted();
|
||||
// void onFinished(int exitCode, QProcess::ExitStatus exitStatus);
|
||||
// void onStarted();
|
||||
|
||||
private:
|
||||
void finishProcess(const QStringList& messageArgs);
|
||||
void sendMessage(const Message& message);
|
||||
void startProcess(const QStringList& messageArgs);
|
||||
// void finishProcess(const QStringList& messageArgs);
|
||||
// void sendMessage(const Message& message);
|
||||
// void startProcess(const QStringList& messageArgs);
|
||||
|
||||
void routesAddRequest(const QStringList& messageArgs);
|
||||
void routeDeleteRequest(const QStringList& messageArgs);
|
||||
// void routesAddRequest(const QStringList& messageArgs);
|
||||
// void routeDeleteRequest(const QStringList& messageArgs);
|
||||
|
||||
void checkAndInstallDriver(const QStringList& messageArgs);
|
||||
// void checkAndInstallDriver(const QStringList& messageArgs);
|
||||
|
||||
QSharedPointer<QLocalServer> m_server;
|
||||
QPointer <QLocalSocket> m_clientConnection;
|
||||
// QPointer <QLocalSocket> m_clientConnection;
|
||||
|
||||
QVector<QProcess*> m_processList;
|
||||
bool m_clientConnected;
|
||||
// QVector<QProcess*> m_processList;
|
||||
// bool m_clientConnected;
|
||||
|
||||
IpcServer m_ipcServer;
|
||||
QRemoteObjectHost m_serverNode;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue