37 m_lastNonce = interest.getNonce();
38 m_lastRenewed = time::steady_clock::now();
40 auto lifetime = interest.getInterestLifetime();
42 m_expiry = m_lastRenewed + lifetime;
void update(const Interest &interest)
updates lastNonce, lastRenewed, expiry fields
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
static const time::milliseconds MAX_LIFETIME