public class ThreadFilter extends Object implements PacketFilter
| Constructor and Description |
|---|
ThreadFilter(String thread)
Creates a new thread filter using the specified thread value.
|
| 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 ThreadFilter(String thread)
thread - the thread value to filter for.public boolean accept(org.xmpp.packet.Packet packet)
PacketFilteraccept in interface PacketFilterpacket - the packet to test.Copyright © 2014. All Rights Reserved.