Class Ipv6NextHopParserSerializer
- java.lang.Object
-
- org.opendaylight.protocol.bgp.inet.codec.nexthop.Ipv6NextHopParserSerializer
-
- All Implemented Interfaces:
NextHopParserSerializer
public final class Ipv6NextHopParserSerializer extends Object implements NextHopParserSerializer
-
-
Constructor Summary
Constructors Constructor Description Ipv6NextHopParserSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CNextHop
parseNextHop(io.netty.buffer.ByteBuf buffer)
Parse Next hop from buffer.void
serializeNextHop(CNextHop nextHop, io.netty.buffer.ByteBuf byteAggregator)
Serialize Next Hop.
-
-
-
Method Detail
-
parseNextHop
public CNextHop parseNextHop(io.netty.buffer.ByteBuf buffer) throws BGPParsingException
Description copied from interface:NextHopParserSerializer
Parse Next hop from buffer.- Specified by:
parseNextHop
in interfaceNextHopParserSerializer
- Parameters:
buffer
- Encoded Next Hop in ByteBuf.- Returns:
- CNextHop
- Throws:
BGPParsingException
-
serializeNextHop
public void serializeNextHop(CNextHop nextHop, io.netty.buffer.ByteBuf byteAggregator)
Description copied from interface:NextHopParserSerializer
Serialize Next Hop.- Specified by:
serializeNextHop
in interfaceNextHopParserSerializer
- Parameters:
nextHop
- Next Hop containerbyteAggregator
- return Encoded Next Hop in ByteBuf
-
-