KDECore
k3resolverstandardworkers.cpp
Go to the documentation of this file.
114 QStringList filelist = KGlobal::dirs()->findAllResources("config", QLatin1String("ipv6blacklist"));
699 // qDebug("QNoResolveWorker::addUnix(): adding Unix socket for %s", pathname.toLocal8Bit().data());
static const KIpAddress anyhostV6
the any host or undefined address in IPv6 (::)
Definition: k3socketaddress.h:401
virtual bool postprocess()
This function gets called during post processing for this class.
Definition: k3resolverstandardworkers.cpp:919
static void init()
Definition: k3resolverstandardworkers.cpp:97
bool resolveService()
Definition: k3resolverstandardworkers.cpp:626
Definition: k3resolver.h:338
bool enqueue(KResolver *other)
Enqueue the given resolver for post-processing.
Definition: k3resolverworkerbase.cpp:110
Definition: k3resolver.h:411
KNetwork::KResolver::ErrorCodes addUnix()
Definition: k3resolverstandardworkers.cpp:676
#define mask
Definition: k3resolver.h:406
void initStandardWorkers() KDE_NO_EXPORT
Definition: k3resolverstandardworkers.cpp:1038
KResolverResults results
Derived classes will put their resolved data in this list, or will leave it empty in case of error...
Definition: k3resolverworkerbase.h:128
Definition: k3resolver.h:370
void finished()
Call this function to indicate that processing has finished.
Definition: k3resolverworkerbase.cpp:100
bool resolveScopeId()
Definition: k3resolverstandardworkers.cpp:600
static void setError(QAbstractSocket *socket, QAbstractSocket::SocketError error, const QString &errorString)
Definition: ksocketfactory.cpp:44
static QStringList blacklist
Definition: k3resolverstandardworkers_p.h:52
virtual ~KStandardWorker()
Definition: k3resolverstandardworkers.cpp:555
Definition: k3resolver.h:401
int ipVersion() const
Returns the IP version of the address this object holds.
Definition: k3socketaddress.cpp:736
bool sanityCheck()
Definition: k3resolverstandardworkers.cpp:560
virtual bool preprocess()
This function gets called during pre processing for this class and you must override it...
Definition: k3resolverstandardworkers.cpp:169
int getaddrinfo(const char *name, const char *serv, const struct addrinfo *hint, struct addrinfo **result)
Definition: netsupp.cpp:784
static const KIpAddress anyhostV4
the any host or undefined address in IPv4 (0.0.0.0)
Definition: k3socketaddress.h:396
virtual bool run()
This is the function that should be overridden in derived classes.
Definition: k3resolverstandardworkers.cpp:180
bool resolveNumerically()
Definition: k3resolverstandardworkers.cpp:711
Definition: k3resolver.h:342
QByteArray m_encodedName
Definition: k3resolverstandardworkers_p.h:69
KInetSocketAddress & setScopeId(int scopeid)
Sets the scope id for this IPv6 object.
Definition: k3socketaddress.cpp:882
QString nodeName() const
This is the hostname to be looked for.
Definition: k3resolverworkerbase.cpp:50
static QList< QByteArray > protocolName(int protonum)
Resolves a protocol number to its names.
Definition: k3resolver.cpp:608
KInetSocketAddress & setHost(const KIpAddress &addr)
Sets the IP address to the given raw address.
Definition: k3socketaddress.cpp:773
Definition: k3resolver.h:405
QList< KNetwork::KResolverResults * > resultList
Definition: k3resolverstandardworkers_p.h:72
virtual bool run()
This is the function that should be overridden in derived classes.
Definition: k3resolverstandardworkers.cpp:861
Definition: k3resolver.h:404
static void loadBlacklist()
Definition: k3resolverstandardworkers.cpp:111
static QString domainToUnicode(const QByteArray &asciiDomain)
Does the inverse of domainToAscii() and return an Unicode domain name from the given ACE-encoded doma...
Definition: k3resolver.cpp:1032
quint16 length() const
Returns the length of this socket address structure.
Definition: k3socketaddress.cpp:473
Definition: k3resolver.h:369
Definition: k3resolver.h:402
int family() const
Retrieves the family associated with this socket address.
Definition: k3resolver.cpp:147
static int servicePort(const char *servname, const char *protoname)
Resolves a service name to its port number.
Definition: k3resolver.cpp:785
Definition: k3resolver.h:400
static bool isBlacklisted(const QString &)
Definition: k3resolverstandardworkers.cpp:146
QStringList findAllResources(const char *type, const QString &filter=QString(), SearchOptions options=NoSearchOptions) const
Tries to find all resources with the specified type.
Definition: kstandarddirs.cpp:900
static void registerNewWorker(KResolverWorkerFactoryBase *factory)
Wrapper call to register workers.
Definition: k3resolverworkerbase.cpp:148
Definition: netsupp.h:172
int error() const
Retrieves the error code associated with this resolution.
Definition: k3resolver.cpp:229
Definition: k3resolver.h:341
static QByteArray domainToAscii(const QString &unicodeDomain)
Returns the domain name in an ASCII Compatible Encoding form, suitable for DNS lookups.
Definition: k3resolver.cpp:1026
QByteArray protocolName() const
gets the protocol name, if applicable
Definition: k3resolverworkerbase.cpp:92
Definition: k3resolver.h:371
virtual bool preprocess()
This function gets called during pre processing for this class and you must override it...
Definition: k3resolverstandardworkers.cpp:813
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.