Qt Remote Objects 레지스트리
레지스트리는 이러한 연결을 설정하는 더 간단한 방법을 제공합니다. 레지스트리 네트워크의 일부가 되고자 하는 모든 노드는 레지스트리에 연결합니다. 레지스트리는 그 자체가 특수한 소스 객체이므로 노드에 의해 호스팅됩니다. 레지스트리에 연결하려면 QRemoteObjectNode 또는 QRemoteObjectHost 생성자에 레지스트리의 URL을 전달하거나 setRegistryUrl 메서드에 URL을 전달하기만 하면 됩니다.
레지스트리는 QtRO와 긴밀하게 통합되어 있습니다. 소스가 추가되거나 제거될 때마다 이름/URL이 레지스트리에서 자동으로 업데이트됩니다. 따라서 노드가 레지스트리에 연결되면 다른 노드에 수동으로 연결할 필요가 없습니다. 네트워크에서 개체를 요청했는데 호스팅 노드에 연결되어 있지 않은 경우 레지스트리에서 연결할 URL을 파악하여 연결을 시작합니다. 연결되면(그리고 원하는 소스를 포함하여 사용 가능한 오브젝트 목록이 함께 전달되면) 요청된 복제본에 대한 초기화 프로세스가 자동으로 시작됩니다.
© 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.