public final class NextHopUtil extends Object
Modifier and Type | Method and Description |
---|---|
static CNextHop |
parseNextHop(io.netty.buffer.ByteBuf buffer)
Parses CNextHop IP address from given ByteBuf.
|
static void |
serializeNextHop(CNextHop cnextHop,
io.netty.buffer.ByteBuf byteAggregator)
Writes serialized cnextHop IP address as byte value into ByteBuf.
|
public static void serializeNextHop(CNextHop cnextHop, io.netty.buffer.ByteBuf byteAggregator)
cnextHop
- next hop to be serializedbyteAggregator
- where the next hop will be writtenpublic static CNextHop parseNextHop(io.netty.buffer.ByteBuf buffer)
buffer
- contains byte array representation of CNextHopCopyright © 2018 OpenDaylight. All rights reserved.