QRemoteObjectHost connected nodes
-
Hi,
is there a way to determine the number of connected clients of a QRemoteObjectHost object?QRemoteObjectHost host; host.setHostUrl(...); host.enableRemoting(...); ... // host.connectedNodes() ?Dunno if it's the right signal but maybe
- https://doc.qt.io/qt-6/qremoteobjectnode.html#remoteObjectAdded
- https://doc.qt.io/qt-6/qremoteobjectnode.html#remoteObjectRemoved
to keep track of the current connections yourself
-
Dunno if it's the right signal but maybe
- https://doc.qt.io/qt-6/qremoteobjectnode.html#remoteObjectAdded
- https://doc.qt.io/qt-6/qremoteobjectnode.html#remoteObjectRemoved
to keep track of the current connections yourself
@Pl45m4 said in QRemoteObjectHost connected nodes:
Dunno if it's the right signal but maybe
- https://doc.qt.io/qt-6/qremoteobjectnode.html#remoteObjectAdded
- https://doc.qt.io/qt-6/qremoteobjectnode.html#remoteObjectRemoved
to keep track of the current connections yourself
That's what I thought at first. But if I understand the documentation correctly, the signal is emitted on
enableRemoting(). TheQRemoteObjectSourceLocationargument also contains no information about a client, only thehostUrlandtypename.