Node QML Type
A node on a Qt Remote Objects network. More...
Import Statement: | import QtRemoteObjects 6.5 |
Instantiates: | QRemoteObjectNode |
Properties
- heartbeatInterval : int
- persistedStore : QRemoteObjectAbstractPersistedStore
- registryUrl : url
Detailed Description
The Node type provides an entry point to a Qt Remote Objects network. A network can be as simple as two nodes, or an arbitrarily complex set of processes and devices.
A Node does not have a url that other nodes can connect to, and thus is able to acquire replicas only. It is not able to share source objects.
Property Documentation
heartbeatInterval : int |
Heartbeat interval in ms.
The heartbeat (only helpful for socket connections) will periodically send a message to connected nodes to detect whether the connection was disrupted. Qt Remote Objects will try to reconnect automatically if it detects a dropped connection. This function can help with that detection since the client will only detect that the server is unavailable when it tries to send data.
A value of 0
(the default) will disable the heartbeat.
persistedStore : QRemoteObjectAbstractPersistedStore |
Allows setting a QRemoteObjectAbstractPersistedStore instance for the node.
Allows replica PROP members with the PERSISTED trait to save their current value when the replica is deleted and restore a stored value the next time the replica is started.
Requires a QRemoteObjectAbstractPersistedStore class implementation to control where and how persistence is handled. A default QSettings-based implementation is provided by SettingsStore.
registryUrl : url |
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.