PySide6.QtCoap.QCoapResourceDiscoveryReply¶
- class QCoapResourceDiscoveryReply¶
The
QCoapResourceDiscoveryReply
class holds the data of a CoAP reply for a resource discovery request. More…Synopsis¶
Methods¶
def
resources()
Signals¶
def
discovered()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
This class is used for discovery requests. It emits the
discovered()
signal if and when resources are discovered. When using a multicast address for discovery, thediscovered()
signal will be emitted once for each response received.Note
A
QCoapResourceDiscoveryReply
is aQCoapReply
that stores also a list of QCoapResources.See also
- discovered(reply, resources)¶
- Parameters:
reply –
QCoapResourceDiscoveryReply
resources – .list of QCoapResource
This signal is emitted whenever a CoAP resource is discovered.
The
reply
parameter contains a pointer to the reply that has just been received, andresources
contains a list of resources that were discovered.See also
- resources()¶
- Return type:
.list of QCoapResource
Returns the list of resources.