mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-01 01:35:59 +01:00
Add IQTypeFilter.GET_OR_SET
This commit is contained in:
parent
d78b39d117
commit
9c2f6dcfbc
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ public class IQTypeFilter extends FlexiblePacketTypeFilter<IQ> {
|
||||||
public static final PacketFilter SET = new IQTypeFilter(Type.set);
|
public static final PacketFilter SET = new IQTypeFilter(Type.set);
|
||||||
public static final PacketFilter RESULT = new IQTypeFilter(Type.result);
|
public static final PacketFilter RESULT = new IQTypeFilter(Type.result);
|
||||||
public static final PacketFilter ERROR = new IQTypeFilter(Type.error);
|
public static final PacketFilter ERROR = new IQTypeFilter(Type.error);
|
||||||
|
public static final PacketFilter GET_OR_SET = new OrFilter(GET, SET);
|
||||||
|
|
||||||
private final IQ.Type type;
|
private final IQ.Type type;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue