Class GeneralizedLabelParser
- java.lang.Object
-
- org.opendaylight.protocol.rsvp.parser.impl.subobject.label.GeneralizedLabelParser
-
- All Implemented Interfaces:
LabelParser
,LabelSerializer
public class GeneralizedLabelParser extends Object implements LabelParser, LabelSerializer
Parser forGeneralizedLabelCase
.
-
-
Field Summary
Fields Modifier and Type Field Description static int
CTYPE
-
Constructor Summary
Constructors Constructor Description GeneralizedLabelParser()
-
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 final LabelType parseLabel(io.netty.buffer.ByteBuf buffer) throws RSVPParsingException
- Specified by:
parseLabel
in interfaceLabelParser
- Throws:
RSVPParsingException
-
serializeLabel
public final void serializeLabel(boolean unidirectional, boolean global, LabelType subobject, io.netty.buffer.ByteBuf buffer)
- Specified by:
serializeLabel
in interfaceLabelSerializer
-
-