public final class MldpP2mpLspParser extends AbstractTunnelIdentifier<MldpP2mpLsp>
| Constructor and Description |
|---|
MldpP2mpLspParser(AddressFamilyRegistry addressFamilyRegistry) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends TunnelIdentifier> |
getClazz() |
int |
getType() |
MldpP2mpLsp |
parse(io.netty.buffer.ByteBuf buffer)
Parse Tunnel Identifier from buffer.
|
int |
serialize(MldpP2mpLsp tunnelIdentifier,
io.netty.buffer.ByteBuf buffer)
Serialize tunnel identifier.
|
public MldpP2mpLspParser(AddressFamilyRegistry addressFamilyRegistry)
public int serialize(MldpP2mpLsp tunnelIdentifier, io.netty.buffer.ByteBuf buffer)
TunnelIdentifierSerializertunnelIdentifier - Tunnel Identifier bodybuffer - Encoded Tunnel Identifier in ByteBufpublic Class<? extends TunnelIdentifier> getClazz()
public int getType()
public MldpP2mpLsp parse(io.netty.buffer.ByteBuf buffer)
TunnelIdentifierParserbuffer - Encoded Tunnel Identifier in ByteBuf.Copyright © 2020 OpenDaylight. All rights reserved.