Interface MvpnRegistry
-
- All Known Implementing Classes:
SimpleMvpnNlriRegistry
@NonNullByDefault public interface MvpnRegistry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable MvpnChoice
parseMvpn(NlriType type, io.netty.buffer.ByteBuf buffer)
Decode input buffer to BGP Mvpn.io.netty.buffer.ByteBuf
serializeMvpn(MvpnChoice mvpn)
Encode input BGP mvpn to output buffer.
-
-
-
Method Detail
-
parseMvpn
@Nullable MvpnChoice parseMvpn(NlriType type, io.netty.buffer.ByteBuf buffer)
Decode input buffer to BGP Mvpn.- Parameters:
type
- Nlri Typebuffer
- encoded MvpnChoice body in Bytebuf- Returns:
- MvpnChoice
-
serializeMvpn
io.netty.buffer.ByteBuf serializeMvpn(MvpnChoice mvpn)
Encode input BGP mvpn to output buffer.- Parameters:
mvpn
- MvpnChoice- Returns:
- encoded MvpnChoice body in Bytebuf
-
-