Class LinkNlriParser
- java.lang.Object
-
- org.opendaylight.protocol.bgp.linkstate.spi.AbstractNlriTypeCodec
-
- org.opendaylight.protocol.bgp.linkstate.impl.nlri.LinkNlriParser
-
- All Implemented Interfaces:
NlriTypeCaseParser
,NlriTypeCaseSerializer
public final class LinkNlriParser extends AbstractNlriTypeCodec
-
-
Field Summary
Fields Modifier and Type Field Description static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier
IPV4_IFACE_NID
static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier
IPV4_NEIGHBOR_NID
static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier
LINK_LOCAL_NID
static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier
LINK_REMOTE_NID
-
Constructor Summary
Constructors Constructor Description LinkNlriParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNlriType()
protected ObjectType
parseObjectType(io.netty.buffer.ByteBuf buffer)
protected void
serializeObjectType(ObjectType objectType, io.netty.buffer.ByteBuf buffer)
-
Methods inherited from class org.opendaylight.protocol.bgp.linkstate.spi.AbstractNlriTypeCodec
parseTypeNlri, serializeTypeNlri
-
-
-
-
Field Detail
-
IPV4_IFACE_NID
public static final org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier IPV4_IFACE_NID
-
IPV4_NEIGHBOR_NID
public static final org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier IPV4_NEIGHBOR_NID
-
LINK_LOCAL_NID
public static final org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier LINK_LOCAL_NID
-
LINK_REMOTE_NID
public static final org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier LINK_REMOTE_NID
-
-
Method Detail
-
parseObjectType
protected ObjectType parseObjectType(io.netty.buffer.ByteBuf buffer)
- Specified by:
parseObjectType
in classAbstractNlriTypeCodec
-
serializeObjectType
protected void serializeObjectType(ObjectType objectType, io.netty.buffer.ByteBuf buffer)
- Specified by:
serializeObjectType
in classAbstractNlriTypeCodec
-
getNlriType
public int getNlriType()
-
-