Class Ipv4NextHopParserSerializer
java.lang.Object
org.opendaylight.protocol.bgp.inet.codec.nexthop.Ipv4NextHopParserSerializer
- All Implemented Interfaces:
NextHopParserSerializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparseNextHop
(io.netty.buffer.ByteBuf buffer) Parse Next hop from buffer.void
serializeNextHop
(CNextHop nextHop, io.netty.buffer.ByteBuf byteAggregator) Serialize Next Hop.
-
Constructor Details
-
Ipv4NextHopParserSerializer
public Ipv4NextHopParserSerializer()
-
-
Method Details
-
parseNextHop
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
Description copied from interface:NextHopParserSerializer
Serialize Next Hop.- Specified by:
serializeNextHop
in interfaceNextHopParserSerializer
- Parameters:
nextHop
- Next Hop containerbyteAggregator
- return Encoded Next Hop in ByteBuf
-