|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCommandsParser
EmulationCommandsParser
public class EmulationCommandsParser
Parser for the Emulator Emulator is interested in all commands except topology commands
Constructor Summary | |
---|---|
EmulationCommandsParser(Emulator emulator)
Create a new parser |
Method Summary | |
---|---|
long |
parseLine(java.lang.String line,
long now)
Process one line of topology file or keyboard input. |
Methods inherited from class CommandsParser |
---|
parseFile, parseRemainder |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmulationCommandsParser(Emulator emulator)
emulator
- The emulator that should be used to get messages to nodesMethod Detail |
---|
public long parseLine(java.lang.String line, long now)
parseLine
in class CommandsParser
line
- A command line.now
- The current time in microseconds
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |