public class IQTypeFilter extends Object implements PacketFilter
Constructor and Description |
---|
IQTypeFilter(IQ.Type type) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Packet packet)
Tests whether or not the specified packet should pass the filter.
|
public IQTypeFilter(IQ.Type type)
public boolean accept(Packet packet)
PacketFilter
accept
in interface PacketFilter
packet
- the packet to test.Copyright © 2015 Ignite Realtime. All rights reserved.