Actions
Task #4839
openMove setInfoInterestFilter and setLsaInterestFilter to their respective classes
Start date:
Due date:
% Done:
0%
Estimated time:
Description
Currently setInfoInterestFilter and setLsaInterestFilter is set in Nlsr class with a callback to HelloProtocol and Lsdb respectively. These functions are then called in Nlsr::initialize. Since #1952 has been implemented we don't have to wait till Nlsr::initialize being called for confParameter to be initialized with routerName. So we should move these functions to their respective classes' constructors. One problem will be that m_signingInfo used to set the interest filter on face is still initialized in Nlsr::initialize via initializeKey. In that case we should either move Nlsr::initializeKey in its own class and construct it in Nlsr before constructing HelloProtocol and Lsdb or use defaultSigningInfo instead.
Updated by Ashlesh Gawande over 5 years ago
- Related to Task #1952: Decouple classes from Nlsr object for easier unit testing added
Updated by Saurab Dulal almost 4 years ago
- Target version changed from v0.6.0 to Minor Release v0.6.1
Actions