|
kdsoap-ws-discovery-client
0.2
|
Aggrigates multiple updates from the same WSDiscoveryTargetService. More...
#include <wsdiscoveryserviceaggrigator.h>
Public Slots | |
| void | updateService (const WSDiscoveryTargetService &receivedService) |
Signals | |
| void | serviceUpdated (const QSharedPointer< WSDiscoveryTargetService > &updatedService) |
Public Member Functions | |
| WSDiscoveryServiceAggrigator (QObject *parent=nullptr) | |
| ~WSDiscoveryServiceAggrigator () | |
Aggrigates multiple updates from the same WSDiscoveryTargetService.
When receiving multiple probe and resolve matches of the same service, this class will aggrigate those into a single shared instance. This eases the administration needed by the application.
| WSDiscoveryServiceAggrigator::WSDiscoveryServiceAggrigator | ( | QObject * | parent = nullptr | ) |
Create a WSDiscoveryClient
| parent | The QObject parent |
| WSDiscoveryServiceAggrigator::~WSDiscoveryServiceAggrigator | ( | ) |
Destructor
|
signal |
Emitted when a service has new information. The service instance is reused, when a new update is received. Therefore you can compare the pointers when looking for updates of a previous received service.
| updatedService | A pointer to the updated service |
|
slot |
Provides a new service update.
| receivedService | The service with updated information |
1.8.17