Package marauroa.server.game.dbcommand
Class SetCharacterStatusCommand
java.lang.Object
marauroa.server.db.command.AbstractDBCommand
marauroa.server.game.dbcommand.SetCharacterStatusCommand
- All Implemented Interfaces:
DBCommand
Asynchronously set a character's status.
- Author:
- hendrik
-
Constructor Summary
ConstructorDescriptionSetCharacterStatusCommand(String username, String character, String status)
Asynchronously stores a character's progress -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute(DBTransaction transaction)
processes the database request.Methods inherited from class marauroa.server.db.command.AbstractDBCommand
getEnqueueTime, getException, setEnqueueTime, setException
-
Constructor Details
-
SetCharacterStatusCommand
Asynchronously stores a character's progress- Parameters:
username
- usernamecharacter
- character namestatus
- status
-
-
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
-