QRemoteObjectRegistry Class▲
-
Header: QRemoteObjectRegistry
-
qmake: QT += remoteobjects
-
Inherits: QRemoteObjectReplica
Detailed Description▲
The Registry is a special Source/Replica pair held by a node itself. It knows about all other Sources available on the network, and simplifies the process of connecting to other nodes.
Property Documentation▲
[read-only] sourceLocations : const QRemoteObjectSourceLocations▲
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.
Access functions:
-
QRemoteObjectSourceLocations sourceLocations() const
Member Function Documentation▲
[override virtual] QRemoteObjectRegistry::~QRemoteObjectRegistry()▲
Destructor for QRemoteObjectRegistry.
void QRemoteObjectRegistry::remoteObjectAdded(const QRemoteObjectSourceLocation &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▲
See also remoteObjectRemoved()
void QRemoteObjectRegistry::remoteObjectRemoved(const QRemoteObjectSourceLocation &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▲
See also remoteObjectAdded()
QRemoteObjectSourceLocations QRemoteObjectRegistry::sourceLocations() const▲
Returns a QRemoteObjectSourceLocations object, which includes the name and additional information of all sources known to the registry.
Getter function for property sourceLocations.