net.named_data.jndn
public class ForwardingEntry extends Object
| Constructor and Description |
|---|
ForwardingEntry() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAction() |
int |
getFaceId() |
ForwardingFlags |
getForwardingFlags() |
double |
getFreshnessPeriod() |
Name |
getPrefix() |
PublisherPublicKeyDigest |
getPublisherPublicKeyDigest() |
void |
setAction(String action) |
void |
setFaceId(int faceId) |
void |
setForwardingFlags(ForwardingFlags forwardingFlags) |
void |
setFreshnessPeriod(double freshnessPeriod) |
void |
setPrefix(Name prefix) |
void |
wireDecode(Blob input)
Decode the input using the default wire format
WireFormat.getDefaultWireFormat() and update this ForwardingEntry.
|
void |
wireDecode(Blob input,
WireFormat wireFormat)
Decode the input using a particular wire format and update this ForwardingEntry.
|
void |
wireDecode(ByteBuffer input)
Decode the input using the default wire format
WireFormat.getDefaultWireFormat() and update this ForwardingEntry.
|
void |
wireDecode(ByteBuffer input,
WireFormat wireFormat)
Decode the input using a particular wire format and update this ForwardingEntry.
|
Blob |
wireEncode()
Encode this ForwardingEntry for the default wire format
WireFormat.getDefaultWireFormat().
|
Blob |
wireEncode(WireFormat wireFormat)
Encode this ForwardingEntry for a particular wire format.
|
public final String getAction()
public final Name getPrefix()
public final PublisherPublicKeyDigest getPublisherPublicKeyDigest()
public final int getFaceId()
public final ForwardingFlags getForwardingFlags()
public final double getFreshnessPeriod()
public final void setAction(String action)
public final void setPrefix(Name prefix)
public final void setFaceId(int faceId)
public final void setForwardingFlags(ForwardingFlags forwardingFlags)
public final void setFreshnessPeriod(double freshnessPeriod)
public final Blob wireEncode(WireFormat wireFormat)
wireFormat - A WireFormat object used to encode this ForwardingEntry.public final Blob wireEncode()
public final void wireDecode(ByteBuffer input, WireFormat wireFormat) throws EncodingException
input - The input buffer to decode. This reads from position() to
limit(), but does not change the position.wireFormat - A WireFormat object used to decode the input.EncodingException - For invalid encoding.public final void wireDecode(ByteBuffer input) throws EncodingException
input - The input buffer to decode. This reads from position() to
limit(), but does not change the position.EncodingException - For invalid encoding.public final void wireDecode(Blob input, WireFormat wireFormat) throws EncodingException
input - The input blob to decode.wireFormat - A WireFormat object used to decode the input.EncodingException - For invalid encoding.public final void wireDecode(Blob input) throws EncodingException
input - The input blob to decode.EncodingException - For invalid encoding.Copyright © 2015. All rights reserved.