com.bytezone.dm3270.buffers.AbstractTelnetCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dm3270-lib Show documentation
Show all versions of dm3270-lib Show documentation
This is a trimmed down version of https://github.com/dmolony/dm3270 to be used as
TN3270 client library
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
}
}