Class AsNumTlvParser
java.lang.Object
org.opendaylight.protocol.bgp.linkstate.impl.tlvs.AsNumTlvParser
- All Implemented Interfaces:
LinkstateTlvParser<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber>
,LinkstateTlvParser.LinkstateTlvSerializer<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber>
public final class AsNumTlvParser
extends Object
implements LinkstateTlvParser<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber>, LinkstateTlvParser.LinkstateTlvSerializer<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opendaylight.protocol.bgp.linkstate.spi.LinkstateTlvParser
LinkstateTlvParser.LinkstateTlvSerializer<T>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.opendaylight.yangtools.yang.common.QName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.QName
int
getType()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber
parseTlvBody
(io.netty.buffer.ByteBuf value) void
serializeTlvBody
(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber tlv, io.netty.buffer.ByteBuf body)
-
Field Details
-
AS_NUMBER_QNAME
public static final org.opendaylight.yangtools.yang.common.QName AS_NUMBER_QNAME
-
-
Constructor Details
-
AsNumTlvParser
public AsNumTlvParser()
-
-
Method Details
-
serializeTlvBody
public void serializeTlvBody(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber tlv, io.netty.buffer.ByteBuf body) - Specified by:
serializeTlvBody
in interfaceLinkstateTlvParser.LinkstateTlvSerializer<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber>
-
parseTlvBody
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber parseTlvBody(io.netty.buffer.ByteBuf value) - Specified by:
parseTlvBody
in interfaceLinkstateTlvParser<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber>
-
getType
public int getType()- Specified by:
getType
in interfaceLinkstateTlvParser.LinkstateTlvSerializer<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber>
-
getTlvQName
public org.opendaylight.yangtools.yang.common.QName getTlvQName()- Specified by:
getTlvQName
in interfaceLinkstateTlvParser<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber>
-