ndn.cxx: Expressing interests and publishing data use event scheduling, instead of directly calling the callback

Also in this commit is extension, allowing expression of multiple
interests for the same name with different callbacks.  For example, if
user expresses two exactly the same interests, when data arrives or
interest times out, callbacks from the individual call will be invoked.

Another small change is that if interest is "collapsed" in ApiFace, it
is not further propagated to the NDN stack.
3 files changed
tree: f039632eb927f65b9d2d71619cc8dd5637a01f0b
  1. apps/
  2. bindings/
  3. docs/
  4. examples/
  5. helper/
  6. model/
  7. ndn.cxx/
  8. plugins/
  9. PyNDN/
  10. test/
  11. tools/
  12. utils/
  13. .gitignore
  14. AUTHORS
  15. LICENSE
  16. README.md
  17. VERSION
  18. wscript
README.md

To successfully compile ndnSIM, it is necessary to use a custom branch of NS-3.

This branch can be cloned from https://github.com/cawka/ns-3-dev-ndnSIM

    mkdir ndnSIM
    cd ndnSIM
    git clone git://github.com/cawka/ns-3-dev-ndnSIM.git ns-3
    git clone git://github.com/cawka/pybindgen.git pybindgen
    git clone git://github.com/NDN-Routing/ndnSIM.git ns-3/src/ndnSIM

For more information, including downloading and compilation instruction, please refer to documentation in doc/ or on http://ndnsim.net