Interface StanzaFilter

    • Method Detail

      • accept

        boolean accept​(Stanza stanza)
        Tests whether or not the specified stanza should pass the filter.
        Parameters:
        stanza - the stanza to test.
        Returns:
        true if and only if stanza passes the filter.
      • asPredicate

        default <S extends StanzaPredicate<S> asPredicate​(java.lang.Class<?> stanzaClass)