KDECore
k3resolverworkerbase.h
Go to the documentation of this file.
virtual ~KResolverWorkerBase()
Definition: k3resolverworkerbase.cpp:46
bool enqueue(KResolver *other)
Enqueue the given resolver for post-processing.
Definition: k3resolverworkerbase.cpp:110
virtual KResolverWorkerBase * create() const =0
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
void finished()
Call this function to indicate that processing has finished.
Definition: k3resolverworkerbase.cpp:100
Helper class for locking the resolver subsystem.
Definition: k3resolverworkerbase.h:74
Definition: k3resolver_p.h:90
virtual bool run()=0
This is the function that should be overridden in derived classes.
QString nodeName() const
This is the hostname to be looked for.
Definition: k3resolverworkerbase.cpp:50
Definition: k3resolverworkerbase.h:32
virtual KResolverWorkerBase * create() const
Definition: k3resolverworkerbase.h:317
virtual ~KResolverWorkerFactoryBase()
Definition: k3resolverworkerbase.h:294
void acquireResolver()
This function has to be called from the resolver workers that require use of the DNS resolver code (i...
Definition: k3resolverworkerbase.cpp:136
virtual bool postprocess()
This function gets called during post processing for this class.
Definition: k3resolverworkerbase.cpp:105
virtual bool preprocess()=0
This function gets called during pre processing for this class and you must override it...
static void registerNewWorker(KResolverWorkerFactoryBase *factory)
Wrapper call to register workers.
Definition: k3resolverworkerbase.cpp:148
void releaseResolver()
This function is the counterpart for acquireResolver() - the worker thread indicates that it's done w...
Definition: k3resolverworkerbase.cpp:142
KResolverWorkerBase()
Definition: k3resolverworkerbase.cpp:41
QByteArray protocolName() const
gets the protocol name, if applicable
Definition: k3resolverworkerbase.cpp:92
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.