@FunctionalInterface public interface RouteAttributeDecoder<A extends RouteAttribute>
| Modifier and Type | Method and Description |
|---|---|
A |
decodeAttribute(int length,
int type,
byte[] value)
Decodes the a route attribute from the input buffer.
|
A decodeAttribute(int length, int type, byte[] value) throws org.onlab.packet.DeserializationException
length - length of the attributetype - type of the attributevalue - input bufferorg.onlab.packet.DeserializationException - if a route attribute could not be
decoded from the input buffer