Class DelayedStanzaFilter

  • All Implemented Interfaces:
    org.jivesoftware.smack.filter.StanzaFilter, org.jivesoftware.smack.util.Predicate<org.jivesoftware.smack.packet.Stanza>

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

      Fields 
      Modifier and Type Field Description
      static org.jivesoftware.smack.filter.StanzaFilter INSTANCE  
      static org.jivesoftware.smack.filter.StanzaFilter NOT_DELAYED_STANZA
      Filters stanzas that got not delayed, ie.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 Detail

      • 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, ie. have no delayed information
    • Method Detail

      • accept

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