public class NotFilter extends Object implements PacketFilter
Constructor and Description |
---|
NotFilter(PacketFilter filter)
Creates a NOT filter using the specified filter.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Packet packet)
Tests whether or not the specified packet should pass the filter.
|
public NotFilter(PacketFilter filter)
filter
- the filter.public boolean accept(Packet packet)
PacketFilter
accept
in interface PacketFilter
packet
- the packet to test.Copyright © 2015 Ignite Realtime. All rights reserved.