public class PacketTypeFilter extends java.lang.Object implements PacketFilter
| Constructor and Description |
|---|
PacketTypeFilter(java.lang.Class packetType)
Creates a new packet type filter that will filter for packets that are the
same type as packetType.
|
public PacketTypeFilter(java.lang.Class packetType)
packetType - the Class type.public boolean accept(Packet packet)
PacketFilteraccept in interface PacketFilterpacket - the packet to test.public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2003-2007 Jive Software.