Project

General

Profile

Actions

Bug #3452

closed

API in Interest to reset nonce

Added by Alex Afanasyev almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
02/01/2016
Due date:
02/29/2016
% Done:

100%

Estimated time:

Description

The deprecated/removed Interest.setNonce was the only way to reset nonce of the Interest. Either the setNonce method needs to be returned or (my preference and what we have in ndn-cxx) an explicit refreshNonce should be introduced:

  /** @brief Refresh nonce
   *
   *  It's guaranteed that new nonce value differs from the existing one.
   *
   *  If nonce is already set, it will be updated to a different random value.
   *  If nonce is not set, this method does nothing.
   */
  void
  refreshNonce();
Actions #1

Updated by Anonymous almost 9 years ago

  • Due date set to 02/29/2016
  • Assignee set to Anonymous
Actions #2

Updated by Anonymous over 8 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

Added Interest.refershNonce in jNDN.

Actions #3

Updated by Anonymous over 8 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 30 to 100

Added Interest.refershNonce in NDN-CPP, PyNDN and NDN-JS. Updated to API web page.

Actions

Also available in: Atom PDF