UCLA-IRL / NAC-ABE

Attribute-based Access Control over Named Data Networking
GNU General Public License v3.0
14 stars 11 forks source link

setMustBeFresh in consumer #8

Closed dulalsaurab closed 2 years ago

dulalsaurab commented 2 years ago

While fetching the data consumer sets setMustBeFresh flag. If the data is stale or has a relatively smaller freshness period, consumers won't be able to fetch the data. Aditionally, in the current implementation, the freshness period (+interest flags) is internally set by the library, thus, the application doesn't control these interest and data flags to make the right adjustment as per the need.

tylerliu commented 2 years ago

For this, I wonder if it is better to make a Consumer::consume function with Interest as argument instead of data name as argument?