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

com.bytezone.dm3270.replyfield.DefaultReply 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;

import com.bytezone.dm3270.utilities.Dm3270Utility;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class DefaultReply extends QueryReplyField {

  private static final Logger LOG = LoggerFactory.getLogger(DefaultReply.class);

  public DefaultReply(byte[] buffer) {
    super(buffer);
    LOG.warn("Unknown reply field: {}\n{}", String.format("%02X", buffer[0]),
        Dm3270Utility.toHex(buffer));
  }

  @Override
  public String toString() {
    return super.toString() + String.format("%n%n%s", Dm3270Utility.toHex(data));
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy