Class RsvpTeP2MpLspParser
- java.lang.Object
-
- org.opendaylight.protocol.bgp.mvpn.spi.attributes.tunnel.identifier.AbstractTunnelIdentifier<RsvpTeP2mpLsp>
-
- org.opendaylight.protocol.bgp.mvpn.impl.attributes.tunnel.identifier.RsvpTeP2MpLspParser
-
- All Implemented Interfaces:
TunnelIdentifierParser<RsvpTeP2mpLsp>,TunnelIdentifierSerializer<RsvpTeP2mpLsp>
public final class RsvpTeP2MpLspParser extends AbstractTunnelIdentifier<RsvpTeP2mpLsp>
-
-
Constructor Summary
Constructors Constructor Description RsvpTeP2MpLspParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends TunnelIdentifier>getClazz()intgetType()RsvpTeP2mpLspparse(io.netty.buffer.ByteBuf buffer)Parse Tunnel Identifier from buffer.intserialize(RsvpTeP2mpLsp tunnelIdentifier, io.netty.buffer.ByteBuf buffer)Serialize tunnel identifier.
-
-
-
Method Detail
-
getClazz
public Class<? extends TunnelIdentifier> getClazz()
-
serialize
public int serialize(RsvpTeP2mpLsp tunnelIdentifier, io.netty.buffer.ByteBuf buffer)
Description copied from interface:TunnelIdentifierSerializerSerialize tunnel identifier.- Parameters:
tunnelIdentifier- Tunnel Identifier bodybuffer- Encoded Tunnel Identifier in ByteBuf- Returns:
- Tunnel identifier Type
-
parse
public RsvpTeP2mpLsp 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
-
getType
public int getType()
-
-