public abstract class AbstractEROPathKeySubobjectParser extends Object implements EROSubobjectParser, EROSubobjectSerializer
PathKey| Modifier and Type | Field and Description |
|---|---|
protected static int |
CONTENT_LENGTH |
protected static int |
CONTENT128_LENGTH |
protected static int |
PCE_ID_F_LENGTH |
protected static int |
PCE128_ID_F_LENGTH |
static int |
TYPE_128 |
static int |
TYPE_32 |
| Constructor and Description |
|---|
AbstractEROPathKeySubobjectParser() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
checkContentLenght(int i) |
Subobject |
parseSubobject(io.netty.buffer.ByteBuf buffer,
boolean loose) |
protected abstract byte[] |
readPceId(io.netty.buffer.ByteBuf buffer) |
void |
serializeSubobject(Subobject subobject,
io.netty.buffer.ByteBuf buffer) |
public static final int TYPE_32
public static final int TYPE_128
protected static final int PCE_ID_F_LENGTH
protected static final int PCE128_ID_F_LENGTH
protected static final int CONTENT128_LENGTH
protected static final int CONTENT_LENGTH
protected abstract byte[] readPceId(io.netty.buffer.ByteBuf buffer)
protected abstract void checkContentLenght(int i)
throws PCEPDeserializerException
PCEPDeserializerExceptionpublic final Subobject parseSubobject(io.netty.buffer.ByteBuf buffer, boolean loose) throws PCEPDeserializerException
parseSubobject in interface EROSubobjectParserPCEPDeserializerExceptionpublic final void serializeSubobject(Subobject subobject, io.netty.buffer.ByteBuf buffer)
serializeSubobject in interface EROSubobjectSerializerCopyright © 2019 OpenDaylight. All rights reserved.