|
kdsoap-ws-discovery-client
0.2
|
Periodically probe the network for WS-Discovery devices. More...
#include <wsdiscoveryprobejob.h>
Public Slots | |
| void | start () |
| void | stop () |
Signals | |
| void | matchReceived (const WSDiscoveryTargetService &matchedService) |
Public Member Functions | |
| WSDiscoveryProbeJob (WSDiscoveryClient *parent) | |
| QList< KDQName > | typeList () const |
| void | setTypeList (const QList< KDQName > &typeList) |
| void | addType (const KDQName &type) |
| QList< QUrl > | scopeList () const |
| void | setScopeList (const QList< QUrl > &scopeList) |
| void | addScope (const QUrl &scope) |
| int | interval () const |
| void | setInterval (int interval) |
Periodically probe the network for WS-Discovery devices.
You can set a filter for interested types and scopes, only devices that match the filter will be reported. After starting it will probe the network and report any matches.
|
explicit |
Creates a WSDiscoveryProbeJob
| parent | is both the QObject parent as the WSDiscoveryClient used for sending and receiving messages |
| void WSDiscoveryProbeJob::addScope | ( | const QUrl & | scope | ) |
| scope | Adds a scopes to the list to filter devices with |
| void WSDiscoveryProbeJob::addType | ( | const KDQName & | type | ) |
| type | Adds a type to the list to filter devices with |
| int WSDiscoveryProbeJob::interval | ( | ) | const |
|
signal |
Emitted when a match is received
| matchedService | The service as described in the match |
| QList<QUrl> WSDiscoveryProbeJob::scopeList | ( | ) | const |
| void WSDiscoveryProbeJob::setInterval | ( | int | interval | ) |
| interval | Sets the interval between probes |
| void WSDiscoveryProbeJob::setScopeList | ( | const QList< QUrl > & | scopeList | ) |
| scopeList | List of scopes to filter devices with |
| void WSDiscoveryProbeJob::setTypeList | ( | const QList< KDQName > & | typeList | ) |
| typeList | List of types to filter devices with |
|
slot |
Start sending periodic probes
|
slot |
Stop sending periodic probes
| QList<KDQName> WSDiscoveryProbeJob::typeList | ( | ) | const |
1.8.17