Class XROIpv4PrefixSubobjectParser
java.lang.Object
org.opendaylight.protocol.pcep.parser.subobject.XROIpv4PrefixSubobjectParser
- All Implemented Interfaces:
XROSubobjectParser
,XROSubobjectSerializer
public class XROIpv4PrefixSubobjectParser
extends Object
implements XROSubobjectParser, XROSubobjectSerializer
Parser for
IpPrefixCase
.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparseSubobject
(io.netty.buffer.ByteBuf buffer, boolean mandatory) void
serializeSubobject
(Subobject subobject, io.netty.buffer.ByteBuf buffer)
-
Field Details
-
TYPE
public static final int TYPE- See Also:
-
-
Constructor Details
-
XROIpv4PrefixSubobjectParser
public XROIpv4PrefixSubobjectParser()
-
-
Method Details
-
parseSubobject
public Subobject parseSubobject(io.netty.buffer.ByteBuf buffer, boolean mandatory) throws PCEPDeserializerException - Specified by:
parseSubobject
in interfaceXROSubobjectParser
- Throws:
PCEPDeserializerException
-
serializeSubobject
- Specified by:
serializeSubobject
in interfaceXROSubobjectSerializer
-