Class MldpP2mpLspParser
java.lang.Object
org.opendaylight.protocol.bgp.mvpn.spi.attributes.tunnel.identifier.AbstractTunnelIdentifier<MldpP2mpLsp>
org.opendaylight.protocol.bgp.mvpn.impl.attributes.tunnel.identifier.MldpP2mpLspParser
- All Implemented Interfaces:
 TunnelIdentifierParser<MldpP2mpLsp>,TunnelIdentifierSerializer<MldpP2mpLsp>
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionClass<? extends TunnelIdentifier>getClazz()intgetType()parse(io.netty.buffer.ByteBuf buffer) Parse Tunnel Identifier from buffer.intserialize(MldpP2mpLsp tunnelIdentifier, io.netty.buffer.ByteBuf buffer) Serialize tunnel identifier. 
- 
Constructor Details
- 
MldpP2mpLspParser
 
 - 
 - 
Method Details
- 
serialize
Description copied from interface:TunnelIdentifierSerializerSerialize tunnel identifier.- Parameters:
 tunnelIdentifier- Tunnel Identifier bodybuffer- Encoded Tunnel Identifier in ByteBuf- Returns:
 - Tunnel identifier Type
 
 - 
getClazz
 - 
getType
public int getType() - 
parse
Description copied from interface:TunnelIdentifierParserParse Tunnel Identifier from buffer.- Parameters:
 buffer- Encoded Tunnel Identifier in ByteBuf.- Returns:
 - Parsed Tunnel Identifier body
 
 
 -