Actions
Feature #5089
openFullSync: add support for piggybacking app data
Start date:
Due date:
% Done:
80%
Estimated time:
Description
Provides a new function to the application to publish a corresponding data for a given /user/seq. This means instead of the Sync Data containing just the updated /user/seq, it would contain /user/seq + App Data with name /user/seq or any arbitrary data the app may want to put there with this /user/seq. This saves the application from sending another interest with that name and getting the data separately. This change will modify the existing State encoding to include an optional ndn::Block of data.
Current State encoding:
State = tlv::PSyncContent TLV-LENGTH *Name
Proposed State encoding:
State = tlv::PSyncContent TLV-LENGTH *(Name [tlv::PSyncDataBlock])
Actions