TestPanel panel = new TestPanel();
try {
if (args.length > 0) {
HL7Service service = null;
GenericParser parser = new GenericParser();
LowerLayerProtocol llp = LowerLayerProtocol.makeLLP();
int inPort = Integer.parseInt(args[0]);
if (args.length > 1) {
int outPort = Integer.parseInt(args[1]);
service = new TwoPortService(panel.getParser(), llp, inPort, outPort);