Class BanUser

  • All Implemented Interfaces:
    com.smartfoxserver.v2.controllers.IControllerCommand

    public class BanUser
    extends com.smartfoxserver.v2.controllers.BaseControllerCommand
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String KEY_BAN_DURATION_HOURS  
      static java.lang.String KEY_BAN_MODE  
      static java.lang.String KEY_DELAY  
      static java.lang.String KEY_MESSAGE  
      static java.lang.String KEY_USER_ID  
      • Fields inherited from class com.smartfoxserver.v2.controllers.BaseControllerCommand

        api, KEY_ERROR_CODE, KEY_ERROR_PARAMS, logger, sfs
    • Constructor Summary

      Constructors 
      Constructor Description
      BanUser()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(com.smartfoxserver.bitswarm.io.IRequest request)  
      boolean validate​(com.smartfoxserver.bitswarm.io.IRequest request)  
      • Methods inherited from class com.smartfoxserver.v2.controllers.BaseControllerCommand

        applyZoneFilterChain, checkRequestPermissions, checkRequestPermissions, checkSuperUser, getId, getRequestType, preProcess
      • Methods inherited from class java.lang.Object

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