[ndnSIM] Searching fib face
alexander.afanasyev at ucla.edu
Wed Apr 30 21:12:27 PDT 2014
If you're doing this processing within the forwarding strategy, then onInterest method has `inFace` parameter, which you can use directly to do what you want. Unless I'm misunderstanding something.
On Apr 29, 2014, at 7:54 AM, narjes aloulou <aloulounarjes at yahoo.fr> wrote:
> Hi Alex and All,
> My context:
> When a node receives an interest, it will send it to a specific node after changing it.
> So, how can i find the outgoing face towards this specific node.
> (I suppose that there is only one route towards this node by this prefix ("/SpecificNode"))
> I use this code in the method DoPropagateInterest in my forwarding strategy.
> Ptr<Node> node = this->GetObject<Node> ();
> Ptr<ndn::fib::Entry> fibEntryNode =node->GetObject<ndn::Fib> ()->Find (ndn::Name ("/SpecificNode"));
> My question:
> how i can find the outgoing face ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM