Class AbstractSrSubobjectParser
- java.lang.Object
-
- org.opendaylight.protocol.pcep.segment.routing.AbstractSrSubobjectParser
-
- Direct Known Subclasses:
SrEroSubobjectParser
,SrRroSubobjectParser
public abstract class AbstractSrSubobjectParser extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
BITSET_LENGTH
protected static int
C_FLAG_POSITION
protected static int
F_FLAG_POSITION
protected static int
M_FLAG_POSITION
protected static int
MINIMAL_LENGTH
protected static int
MPLS_LABEL_OFFSET
protected static int
S_FLAG_POSITION
-
Constructor Summary
Constructors Constructor Description AbstractSrSubobjectParser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static SrSubobject
parseSrSubobject(io.netty.buffer.ByteBuf buffer)
io.netty.buffer.ByteBuf
serializeSubobject(SrSubobject srSubobject)
-
-
-
Field Detail
-
MINIMAL_LENGTH
protected static final int MINIMAL_LENGTH
- See Also:
- Constant Field Values
-
BITSET_LENGTH
protected static final int BITSET_LENGTH
- See Also:
- Constant Field Values
-
M_FLAG_POSITION
protected static final int M_FLAG_POSITION
- See Also:
- Constant Field Values
-
C_FLAG_POSITION
protected static final int C_FLAG_POSITION
- See Also:
- Constant Field Values
-
S_FLAG_POSITION
protected static final int S_FLAG_POSITION
- See Also:
- Constant Field Values
-
F_FLAG_POSITION
protected static final int F_FLAG_POSITION
- See Also:
- Constant Field Values
-
MPLS_LABEL_OFFSET
protected static final int MPLS_LABEL_OFFSET
- See Also:
- Constant Field Values
-
-
Method Detail
-
serializeSubobject
public io.netty.buffer.ByteBuf serializeSubobject(SrSubobject srSubobject)
-
parseSrSubobject
protected static SrSubobject parseSrSubobject(io.netty.buffer.ByteBuf buffer) throws PCEPDeserializerException
- Throws:
PCEPDeserializerException
-
-