Class HWIDHandler

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static pro.gravit.utils.ProviderMap<HWIDHandler> providers  
    • Constructor Summary

      Constructors 
      Constructor Description
      HWIDHandler()  
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract void ban​(java.util.List<pro.gravit.launcher.hwid.HWID> hwid)  
      void check​(pro.gravit.launcher.hwid.HWID hwid, java.lang.String username)  
      abstract void check0​(pro.gravit.launcher.hwid.HWID hwid, java.lang.String username)  
      abstract void close()  
      java.util.Map<java.lang.String,​pro.gravit.utils.command.Command> getCommands()
      Gets a list of commands available for this object.
      abstract java.util.List<pro.gravit.launcher.hwid.HWID> getHwid​(java.lang.String username)  
      abstract void init()  
      static void registerHandlers()  
      abstract void unban​(java.util.List<pro.gravit.launcher.hwid.HWID> hwid)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • providers

        public static final pro.gravit.utils.ProviderMap<HWIDHandler> providers
    • Constructor Detail

      • HWIDHandler

        public HWIDHandler()
    • Method Detail

      • registerHandlers

        public static void registerHandlers()
      • getCommands

        public java.util.Map<java.lang.String,​pro.gravit.utils.command.Command> getCommands()
        Description copied from interface: Reconfigurable
        Gets a list of commands available for this object.
        Specified by:
        getCommands in interface Reconfigurable
        Returns:
        Key - Command Name Value is a command object
      • ban

        public abstract void ban​(java.util.List<pro.gravit.launcher.hwid.HWID> hwid)
                          throws HWIDException
        Throws:
        HWIDException
      • check

        public void check​(pro.gravit.launcher.hwid.HWID hwid,
                          java.lang.String username)
                   throws HWIDException
        Throws:
        HWIDException
      • check0

        public abstract void check0​(pro.gravit.launcher.hwid.HWID hwid,
                                    java.lang.String username)
                             throws HWIDException
        Throws:
        HWIDException
      • close

        public abstract void close()
                            throws java.lang.Exception
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.lang.Exception
      • init

        public abstract void init()
      • getHwid

        public abstract java.util.List<pro.gravit.launcher.hwid.HWID> getHwid​(java.lang.String username)
                                                                       throws HWIDException
        Throws:
        HWIDException
      • unban

        public abstract void unban​(java.util.List<pro.gravit.launcher.hwid.HWID> hwid)
                            throws HWIDException
        Throws:
        HWIDException