org.crsh.connector.telnet
Class TelnetDecoder

java.lang.Object
  extended by org.crsh.util.InputDecoder
      extended by org.crsh.connector.telnet.TelnetDecoder
All Implemented Interfaces:
java.util.Iterator<Input>

public class TelnetDecoder
extends InputDecoder

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
TelnetDecoder(net.wimpi.telnetd.net.Connection connection)
           
 
Method Summary
 void append(int i)
           
 void close()
           
protected  void echo(char c)
           
protected  void echo(java.lang.String s)
           
protected  void echoDel()
           
 boolean isClosed()
           
 void run()
           
 
Methods inherited from class org.crsh.util.InputDecoder
appendData, appendDel, getSize, hasNext, next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TelnetDecoder

public TelnetDecoder(net.wimpi.telnetd.net.Connection connection)
Method Detail

run

public void run()
         throws java.io.IOException
Throws:
java.io.IOException

isClosed

public boolean isClosed()

close

public void close()

append

public void append(int i)
            throws java.io.IOException
Throws:
java.io.IOException

echoDel

protected void echoDel()
                throws java.io.IOException
Specified by:
echoDel in class InputDecoder
Throws:
java.io.IOException

echo

protected void echo(java.lang.String s)
             throws java.io.IOException
Specified by:
echo in class InputDecoder
Throws:
java.io.IOException

echo

protected void echo(char c)
             throws java.io.IOException
Specified by:
echo in class InputDecoder
Throws:
java.io.IOException


Copyright © 2010 eXo Platform SAS. All Rights Reserved.