forked from aristanetworks/EosSdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aresolve.cpp
45 lines (31 loc) · 880 Bytes
/
aresolve.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// Copyright (c) 2014 Arista Networks, Inc. All rights reserved.
// Arista Networks, Inc. Confidential and Proprietary.
#include "eos/aresolve.h"
#include "impl.h"
namespace eos {
aresolve_handler::aresolve_handler(aresolve_mgr * mgr) :
base_handler<aresolve_mgr, aresolve_handler>(mgr) {
}
void aresolve_handler::watch_host(std::string const &, bool) {
}
void aresolve_handler::on_aresolve_host(aresolve_record_host const & record) {
}
class aresolve_mgr_impl : public aresolve_mgr {
public:
aresolve_mgr_impl() {
}
uint32_t aresolve_short_time() const {
return 1;
}
uint32_t aresolve_long_time() const {
return 300;
}
void aresolve_short_time_is(uint32_t time) {
}
void aresolve_long_time_is(uint32_t time) {
}
void on_aresolve_host(aresolve_record_host const &) {
}
};
DEFINE_STUB_MGR_CTOR(aresolve_mgr)
}