Class SourceActiveADHandler

    • Constructor Detail

      • SourceActiveADHandler

        public SourceActiveADHandler()
    • Method Detail

      • getType

        public int getType()
        Description copied from interface: MvpnParser
        Returns NlriType handled by parser.
        Returns:
        NlriType
      • parseMvpn

        public SourceActiveADCase parseMvpn​(io.netty.buffer.ByteBuf buffer)
        Description copied from interface: MvpnParser
        Decode input buffer to BGP Mvpn.
        Parameters:
        buffer - encoded Mvpn body in Bytebuf
        Returns:
        Mvpn
      • serializeBody

        protected io.netty.buffer.ByteBuf serializeBody​(SourceActiveADCase mvpn)
      • getClazz

        public Class<? extends MvpnChoice> getClazz()
        Description copied from interface: MvpnSerializer
        returns class of MvpnChoice handled by serializer.
        Returns:
        MvpnChoice Class
      • serializeMvpn

        public final io.netty.buffer.ByteBuf serializeMvpn​(T mvpn)
        Description copied from interface: MvpnSerializer
        Serialize mvpn.
        Specified by:
        serializeMvpn in interface MvpnSerializer<T extends MvpnChoice>
        Parameters:
        mvpn - mvpn
        Returns:
        Encode mvpn to output buffer