Class RadiusBan

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

public class RadiusBan
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor 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)  
  • 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​(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)
  • Method Details

    • isBanned

      public boolean isBanned​(RadiusPacket packet, long millis)
    • reject

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

      public void shutdown()