public final class NumericOneByteOperandParser extends AbstractNumericOperandParser<N>
| Modifier and Type | Field and Description |
|---|---|
static NumericOneByteOperandParser |
INSTANCE |
EQUALS_VALUE, GREATER_THAN_VALUE, LESS_THAN_VALUEAND_BIT, AND_BIT_VALUE, END_OF_LIST, END_OF_LIST_VALUE, LENGTH_SHIFT, OPERAND_LENGTH| Modifier and Type | Method and Description |
|---|---|
protected <T extends NumericOneByteValue> |
getValue(T item) |
<T extends NumericOneByteValue> |
serialize(List<T> list,
io.netty.buffer.ByteBuf nlriByteBuf)
Serializes Flowspec component type that has maximum of 1B sized value field and numeric operand.
|
<T extends N> |
toString(List<T> list) |
create, parse, serialize, toStringparseLengthpublic static final NumericOneByteOperandParser INSTANCE
public <T extends NumericOneByteValue> void serialize(List<T> list, io.netty.buffer.ByteBuf nlriByteBuf)
serialize in class AbstractNumericOperandParser<NumericOneByteValue>list - of operands to be serializednlriByteBuf - where the operands will be serializedprotected <T extends NumericOneByteValue> Short getValue(T item)
public final <T extends N> String toString(List<T> list)
toString in class AbstractNumericOperandParser<N>Copyright © 2019 OpenDaylight. All rights reserved.