net.named_data.jndn.impl
public static class PendingInterestTable.Entry extends Object
| Constructor and Description |
|---|
PendingInterestTable.Entry(long pendingInterestId,
Interest interest,
OnData onData,
OnTimeout onTimeout)
Create a new Entry with the given fields.
|
| Modifier and Type | Method and Description |
|---|---|
void |
callTimeout()
Call onTimeout_ (if defined).
|
Interest |
getInterest()
Get the interest given to the constructor (from Face.expressInterest).
|
boolean |
getIsRemoved()
Check if setIsRemoved() was called.
|
OnData |
getOnData()
Get the OnData callback given to the constructor.
|
long |
getPendingInterestId()
Get the pendingInterestId given to the constructor.
|
void |
setIsRemoved()
Set the isRemoved flag which is returned by getIsRemoved().
|
public final long getPendingInterestId()
public final Interest getInterest()
public final OnData getOnData()
public final void setIsRemoved()
public final boolean getIsRemoved()
public final void callTimeout()
Copyright © 2016. All rights reserved.