org.crsh.term.telnet
Class TelnetIO

java.lang.Object
  extended by 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)
           
 
Method Summary
 void close()
           
 void flush()
           
 CodeType getType(int code)
           
 boolean moveLeft()
           
 boolean moveRight()
           
 int read()
           
 void write(java.lang.String s)
           
 void writeCRLF()
           
 void writeDel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TelnetIO

public TelnetIO(net.wimpi.telnetd.net.Connection conn)
Method Detail

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.