|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectru.igis.omtab.scenario.CLIPSScenario
public class CLIPSScenario
Reference implementation of scenario mechanism Implement execution of CLIPS commands For now implement execution of command "batch" and also execution of arrbitrary CLIPS command
Constructor Summary | |
---|---|
CLIPSScenario()
Creates a new instance of JessScenario |
Method Summary | |
---|---|
void |
batch(java.lang.String path)
Method to execute CLIPS command "batch" |
void |
executeCommand(java.lang.String cmd)
Method to execute arbitrary CLIPS command |
void |
startClient(java.lang.String host,
java.lang.String port,
java.lang.String encoding)
Method to start CLIPS client |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CLIPSScenario()
Method Detail |
---|
public void batch(java.lang.String path) throws java.io.IOException
path
- - path to batch file
java.io.IOException
- -public void executeCommand(java.lang.String cmd)
cmd
- - command string, for example "(bind ?x(* 2 2))"public void startClient(java.lang.String host, java.lang.String port, java.lang.String encoding)
host
- - Internet Address (localhost)port
- - integer number (4242)encoding
- - character encoding (IBM866 for Windows, KOI8-R for Linux)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |