org.apache.xbean.terminal.telnet
Class TelnetInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.xbean.terminal.telnet.TelnetInputStream
- All Implemented Interfaces:
- Closeable, TelnetCodes
public class TelnetInputStream
- extends FilterInputStream
- implements TelnetCodes
Fields inherited from interface org.apache.xbean.terminal.telnet.TelnetCodes |
Abort_output, Are_You_There, Break, Data_Mark, DO, DONT, Erase_character, Erase_Line, Go_ahead, IAC, Interrupt_Process, NOP, SB, SE, WILL, WONT |
Method Summary |
int |
read()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TelnetInputStream
public TelnetInputStream(InputStream in,
OutputStream out)
throws IOException
- We haven yet implemented any Telnet options, so we just explicitly
disable some common options for safety sake.
Certain Telnet clients (MS Windows Telnet) are enabling options without
asking first. Shame, shame, shame.
- Throws:
IOException
read
public int read()
throws IOException
- Overrides:
read
in class FilterInputStream
- Throws:
IOException
Copyright © 2005-2011. All Rights Reserved.