Class AbstractNlriTypeCodec
java.lang.Object
org.opendaylight.protocol.bgp.linkstate.spi.AbstractNlriTypeCodec
- All Implemented Interfaces:
NlriTypeCaseParser
,NlriTypeCaseSerializer
- Direct Known Subclasses:
AbstractTeLspNlriCodec
,Ipv4PrefixNlriParser
,Ipv6PrefixNlriParser
,LinkNlriParser
,NodeNlriParser
public abstract class AbstractNlriTypeCodec
extends Object
implements NlriTypeCaseParser, NlriTypeCaseSerializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ObjectType
parseObjectType
(io.netty.buffer.ByteBuf buffer) final CLinkstateDestination
parseTypeNlri
(io.netty.buffer.ByteBuf nlri) protected abstract void
serializeObjectType
(ObjectType objectType, io.netty.buffer.ByteBuf buffer) final void
serializeTypeNlri
(CLinkstateDestination nlriType, io.netty.buffer.ByteBuf byteAggregator) 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.NlriTypeCaseSerializer
getNlriType
-
Constructor Details
-
AbstractNlriTypeCodec
public AbstractNlriTypeCodec()
-
-
Method Details
-
parseTypeNlri
- Specified by:
parseTypeNlri
in interfaceNlriTypeCaseParser
-
serializeTypeNlri
public final void serializeTypeNlri(CLinkstateDestination nlriType, io.netty.buffer.ByteBuf byteAggregator) - Specified by:
serializeTypeNlri
in interfaceNlriTypeCaseSerializer
-
parseObjectType
-
serializeObjectType
-