Package marauroa.server.game.dbcommand
Class StoreCharacterCommand
java.lang.Object
marauroa.server.db.command.AbstractDBCommand
marauroa.server.game.dbcommand.StoreCharacterCommand
- All Implemented Interfaces:
DBCommand
Asynchronously stores a character's progress.
- Author:
- hendrik
-
Constructor Summary
ConstructorDescriptionStoreCharacterCommand(String username, String character, RPObject object)
Asynchronously stores a character's progress -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute(DBTransaction transaction)
processes the database request.toString()
returns a string suitable for debug output of this DBCommand.Methods inherited from class marauroa.server.db.command.AbstractDBCommand
getEnqueueTime, getException, setEnqueueTime, setException
-
Constructor Details
-
StoreCharacterCommand
Asynchronously stores a character's progress- Parameters:
username
- usernamecharacter
- characternameobject
- character object
-
-
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
-
toString
returns a string suitable for debug output of this DBCommand.
-