Class AuthLimiterComponent
java.lang.Object
pro.gravit.launchserver.components.Component
pro.gravit.launchserver.components.AbstractLimiter<String>
pro.gravit.launchserver.components.IPLimiter
pro.gravit.launchserver.components.AuthLimiterComponent
- All Implemented Interfaces:
AutoCloseable, Reconfigurable
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractLimiter
AbstractLimiter.LimitEntry -
Field Summary
FieldsFields inherited from class AbstractLimiter
exclude, map, rateLimit, rateLimitMillisFields inherited from class Component
componentName, providers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidinit(LaunchServer launchServer) booleanpreAuthHook(AuthResponse.AuthContext context, Client client) Methods inherited from class IPLimiter
getFromStringMethods inherited from class AbstractLimiter
check, garbageCollection, getCommandsMethods inherited from class Component
registerComponents, setComponentNameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Reconfigurable
defaultCommandsMap
-
Field Details
-
message
-
-
Constructor Details
-
AuthLimiterComponent
public AuthLimiterComponent()
-
-
Method Details
-
init
-
preAuthHook
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-