kawa

Class TelnetInputStream

public class TelnetInputStream extends FilterInputStream

An input stream that handles the telnet protocol. It handles the special telnet sequences starting with the "Interpret As Command".(IAC==255) byte.
Field Summary
protected byte[]buf
Constructor Summary
TelnetInputStream(InputStream in, Telnet conn)
Method Summary
intread()
intread(byte[] b, int offset, int length)

Field Detail

buf

protected byte[] buf

Constructor Detail

TelnetInputStream

public TelnetInputStream(InputStream in, Telnet conn)

Method Detail

read

public int read()

read

public int read(byte[] b, int offset, int length)