Package org.jivesoftware.smack.filter
Class ThreadFilter
java.lang.Object
org.jivesoftware.smack.filter.FlexibleStanzaTypeFilter<Message>
org.jivesoftware.smack.filter.ThreadFilter
- All Implemented Interfaces:
Predicate<Stanza>
,StanzaFilter
Filters for message packets with a particular thread value.
-
Field Summary
Fields inherited from class org.jivesoftware.smack.filter.FlexibleStanzaTypeFilter
stanzaType
-
Constructor Summary
ConstructorsConstructorDescriptionThreadFilter
(String thread) Creates a new thread filter using the specified thread value. -
Method Summary
Methods inherited from class org.jivesoftware.smack.filter.FlexibleStanzaTypeFilter
accept
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jivesoftware.smack.filter.StanzaFilter
accept, asPredicate, test
-
Constructor Details
-
ThreadFilter
Creates a new thread filter using the specified thread value.- Parameters:
thread
- the thread value to filter for.
-
-
Method Details
-
acceptSpecific
- Specified by:
acceptSpecific
in classFlexibleStanzaTypeFilter<Message>
-
toString
- Overrides:
toString
in classFlexibleStanzaTypeFilter<Message>
-