QRemoteObjectHost Class

A (Host) Node on a Qt Remote Objects network. More...

Header: #include <QRemoteObjectHost>
qmake: QT += remoteobjects
Instantiated By: Host
Inherits: QRemoteObjectHostBase

Properties

Reimplemented Public Functions

virtual QUrl hostUrl() const override
virtual bool setHostUrl(const QUrl &hostAddress, QRemoteObjectHostBase::AllowedSchemas allowedSchemas = BuiltInSchemasOnly) override

Signals

Detailed Description

The QRemoteObjectHost class provides an entry point to a QtRemoteObjects network. A network can be as simple as two nodes, or an arbitrarily complex set of processes and devices.

QRemoteObjectHosts have the same capabilities as QRemoteObjectNodes, but they can also be connected to and can share source objects on the network.

Nodes may connect to each other directly using connectToNode, or they can use the QRemoteObjectRegistry to simplify connections.

The QRemoteObjectRegistry is a special replica available to every node that connects to the uegistry Url. It knows how to connect to every QRemoteObjectSource object on the network.

See also QRemoteObjectNode and QRemoteObjectRegistryHost.

Property Documentation

hostUrl : QUrl

This property holds the host address for the node.

This is the address where source objects remoted by this node will reside.

Access functions:

virtual QUrl hostUrl() const override
virtual bool setHostUrl(const QUrl &hostAddress, QRemoteObjectHostBase::AllowedSchemas allowedSchemas = BuiltInSchemasOnly) override

Notifier signal:

void hostUrlChanged()