Package org.jivesoftware.smack.filter
Class PresenceTypeFilter
java.lang.Object
org.jivesoftware.smack.filter.FlexibleStanzaTypeFilter<Presence>
org.jivesoftware.smack.filter.PresenceTypeFilter
- All Implemented Interfaces:
Predicate<Stanza>,StanzaFilter
A filter for Presence types. Returns true only if the stanza is an Presence stanza and it matches the type provided in the
constructor.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PresenceTypeFilterstatic final PresenceTypeFilterstatic final StanzaFilterstatic final PresenceTypeFilterstatic final PresenceTypeFilterstatic final PresenceTypeFilterstatic final PresenceTypeFilterstatic final PresenceTypeFilterstatic final PresenceTypeFilterFields 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
-
AVAILABLE
-
UNAVAILABLE
-
SUBSCRIBE
-
SUBSCRIBED
-
UNSUBSCRIBE
-
UNSUBSCRIBED
-
ERROR
-
PROBE
-
OUTGOING_PRESENCE_BROADCAST
-
-
Method Details
-
acceptSpecific
- Specified by:
acceptSpecificin classFlexibleStanzaTypeFilter<Presence>
-
toString
- Overrides:
toStringin classFlexibleStanzaTypeFilter<Presence>
-