Package org.jitsi.utils
Interface DatagramPacketFilter
-
- All Implemented Interfaces:
@Deprecated()@FunctionalInterface() public interface DatagramPacketFilter
Represents a filter which selects or deselects DatagramPackets.
Lubomir Marinov
-
-
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- Returns:
true if this filter accepts the specified DatagramPacket i.e. if the caller should include the specified DatagramPacket in a selection based on this filter; otherwise, false
-
-
-
-