92 QString *transportError =
nullptr)
const;
Interface used by tray-facing code to query daemon state.
virtual DaemonStatusResult fetchStatus(int timeoutMs) const =0
Requests a typed daemon status snapshot.
virtual DaemonConfigResult fetchConfig(int timeoutMs) const =0
Requests a typed daemon config snapshot.
Concrete local-socket implementation of the daemon control session API.
DaemonStatusResult fetchStatus(int timeoutMs) const override
Requests a typed daemon status snapshot.
LocalDaemonControlSession(QString socketName=daemonControlSocketName())
Creates a session bound to a named local socket endpoint.
DaemonConfigResult fetchConfig(int timeoutMs) const override
Requests a typed daemon config snapshot.
Local daemon control protocol types and JSON serialization helpers.
QString daemonControlSocketName()
Returns the local server name used by the daemon control socket.
DaemonControlMethod
Supported operations on the local daemon control socket.
Typed daemon-control payloads used above the transport layer.
Result of a daemon config query.
bool success
Indicates whether the daemon query completed successfully.
DaemonConfigSnapshot snapshot
Parsed typed snapshot when success is true.
QString errorMessage
Human-readable failure reason when success is false.
Daemon-owned config snapshot for tray and CLI clients.
One line-delimited local control response.
Result of a daemon status query.
bool success
Indicates whether the daemon query completed successfully.
QString errorMessage
Human-readable failure reason when success is false.
DaemonStatusSnapshot snapshot
Parsed typed snapshot when success is true.
Daemon-owned runtime status snapshot for tray and CLI clients.