Class InitiatedSrpObjectParser
- java.lang.Object
-
- org.opendaylight.protocol.pcep.spi.CommonObjectParser
-
- org.opendaylight.protocol.pcep.spi.AbstractObjectWithTlvsParser<TlvsBuilder>
-
- org.opendaylight.protocol.pcep.ietf.stateful.StatefulSrpObjectParser
-
- org.opendaylight.protocol.pcep.ietf.initiated.InitiatedSrpObjectParser
-
- All Implemented Interfaces:
ObjectParser
,ObjectSerializer
public class InitiatedSrpObjectParser extends StatefulSrpObjectParser
Parser forSrp
.
-
-
Field Summary
-
Fields inherited from class org.opendaylight.protocol.pcep.ietf.stateful.StatefulSrpObjectParser
FLAGS_SIZE, MIN_SIZE, SRP_ID_SIZE
-
-
Constructor Summary
Constructors Constructor Description InitiatedSrpObjectParser(TlvRegistry tlvReg, VendorInformationTlvRegistry viTlvReg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
parseFlags(SrpBuilder builder, io.netty.buffer.ByteBuf bytes)
protected void
serializeFlags(Srp srp, io.netty.buffer.ByteBuf body)
-
Methods inherited from class org.opendaylight.protocol.pcep.ietf.stateful.StatefulSrpObjectParser
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
-
InitiatedSrpObjectParser
public InitiatedSrpObjectParser(TlvRegistry tlvReg, VendorInformationTlvRegistry viTlvReg)
-
-
Method Detail
-
parseFlags
protected void parseFlags(SrpBuilder builder, io.netty.buffer.ByteBuf bytes)
- Overrides:
parseFlags
in classStatefulSrpObjectParser
-
serializeFlags
protected void serializeFlags(Srp srp, io.netty.buffer.ByteBuf body)
- Overrides:
serializeFlags
in classStatefulSrpObjectParser
-
-