Class AfterXStanzas

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

    public class AfterXStanzas
    extends java.lang.Object
    implements org.jivesoftware.smack.filter.StanzaFilter
    • Constructor Summary

      Constructors 
      Constructor Description
      AfterXStanzas​(int count)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(org.jivesoftware.smack.packet.Stanza packet)  
      void resetCounter()  
      • 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
    • Constructor Detail

      • AfterXStanzas

        public AfterXStanzas​(int count)
    • Method Detail

      • accept

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

        public void resetCounter()