Class RROLabelSubobjectParser
- java.lang.Object
-
- org.opendaylight.protocol.pcep.parser.subobject.RROLabelSubobjectParser
-
- All Implemented Interfaces:
org.opendaylight.protocol.pcep.spi.RROSubobjectParser,org.opendaylight.protocol.pcep.spi.RROSubobjectSerializer
public class RROLabelSubobjectParser extends Object implements org.opendaylight.protocol.pcep.spi.RROSubobjectParser, org.opendaylight.protocol.pcep.spi.RROSubobjectSerializer
-
-
Field Summary
Fields Modifier and Type Field Description static intC_TYPE_F_LENGTHstatic intC_TYPE_F_OFFSETstatic intFLAGS_SIZEstatic intG_FLAG_OFFSETstatic intHEADER_LENGTHstatic intTYPEstatic intU_FLAG_OFFSET
-
Constructor Summary
Constructors Constructor Description RROLabelSubobjectParser(org.opendaylight.protocol.pcep.spi.LabelRegistry labelReg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.reported.route.object.rro.SubobjectparseSubobject(io.netty.buffer.ByteBuf buffer)voidserializeSubobject(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.reported.route.object.rro.Subobject 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
-
-
Method Detail
-
parseSubobject
public org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.reported.route.object.rro.Subobject parseSubobject(io.netty.buffer.ByteBuf buffer) throws org.opendaylight.protocol.pcep.spi.PCEPDeserializerException- Specified by:
parseSubobjectin interfaceorg.opendaylight.protocol.pcep.spi.RROSubobjectParser- Throws:
org.opendaylight.protocol.pcep.spi.PCEPDeserializerException
-
serializeSubobject
public void serializeSubobject(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.reported.route.object.rro.Subobject subobject, io.netty.buffer.ByteBuf buffer)- Specified by:
serializeSubobjectin interfaceorg.opendaylight.protocol.pcep.spi.RROSubobjectSerializer
-
-