com.tibbo.aggregate.common.communication

## Interface CommandParser<C extends Command>

- All Known Implementing Classes:
    AbstractCommandParser, AggreGateCommandParser, BufferedCommandParser, SimpleCommandParser

      public interface CommandParser<C extends Command>

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addData(int dataByte)`
    `C` | `readCommand()`
    `void` | `reset()`
    `void` | `setListener(CommandParserListener listener)`

- - ### Method Detail

    - #### addData

          void addData(int dataByte)

    - #### readCommand

          C readCommand()
                 throws java.io.IOException,
                        DisconnectionException,
                        SyntaxErrorException

      Throws:
        `java.io.IOException`
        `DisconnectionException`
        `SyntaxErrorException`

    - #### reset

          void reset()

    - #### setListener

          void setListener(CommandParserListener listener)