Class InitiatedLspObjectParser
- java.lang.Object
-
- org.opendaylight.protocol.pcep.spi.CommonObjectParser
-
- org.opendaylight.protocol.pcep.spi.AbstractObjectWithTlvsParser<TlvsBuilder>
-
- org.opendaylight.protocol.pcep.ietf.stateful.StatefulLspObjectParser
-
- org.opendaylight.protocol.pcep.ietf.initiated.InitiatedLspObjectParser
-
- All Implemented Interfaces:
ObjectParser
,ObjectSerializer
- Direct Known Subclasses:
SyncOptimizationsLspObjectParser
public class InitiatedLspObjectParser extends StatefulLspObjectParser
Parser forLsp
.
-
-
Field Summary
-
Fields inherited from class org.opendaylight.protocol.pcep.ietf.stateful.StatefulLspObjectParser
ADMINISTRATIVE, DELEGATE, FLAGS_SIZE, FOUR_BITS_SHIFT, OPERATIONAL, REMOVE, SYNC
-
-
Constructor Summary
Constructors Constructor Description InitiatedLspObjectParser(TlvRegistry tlvReg, VendorInformationTlvRegistry viTlvReg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
parseFlags(LspBuilder builder, io.netty.buffer.ByteBuf bytes)
protected BitArray
serializeFlags(Lsp specObj)
-
Methods inherited from class org.opendaylight.protocol.pcep.ietf.stateful.StatefulLspObjectParser
addTlv, addVendorInformationTlvs, parseObject, serializeObject, serializeTlvs
-
Methods inherited from class org.opendaylight.protocol.pcep.spi.AbstractObjectWithTlvsParser
parseTlvs, serializeTlv, serializeVendorInformationTlvs
-
Methods inherited from class org.opendaylight.protocol.pcep.spi.CommonObjectParser
getObjectClass, getObjectType
-
-
-
-
Constructor Detail
-
InitiatedLspObjectParser
public InitiatedLspObjectParser(TlvRegistry tlvReg, VendorInformationTlvRegistry viTlvReg)
-
-
Method Detail
-
parseFlags
protected void parseFlags(LspBuilder builder, io.netty.buffer.ByteBuf bytes)
- Overrides:
parseFlags
in classStatefulLspObjectParser
-
serializeFlags
protected BitArray serializeFlags(Lsp specObj)
- Overrides:
serializeFlags
in classStatefulLspObjectParser
-
-