QCoapResourceDiscoveryReply Class
The QCoapResourceDiscoveryReply class holds the data of a CoAP reply for a resource discovery request. More...
Header: | #include <QCoapResourceDiscoveryReply> |
qmake: | QT += coap |
Inherits: | QCoapReply |
Note: All functions in this class are reentrant.
Public Functions
QList<QCoapResource> | resources() const |
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, the discovered() signal will be emitted once for each response received.
Note: A QCoapResourceDiscoveryReply is a QCoapReply that stores also a list of QCoapResources.
See also QCoapClient, QCoapRequest, QCoapReply, and QCoapResource.
Member Function Documentation
QList<QCoapResource> QCoapResourceDiscoveryReply::resources() const
Returns the list of resources.