[ndnSIM] IsLocal() method was removed from Face ?

Junior DONGO dongojunior at hotmail.com
Fri Nov 4 06:43:56 PDT 2016


Hi,

It seems that  "model/ndn-app-face.hpp" has been changed for "model/ndn-app-link-service.hpp"

https://github.com/named-data-ndnSIM/ndnSIM/commit/c018a561d0f74f64cdfca01cccde0718f7dfb968#diff-b950357034ce4fca244e4f8d08ad9d9b


Yours,

Junior


On 11/03/2016 09:29 PM, Mahmoudi, Charif (IntlAssoc) wrote:
Thanks Junxiao !

On other question regarding is regarding the include of “model/ndn-app-face.hpp” . it is no more needed ?

I appreciate your help.
Charif

From: Junxiao Shi [mailto:shijunxiao at email.arizona.edu]
Sent: Thursday, November 03, 2016 1:53 PM
To: Mahmoudi, Charif (IntlAssoc) <charif.mahmoudi at nist.gov><mailto:charif.mahmoudi at nist.gov>; ndnsim at lists.cs.ucla.edu<mailto:ndnsim at lists.cs.ucla.edu>
Cc: Junior DONGO <dongojunior at hotmail.com><mailto:dongojunior at hotmail.com>; Fabrice MOURLIN <fabrice.mourlin at u-pec.fr><mailto:fabrice.mourlin at u-pec.fr>
Subject: RE: [ndnSIM] IsLocal() method was removed from Face ?

Hi Charif

You may use
face.getScope() == ndn::nfd::FACE_SCOPE_LOCAL

https://github.com/named-data-ndnSIM/NFD/blob/2df8f8176eaa306f5d8fa48c9903cb692c2dd031/daemon/face/face.hpp#L141

Yours, Junxiao
________________________________
From: Mahmoudi, Charif (IntlAssoc)<mailto:charif.mahmoudi at nist.gov>
Sent: ‎11/‎3/‎2016 8:54
To: ndnsim at lists.cs.ucla.edu<mailto:ndnsim at lists.cs.ucla.edu>
Cc: Junior DONGO<mailto:dongojunior at hotmail.com>; Fabrice MOURLIN<mailto:fabrice.mourlin at u-pec.fr>
Subject: [ndnSIM] IsLocal()  method was removed from Face ?
Hi,

I have an issue with my simulation after updating to the last NDN-sim code. It seems that the method isLocal() cannot be used on the Face no more.
Any thoughts that might help are welcome.

Thanks per advance for your help.
Charif

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20161104/153d5d70/attachment.html>


More information about the ndnSIM mailing list