Package org.jivesoftware.smack.filter
Class IQTypeFilter
java.lang.Object
org.jivesoftware.smack.filter.FlexibleStanzaTypeFilter<IQ>
org.jivesoftware.smack.filter.IQTypeFilter
- All Implemented Interfaces:
StanzaFilter,Predicate<Stanza>
A filter for IQ stanza types. Returns true only if the stanza is an IQ packet
and it matches the type provided in the constructor.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StanzaFilterstatic final StanzaFilterstatic final StanzaFilterstatic final StanzaFilterstatic final StanzaFilterFields inherited from class org.jivesoftware.smack.filter.FlexibleStanzaTypeFilter
stanzaType -
Method Summary
Methods inherited from class org.jivesoftware.smack.filter.FlexibleStanzaTypeFilter
acceptMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.filter.StanzaFilter
asPredicate, test
-
Field Details
-
GET
-
SET
-
RESULT
-
ERROR
-
GET_OR_SET
-
-
Method Details
-
acceptSpecific
- Specified by:
acceptSpecificin classFlexibleStanzaTypeFilter<IQ>
-
toString
- Overrides:
toStringin classFlexibleStanzaTypeFilter<IQ>
-