API reference / dev.zernyth.api.network
PacketFilter
public record PacketFilter(Set<PacketType> types, Set<PacketDirection> directions)
Empty types means all IDs; directions must be nonempty. Filtering occurs before JNI.
Members
public PacketFilter(Set<PacketType> types, Set<PacketDirection> directions)public static PacketFilter all()