Class LogSimpleItemEventCommand
java.lang.Object
marauroa.server.db.command.AbstractDBCommand
games.stendhal.server.core.engine.dbcommand.AbstractLogItemEventCommand
games.stendhal.server.core.engine.dbcommand.LogSimpleItemEventCommand
- All Implemented Interfaces:
DBCommand
logs a simple item event
- Author:
- hendrik
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidlog(DBTransaction transaction) logs the event to the database.toString()returns a string suitable for debug output of this DBCommand.Methods inherited from class games.stendhal.server.core.engine.dbcommand.AbstractLogItemEventCommand
execute, getQuantityMethods inherited from class marauroa.server.db.command.AbstractDBCommand
getEnqueueTime, getException, setEnqueueTime, setException
-
Constructor Details
-
LogSimpleItemEventCommand
public LogSimpleItemEventCommand(RPObject item, RPEntity player, String event, String param1, String param2, String param3, String param4) creates a simple item log command- Parameters:
item- itemplayer- player objectevent- name of eventparam1- param 1param2- param 2param3- param 3param4- param 4
-
-
Method Details
-
log
Description copied from class:AbstractLogItemEventCommandlogs the event to the database.- Specified by:
login classAbstractLogItemEventCommand- Parameters:
transaction- DBTransaction- Throws:
SQLException- in case of an database error
-
toString
returns a string suitable for debug output of this DBCommand.
-