QMdnsEngine
0.1.0
Multicast DNS library for Qt applications
|
Provider for a single mDNS service More...
#include <qmdnsengine/provider.h>
Public Member Functions | |
Provider (AbstractServer *server, Hostname *hostname, QObject *parent=0) | |
Create a new service provider. | |
void | update (const Service &service) |
Update the service with the provided information. More... | |
This class provide a Service on the local network by responding to the appropriate DNS queries. A hostname is required for creating the SRV record.
The provider needs to be given a reference to the service through the update() method so that it can construct DNS records:
This method can also be used to update the provider's records.
void QMdnsEngine::Provider::update | ( | const Service & | service | ) |
service | updated service description |
This class will not respond to any DNS queries until the hostname is confirmed and this method is called.