new _Entry(registeredPrefixId, prefix, relatedInterestFilterId)
RegisteredPrefixTable._Entry holds a registeredPrefixId and information
necessary to remove the registration later. It optionally holds a related
interestFilterId if the InterestFilter was set in the same registerPrefix
operation.
Create a RegisteredPrefixTable.Entry with the given values.
Parameters:
Name | Type | Description |
---|---|---|
registeredPrefixId |
number | The ID from Node.getNextEntryId(). |
prefix |
Name | The name prefix. |
relatedInterestFilterId |
number | (optional) The related interestFilterId for the filter set in the same registerPrefix operation. If omitted, set to 0. |
- Source:
Methods
getPrefix() → {Name}
Get the name prefix given to the constructor.
- Source:
Returns:
The name prefix.
- Type
- Name
getRegisteredPrefixId() → {number}
Get the registeredPrefixId given to the constructor.
- Source:
Returns:
The registeredPrefixId.
- Type
- number
getRelatedInterestFilterId() → {number}
Get the related interestFilterId given to the constructor.
- Source:
Returns:
The related interestFilterId.
- Type
- number