Class DelayedStanzaFilter
- java.lang.Object
-
- org.jivesoftware.smackx.delay.filter.DelayedStanzaFilter
-
- All Implemented Interfaces:
StanzaFilter,Predicate<Stanza>
public final class DelayedStanzaFilter extends Object implements StanzaFilter
Filters stanza with delay information, ie. stanzas that got delayed for some reason
-
-
Field Summary
Fields Modifier and Type Field Description static StanzaFilterINSTANCEstatic StanzaFilterNOT_DELAYED_STANZAFilters stanzas that got not delayed, ie.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(Stanza packet)Tests whether or not the specified stanza should pass the filter.-
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 StanzaFilter INSTANCE
-
NOT_DELAYED_STANZA
public static final StanzaFilter NOT_DELAYED_STANZA
Filters stanzas that got not delayed, ie. have no delayed information
-
-
Method Detail
-
accept
public boolean accept(Stanza packet)
Description copied from interface:StanzaFilterTests whether or not the specified stanza should pass the filter.- Specified by:
acceptin interfaceStanzaFilter- Parameters:
packet- the stanza to test.- Returns:
- true if and only if
stanzapasses the filter.
-
-