Class: InterestFilterEntry

Face. InterestFilterEntry

new InterestFilterEntry(interestFilterId, filter, onInterest)

An InterestFilterEntry holds an interestFilterId, an InterestFilter and the OnInterest callback with its related Face. Create a new InterestFilterEntry with the given values.
Parameters:
Name Type Description
interestFilterId number The ID from getNextEntryId().
filter InterestFilter The InterestFilter for this entry.
onInterest function The callback to call.
Source:

Methods

getFilter() → {InterestFilter}

Get the InterestFilter given to the constructor.
Source:
Returns:
The InterestFilter.
Type
InterestFilter

getInterestFilterId() → {number}

Get the interestFilterId given to the constructor.
Source:
Returns:
The interestFilterId.
Type
number

getOnInterest() → {function}

Get the onInterest callback given to the constructor.
Source:
Returns:
The onInterest callback.
Type
function