public class PacketIDFilter extends Object implements PacketFilter
| Constructor and Description |
|---|
PacketIDFilter(String packetID)
Creates a new packet ID filter using the specified packet ID.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Packet packet)
Tests whether or not the specified packet should pass the filter.
|
String |
toString() |
public PacketIDFilter(String packetID)
packetID - the packet ID to filter for.public boolean accept(Packet packet)
PacketFilteraccept in interface PacketFilterpacket - the packet to test.Copyright © 2003-2007 Jive Software.