Class AbstractLimiter<T>
- java.lang.Object
-
- pro.gravit.launchserver.components.Component
-
- pro.gravit.launchserver.components.AbstractLimiter<T>
-
- All Implemented Interfaces:
pro.gravit.launcher.NeedGarbageCollection,Reconfigurable
- Direct Known Subclasses:
IPLimiter
public abstract class AbstractLimiter<T> extends Component implements pro.gravit.launcher.NeedGarbageCollection, Reconfigurable
-
-
Constructor Summary
Constructors Constructor Description AbstractLimiter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleancheck(T address)voidgarbageCollection()java.util.Map<java.lang.String,pro.gravit.utils.command.Command>getCommands()Gets a list of commands available for this object.protected abstract TgetFromString(java.lang.String str)-
Methods inherited from class pro.gravit.launchserver.components.Component
init, postInit, preInit, registerComponents
-
-
-
-
Method Detail
-
getCommands
public java.util.Map<java.lang.String,pro.gravit.utils.command.Command> getCommands()
Description copied from interface:ReconfigurableGets a list of commands available for this object.- Specified by:
getCommandsin interfaceReconfigurable- Returns:
- Key - Command Name Value is a command object
-
getFromString
protected abstract T getFromString(java.lang.String str)
-
garbageCollection
public void garbageCollection()
- Specified by:
garbageCollectionin interfacepro.gravit.launcher.NeedGarbageCollection
-
check
public boolean check(T address)
-
-