QRemoteObjectRegistry#
A class holding information about Source objects available on the Qt Remote Objects network. More…
Synopsis#
Functions#
def
sourceLocations
()
Slots#
def
addSource
(entry)def
pushToRegistryIfNeeded
()def
removeSource
(entry)
Signals#
def
remoteObjectAdded
(entry)def
remoteObjectRemoved
(entry)
Static functions#
def
registerMetatypes
()
Detailed Description#
The Registry is a special Source/Replica pair held by a node
itself. It knows about all other Source s available on the network, and simplifies the process of connecting to other node
s.
- class PySide6.QtRemoteObjects.QRemoteObjectRegistry#
- PySide6.QtRemoteObjects.QRemoteObjectRegistry.addSource(entry)#
- Parameters
entry –
- PySide6.QtRemoteObjects.QRemoteObjectRegistry.pushToRegistryIfNeeded()#
- static PySide6.QtRemoteObjects.QRemoteObjectRegistry.registerMetatypes()#
- PySide6.QtRemoteObjects.QRemoteObjectRegistry.remoteObjectAdded(entry)#
- Parameters
entry –
This signal is emitted whenever a new source location is added to the registry.
entry
is a QRemoteObjectSourceLocation, a typedef for QPair< QString
, QUrl
>.
See also
- PySide6.QtRemoteObjects.QRemoteObjectRegistry.remoteObjectRemoved(entry)#
- Parameters
entry –
This signal is emitted whenever a Source location is removed from the Registry.
entry
is a QRemoteObjectSourceLocation, a typedef for QPair< QString
, QUrl
>.
See also
- PySide6.QtRemoteObjects.QRemoteObjectRegistry.removeSource(entry)#
- Parameters
entry –
- PySide6.QtRemoteObjects.QRemoteObjectRegistry.sourceLocations()#
- Return type
This property holds The set of sources known to the registry..
This property is a QRemoteObjectSourceLocations, which is a typedef for QHash
< QString
, QUrl
>. Each known Source is the QString
key, while the url for the host node is the corresponding value for that key in the hash.