public class MUCUserStatusCodeFilter extends Object implements StanzaFilter
Modifier and Type | Field and Description |
---|---|
static MUCUserStatusCodeFilter |
STATUS_110_PRESENCE_TO_SELF |
Constructor and Description |
---|
MUCUserStatusCodeFilter(int statusCode) |
MUCUserStatusCodeFilter(MUCUser.Status status) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Stanza stanza)
Tests whether or not the specified stanza should pass the filter.
|
String |
toString() |
public static final MUCUserStatusCodeFilter STATUS_110_PRESENCE_TO_SELF
public MUCUserStatusCodeFilter(MUCUser.Status status)
public MUCUserStatusCodeFilter(int statusCode)
public boolean accept(Stanza stanza)
StanzaFilter
accept
in interface StanzaFilter
stanza
- the stanza to test.