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 
15 RemoteService::RemoteService(const QString &name, const QString &type, const QString &domain)
16  : ServiceBase(name, type, domain)
17 {
18 }
19 
20 RemoteService::~RemoteService()
21 {
22 }
23 
25 {
26  return false;
27 }
28 
30 {
31  emit resolved(false);
32 }
33 
34 bool RemoteService::isResolved() const
35 {
36  return false;
37 }
38 
39 void RemoteService::virtual_hook(int, void *)
40 {
41  // BASE::virtual_hook(int, void*);
42 }
43 
44 }
45 
46 #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...
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Aug 5 2020 22:38:35 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.