blob: eaae8485aea998521dfa0521dacff2dfdca8689e [file] [log] [blame]
akmhoquedfa4a5b2014-02-03 20:12:29 -06001#ifndef NLSR_SM_HPP
2#define NLSR_SM_HPP
3
4class SequencingManager
5{
6public:
7 SequencingManager()
8 : nameLsaSeq(0)
9 , adjLsaSeq(0)
10 , corLsaSeq(0)
11 {
12 }
13
14 SequencingManager(uint32_t nlsn, uint32_t alsn, uint32_t clsn)
15 {
16 nameLsaSeq=nlsn;
17 adjLsaSeq=alsn;
18 corLsaSeq=clsn;
19 }
20
21 uint32_t getNameLsaSeq()
22 {
23 return nameLsaSeq;
24 }
25
26 void setNameLsaSeq(uint32_t nlsn){
27 nameLsaSeq=nlsn;
28 }
29
30 uint32_t getAdjLsaSeq()
31 {
32 return adjLsaSeq;
33 }
34
35 void setAdjLsaSeq(uint32_t alsn){
36 adjLsaSeq=alsn;
37 }
38
39 uint32_t getCorLsaSeq()
40 {
41 return corLsaSeq;
42 }
43
44 void setCorLsaSeq(uint32_t clsn){
45 corLsaSeq=clsn;
46 }
47
48private:
49 uint32_t nameLsaSeq;
50 uint32_t adjLsaSeq;
51 uint32_t corLsaSeq;
52};
53
54#endif