shockjiang | e9c1ab9 | 2014-07-21 12:02:52 -0700 | [diff] [blame^] | 1 | /* |
2 | * resolver.h | ||||
3 | * | ||||
4 | * Created on: 18 Jul, 2014 | ||||
5 | * Author: shock | ||||
6 | */ | ||||
7 | |||||
8 | #ifndef RESOLVER_H_ | ||||
9 | #define RESOLVER_H_ | ||||
10 | |||||
11 | #include <string> | ||||
12 | #include "rr.h" | ||||
13 | |||||
14 | |||||
15 | using namespace std; | ||||
16 | |||||
17 | namespace ndn { | ||||
18 | |||||
19 | class Resolver { | ||||
20 | public: | ||||
21 | Resolver(); | ||||
22 | virtual ~Resolver(); | ||||
23 | |||||
24 | |||||
25 | const RR iterativelyResolve(const string domain, const string name); | ||||
26 | const RR recusivelyResolve(const string domain, const string name); | ||||
27 | |||||
28 | }; | ||||
29 | |||||
30 | } /* namespace ndn */ | ||||
31 | |||||
32 | #endif /* RESOLVER_H_ */ |