Class XROAsNumberSubobjectParser
java.lang.Object
org.opendaylight.protocol.pcep.parser.subobject.XROAsNumberSubobjectParser
- All Implemented Interfaces:
XROSubobjectParser
,XROSubobjectSerializer
public class XROAsNumberSubobjectParser
extends Object
implements XROSubobjectParser, XROSubobjectSerializer
Parser for
AsNumberCase
.-
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
-
XROAsNumberSubobjectParser
public XROAsNumberSubobjectParser()
-
-
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
-