Project

General

Profile

Actions

Task #4839

open

Move setInfoInterestFilter and setLsaInterestFilter to their respective classes

Added by Ashlesh Gawande almost 6 years ago. Updated almost 4 years 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Ashlesh Gawande almost 6 years ago

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

Updated by Saurab Dulal almost 4 years ago

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

Also available in: Atom PDF