Interface ModifiableUnsubscribePacket

    • Method Detail

      • setTopicFilters

        void setTopicFilters​(@NotNull List<@NotNull String> topics)
        Sets the list of Topics to be unsubscribed from.
        Parameters:
        topics - The list of Topics to unsubscribe from.
        Throws:
        NullPointerException - If the list of topics or one of its elements is null.
        IllegalArgumentException - If the amount of topics passed differs from that contained in the packet being manipulated.
        Since:
        4.3.0, CE 2020.1