KDNSSD

dummy-remoteservice.cpp
1 /*
2  This file is part of the KDE project
3 
4  SPDX-FileCopyrightText: 2004, 2005 Jakub Stachowski <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.0-or-later
7 */
8 
9 #include "remoteservice.h"
10 #include <QDataStream>
11 
12 namespace KDNSSD
13 {
14 RemoteService::RemoteService(const QString &name, const QString &type, const QString &domain)
15  : ServiceBase(name, type, domain)
16 {
17 }
18 
19 RemoteService::~RemoteService()
20 {
21 }
22 
24 {
25  return false;
26 }
27 
29 {
30  Q_EMIT resolved(false);
31 }
32 
33 bool RemoteService::isResolved() const
34 {
35  return false;
36 }
37 
38 void RemoteService::virtual_hook(int, void *)
39 {
40  // BASE::virtual_hook(int, void*);
41 }
42 
43 }
44 
45 #include "moc_remoteservice.cpp"
bool resolve()
Resolves the host name and port of service synchronously.
void resolveAsync()
Resolves the host name and port of service asynchronously.
bool isResolved() const
Whether the service has been successfully resolved.
RemoteService(const QString &name, const QString &type, const QString &domain)
Creates an unresolved RemoteService representing the service with the given name, type and domain...
Q_EMITQ_EMIT
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Jun 24 2021 22:40:45 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.