Node QML Type
Qt Remote Objects 네트워크의 노드입니다. 더 보기...
Import Statement: | import QtRemoteObjects 6.8 |
In C++: | QRemoteObjectNode |
속성
- heartbeatInterval : int
- persistedStore : QRemoteObjectAbstractPersistedStore
- registryUrl : url
상세 설명
노드 유형은 Qt Remote Objects 네트워크에 대한 진입점을 제공합니다. 네트워크는 두 개의 노드처럼 단순할 수도 있고, 임의로 복잡한 프로세스 및 디바이스 집합일 수도 있습니다.
노드에는 다른 노드가 연결할 수 있는 URL이 없으므로 복제본만 획득할 수 있습니다. 소스 오브젝트를 공유할 수 없습니다.
속성 문서
heartbeatInterval : int |
하트비트 간격(ms).
하트비트(소켓 연결에만 유용)는 연결된 노드에 주기적으로 메시지를 보내 연결이 끊겼는지 여부를 감지합니다. Qt Remote Objects 연결이 끊어진 것을 감지하면 자동으로 재연결을 시도합니다. 이 기능은 클라이언트가 데이터를 보내려고 할 때만 서버를 사용할 수 없음을 감지하므로 이러한 감지에 도움이 될 수 있습니다.
0
(기본값)의 값은 하트비트를 비활성화합니다.
persistedStore : QRemoteObjectAbstractPersistedStore |
노드에 대해 QRemoteObjectAbstractPersistedStore 인스턴스 설정을 허용합니다.
PERSISTED 특성이 있는 복제본 PROP 멤버가 복제본이 삭제될 때 현재 값을 저장하고 다음에 복제본이 시작될 때 저장된 값을 복원할 수 있도록 허용합니다.
지속성이 처리되는 위치와 방법을 제어하려면 QRemoteObjectAbstractPersistedStore 클래스 구현이 필요합니다. 기본 QSettings 기반 구현은 SettingsStore 에서 제공합니다.
© 2025 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.