Class BanInfo


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

      Constructors 
      Constructor Description
      BanInfo​(long expiry, java.lang.String reason)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getExpiry()  
      java.lang.String getReason()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BanInfo

        public BanInfo​(long expiry,
                       java.lang.String reason)
    • Method Detail

      • getExpiry

        public long getExpiry()
        Returns:
        get ban expiration date in seconds in Unix time.
      • getReason

        public java.lang.String getReason()
        Returns:
        the reason of ban. Could be null.