|
| Node (const std::string &dataPrefix, int sessionNo, int sequenceNo) |
| Create a new DigestTree::Node with the given fields and compute the digest. More...
|
|
const std::string & | getDataPrefix () const |
|
int | getSessionNo () const |
|
int | getSequenceNo () const |
|
const std::string & | getDigest () const |
| Get the digest. More...
|
|
void | setSequenceNo (int sequenceNo) |
| Set the sequence number and recompute the digest. More...
|
|
ndn::DigestTree::Node::Node |
( |
const std::string & |
dataPrefix, |
|
|
int |
sessionNo, |
|
|
int |
sequenceNo |
|
) |
| |
|
inline |
Create a new DigestTree::Node with the given fields and compute the digest.
- Parameters
-
dataPrefix | The data prefix. |
sessionNo | The sequence number. |
sequenceNo | The session number. |
const std::string& ndn::DigestTree::Node::getDigest |
( |
| ) |
const |
|
inline |
Get the digest.
- Returns
- The digest as a hex string.
void ndn::DigestTree::Node::setSequenceNo |
( |
int |
sequenceNo | ) |
|
|
inline |
Set the sequence number and recompute the digest.
- Parameters
-
sequenceNo | The new sequence number. |
The documentation for this class was generated from the following files: