org.crsh.telnet.term
Class TelnetIO
java.lang.Object
org.crsh.telnet.term.TelnetIO
- All Implemented Interfaces:
- TermIO
public class TelnetIO
- extends Object
- implements TermIO
- Version:
- $Revision$
- Author:
- Julien Viet
|
Constructor Summary |
TelnetIO(net.wimpi.telnetd.net.Connection conn)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TelnetIO
public TelnetIO(net.wimpi.telnetd.net.Connection conn)
read
public int read()
throws IOException
- Specified by:
read in interface TermIO
- Throws:
IOException
getWidth
public int getWidth()
- Specified by:
getWidth in interface TermIO
decode
public CodeType decode(int code)
- Specified by:
decode in interface TermIO
close
public void close()
- Specified by:
close in interface TermIO
flush
public void flush()
throws IOException
- Specified by:
flush in interface TermIO
- Throws:
IOException
write
public void write(String s)
throws IOException
- Specified by:
write in interface TermIO
- Throws:
IOException
write
public void write(char c)
throws IOException
- Specified by:
write in interface TermIO
- Throws:
IOException
writeDel
public void writeDel()
throws IOException
- Specified by:
writeDel in interface TermIO
- Throws:
IOException
writeCRLF
public void writeCRLF()
throws IOException
- Specified by:
writeCRLF in interface TermIO
- Throws:
IOException
moveRight
public boolean moveRight(char c)
throws IOException
- Specified by:
moveRight in interface TermIO
- Throws:
IOException
moveLeft
public boolean moveLeft()
throws IOException
- Specified by:
moveLeft in interface TermIO
- Throws:
IOException
Copyright © 2011 eXo Platform SAS. All Rights Reserved.