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
Constructors Constructor Description AbstractLocalNodeDescriptorTlvCodec()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getType()
protected static NodeIdentifier
parseNodeDescriptor(io.netty.buffer.ByteBuf value, Map<org.opendaylight.yangtools.yang.common.QName,Object> parsedSubTlvs)
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
-
-
-
-
Method Detail
-
parseTlvBody
public final LocalNodeDescriptors parseTlvBody(io.netty.buffer.ByteBuf value)
- 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
protected static void serializeNodeDescriptor(NodeIdentifier tlv, io.netty.buffer.ByteBuf body)
-
-