<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I am not sure I fully understand what your goal is… You want to know the expiration time of a “route”? A naive reason could be that you do not include the necessary header files..</div><div class=""><br class=""></div><div class="">Moreover, ndnSIM by default uses a routing helper to install routes directly to the FIB of each node through the FibHelper:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/master/helper/ndn-global-routing-helper.cpp#L273-L274" class="">https://github.com/named-data-ndnSIM/ndnSIM/blob/master/helper/ndn-global-routing-helper.cpp#L273-L274</a></div><div class=""><br class=""></div><div class="">You can use the git tag command to see the version of ndnSIM that you have downloaded.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""> <br class=""><div class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div><div class=""><br class=""></div></div></div></div><div><blockquote type="cite" class=""><div class="">On Jan 2, 2019, at 4:41 AM, gangliu <<a href="mailto:gangliu@bjtu.edu.cn" class="">gangliu@bjtu.edu.cn</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="caret-color: rgb(0, 0, 0); font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: 微软雅黑, Verdana, "Microsoft Yahei", SimSun, sans-serif; line-height: 1.6;" class=""><div class=""></div><div class=""><div class="">Hi, NDN friends. </div><div class="">  Recently, I have tried to get the expiration period of a router in ndnSIM 2.3, but I got some errors as the following lines show.</div><div class=""><br class=""></div><div class="">```</div><div class="">../src/ndnSIM/examples/ndn-kai.cpp: In member function ‘void ns3::print_pit::printStats()’:</div><div class="">../src/ndnSIM/examples/ndn-kai.cpp:60:60: error: ‘Route’ is not a member of ‘ndn::nfd’</div><div class="">   auto expired_time = Names::Find<Node>("CR-0")->GetObject<::ndn::nfd::Route>()->getExpirationPeriod();</div><div class=""> ```</div><div class=""><br class=""></div><div class="">I have checked the API docs at the ndnSIM 2.3 home page (<span style="line-height: 22.4px;" class=""><a href="http://ndnsim.net/2.3/doxygen/classndn_1_1nfd_1_1Route.html#a1032a5317eaa87513bf00d58d5e7cbb4" class="">http://ndnsim.net/2.3/doxygen/classndn_1_1nfd_1_1Route.html#a1032a5317eaa87513bf00d58d5e7cbb4</a></span><span style="line-height: 1.6;" class="">). It seems like that `Route` is a member of `ndn::nfd`. But why these errors happened? Anyone has some ideals or advises?  Thanks!!! </span></div><div class=""><br class=""></div><div class="">BTW, I have installed ndnSIM 2.3 a few months ago, but I checked the VERSION file and got a "2.0.0" string. Is there any other ways to check the ndnSIM version?</div><div class=""><br class=""></div><div class=""><span class=""><br class=""></span></div><div id="ntes-pcmac-signature" style="font-family: 微软雅黑;" class=""><div style="font-size: 14px; padding: 0px; margin: 0px; line-height: 14px;" class=""><div style="padding-bottom: 6px; margin-bottom: 10px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(230, 230, 230); display: inline-block;" class=""><a href="https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?ftlId=1&name=gangliu&uid=gangliu%40bjtu.edu.cn&iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&items=%5B%22gangliu%40bjtu.edu.cn%22%5D&logoUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyeicon%2Fac1ca696788d4420bfd06967ba461a89.png" style="display: block; background-color: rgb(255, 255, 255); max-width: 400px; padding: 15px 0px 10px; text-decoration: none; outline: none; background-position: initial initial; background-repeat: initial initial;" class=""><table cellpadding="0" style="width: 400px; max-width: 100%; table-layout: fixed; border-collapse: collapse; color: rgb(155, 158, 161); font-size: 14px; line-height: 1.3;" class=""><tbody style="word-wrap: break-word; word-break: break-all; font-family: "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", "Microsoft Yahei", 微软雅黑, verdana !important;" class=""><tr class="firstRow"><td width="38" style="padding: 0px; box-sizing: border-box; width: 38px; word-break: break-all;" class=""><img width="38" height="38" src="https://mail-online.nosdn.127.net/qiyelogo/defaultAvatar.png" style="vertical-align: middle; width: 38px; height: 38px; border-top-left-radius: 50%; border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%;" class=""></td><td style="padding: 0px 30px 0px 10px; color: rgb(49, 53, 59); word-break: break-all;" class=""><div style="font-size: 16px; font-weight: bold; width: 250px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" class="">gangliu</div></td><td width="72" style="text-align: right; width: 72px; word-break: break-all;" class=""><img width="72" height="20" src="https://mail-online.nosdn.127.net/qiyelogo/ac1ca696788d4420bfd06967ba461a89.png" style="width: 72px; height: 20px;" class=""></td></tr><tr width="100%" style="width: 400px; font-size: 14px !important;" class=""><td colspan="3" style="padding: 10px 0px 0px; width: 400px; word-break: break-all; font-size: 14px !important;" class=""><div style="width: 400px; word-wrap: break-word; word-break: break-all; font-size: 14px !important;" class="">gangliu@bjtu.edu.cn</div></td></tr></tbody></table></a></div></div><div style="font-size: 12px; color: rgb(181, 185, 189); line-height: 18px;" class=""><span class="">签名由</span><span class="Apple-converted-space"> </span><a href="https://mail.163.com/dashi/dlpro.html?from=mail81" style="text-decoration: none; color: rgb(65, 150, 255); padding: 0px 5px;" class="">网易邮箱大师</a><span class="Apple-converted-space"> </span><span class="">定制</span></div></div></div></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Ndn-interest mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="mailto:Ndn-interest@lists.cs.ucla.edu" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">Ndn-interest@lists.cs.ucla.edu</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a></div></blockquote></div><br class=""></div></div></body></html>