Class MldpMp2mpLspParser
- java.lang.Object
- 
- org.opendaylight.protocol.bgp.mvpn.spi.attributes.tunnel.identifier.AbstractTunnelIdentifier<MldpMp2mpLsp>
- 
- org.opendaylight.protocol.bgp.mvpn.impl.attributes.tunnel.identifier.MldpMp2mpLspParser
 
 
- 
- All Implemented Interfaces:
- TunnelIdentifierParser<MldpMp2mpLsp>,- TunnelIdentifierSerializer<MldpMp2mpLsp>
 
 public final class MldpMp2mpLspParser extends AbstractTunnelIdentifier<MldpMp2mpLsp> 
- 
- 
Constructor SummaryConstructors Constructor Description MldpMp2mpLspParser()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends TunnelIdentifier>getClazz()intgetType()MldpMp2mpLspparse(io.netty.buffer.ByteBuf buffer)Parse Tunnel Identifier from buffer.intserialize(MldpMp2mpLsp tunnelIdentifier, io.netty.buffer.ByteBuf buffer)Serialize tunnel identifier.
 
- 
- 
- 
Method Detail- 
serializepublic int serialize(MldpMp2mpLsp tunnelIdentifier, io.netty.buffer.ByteBuf buffer) Description copied from interface:TunnelIdentifierSerializerSerialize tunnel identifier.- Parameters:
- tunnelIdentifier- Tunnel Identifier body
- buffer- Encoded Tunnel Identifier in ByteBuf
- Returns:
- Tunnel identifier Type
 
 - 
getClazzpublic Class<? extends TunnelIdentifier> getClazz() 
 - 
parsepublic MldpMp2mpLsp parse(io.netty.buffer.ByteBuf buffer) Description copied from interface:TunnelIdentifierParserParse Tunnel Identifier from buffer.- Parameters:
- buffer- Encoded Tunnel Identifier in ByteBuf.
- Returns:
- Parsed Tunnel Identifier body
 
 - 
getTypepublic int getType() 
 
- 
 
-