-
Notifications
You must be signed in to change notification settings - Fork 40
/
neighbor_table.cpp
54 lines (41 loc) · 1.52 KB
/
neighbor_table.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
46
47
48
49
50
51
52
53
54
// Copyright (c) 2014 Arista Networks, Inc. All rights reserved.
// Arista Networks, Inc. Confidential and Proprietary.
#include "eos/neighbor_table.h"
#include "impl.h"
namespace eos {
class neighbor_table_mgr_impl : public neighbor_table_mgr {
public:
neighbor_table_mgr_impl() {
}
neighbor_table_iter_t neighbor_table_iter() const {
neighbor_table_iter_t * nop = 0;
return *nop;
}
neighbor_table_status_iter_t neighbor_table_status_iter() const {
neighbor_table_status_iter_t * nop = 0;
return *nop;
}
virtual neighbor_entry_t neighbor_entry_status(neighbor_key_t const & key) const {
return neighbor_entry_t();
}
virtual void neighbor_entry_set(neighbor_entry_t const & entry) {}
virtual void neighbor_entry_del(neighbor_key_t const & key) {}
virtual neighbor_entry_t neighbor_entry(
neighbor_key_t const & key) const {
return neighbor_entry_t();
}
};
DEFINE_STUB_MGR_CTOR(neighbor_table_mgr)
neighbor_table_handler::neighbor_table_handler(neighbor_table_mgr *mgr) :
base_handler(mgr) {
}
void neighbor_table_handler::watch_all_neighbor_entries(bool interest) {
}
void neighbor_table_handler::watch_neighbor_entry(neighbor_key_t const & key,
bool interest) {
}
void neighbor_table_handler::on_neighbor_entry_del(neighbor_key_t const & key) {
}
void neighbor_table_handler::on_neighbor_entry_set(neighbor_entry_t const & entry) {
}
} // end eos namespace