Feature #1784
closedNew Insert Protocol: Watching prefix
100%
Description
‘Watching Prefix’ is a new protocol for repo insertion. Under this protocol, repo will keep sending interest to request the data with same prefix but with different exclude selectors(updated every time). Repo will stop watching the prefix until a command interest tell it to stop, the total amount of sent interests reaches a specific number or time out.
Files
Updated by Weiqi Shi over 11 years ago
- File Watching Prefix.pdf Watching Prefix.pdf added
The attachment is the protocol design.
Updated by Alex Afanasyev over 11 years ago
- Blocks Feature #1791: ndnwatchfile: Tool to execute repo watch protocol added
Updated by Alex Afanasyev over 11 years ago
Few comments to change Watched Prefix Insertion Protocol
Split command verb into module and verb. This way we will be able to define commands in more consistent way:
- start as
/ucla/cs/repo/watch/start/... - check as
/ucla/cs/repo/watch/check/... - stop as
/ucla/cs/repo/watch/stop/...(stop definition is missing right now)
I would suggest the same change in repo protocol in general, but this can deferred to later.
You cannot use negative numbers anywhere in definitions. All our numbers are nonNegativeInteger. If needed, use 0 as indicator of infinity (though it should be handled properly).
Instead of "Formats" section, define RepoCommandParameters for each of the commands (start, check, stop).
Updated by Alex Afanasyev over 11 years ago
Why do you need WatchStatus parameter? If it is used just a flag, then it is not necessary. Name of the commands already defines what this command is for.
Updated by Weiqi Shi over 11 years ago
The redundant parameter component WatchStatus is removed and wiki has been updated.
Updated by Weiqi Shi about 11 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Updated by Junxiao Shi over 8 years ago
- Status changed from Resolved to Closed