mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
Ref T301, application contexts pings (by re-registering) identifiers again. By that it can be detected if the GUI is crashed
* ping timer in proxy * utility function in timestamp list * adjusted UI component displaying identifiers in core
This commit is contained in:
@@ -89,10 +89,15 @@ namespace BlackCore
|
||||
CContextApplicationProxy(const QString &serviceName, QDBusConnection &connection, CCoreFacadeConfig::ContextMode mode, CCoreFacade *runtime);
|
||||
|
||||
private:
|
||||
BlackMisc::CGenericDBusInterface *m_dBusInterface = nullptr;
|
||||
BlackMisc::CGenericDBusInterface *m_dBusInterface = nullptr; //!< interface
|
||||
BlackMisc::CIdentifierList m_proxyPingIdentifiers; //!< automatically ping the implementing side
|
||||
QTimer m_pingTimer;
|
||||
|
||||
//! Relay connection signals to local signals
|
||||
void relaySignals(const QString &serviceName, QDBusConnection &connection);
|
||||
|
||||
//! Ping/heartbeat identifiers
|
||||
void reRegisterApplications();
|
||||
};
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user