blob: 37cf2f6a5fdc467ff4f3fdc02f95e8640d9e1cd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#pragma once
#include <Swiften/Network/DomainNameResolver.h>
namespace Swift {
class EventLoop;
class TimerFactory;
class UnboundDomainNameResolver : public DomainNameResolver {
public:
UnboundDomainNameResolver(EventLoop* eventLoop, TimerFactory* timerFactory);
virtual ~UnboundDomainNameResolver();
virtual boost::shared_ptr<DomainNameServiceQuery> createServiceQuery(const std::string& name);
virtual boost::shared_ptr<DomainNameAddressQuery> createAddressQuery(const std::string& name);
private:
EventLoop* eventLoop;
TimerFactory* timerFactory;
};
}
|