Class DelayedStanzaFilter

java.lang.Object
org.jivesoftware.smackx.delay.filter.DelayedStanzaFilter
All Implemented Interfaces:
org.jivesoftware.smack.filter.StanzaFilter, org.jivesoftware.smack.util.Predicate<org.jivesoftware.smack.packet.Stanza>

public final class DelayedStanzaFilter extends Object implements org.jivesoftware.smack.filter.StanzaFilter
Filters stanza with delay information, i.e. stanzas that got delayed for some reason
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.jivesoftware.smack.filter.StanzaFilter
     
    static final org.jivesoftware.smack.filter.StanzaFilter
    Filters stanzas that got not delayed, i.e.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(org.jivesoftware.smack.packet.Stanza packet)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.jivesoftware.smack.filter.StanzaFilter

    asPredicate, test
  • Field Details

    • INSTANCE

      public static final org.jivesoftware.smack.filter.StanzaFilter INSTANCE
    • NOT_DELAYED_STANZA

      public static final org.jivesoftware.smack.filter.StanzaFilter NOT_DELAYED_STANZA
      Filters stanzas that got not delayed, i.e. have no delayed information
  • Method Details

    • accept

      public boolean accept(org.jivesoftware.smack.packet.Stanza packet)
      Specified by:
      accept in interface org.jivesoftware.smack.filter.StanzaFilter