Class AbstractEROPathKeySubobjectParser
- java.lang.Object
- 
- org.opendaylight.protocol.pcep.spi.AbstractEROPathKeySubobjectParser
 
- 
- All Implemented Interfaces:
- EROSubobjectParser,- EROSubobjectSerializer
 - Direct Known Subclasses:
- EROPathKey128SubobjectParser,- EROPathKey32SubobjectParser
 
 public abstract class AbstractEROPathKeySubobjectParser extends Object implements EROSubobjectParser, EROSubobjectSerializer Parser forPathKey.
- 
- 
Field SummaryFields Modifier and Type Field Description protected static intCONTENT_LENGTHprotected static intCONTENT128_LENGTHprotected static intPCE_ID_F_LENGTHprotected static intPCE128_ID_F_LENGTHstatic intTYPE_128static intTYPE_32
 - 
Constructor SummaryConstructors Constructor Description AbstractEROPathKeySubobjectParser()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidcheckContentLength(int length)SubobjectparseSubobject(io.netty.buffer.ByteBuf buffer, boolean loose)protected abstract byte[]readPceId(io.netty.buffer.ByteBuf buffer)voidserializeSubobject(Subobject subobject, io.netty.buffer.ByteBuf buffer)
 
- 
- 
- 
Field Detail- 
TYPE_32public static final int TYPE_32 - See Also:
- Constant Field Values
 
 - 
TYPE_128public static final int TYPE_128 - See Also:
- Constant Field Values
 
 - 
PCE_ID_F_LENGTHprotected static final int PCE_ID_F_LENGTH - See Also:
- Constant Field Values
 
 - 
PCE128_ID_F_LENGTHprotected static final int PCE128_ID_F_LENGTH - See Also:
- Constant Field Values
 
 - 
CONTENT128_LENGTHprotected static final int CONTENT128_LENGTH - See Also:
- Constant Field Values
 
 - 
CONTENT_LENGTHprotected static final int CONTENT_LENGTH - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
readPceIdprotected abstract byte[] readPceId(io.netty.buffer.ByteBuf buffer) 
 - 
checkContentLengthprotected abstract void checkContentLength(int length) throws PCEPDeserializerException- Throws:
- PCEPDeserializerException
 
 - 
parseSubobjectpublic final Subobject parseSubobject(io.netty.buffer.ByteBuf buffer, boolean loose) throws PCEPDeserializerException - Specified by:
- parseSubobjectin interface- EROSubobjectParser
- Throws:
- PCEPDeserializerException
 
 - 
serializeSubobjectpublic final void serializeSubobject(Subobject subobject, io.netty.buffer.ByteBuf buffer) - Specified by:
- serializeSubobjectin interface- EROSubobjectSerializer
 
 
- 
 
-