org.crsh.term.telnet
Class TelnetIO
java.lang.Object
org.crsh.term.telnet.TelnetIO
- All Implemented Interfaces:
- TermIO
public class TelnetIO
- extends java.lang.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 java.io.IOException
- Specified by:
read in interface TermIO
- Throws:
java.io.IOException
getType
public CodeType getType(int code)
- Specified by:
getType in interface TermIO
close
public void close()
- Specified by:
close in interface TermIO
flush
public void flush()
throws java.io.IOException
- Specified by:
flush in interface TermIO
- Throws:
java.io.IOException
write
public void write(java.lang.String s)
throws java.io.IOException
- Specified by:
write in interface TermIO
- Throws:
java.io.IOException
writeDel
public void writeDel()
throws java.io.IOException
- Specified by:
writeDel in interface TermIO
- Throws:
java.io.IOException
writeCRLF
public void writeCRLF()
throws java.io.IOException
- Specified by:
writeCRLF in interface TermIO
- Throws:
java.io.IOException
moveRight
public boolean moveRight()
throws java.io.IOException
- Specified by:
moveRight in interface TermIO
- Throws:
java.io.IOException
moveLeft
public boolean moveLeft()
throws java.io.IOException
- Specified by:
moveLeft in interface TermIO
- Throws:
java.io.IOException
Copyright © 2010 eXo Platform SAS. All Rights Reserved.