Crossfire JXClient, Trunk
|
Public Member Functions | |
void | addScriptProcessListener (@NotNull ScriptProcessListener scriptProcessListener) |
void | commandSent (@NotNull String cmd) |
String | getFilename () |
int | getScriptId () |
void | killScript () |
An external command executed as a client-sided script.
Definition at line 31 of file ScriptProcess.java.
void com.realtime.crossfire.jxclient.scripts.ScriptProcess.addScriptProcessListener | ( | @NotNull ScriptProcessListener | scriptProcessListener | ) |
Adds a ScriptProcessListener to be notified.
scriptProcessListener | the listener to add |
Implemented in com.realtime.crossfire.jxclient.scripts.AbstractScriptProcess.
void com.realtime.crossfire.jxclient.scripts.ScriptProcess.commandSent | ( | @NotNull String | cmd | ) |
Sends a message to the script process.
cmd | the message to send |
Implemented in com.realtime.crossfire.jxclient.scripts.AbstractScriptProcess.
String com.realtime.crossfire.jxclient.scripts.ScriptProcess.getFilename | ( | ) |
Returns the script's filename.
Implemented in com.realtime.crossfire.jxclient.scripts.AbstractScriptProcess.
int com.realtime.crossfire.jxclient.scripts.ScriptProcess.getScriptId | ( | ) |
Returns the script ID identifying this script instance.
Implemented in com.realtime.crossfire.jxclient.scripts.AbstractScriptProcess.
Referenced by com.realtime.crossfire.jxclient.scripts.AbstractScriptProcess.equals().
void com.realtime.crossfire.jxclient.scripts.ScriptProcess.killScript | ( | ) |
Kills the script process. Does nothing if the process is not running.
Implemented in com.realtime.crossfire.jxclient.scripts.TestScriptProcess, and com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.
Referenced by com.realtime.crossfire.jxclient.scripts.AbstractScriptProcess.commandSent(), com.realtime.crossfire.jxclient.commands.ScriptkillCommand.execute(), and com.realtime.crossfire.jxclient.commands.ScriptkillallCommand.execute().