summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-06-17 08:13:17 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-06-17 08:13:17 (GMT)
commitd46097d2c30a0eafde1f1c9d98cb3b20896c4682 (patch)
treef0ceae2acae5812676b708caed23f023301e737a /Swiften/Network/CachingNameOnlyDomainNameResolver.h
parentc4b4eeee2433c3b16ed9390d1b7487c2c98aaee3 (diff)
downloadswift-contrib-d46097d2c30a0eafde1f1c9d98cb3b20896c4682.zip
swift-contrib-d46097d2c30a0eafde1f1c9d98cb3b20896c4682.tar.bz2
Remove unused functions from caching resolver.
Diffstat (limited to 'Swiften/Network/CachingNameOnlyDomainNameResolver.h')
-rw-r--r--Swiften/Network/CachingNameOnlyDomainNameResolver.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/Swiften/Network/CachingNameOnlyDomainNameResolver.h b/Swiften/Network/CachingNameOnlyDomainNameResolver.h
index d9e78e6..2919271 100644
--- a/Swiften/Network/CachingNameOnlyDomainNameResolver.h
+++ b/Swiften/Network/CachingNameOnlyDomainNameResolver.h
@@ -11,9 +11,12 @@
#include <Swiften/Network/DomainNameResolver.h>
#include <Swiften/Network/StaticDomainNameResolver.h>
-
+/*
+ * FIXME: Does not do any caching yet.
+ */
namespace Swift {
class EventLoop;
+
class CachingNameOnlyDomainNameResolver : public DomainNameResolver {
public:
CachingNameOnlyDomainNameResolver(DomainNameResolver* realResolver, EventLoop* eventLoop);
@@ -23,10 +26,6 @@ namespace Swift {
virtual DomainNameAddressQuery::ref createAddressQuery(const std::string& name);
private:
- void handleAddressQueryResult(const std::string hostname, const std::vector<HostAddress>& address, boost::optional<DomainNameResolveError> error);
-
- private:
DomainNameResolver* realResolver;
- boost::shared_ptr<StaticDomainNameResolver> staticResolver;
};
}