[ndnSIM] no member named 'GetNode' in 'nfd::Face'
Spyridon (Spyros) Mastorakis
spiros.mastorakis at gmail.com
Wed Mar 25 18:12:13 PDT 2015
Hello,
the most convenient way that I can think of right now is to define get/set methods in the forwarder script in order to get/set a ns3::Ptr to the node as a private variable. You will also need to modify a little bit the L3 Protocol class. I have done something like this here:
https://github.com/spirosmastorakis/ndnSIM-development/blob/master/model/ndn-l3-protocol.cc#L97
https://github.com/spirosmastorakis/ndnSIM-development/blob/master/NFD/daemon/fw/forwarder.cpp#L59
--
Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/
Internet Research Laboratory
PhD Computer Science
UCLA
> On Mar 25, 2015, at 5:58 PM, 최원준 <wonjunchoi001 at gmail.com> wrote:
>
> I am still digging about how to get the node id in forwarder class.
> If someone have some hint. please let me know.
> Thanks.
>
> Wonjun, Choi
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
More information about the ndnSIM
mailing list