Class AbstractRSVPObjectParser
java.lang.Object
org.opendaylight.protocol.rsvp.parser.spi.subobjects.AbstractRSVPObjectParser
- All Implemented Interfaces:
RSVPTeObjectParser
,RSVPTeObjectSerializer
- Direct Known Subclasses:
AbstractAssociationParser
,AdminStatusObjectParser
,AttributesObjectParser
,BandwidthObjectParser
,DetourObjectIpv4Parser
,DetourObjectIpv6Parser
,DynamicProtectionObjectParser
,EROSubobjectListParser
,FastRerouteObjectParser
,FlowSpecObjectParser
,InformationalFastRerouteObjectParser
,MetricObjectParser
,ProtectionObjectParser
,ReoptimizationBandwidthObjectParser
,RequiredAttributesObjectParser
,RROSubobjectListParser
,SenderTspecObjectParser
,SessionAttributeLspObjectParser
,SessionAttributeLspRaObjectParser
,XROSubobjectListParser
public abstract class AbstractRSVPObjectParser
extends Object
implements RSVPTeObjectSerializer, RSVPTeObjectParser
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract RsvpTeObject
localParseObject
(io.netty.buffer.ByteBuf byteBuf) protected abstract void
localSerializeObject
(RsvpTeObject rsvpTeObject, io.netty.buffer.ByteBuf output) parseObject
(io.netty.buffer.ByteBuf byteBuf) protected static void
serializeAttributeHeader
(Integer valueLength, short classNum, short ctype, io.netty.buffer.ByteBuf byteAggregator) void
serializeObject
(RsvpTeObject rsvpTeObject, io.netty.buffer.ByteBuf output) protected static void
writeAttributeFilter
(AttributeFilter attributeFilter, io.netty.buffer.ByteBuf body)
-
Field Details
-
METRIC_VALUE_F_LENGTH
protected static final int METRIC_VALUE_F_LENGTH- See Also:
-
OVERALL_LENGTH
protected static final int OVERALL_LENGTH- See Also:
-
PARAMETER_127_LENGTH
protected static final int PARAMETER_127_LENGTH- See Also:
-
PARAMETER_130_LENGTH
protected static final int PARAMETER_130_LENGTH- See Also:
-
GUARANTEED_SERVICE_RSPEC
protected static final int GUARANTEED_SERVICE_RSPEC- See Also:
-
TOKEN_BUCKET_TSPEC
protected static final int TOKEN_BUCKET_TSPEC- See Also:
-
FLAGS_SIZE
protected static final int FLAGS_SIZE- See Also:
-
-
Constructor Details
-
AbstractRSVPObjectParser
public AbstractRSVPObjectParser()
-
-
Method Details
-
serializeAttributeHeader
protected static void serializeAttributeHeader(Integer valueLength, short classNum, short ctype, io.netty.buffer.ByteBuf byteAggregator) -
writeAttributeFilter
protected static void writeAttributeFilter(AttributeFilter attributeFilter, io.netty.buffer.ByteBuf body) -
parseObject
- Specified by:
parseObject
in interfaceRSVPTeObjectParser
- Throws:
RSVPParsingException
-
serializeObject
- Specified by:
serializeObject
in interfaceRSVPTeObjectSerializer
-
localSerializeObject
protected abstract void localSerializeObject(RsvpTeObject rsvpTeObject, io.netty.buffer.ByteBuf output) -
localParseObject
protected abstract RsvpTeObject localParseObject(io.netty.buffer.ByteBuf byteBuf) throws RSVPParsingException - Throws:
RSVPParsingException
-