[ndnSIM] How to Distinguish ContentTypes and downcast to them

Muhammad Hosain Abdollahi Sabet mhasabet at gmail.com
Sun Oct 9 07:36:15 PDT 2016


​Hello everyone,

My application recieves a Data packet. How can I downcast it to its Type? I
mean, for example downcast a data packet to Key or Link or Nack based on
getContentType of the packet. I know it is more of a c++ question, but
again I haven't been able to do it yet in ndnSIM.

Thanks,
Sabet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20161009/2b142b94/attachment.html>


More information about the ndnSIM mailing list