21 #ifndef DNSSDREMOTESERVICE_H
22 #define DNSSDREMOTESERVICE_H
25 #include <dnssd/servicebase.h>
31 class RemoteServicePrivate;
46 typedef TDESharedPtr<RemoteService> Ptr;
58 RemoteService(
const TQString& name,
const TQString& type,
const TQString& domain);
85 bool isResolved()
const;
96 virtual void virtual_hook(
int id,
void *data);
97 virtual void customEvent(TQCustomEvent* event);
100 void resolved(
const char *host,
unsigned short port,
unsigned short txtlen,
101 const char* txtRecord);
102 RemoteServicePrivate *d;
104 friend TDEDNSSD_EXPORT TQDataStream & operator<< (TQDataStream & s,
const RemoteService & a);
105 friend TDEDNSSD_EXPORT TQDataStream & operator>> (TQDataStream & s,
RemoteService & a);
RemoteService class allows to resolve service announced on remote machine.
void resolved(bool)
Emitted when resolving is complete.
This class is used to carry information about service.