Allows to handle UPnP discovery request in the network. More...
Header: | #include <UpnpDiscoveryReply> |
Inherits: | |
Inherited By: |
enum | UpnpDiscoveryReplyError { UpnpDiscoveryReplyErrorNoError, UpnpDiscoveryReplyErrorNotAvailable, UpnpDiscoveryReplyErrorNotEnabled, UpnpDiscoveryReplyErrorResourceBusy } |
UpnpDiscoveryReply(QObject * parent = nullptr) | |
virtual | ~UpnpDiscoveryReply() |
virtual QList<UpnpDeviceDescriptor> | deviceDescriptors() const = 0 |
virtual UpnpDiscoveryReplyError | error() const = 0 |
virtual bool | isFinished() const = 0 |
virtual QString | searchTarget() const = 0 |
virtual QString | userAgent() const = 0 |
void | errorOccurred(const UpnpDiscoveryReplyError & error) |
void | finished() |
Allows to handle UPnP discovery request in the network.
See also UpnpDevice and UpnpDiscovery.
Constant | Value | Description |
---|---|---|
UpnpDiscoveryReply::UpnpDiscoveryReplyErrorNoError | 0 | The reply finished successfully. |
UpnpDiscoveryReply::UpnpDiscoveryReplyErrorNotAvailable | 1 | The UpnpDiscovery HardwareResource is not available. |
UpnpDiscoveryReply::UpnpDiscoveryReplyErrorNotEnabled | 2 | The UpnpDiscovery HardwareResource is not enabled. |
UpnpDiscoveryReply::UpnpDiscoveryReplyErrorResourceBusy | 3 | The UpnpDiscovery HardwareResource is currently busy. |
Construct a new UpnpDiscoveryReply with the given parent.
[virtual]
UpnpDiscoveryReply::~UpnpDiscoveryReply()The virtual destructor of the UpnpDiscoveryReply.
[pure virtual]
QList<UpnpDeviceDescriptor> UpnpDiscoveryReply::deviceDescriptors() constReturns the list of found UpnpDeviceDescriptors. This list will be empty if an error occurred.
See also finished().
[pure virtual]
UpnpDiscoveryReplyError UpnpDiscoveryReply::error() constReturns the current error of this UpnpDiscoveryReply.
See also UpnpDiscoveryReplyError.
[signal]
void UpnpDiscoveryReply::errorOccurred(const UpnpDiscoveryReplyError & error)This signal will be emitted once an UpnpDiscoveryReply error occurred.
[signal]
void UpnpDiscoveryReply::finished()This signal will be emitted once the UpnpDiscoveryReply is finished.
[pure virtual]
bool UpnpDiscoveryReply::isFinished() constReturns true if this UpnpDiscoveryReply is finished.
See also UpnpDiscoveryReplyError.
[pure virtual]
QString UpnpDiscoveryReply::searchTarget() constReturns the search target which was used for this UpnpDiscovery request.
See also UpnpDiscovery::discoverDevices().
[pure virtual]
QString UpnpDiscoveryReply::userAgent() constReturns the user agent which was used for this UpnpDiscovery request.
See also UpnpDiscovery::discoverDevices().