Class AbstractMvpnNlri<T extends MvpnChoice>

    • Constructor Detail

      • AbstractMvpnNlri

        protected AbstractMvpnNlri​(Class<T> choice,
                                   NlriType type)
    • Method Detail

      • 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
      • serializeBody

        protected abstract io.netty.buffer.ByteBuf serializeBody​(T mvpn)