public class FibEntry extends Object implements Decodable
Modifier and Type | Field and Description |
---|---|
static int |
TLV_FIB_ENTRY |
Constructor and Description |
---|
FibEntry() |
Modifier and Type | Method and Description |
---|---|
net.named_data.jndn.Name |
getName()
Get name
|
List<NextHopRecord> |
getRecords()
Get records
|
void |
setName(net.named_data.jndn.Name name)
Set name
|
void |
setRecords(List<NextHopRecord> records)
Set records
|
void |
wireDecode(ByteBuffer input)
Decode the input from its TLV format.
|
void |
wireDecode(net.named_data.jndn.encoding.tlv.TlvDecoder decoder)
Decode as part of an existing decode context.
|
net.named_data.jndn.util.Blob |
wireEncode()
Encode using a new TLV encoder.
|
void |
wireEncode(net.named_data.jndn.encoding.tlv.TlvEncoder encoder)
Encode as part of an existing encode context.
|
public static final int TLV_FIB_ENTRY
public final net.named_data.jndn.util.Blob wireEncode()
public final void wireEncode(net.named_data.jndn.encoding.tlv.TlvEncoder encoder)
encoder
- public final void wireDecode(ByteBuffer input) throws net.named_data.jndn.encoding.EncodingException
input
- The input buffer to decode. This reads from position() to
limit(), but does not change the position.net.named_data.jndn.encoding.EncodingException
- For invalid encoding.public final void wireDecode(net.named_data.jndn.encoding.tlv.TlvDecoder decoder) throws net.named_data.jndn.encoding.EncodingException
wireDecode
in interface Decodable
decoder
- net.named_data.jndn.encoding.EncodingException
public net.named_data.jndn.Name getName()
public void setName(net.named_data.jndn.Name name)
name
- public List<NextHopRecord> getRecords()
public void setRecords(List<NextHopRecord> records)
records
- Copyright © 2015. All rights reserved.