commit | b790d9593208f36d269e7e2f35b27c86a9c479d0 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Fri Jan 24 12:07:53 2014 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Fri Jan 24 12:11:09 2014 -0800 |
tree | d62dc7f2ad45bffb845cce92d7300677873604be | |
parent | 8f24d0c49751b6e6e4ff345a574a192d97bdbaba [diff] |
face+node: Improving async operations Now expressInterest is executed strictly in io_service thread, which should guarantee absence of resource contention, provided that io_service has exactly one thread. Instead of numerical IDs for expressed Interests and registered prefixes, an opaque PendingInterestId and RegisteredPrefixId classed are used. These classes are basically reinterpret_cast pointers to the PendingInterest and RegisteredPrefix objects stored on the node. refs #1142 (http://redmine.named-data.net/issues/1142) Change-Id: I4b146ee34b98bfa6564935d5f2fe33056a402694
NDN-CPP is a new implementation of a Named Data Networking client library written in C++ and C.
It is wire format compatible with NDNx and PARC's CCNx.
NDN-CPP is open source under a license described in the file COPYING. While the license does not require it, we really would appreciate it if others would share their contributions to the library if they are willing to do so under the same license.
See the file INSTALL for build and install instructions.
Please submit any bugs or issues to the NDN-CPP issue tracker: http://redmine.named-data.net/projects/ndn-cpp/issues
The library currently requires a remote NDN daemon, and has been tested with ndnd, from the NDNx package: https://github.com/named-data/ndnx .
Currently, the library has two APIs for developers:
1. The C++ API which follows the NDN Common Client Library API also used by ndn-js (JavaScript) and PyNDN (Python). 2. A core C library implementing lower-level encoding and communication. Applications should normally use the C++ API, but core C code will also function on embedded devices and other environments which don't have C++ support.