Package marauroa.server.game.dbcommand
Class LoadBanListCommand
java.lang.Object
marauroa.server.db.command.AbstractDBCommand
marauroa.server.game.dbcommand.DBCommandWithCallback
marauroa.server.game.dbcommand.LoadBanListCommand
- All Implemented Interfaces:
DBCommand
asynchronously loads the ip ban list
- Author:
- hendrik
-
Field Summary
Fields inherited from class marauroa.server.game.dbcommand.DBCommandWithCallback
callback
-
Constructor Summary
ConstructorDescriptionLoadBanListCommand(DelayedEventHandler callback)
Creates a new LoadBanListCommand -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute(DBTransaction transaction)
processes the database request.Gets the characters maptoString()
returns a string suitable for debug output of this DBCommand.Methods inherited from class marauroa.server.game.dbcommand.DBCommandWithCallback
getChannel, getClientid, getProtocolVersion, invokeCallback
Methods inherited from class marauroa.server.db.command.AbstractDBCommand
getEnqueueTime, getException, setEnqueueTime, setException
-
Constructor Details
-
LoadBanListCommand
Creates a new LoadBanListCommand- Parameters:
callback
- DelayedEventHandler
-
-
Method Details
-
execute
Description copied from class:AbstractDBCommand
processes the database request.- Specified by:
execute
in interfaceDBCommand
- Specified by:
execute
in classAbstractDBCommand
- Parameters:
transaction
- DBTransaction- Throws:
SQLException
- in case of an database errorIOException
- in case of an input/output error
-
getPermanentBans
Gets the characters map- Returns:
- characters
-
toString
returns a string suitable for debug output of this DBCommand.
-