Class ForEveryMessage

java.lang.Object
org.jivesoftware.smack.sm.predicates.ForEveryMessage
All Implemented Interfaces:
Predicate<Stanza>, StanzaFilter

public final class ForEveryMessage extends Object implements StanzaFilter
  • Field Details

  • Method Details

    • accept

      public boolean accept(Stanza packet)
      Description copied from interface: StanzaFilter
      Tests whether or not the specified stanza should pass the filter.
      Specified by:
      accept in interface StanzaFilter
      Parameters:
      packet - the stanza to test.
      Returns:
      true if and only if stanza passes the filter.