Interface TunnelIdentifierSerializer<T extends TunnelIdentifier>
-
- All Known Implementing Classes:
AbstractTunnelIdentifier
,BidirPimTreeParser
,IngressReplicationParser
,MldpMp2mpLspParser
,MldpP2mpLspParser
,PimSmTreeParser
,PimSsmTreeParser
,RsvpTeP2MpLspParser
public interface TunnelIdentifierSerializer<T extends TunnelIdentifier>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<? extends TunnelIdentifier>
getClazz()
int
serialize(@NonNull T tunnelIdentifier, @NonNull io.netty.buffer.ByteBuf buffer)
Serialize tunnel identifier.
-
-
-
Method Detail
-
serialize
int serialize(@NonNull T tunnelIdentifier, @NonNull io.netty.buffer.ByteBuf buffer)
Serialize tunnel identifier.- Parameters:
tunnelIdentifier
- Tunnel Identifier bodybuffer
- Encoded Tunnel Identifier in ByteBuf- Returns:
- Tunnel identifier Type
-
getClazz
Class<? extends TunnelIdentifier> getClazz()
-
-