public abstract class AbstractCommandParser<C extends Command> extends java.lang.Object implements CommandParser<C>
| Constructor and Description |
|---|
AbstractCommandParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
addData(int dataByte) |
byte[] |
clearData() |
byte[] |
getData() |
protected CommandParserListener |
getListener() |
void |
reset() |
void |
setListener(CommandParserListener listener) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreadCommandpublic void reset()
reset in interface CommandParser<C extends Command>public byte[] getData()
public byte[] clearData()
public void addData(int dataByte)
addData in interface CommandParser<C extends Command>public void setListener(CommandParserListener listener)
setListener in interface CommandParser<C extends Command>protected CommandParserListener getListener()
public java.lang.String toString()
toString in class java.lang.Object