public class IQTypeFilter extends Object implements PacketFilter
| Constructor and Description |
|---|
IQTypeFilter(org.xmpp.packet.IQ.Type type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(org.xmpp.packet.Packet packet)
Tests whether or not the specified packet should pass the filter.
|
public boolean accept(org.xmpp.packet.Packet packet)
PacketFilteraccept in interface PacketFilterpacket - the packet to test.Copyright © 2014. All Rights Reserved.