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