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>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends TunnelIdentifier>
getClazz()
int
getType()
parse
(io.netty.buffer.ByteBuf buffer) Parse Tunnel Identifier from buffer.int
serialize
(RsvpTeP2mpLsp tunnelIdentifier, io.netty.buffer.ByteBuf buffer) Serialize tunnel identifier.
-
Constructor Details
-
RsvpTeP2MpLspParser
public RsvpTeP2MpLspParser()
-
-
Method Details
-
getClazz
-
serialize
Description copied from interface:TunnelIdentifierSerializer
Serialize tunnel identifier.- Parameters:
tunnelIdentifier
- Tunnel Identifier bodybuffer
- Encoded Tunnel Identifier in ByteBuf- Returns:
- Tunnel identifier Type
-
parse
Description copied from interface:TunnelIdentifierParser
Parse Tunnel Identifier from buffer.- Parameters:
buffer
- Encoded Tunnel Identifier in ByteBuf.- Returns:
- Parsed Tunnel Identifier body
-
getType
public int getType()
-