Class StatefulStatefulCapabilityTlvParser
java.lang.Object
org.opendaylight.protocol.pcep.ietf.stateful.StatefulStatefulCapabilityTlvParser
- All Implemented Interfaces:
TlvParser
,TlvSerializer
- Direct Known Subclasses:
InitiatedStatefulCapabilityTlvParser
Parser for
Stateful
.-
Field Summary
Modifier and TypeFieldDescriptionprotected static final int
static final int
protected static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
parseFlags
(StatefulBuilder sb, io.netty.buffer.ByteBuf buffer) parseTlv
(io.netty.buffer.ByteBuf buffer) protected BitArray
serializeFlags
(Stateful sct) void
serializeTlv
(Tlv tlv, io.netty.buffer.ByteBuf buffer)
-
Field Details
-
TYPE
public static final int TYPE- See Also:
-
FLAGS_F_LENGTH
protected static final int FLAGS_F_LENGTH- See Also:
-
U_FLAG_OFFSET
protected static final int U_FLAG_OFFSET- See Also:
-
-
Constructor Details
-
StatefulStatefulCapabilityTlvParser
public StatefulStatefulCapabilityTlvParser()
-
-
Method Details
-
parseTlv
- Specified by:
parseTlv
in interfaceTlvParser
- Throws:
PCEPDeserializerException
-
parseFlags
-
serializeTlv
- Specified by:
serializeTlv
in interfaceTlvSerializer
-
serializeFlags
-