Class AbstractAssociationParser
- java.lang.Object
-
- org.opendaylight.protocol.rsvp.parser.spi.subobjects.AbstractRSVPObjectParser
-
- org.opendaylight.protocol.rsvp.parser.impl.te.AbstractAssociationParser
-
- All Implemented Interfaces:
RSVPTeObjectParser
,RSVPTeObjectSerializer
- Direct Known Subclasses:
AssociationObjectParserIPV4
,AssociationObjectParserIPV6
public abstract class AbstractAssociationParser extends AbstractRSVPObjectParser
-
-
Field Summary
Fields Modifier and Type Field Description static short
CLASS_NUM
static short
CTYPE_IPV4
static short
CTYPE_IPV6
-
Fields inherited from class org.opendaylight.protocol.rsvp.parser.spi.subobjects.AbstractRSVPObjectParser
FLAGS_SIZE, GUARANTEED_SERVICE_RSPEC, METRIC_VALUE_F_LENGTH, OVERALL_LENGTH, PARAMETER_127_LENGTH, PARAMETER_130_LENGTH, TOKEN_BUCKET_TSPEC
-
-
Constructor Summary
Constructors Constructor Description AbstractAssociationParser()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected RsvpTeObject
localParseObject(io.netty.buffer.ByteBuf byteBuf)
protected void
localSerializeObject(RsvpTeObject teLspObject, io.netty.buffer.ByteBuf output)
protected abstract org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone
parseAssociationIpAddress(io.netty.buffer.ByteBuf byteBuf)
-
Methods inherited from class org.opendaylight.protocol.rsvp.parser.spi.subobjects.AbstractRSVPObjectParser
parseObject, serializeAttributeHeader, serializeObject, writeAttributeFilter
-
-
-
-
Field Detail
-
CLASS_NUM
public static final short CLASS_NUM
- See Also:
- Constant Field Values
-
CTYPE_IPV4
public static final short CTYPE_IPV4
- See Also:
- Constant Field Values
-
CTYPE_IPV6
public static final short CTYPE_IPV6
- See Also:
- Constant Field Values
-
-
Method Detail
-
parseAssociationIpAddress
protected abstract org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressNoZone parseAssociationIpAddress(io.netty.buffer.ByteBuf byteBuf)
-
localSerializeObject
protected final void localSerializeObject(RsvpTeObject teLspObject, io.netty.buffer.ByteBuf output)
- Specified by:
localSerializeObject
in classAbstractRSVPObjectParser
-
localParseObject
protected final RsvpTeObject localParseObject(io.netty.buffer.ByteBuf byteBuf) throws RSVPParsingException
- Specified by:
localParseObject
in classAbstractRSVPObjectParser
- Throws:
RSVPParsingException
-
-