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

com.bytezone.dm3270.buffers.AbstractTelnetCommand 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.15-lib
Show newest version
package com.bytezone.dm3270.buffers;

import com.bytezone.dm3270.streams.TelnetState;

public abstract class AbstractTelnetCommand extends AbstractReplyBuffer {

  protected TelnetState telnetState;

  public AbstractTelnetCommand(byte[] buffer, int offset, int length,
      TelnetState telnetState) {
    super(buffer, offset, length);
    this.telnetState = telnetState;
  }

  @Override
  public byte[] getTelnetData() {
    return data;        // do not expand anything, do not append EOR bytes
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy