Class MemoryHWIDHandler
- java.lang.Object
-
- pro.gravit.launchserver.auth.hwid.HWIDHandler
-
- pro.gravit.launchserver.auth.hwid.MemoryHWIDHandler
-
- All Implemented Interfaces:
java.lang.AutoCloseable,Reconfigurable
public class MemoryHWIDHandler extends HWIDHandler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMemoryHWIDHandler.Entry
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringbanMessagejava.util.LinkedList<MemoryHWIDHandler.Entry>list-
Fields inherited from class pro.gravit.launchserver.auth.hwid.HWIDHandler
providers
-
-
Constructor Summary
Constructors Constructor Description MemoryHWIDHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidban(java.util.List<pro.gravit.launcher.hwid.HWID> 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> hwid)-
Methods inherited from class pro.gravit.launchserver.auth.hwid.HWIDHandler
check, getCommands, registerHandlers
-
-
-
-
Field Detail
-
list
public final transient java.util.LinkedList<MemoryHWIDHandler.Entry> list
-
banMessage
public final java.lang.String banMessage
- See Also:
- Constant Field Values
-
-
Method Detail
-
ban
public void ban(java.util.List<pro.gravit.launcher.hwid.HWID> hwid)
- Specified by:
banin classHWIDHandler
-
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)
- Specified by:
getHwidin classHWIDHandler
-
unban
public void unban(java.util.List<pro.gravit.launcher.hwid.HWID> hwid)
- Specified by:
unbanin classHWIDHandler
-
-