Class AbstractLocalNodeDescriptorTlvCodec<T extends NodeIdentifier>
java.lang.Object
org.opendaylight.protocol.bgp.linkstate.impl.tlvs.AbstractLocalNodeDescriptorTlvCodec<T>
- All Implemented Interfaces:
LinkstateTlvParser<LocalNodeDescriptors>
,LinkstateTlvParser.LinkstateTlvSerializer<T>
- Direct Known Subclasses:
AdvertisingNodeDescriptorTlvParser
,LocalNodeDescriptorTlvParser
,NodeDescriptorTlvParser
public abstract class AbstractLocalNodeDescriptorTlvCodec<T extends NodeIdentifier>
extends Object
implements LinkstateTlvParser<LocalNodeDescriptors>, LinkstateTlvParser.LinkstateTlvSerializer<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opendaylight.protocol.bgp.linkstate.spi.LinkstateTlvParser
LinkstateTlvParser.LinkstateTlvSerializer<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
getType()
protected static NodeIdentifier
parseNodeDescriptor
(io.netty.buffer.ByteBuf value, Map<org.opendaylight.yangtools.yang.common.QName, Object> parsedSubTlvs) final LocalNodeDescriptors
parseTlvBody
(io.netty.buffer.ByteBuf value) protected static void
serializeNodeDescriptor
(NodeIdentifier tlv, io.netty.buffer.ByteBuf body) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opendaylight.protocol.bgp.linkstate.spi.LinkstateTlvParser
getTlvQName
Methods inherited from interface org.opendaylight.protocol.bgp.linkstate.spi.LinkstateTlvParser.LinkstateTlvSerializer
serializeTlvBody
-
Constructor Details
-
AbstractLocalNodeDescriptorTlvCodec
public AbstractLocalNodeDescriptorTlvCodec()
-
-
Method Details
-
parseTlvBody
- Specified by:
parseTlvBody
in interfaceLinkstateTlvParser<T extends NodeIdentifier>
-
getType
public final int getType()- Specified by:
getType
in interfaceLinkstateTlvParser.LinkstateTlvSerializer<T extends NodeIdentifier>
-
parseNodeDescriptor
protected static NodeIdentifier parseNodeDescriptor(io.netty.buffer.ByteBuf value, Map<org.opendaylight.yangtools.yang.common.QName, Object> parsedSubTlvs) -
serializeNodeDescriptor
-