9#ifndef KDNSSDREMOTESERVICE_H
10#define KDNSSDREMOTESERVICE_H
12#include "servicebase.h"
18class RemoteServicePrivate;
43 typedef QExplicitlySharedDataPointer<RemoteService> Ptr;
55 RemoteService(
const QString &name,
const QString &type,
const QString &domain);
118 void virtual_hook(
int id,
void *data)
override;
121 friend class RemoteServicePrivate;
126Q_DECLARE_METATYPE(KDNSSD::RemoteService::Ptr)
Describes a service published over DNS-SD, typically on a remote machine.
Definition remoteservice.h:39
RemoteService(const QString &name, const QString &type, const QString &domain)
Creates an unresolved RemoteService representing the service with the given name, type and domain.
void resolveAsync()
Resolves the host name and port of service asynchronously.
bool isResolved() const
Whether the service has been successfully resolved.
void resolved(bool successful)
Emitted when resolving is complete.
bool resolve()
Resolves the host name and port of service synchronously.
Describes a service.
Definition servicebase.h:41