Class StatefulStatefulCapabilityTlvParser
- java.lang.Object
-
- org.opendaylight.protocol.pcep.ietf.stateful.StatefulStatefulCapabilityTlvParser
-
- All Implemented Interfaces:
TlvParser,TlvSerializer
- Direct Known Subclasses:
InitiatedStatefulCapabilityTlvParser
public class StatefulStatefulCapabilityTlvParser extends Object implements TlvParser, TlvSerializer
Parser forStateful.
-
-
Field Summary
Fields Modifier and Type Field Description protected static intFLAGS_F_LENGTHstatic intTYPEprotected static intU_FLAG_OFFSET
-
Constructor Summary
Constructors Constructor Description StatefulStatefulCapabilityTlvParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidparseFlags(StatefulBuilder sb, io.netty.buffer.ByteBuf buffer)StatefulparseTlv(io.netty.buffer.ByteBuf buffer)protected BitArrayserializeFlags(Stateful sct)voidserializeTlv(Tlv tlv, io.netty.buffer.ByteBuf buffer)
-
-
-
Field Detail
-
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
-
FLAGS_F_LENGTH
protected static final int FLAGS_F_LENGTH
- See Also:
- Constant Field Values
-
U_FLAG_OFFSET
protected static final int U_FLAG_OFFSET
- See Also:
- Constant Field Values
-
-
Method Detail
-
parseTlv
public Stateful parseTlv(io.netty.buffer.ByteBuf buffer) throws PCEPDeserializerException
- Specified by:
parseTlvin interfaceTlvParser- Throws:
PCEPDeserializerException
-
parseFlags
protected void parseFlags(StatefulBuilder sb, io.netty.buffer.ByteBuf buffer)
-
serializeTlv
public void serializeTlv(Tlv tlv, io.netty.buffer.ByteBuf buffer)
- Specified by:
serializeTlvin interfaceTlvSerializer
-
-