Class SimpleMvpnNlriRegistry

  • All Implemented Interfaces:
    MvpnRegistry

    public final class SimpleMvpnNlriRegistry
    extends Object
    implements MvpnRegistry
    Mvpn Nlri Registry.
    Author:
    Claudio D. Gasparini
    • Method Detail

      • 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 interface MvpnRegistry
        Parameters:
        type - Nlri Type
        nlriBuf - 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 interface MvpnRegistry
        Parameters:
        mvpn - MvpnChoice
        Returns:
        encoded MvpnChoice body in Bytebuf