Class OnceForThisStanza
java.lang.Object
org.jivesoftware.smack.sm.predicates.tcp.OnceForThisStanza
- All Implemented Interfaces:
Predicate<Stanza>,StanzaFilter
-
Method Summary
Modifier and TypeMethodDescriptionbooleanTests whether or not the specified stanza should pass the filter.static voidsetup(XMPPTCPConnection connection, Stanza packet) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.filter.StanzaFilter
asPredicate, test
-
Method Details
-
setup
-
accept
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.
-