DNSSD
DNSSD::Query Class Reference
This class provides way to search for specified service type in one domain. More...
#include <query.h>
Inheritance diagram for DNSSD::Query:
Signals | |
void | finished () |
void | serviceAdded (DNSSD::RemoteService::Ptr) |
void | serviceRemoved (DNSSD::RemoteService::Ptr) |
Public Member Functions | |
const QString & | domain () const |
bool | isFinished () const |
bool | isRunning () const |
Query (const QString &type, const QString &domain) | |
virtual void | startQuery () |
virtual | ~Query () |
Protected Member Functions | |
virtual void | customEvent (QCustomEvent *event) |
virtual void | virtual_hook (int, void *) |
Detailed Description
This class provides way to search for specified service type in one domain.Depending on domain name, either multicast or unicast DNS will be used.
Class that represents service query in one domain.
Definition at line 39 of file query.h.
Constructor & Destructor Documentation
Member Function Documentation
void DNSSD::Query::customEvent | ( | QCustomEvent * | event | ) | [protected, virtual] |
const QString & DNSSD::Query::domain | ( | ) | const |
void DNSSD::Query::finished | ( | ) | [signal] |
Emitted when all announced services has been reported.
bool DNSSD::Query::isFinished | ( | ) | const |
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()
bool DNSSD::Query::isRunning | ( | ) | const |
void DNSSD::Query::serviceAdded | ( | DNSSD::RemoteService::Ptr | ) | [signal] |
Emitted when new service has been discovered.
void DNSSD::Query::serviceRemoved | ( | DNSSD::RemoteService::Ptr | ) | [signal] |
Emitted when previously discovered service is not longer published.
void DNSSD::Query::startQuery | ( | ) | [virtual] |
void DNSSD::Query::virtual_hook | ( | int | , | |
void * | ||||
) | [protected, virtual] |
The documentation for this class was generated from the following files: