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 int
CTYPE
-
Constructor Summary
Constructors Constructor Description WavebandSwitchingLabelParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LabelType
parseLabel(io.netty.buffer.ByteBuf buffer)
void
serializeLabel(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:
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
-
-