org.openejb.server.telnet
Class TelnetInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by org.openejb.server.telnet.TelnetInputStream
All Implemented Interfaces:
java.io.Closeable, TelnetCodes

public class TelnetInputStream
extends java.io.FilterInputStream
implements TelnetCodes

Author:
David Blevins

Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Fields inherited from interface org.openejb.server.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
 
Constructor Summary
TelnetInputStream(java.io.InputStream in, java.io.OutputStream out)
          We haven yet implemented any Telnet options, so we just explicitly disable some common options for safety sake.
 
Method Summary
 int read()
           
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TelnetInputStream

public TelnetInputStream(java.io.InputStream in,
                         java.io.OutputStream out)
                  throws java.io.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:
java.io.IOException
Method Detail

read

public int read()
         throws java.io.IOException
Overrides:
read in class java.io.FilterInputStream
Throws:
java.io.IOException


Copyright © 1999-2011 OpenEJB. All Rights Reserved.