{
inputReader = new FilePipeReader(new File(commandLine.getOptionValue("f")));
}
else if (commandLine.hasOption("sp"))
{
inputReader = new SocketReader(Integer.valueOf(commandLine.getOptionValue("sp")));
}
else
{
inputReader = new SocketReader(10000);
}
CM19ADevice cm19a = new CM19ADevice(new CM19AUsbDeviceLookupImpl(), inputReader, new MLemayProtocol());
cm19a.start();
}