System.out.println(n + " = " + v);
}
int ch;
PrmInterface inpi = in.getPrmInterface();
CloseableOutputStream osc = in.getOutputStream();
System.out.print("\n<--");
boolean end = false;
while (!end && (ch = is.read()) != -1) {
System.out.print(" ");
System.out.print(toHexString(ch));
osc.write(ch);
if (osc.isClosed()) {
switch(Integer.parseInt(inpi.getField("type"))) {
case SAMsg.STX:
System.out.println();
PrmInterface rpi = result.getPrmInterface();
for (String n : inpi.getFieldNames()) {