DNSSD::Query Class Reference
#include <query.h>
Inherits TQObject.
Signals | |
void | serviceAdded (DNSSD::RemoteService::Ptr) |
void | serviceRemoved (DNSSD::RemoteService::Ptr) |
void | finished () |
Public Member Functions | |
Query (const TQString &type, const TQString &domain) | |
virtual void | startQuery () |
bool | isRunning () const |
bool | isFinished () const |
const TQString & | domain () const |
Protected Member Functions | |
virtual void | virtual_hook (int, void *) |
virtual void | customEvent (TQCustomEvent *event) |
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.
Constructor & Destructor Documentation
◆ Query()
DNSSD::Query::Query | ( | const TQString & | type, |
const TQString & | domain | ||
) |
Member Function Documentation
◆ domain()
const TQString & DNSSD::Query::domain | ( | ) | const |
◆ finished
|
signal |
Emitted when all announced services has been reported.
◆ isFinished()
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()
◆ isRunning()
bool DNSSD::Query::isRunning | ( | ) | const |
◆ serviceAdded
|
signal |
Emitted when new service has been discovered.
◆ serviceRemoved
|
signal |
Emitted when previously discovered service is not longer published.
◆ startQuery()
|
virtual |
The documentation for this class was generated from the following files: