Class JsonHWIDHandler
- java.lang.Object
-
- pro.gravit.launchserver.auth.hwid.HWIDHandler
-
- pro.gravit.launchserver.auth.hwid.JsonHWIDHandler
-
- All Implemented Interfaces:
java.lang.AutoCloseable,Reconfigurable
public final class JsonHWIDHandler extends HWIDHandler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJsonHWIDHandler.BannedResultstatic classJsonHWIDHandler.banRequeststatic classJsonHWIDHandler.checkRequeststatic classJsonHWIDHandler.HWIDRequeststatic classJsonHWIDHandler.Result
-
Field Summary
-
Fields inherited from class pro.gravit.launchserver.auth.hwid.HWIDHandler
providers
-
-
Constructor Summary
Constructors Constructor Description JsonHWIDHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidban(java.util.List<pro.gravit.launcher.hwid.HWID> l_hwid)voidcheck0(pro.gravit.launcher.hwid.HWID hwid, java.lang.String username)voidclose()java.util.List<pro.gravit.launcher.hwid.HWID>getHwid(java.lang.String username)voidinit()voidunban(java.util.List<pro.gravit.launcher.hwid.HWID> l_hwid)-
Methods inherited from class pro.gravit.launchserver.auth.hwid.HWIDHandler
check, getCommands, registerHandlers
-
-
-
-
Method Detail
-
ban
public void ban(java.util.List<pro.gravit.launcher.hwid.HWID> l_hwid) throws HWIDException- Specified by:
banin classHWIDHandler- Throws:
HWIDException
-
check0
public void check0(pro.gravit.launcher.hwid.HWID hwid, java.lang.String username) throws HWIDException- Specified by:
check0in classHWIDHandler- Throws:
HWIDException
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein classHWIDHandler
-
init
public void init()
- Specified by:
initin classHWIDHandler
-
getHwid
public java.util.List<pro.gravit.launcher.hwid.HWID> getHwid(java.lang.String username) throws HWIDException- Specified by:
getHwidin classHWIDHandler- Throws:
HWIDException
-
unban
public void unban(java.util.List<pro.gravit.launcher.hwid.HWID> l_hwid) throws HWIDException- Specified by:
unbanin classHWIDHandler- Throws:
HWIDException
-
-