public final class SimpleBgpPrefixSidTlvRegistry extends Object implements BgpPrefixSidTlvRegistry
Constructor and Description |
---|
SimpleBgpPrefixSidTlvRegistry() |
Modifier and Type | Method and Description |
---|---|
BgpPrefixSidTlv |
parseBgpPrefixSidTlv(int type,
io.netty.buffer.ByteBuf buffer)
Decode incoming TLV
|
void |
serializeBgpPrefixSidTlv(BgpPrefixSidTlv tlv,
io.netty.buffer.ByteBuf bytes)
Encode TLV instance
|
public BgpPrefixSidTlv parseBgpPrefixSidTlv(int type, io.netty.buffer.ByteBuf buffer)
BgpPrefixSidTlvRegistry
parseBgpPrefixSidTlv
in interface BgpPrefixSidTlvRegistry
type
- number of TLVbuffer
- contains bytes of TLVpublic void serializeBgpPrefixSidTlv(BgpPrefixSidTlv tlv, io.netty.buffer.ByteBuf bytes)
BgpPrefixSidTlvRegistry
serializeBgpPrefixSidTlv
in interface BgpPrefixSidTlvRegistry
tlv
- instancebytes
- encoded TLV outcomeCopyright © 2019 OpenDaylight. All rights reserved.