Interface NextHopParserSerializer
-
- All Known Implementing Classes:
AbstractVpnNextHopParserSerializer
,Ipv4NextHopParserSerializer
,Ipv6NextHopParserSerializer
,VpnIpv4NextHopParserSerializer
,VpnIpv6NextHopParserSerializer
@NonNullByDefault public interface NextHopParserSerializer
Handles Next Hop, by default useNextHopUtil
which is handles Ipv4 and Ipv6 Next hop.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default CNextHop
parseNextHop(io.netty.buffer.ByteBuf buffer)
Parse Next hop from buffer.default void
serializeNextHop(CNextHop cnextHop, io.netty.buffer.ByteBuf byteAggregator)
Serialize Next Hop.
-
-
-
Method Detail
-
parseNextHop
default CNextHop parseNextHop(io.netty.buffer.ByteBuf buffer) throws BGPParsingException
Parse Next hop from buffer.- Parameters:
buffer
- Encoded Next Hop in ByteBuf.- Returns:
- CNextHop
- Throws:
BGPParsingException
-
serializeNextHop
default void serializeNextHop(CNextHop cnextHop, io.netty.buffer.ByteBuf byteAggregator)
Serialize Next Hop.- Parameters:
cnextHop
- Next Hop containerbyteAggregator
- return Encoded Next Hop in ByteBuf
-
-