DNSSD::Query Class Reference
This class provides way to search for specified service type in one domain.Class that represents service query in one domain. More...
#include <query.h>
Inheritance diagram for DNSSD::Query:


Signals | |
void | serviceAdded (DNSSD::RemoteService::Ptr) |
void | serviceRemoved (DNSSD::RemoteService::Ptr) |
void | finished () |
Public Member Functions | |
Query (const QString &type, const QString &domain) | |
virtual | ~Query () |
virtual void | startQuery () |
bool | isRunning () const |
bool | isFinished () const |
const QString & | domain () const |
Protected Member Functions | |
virtual void | virtual_hook (int, void *) |
virtual void | customEvent (QCustomEvent *event) |
Detailed Description
This class provides way to search for specified service type in one domain.Class that represents service query in one domain.Depending on domain name, either multicast or unicast DNS will be used.
- Author:
- Jakub Stachowski
Definition at line 39 of file query.h.
Constructor & Destructor Documentation
|
Creates new query.
Definition at line 49 of file query.cpp. References QObject::connect(). |
Member Function Documentation
|
Starts query. Ignored if query is already running Definition at line 76 of file query.cpp. References DNSSD::domainIsLocal(), DNSSD::domainToDNS(), and finished(). Referenced by DNSSD::ServiceBrowser::addDomain(), and DNSSD::DomainBrowser::startBrowse(). |
|
Returns TRUE if query is already running.
|
|
Returns TRUE if all currently announced services has been reported. It does not mean that no more services can be found later and it is not related to isRunning() |
|
Returns queried domain.
|
|
Emitted when new service has been discovered.
Referenced by customEvent(). |
|
Emitted when previously discovered service is not longer published.
Referenced by customEvent(). |
|
Emitted when all announced services has been reported.
Referenced by customEvent(), and startQuery(). |
The documentation for this class was generated from the following files: