public final class Ipv6BgpPrefixSidParser extends Object implements BgpPrefixSidTlvParser, BgpPrefixSidTlvSerializer
Constructor and Description |
---|
Ipv6BgpPrefixSidParser() |
Modifier and Type | Method and Description |
---|---|
int |
getType() |
Ipv6SidTlv |
parseBgpPrefixSidTlv(io.netty.buffer.ByteBuf buffer)
Method for parsing specific types of TLVs from incoming buffer
|
void |
serializeBgpPrefixSidTlv(BgpPrefixSidTlv tlv,
io.netty.buffer.ByteBuf bytes)
Method for serializing specific types of TLVs from incoming buffer
|
public void serializeBgpPrefixSidTlv(BgpPrefixSidTlv tlv, io.netty.buffer.ByteBuf bytes)
BgpPrefixSidTlvSerializer
serializeBgpPrefixSidTlv
in interface BgpPrefixSidTlvSerializer
tlv
- instancebytes
- outcome serialized TLVpublic Ipv6SidTlv parseBgpPrefixSidTlv(io.netty.buffer.ByteBuf buffer)
BgpPrefixSidTlvParser
parseBgpPrefixSidTlv
in interface BgpPrefixSidTlvParser
buffer
- with TLV bytespublic int getType()
getType
in interface BgpPrefixSidTlvSerializer
Copyright © 2019 OpenDaylight. All rights reserved.