Crossfire JXClient, Trunk  R20561
com.realtime.crossfire.jxclient.scripts.ScriptProcess Interface Reference

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...
 

Detailed Description

An external command executed as a client-sided script.

Author
Andreas Kirschbaum

Definition at line 30 of file ScriptProcess.java.

Member Function Documentation

◆ addScriptProcessListener()

void com.realtime.crossfire.jxclient.scripts.ScriptProcess.addScriptProcessListener ( @NotNull ScriptProcessListener  scriptProcessListener)

Adds a ScriptProcessListener to be notified.

Parameters
scriptProcessListenerthe listener to add

Implemented in com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess, and com.realtime.crossfire.jxclient.test.TestScriptProcess.

◆ commandSent()

void com.realtime.crossfire.jxclient.scripts.ScriptProcess.commandSent ( @NotNull String  cmd)

Sends a message to the script process.

Parameters
cmdthe message to send

Implemented in com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess, and com.realtime.crossfire.jxclient.test.TestScriptProcess.

◆ getFilename()

String com.realtime.crossfire.jxclient.scripts.ScriptProcess.getFilename ( )

Returns the script's filename.

Returns
the script's filename

Implemented in com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess, and com.realtime.crossfire.jxclient.test.TestScriptProcess.

◆ getScriptId()

int com.realtime.crossfire.jxclient.scripts.ScriptProcess.getScriptId ( )

Returns the script ID identifying this script instance.

Returns
the script ID

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:

◆ killScript()

void com.realtime.crossfire.jxclient.scripts.ScriptProcess.killScript ( )

The documentation for this interface was generated from the following file: