public final class LinkstateAttributeParser extends Object implements AttributeParser, AttributeSerializer
| Constructor and Description | 
|---|
| LinkstateAttributeParser(boolean isIanaAssignedType,
                        RSVPTeObjectRegistry rsvpTeObjectRegistry) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getType() | 
| void | parseAttribute(io.netty.buffer.ByteBuf buffer,
              AttributesBuilder builder)Parses attribute from ByteBuf buffer. | 
| void | serializeAttribute(org.opendaylight.yangtools.yang.binding.DataObject attribute,
                  io.netty.buffer.ByteBuf byteAggregator)Serialize linkstate attributes. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseAttributepublic LinkstateAttributeParser(boolean isIanaAssignedType,
                                RSVPTeObjectRegistry rsvpTeObjectRegistry)
public int getType()
public void parseAttribute(io.netty.buffer.ByteBuf buffer,
                           AttributesBuilder builder)
                    throws BGPParsingException
AttributeParserparseAttribute in interface AttributeParserbuffer - Encoded attribute body in ByteBuf.builder - Path attributes builder. Guaranteed to contain all valid attributes whose type is numerically
        lower than this attribute's type.BGPParsingExceptionpublic void serializeAttribute(org.opendaylight.yangtools.yang.binding.DataObject attribute,
                               io.netty.buffer.ByteBuf byteAggregator)
serializeAttribute in interface AttributeSerializerattribute - DataObject representing LinkstatePathAttributebyteAggregator - ByteBuf where all serialized data are aggregatedCopyright © 2018 OpenDaylight. All rights reserved.