Class Type1LabelParser
java.lang.Object
org.opendaylight.protocol.pcep.parser.subobject.Type1LabelParser
- All Implemented Interfaces:
LabelParser
,LabelSerializer
Parser for
Type1LabelCase
.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparseLabel
(io.netty.buffer.ByteBuf buffer) void
serializeLabel
(boolean unidirectional, boolean global, LabelType subobject, io.netty.buffer.ByteBuf buffer)
-
Field Details
-
CTYPE
public static final int CTYPE- See Also:
-
LABEL_LENGTH
public static final int LABEL_LENGTH- See Also:
-
-
Constructor Details
-
Type1LabelParser
public Type1LabelParser()
-
-
Method Details
-
parseLabel
- Specified by:
parseLabel
in interfaceLabelParser
- Throws:
PCEPDeserializerException
-
serializeLabel
public void serializeLabel(boolean unidirectional, boolean global, LabelType subobject, io.netty.buffer.ByteBuf buffer) - Specified by:
serializeLabel
in interfaceLabelSerializer
-