Project

General

Profile

Task #4839

Move setInfoInterestFilter and setLsaInterestFilter to their respective classes

Added by Ashlesh Gawande over 2 years ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
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.


Related issues

Related to NLSR - Task #1952: Decouple classes from Nlsr object for easier unit testingClosedAshlesh Gawande

Actions
#1

Updated by Ashlesh Gawande over 2 years ago

  • Related to Task #1952: Decouple classes from Nlsr object for easier unit testing added
#2

Updated by Saurab Dulal 9 months ago

  • Target version changed from v0.6.0 to Minor Release v0.6.1

Also available in: Atom PDF