be.lassi.lanbox
Class ConnectionCommandProcessor
java.lang.Object
be.lassi.lanbox.ConnectionCommandProcessor
- All Implemented Interfaces:
- CommandProcessor
public class ConnectionCommandProcessor
- extends java.lang.Object
- implements CommandProcessor
Processes Lanbox commands by actually sending them over a TCP connection
to the Lanbox, and processing the Lanbox response.
Method Summary |
void |
process(Command command)
Processes given lanbox command. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionCommandProcessor
public ConnectionCommandProcessor(Connection connection)
- Constructs a new instance.
- Parameters:
connection
- the connection to the Lanbox
process
public void process(Command command)
- Processes given lanbox command.
- Specified by:
process
in interface CommandProcessor
- Parameters:
command
- the lanbox command to be processed