|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthicosim.components.backend.io.CommandProcessor
public class CommandProcessor
CommandProcessor - interpreting commands from the command line.
| Constructor Summary | |
|---|---|
CommandProcessor(Engine engine,
java.lang.String[] args)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getMemory(java.lang.Object[] paramsGet)
This method returns the memorycontent as Stringrepresentation depending on the given parameter. |
void |
processConsoleInput()
Mainloop of Console based Application. |
java.lang.String |
processGUI_Input(java.lang.String cmd)
This method is used by the gui to interpret gui-commandline commands. |
java.lang.String |
setMemory(java.lang.Object[] paramsSet)
This method writes to memory depending on the given parameter. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandProcessor(Engine engine,
java.lang.String[] args)
| Method Detail |
|---|
public void processConsoleInput()
throws java.lang.Exception
java.lang.Exception
public java.lang.String processGUI_Input(java.lang.String cmd)
throws java.lang.Exception
cmd - - comming from gui, interpret and execute this command.
java.lang.Exception
public java.lang.String getMemory(java.lang.Object[] paramsGet)
throws java.lang.Exception
paramsGet - - parameter to the "GET" command e.g. new Object[] {0x0, 0xf} //startAddress, endAddress
or: new Object[] {0x0} //get value on that address
java.lang.Exception
public java.lang.String setMemory(java.lang.Object[] paramsSet)
throws java.lang.Exception
paramsSet - - parameter to the "SET" command e.g. new Object[] {0x10, 223} //address, value
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||