Class OspfRouteTlvParser
- java.lang.Object
-
- org.opendaylight.protocol.bgp.linkstate.impl.tlvs.OspfRouteTlvParser
-
- All Implemented Interfaces:
LinkstateTlvParser<OspfRouteType>
,LinkstateTlvParser.LinkstateTlvSerializer<OspfRouteType>
public final class OspfRouteTlvParser extends Object implements LinkstateTlvParser<OspfRouteType>, LinkstateTlvParser.LinkstateTlvSerializer<OspfRouteType>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opendaylight.protocol.bgp.linkstate.spi.LinkstateTlvParser
LinkstateTlvParser.LinkstateTlvSerializer<T>
-
-
Field Summary
Fields Modifier and Type Field Description static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier
OSPF_ROUTE_NID
static org.opendaylight.yangtools.yang.common.QName
OSPF_ROUTE_TYPE_QNAME
-
Constructor Summary
Constructors Constructor Description OspfRouteTlvParser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.common.QName
getTlvQName()
int
getType()
OspfRouteType
parseTlvBody(io.netty.buffer.ByteBuf value)
static OspfRouteType
serializeModel(org.opendaylight.yangtools.yang.data.api.schema.ContainerNode prefixDesc)
void
serializeTlvBody(OspfRouteType tlv, io.netty.buffer.ByteBuf body)
-
-
-
Method Detail
-
serializeTlvBody
public void serializeTlvBody(OspfRouteType tlv, io.netty.buffer.ByteBuf body)
- Specified by:
serializeTlvBody
in interfaceLinkstateTlvParser.LinkstateTlvSerializer<OspfRouteType>
-
getType
public int getType()
- Specified by:
getType
in interfaceLinkstateTlvParser.LinkstateTlvSerializer<OspfRouteType>
-
parseTlvBody
public OspfRouteType parseTlvBody(io.netty.buffer.ByteBuf value)
- Specified by:
parseTlvBody
in interfaceLinkstateTlvParser<OspfRouteType>
-
getTlvQName
public org.opendaylight.yangtools.yang.common.QName getTlvQName()
- Specified by:
getTlvQName
in interfaceLinkstateTlvParser<OspfRouteType>
-
serializeModel
public static OspfRouteType serializeModel(org.opendaylight.yangtools.yang.data.api.schema.ContainerNode prefixDesc)
-
-