|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCommandsParser
SimulationCommandsParser
Parser for the Simulator Simulator is interested in all commands
Constructor Summary | |
SimulationCommandsParser(Simulator simulator)
Create a new parser |
Method Summary | |
protected void |
exit(java.lang.String[] cmd)
Call manager.stop() if the command is exit. |
protected void |
parseNodeCmd(java.lang.String[] cmd)
|
Methods inherited from class CommandsParser |
createNewEdge, failEdge, failNode, parseCommonCmds, parseFile, parseLine, parseRemainder, printStrArray, printStrArray, restartEdge, restartNode, skipLine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimulationCommandsParser(Simulator simulator)
simulator
- The simulator that should be used to get messages to nodes, and be informaed about topology changesMethod Detail |
protected void parseNodeCmd(java.lang.String[] cmd)
parseNodeCmd
in class CommandsParser
protected void exit(java.lang.String[] cmd)
CommandsParser
exit
in class CommandsParser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |