public class ThreadFilter extends java.lang.Object implements PacketFilter
Constructor and Description |
---|
ThreadFilter(java.lang.String thread)
Creates a new thread filter using the specified thread value.
|
public ThreadFilter(java.lang.String thread)
thread
- the thread value to filter for.public boolean accept(Packet packet)
PacketFilter
accept
in interface PacketFilter
packet
- the packet to test.