commit | e7bb6c8c08f4e154bf51546509b7f431418d6550 | [log] [tgz] |
---|---|---|
author | Junxiao Shi <git@mail1.yoursunny.com> | Mon Aug 08 23:16:35 2016 +0000 |
committer | Junxiao Shi <git@mail1.yoursunny.com> | Mon Aug 08 23:16:35 2016 +0000 |
tree | c25c6d30fc2fdb7957e1956085f0670f28d582a6 | |
parent | ae0b418784aa1b021797190d0e56abb95a386b3c [diff] |
face: perform wire format encoding in frontend class Face::put encodes Data and Nack into wire format before passing to Impl class, so that Face::put(const Data&) doesn't require the Data to be managed by a shared_ptr. For the common case of sending Data without other NDNLPv2 headers, this commit adds an optimization that the Data is not copied into an LpPacket, but directly encodes into wire format. refs #3678 Change-Id: I7ac7bb574a5cb3b07f6c62060809c94ff1cf3dee
ndn-cxx is a C++ library, implementing Named Data Networking (NDN) primitives that can be used to implement various NDN applications. The library is currently being used as part of the following projects:
See the file docs/INSTALL.rst
for build and install instructions.
Please submit any bugs or issues to the ndn-cxx issue tracker: http://redmine.named-data.net/projects/ndn-cxx/issues
Extensive documentation of the library is available on the library's homepage: http://www.named-data.net/doc/ndn-cxx/
ndn-cxx is an open source project licensed under LGPL 3.0 license. For more information about the license, refer to COPYING.md
.