public class RadiusBan
extends java.lang.Object
Constructor and Description |
---|
RadiusBan(java.util.concurrent.TimeUnit timeUnit,
long period,
long maxRejectCount,
java.util.List<java.lang.String> keyAttributes,
java.util.Set<java.lang.Integer> accessCodes,
long banTime) |
Modifier and Type | Method and Description |
---|---|
boolean |
isBanned(RadiusPacket packet,
long millis) |
void |
reject(RadiusPacket packet,
int accessCode,
long millis) |
void |
shutdown() |
public RadiusBan(java.util.concurrent.TimeUnit timeUnit, long period, long maxRejectCount, java.util.List<java.lang.String> keyAttributes, java.util.Set<java.lang.Integer> accessCodes, long banTime)
public boolean isBanned(RadiusPacket packet, long millis)
public void reject(RadiusPacket packet, int accessCode, long millis)
public void shutdown()