|
Crossfire JXClient, Trunk
R20561
|
An external command executed as a client-sided script. More...
Inheritance diagram for com.realtime.crossfire.jxclient.scripts.ScriptProcess:
Collaboration diagram for com.realtime.crossfire.jxclient.scripts.ScriptProcess:Public Member Functions | |
| void | addScriptProcessListener (@NotNull ScriptProcessListener scriptProcessListener) |
| Adds a ScriptProcessListener to be notified. More... | |
| void | commandSent (@NotNull String cmd) |
| Sends a message to the script process. More... | |
| String | getFilename () |
| Returns the script's filename. More... | |
| int | getScriptId () |
| Returns the script ID identifying this script instance. More... | |
| void | killScript () |
| Kills the script process. More... | |
An external command executed as a client-sided script.
Definition at line 30 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.DefaultScriptProcess, and com.realtime.crossfire.jxclient.test.TestScriptProcess.
| 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.DefaultScriptProcess, and com.realtime.crossfire.jxclient.test.TestScriptProcess.
| String com.realtime.crossfire.jxclient.scripts.ScriptProcess.getFilename | ( | ) |
Returns the script's filename.
Implemented in com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess, and com.realtime.crossfire.jxclient.test.TestScriptProcess.
| int com.realtime.crossfire.jxclient.scripts.ScriptProcess.getScriptId | ( | ) |
Returns the script ID identifying this script instance.
Implemented in com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess, and com.realtime.crossfire.jxclient.test.TestScriptProcess.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.equals().
Here is the caller graph for this function:| 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.DefaultScriptProcess, and com.realtime.crossfire.jxclient.test.TestScriptProcess.
Referenced by com.realtime.crossfire.jxclient.commands.ScriptkillallCommand.execute(), and com.realtime.crossfire.jxclient.commands.ScriptkillCommand.execute().
Here is the caller graph for this function: