All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bytezone.dm3270.replyfield.AuxilliaryDevices Maven / Gradle / Ivy

Go to download

This is a trimmed down version of https://github.com/dmolony/dm3270 to be used as TN3270 client library

There is a newer version: 0.9.1
Show newest version
package com.bytezone.dm3270.replyfield;

public class AuxilliaryDevices extends QueryReplyField {

  private byte flags1;
  private byte flags2;

  public AuxilliaryDevices(byte[] buffer) {
    super(buffer);

    assert data[1] == AUXILLIARY_DEVICE_REPLY;

    flags1 = data[2];
    flags2 = data[3];
  }

  @Override
  public String toString() {
    return super.toString() + String.format("%n  flags1     : %02X", flags1)
        + String.format("%n  flags2     : %02X", flags2);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy