Package ru.bitel.bgbilling.kernel.network.radius

# Class RadiusBan

java.lang.Object
ru.bitel.bgbilling.kernel.network.radius.RadiusBan

public class RadiusBan extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RadiusBan(TimeUnit timeUnit, long period, long maxRejectCount, List<String> keyAttributes, Set<Integer> accessCodes, long banTime)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `isBanned(RadiusPacket packet, long millis)`
  `void`
  `reject(RadiusPacket packet, int accessCode, long millis)`
  `void`
  `shutdown()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### RadiusBan

    public RadiusBan(TimeUnit timeUnit, long period, long maxRejectCount, List<String> keyAttributes, Set<Integer> accessCodes, long banTime)

- ## Method Details

  - ### isBanned

    public boolean isBanned(RadiusPacket packet, long millis)

  - ### reject

    public void reject(RadiusPacket packet, int accessCode, long millis)

  - ### shutdown

    public void shutdown()