Class SimpleMvpnNlriRegistry
- java.lang.Object
-
- org.opendaylight.protocol.bgp.mvpn.spi.pojo.nlri.SimpleMvpnNlriRegistry
-
- All Implemented Interfaces:
MvpnRegistry
public final class SimpleMvpnNlriRegistry extends Object implements MvpnRegistry
Mvpn Nlri Registry.- Author:
- Claudio D. Gasparini
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NonNull SimpleMvpnNlriRegistry
getInstance()
MvpnChoice
parseMvpn(NlriType type, io.netty.buffer.ByteBuf nlriBuf)
Decode input buffer to BGP Mvpn.io.netty.buffer.ByteBuf
serializeMvpn(MvpnChoice mvpn)
Encode input BGP mvpn to output buffer.
-
-
-
Method Detail
-
getInstance
public static @NonNull SimpleMvpnNlriRegistry getInstance()
-
parseMvpn
public MvpnChoice parseMvpn(NlriType type, io.netty.buffer.ByteBuf nlriBuf)
Description copied from interface:MvpnRegistry
Decode input buffer to BGP Mvpn.- Specified by:
parseMvpn
in interfaceMvpnRegistry
- Parameters:
type
- Nlri TypenlriBuf
- encoded MvpnChoice body in Bytebuf- Returns:
- MvpnChoice
-
serializeMvpn
public io.netty.buffer.ByteBuf serializeMvpn(MvpnChoice mvpn)
Description copied from interface:MvpnRegistry
Encode input BGP mvpn to output buffer.- Specified by:
serializeMvpn
in interfaceMvpnRegistry
- Parameters:
mvpn
- MvpnChoice- Returns:
- encoded MvpnChoice body in Bytebuf
-
-