public interface CommandParser<C extends Command>
| Modifier and Type | Method and Description |
|---|---|
void |
addData(int dataByte) |
C |
readCommand() |
void |
reset() |
void |
setListener(CommandParserListener listener) |
void addData(int dataByte)
C readCommand() throws java.io.IOException, DisconnectionException, SyntaxErrorException
java.io.IOExceptionDisconnectionExceptionSyntaxErrorExceptionvoid reset()
void setListener(CommandParserListener listener)