Class RROLabelSubobjectParser
- java.lang.Object
-
- org.opendaylight.protocol.rsvp.parser.impl.subobject.rro.RROLabelSubobjectParser
-
- All Implemented Interfaces:
RROSubobjectParser
,RROSubobjectSerializer
public class RROLabelSubobjectParser extends Object implements RROSubobjectParser, RROSubobjectSerializer
-
-
Field Summary
Fields Modifier and Type Field Description static int
C_TYPE_F_LENGTH
static int
C_TYPE_F_OFFSET
static int
FLAGS_SIZE
static int
G_FLAG_OFFSET
static int
HEADER_LENGTH
static int
TYPE
static int
U_FLAG_OFFSET
-
Constructor Summary
Constructors Constructor Description RROLabelSubobjectParser(LabelRegistry labelReg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubobjectContainer
parseSubobject(io.netty.buffer.ByteBuf buffer)
void
serializeSubobject(SubobjectContainer subobject, io.netty.buffer.ByteBuf buffer)
-
-
-
Field Detail
-
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
-
FLAGS_SIZE
public static final int FLAGS_SIZE
- See Also:
- Constant Field Values
-
C_TYPE_F_LENGTH
public static final int C_TYPE_F_LENGTH
- See Also:
- Constant Field Values
-
C_TYPE_F_OFFSET
public static final int C_TYPE_F_OFFSET
- See Also:
- Constant Field Values
-
HEADER_LENGTH
public static final int HEADER_LENGTH
- See Also:
- Constant Field Values
-
U_FLAG_OFFSET
public static final int U_FLAG_OFFSET
- See Also:
- Constant Field Values
-
G_FLAG_OFFSET
public static final int G_FLAG_OFFSET
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RROLabelSubobjectParser
public RROLabelSubobjectParser(LabelRegistry labelReg)
-
-
Method Detail
-
parseSubobject
public SubobjectContainer parseSubobject(io.netty.buffer.ByteBuf buffer) throws RSVPParsingException
- Specified by:
parseSubobject
in interfaceRROSubobjectParser
- Throws:
RSVPParsingException
-
serializeSubobject
public void serializeSubobject(SubobjectContainer subobject, io.netty.buffer.ByteBuf buffer)
- Specified by:
serializeSubobject
in interfaceRROSubobjectSerializer
-
-