net.named_data.jndn.impl
public static class InterestFilterTable.Entry extends Object
Constructor and Description |
---|
InterestFilterTable.Entry(long interestFilterId,
InterestFilter filter,
OnInterestCallback onInterest,
Face face)
Create a new Entry with the given values.
|
Modifier and Type | Method and Description |
---|---|
Face |
getFace()
Get the Face given to the constructor.
|
InterestFilter |
getFilter()
Get the InterestFilter given to the constructor.
|
long |
getInterestFilterId()
Get the interestFilterId given to the constructor.
|
OnInterestCallback |
getOnInterest()
Get the OnInterestCallback given to the constructor.
|
public InterestFilterTable.Entry(long interestFilterId, InterestFilter filter, OnInterestCallback onInterest, Face face)
interestFilterId
- The ID from Node.getNextEntryId().filter
- The InterestFilter for this entry.onInterest
- The callback to call.face
- The face on which was called registerPrefix or
setInterestFilter which is passed to the onInterest callback.public final long getInterestFilterId()
public final InterestFilter getFilter()
public final OnInterestCallback getOnInterest()
public final Face getFace()
Copyright © 2016. All rights reserved.