-
- All Implemented Interfaces:
@Deprecated()@FunctionalInterface() public interface DatagramPacketFilter
Represents a filter which selects or deselects DatagramPackets.
-
-
Method Summary
Modifier and Type Method Description abstract booleanaccept(DatagramPacket p)Determines whether a specific DatagramPacket is accepted by this filter i.e. -
-
Method Detail
-
accept
abstract boolean accept(DatagramPacket p)
Determines whether a specific DatagramPacket is accepted by this filter i.e. whether the caller should include the specified DatagramPacket in a selection based on this filter.
- Parameters:
p- the DatagramPacket which is to be checked whether it is accepted by this filter
-
-
-
-