Class MUCUserStatusCodeFilter
- java.lang.Object
-
- org.jivesoftware.smackx.muc.filter.MUCUserStatusCodeFilter
-
- All Implemented Interfaces:
StanzaFilter,Predicate<Stanza>
public class MUCUserStatusCodeFilter extends Object implements StanzaFilter
-
-
Field Summary
Fields Modifier and Type Field Description static MUCUserStatusCodeFilterSTATUS_110_PRESENCE_TO_SELF
-
Constructor Summary
Constructors Constructor Description MUCUserStatusCodeFilter(int statusCode)MUCUserStatusCodeFilter(MUCUser.Status status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(Stanza stanza)Tests whether or not the specified stanza should pass the filter.StringtoString()-
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
asPredicate, test
-
-
-
-
Field Detail
-
STATUS_110_PRESENCE_TO_SELF
public static final MUCUserStatusCodeFilter STATUS_110_PRESENCE_TO_SELF
-
-
Constructor Detail
-
MUCUserStatusCodeFilter
public MUCUserStatusCodeFilter(MUCUser.Status status)
-
MUCUserStatusCodeFilter
public MUCUserStatusCodeFilter(int statusCode)
-
-
Method Detail
-
accept
public boolean accept(Stanza stanza)
Description copied from interface:StanzaFilterTests whether or not the specified stanza should pass the filter.- Specified by:
acceptin interfaceStanzaFilter- Parameters:
stanza- the stanza to test.- Returns:
- true if and only if
stanzapasses the filter.
-
-