public abstract class AbstractRSVPObjectParser extends Object implements RSVPTeObjectSerializer, RSVPTeObjectParser
Modifier and Type | Field and Description |
---|---|
protected static int |
FLAGS_SIZE |
protected static int |
GUARANTEED_SERVICE_RSPEC |
protected static int |
METRIC_VALUE_F_LENGTH |
protected static int |
OVERALL_LENGTH |
protected static int |
PARAMETER_127_LENGTH |
protected static int |
PARAMETER_130_LENGTH |
protected static int |
TOKEN_BUCKET_TSPEC |
Constructor and Description |
---|
AbstractRSVPObjectParser() |
Modifier and Type | Method and Description |
---|---|
protected abstract RsvpTeObject |
localParseObject(io.netty.buffer.ByteBuf byteBuf) |
protected abstract void |
localSerializeObject(RsvpTeObject rsvpTeObject,
io.netty.buffer.ByteBuf output) |
RsvpTeObject |
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) |
protected static final int METRIC_VALUE_F_LENGTH
protected static final int OVERALL_LENGTH
protected static final int PARAMETER_127_LENGTH
protected static final int PARAMETER_130_LENGTH
protected static final int GUARANTEED_SERVICE_RSPEC
protected static final int TOKEN_BUCKET_TSPEC
protected static final int FLAGS_SIZE
protected static void serializeAttributeHeader(Integer valueLength, short classNum, short cType, io.netty.buffer.ByteBuf byteAggregator)
protected static void writeAttributeFilter(AttributeFilter attributeFilter, io.netty.buffer.ByteBuf body)
public RsvpTeObject parseObject(io.netty.buffer.ByteBuf byteBuf) throws RSVPParsingException
parseObject
in interface RSVPTeObjectParser
RSVPParsingException
public void serializeObject(RsvpTeObject rsvpTeObject, io.netty.buffer.ByteBuf output)
serializeObject
in interface RSVPTeObjectSerializer
protected abstract void localSerializeObject(RsvpTeObject rsvpTeObject, io.netty.buffer.ByteBuf output)
protected abstract RsvpTeObject localParseObject(io.netty.buffer.ByteBuf byteBuf) throws RSVPParsingException
RSVPParsingException
Copyright © 2018 OpenDaylight. All rights reserved.