Class WavebandSwitchingLabelParser
- java.lang.Object
-
- org.opendaylight.protocol.pcep.parser.subobject.WavebandSwitchingLabelParser
-
- All Implemented Interfaces:
LabelParser,LabelSerializer
public class WavebandSwitchingLabelParser extends Object implements LabelParser, LabelSerializer
Parser forWavebandSwitchingLabelCase.
-
-
Field Summary
Fields Modifier and Type Field Description static intCTYPE
-
Constructor Summary
Constructors Constructor Description WavebandSwitchingLabelParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LabelTypeparseLabel(io.netty.buffer.ByteBuf buffer)voidserializeLabel(boolean unidirectional, boolean global, LabelType subobject, io.netty.buffer.ByteBuf buffer)
-
-
-
Field Detail
-
CTYPE
public static final int CTYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
parseLabel
public LabelType parseLabel(io.netty.buffer.ByteBuf buffer) throws PCEPDeserializerException
- Specified by:
parseLabelin interfaceLabelParser- Throws:
PCEPDeserializerException
-
serializeLabel
public void serializeLabel(boolean unidirectional, boolean global, LabelType subobject, io.netty.buffer.ByteBuf buffer)- Specified by:
serializeLabelin interfaceLabelSerializer
-
-