org.cyberiantiger.telnet
Class SimpleTelnetSession

java.lang.Object
  extended byorg.cyberiantiger.telnet.SimpleTelnetSession
All Implemented Interfaces:
TelnetSession

public abstract class SimpleTelnetSession
extends java.lang.Object
implements TelnetSession


Constructor Summary
SimpleTelnetSession(java.lang.String term)
           
 
Method Summary
 void receiveOption(TelnetOption opt)
           
 void sendTerminalType()
           
 void sendWindowSize()
           
protected abstract  void serverWillEcho(boolean echo)
           
 void setOutputStream(java.io.OutputStream out)
           
 void setWindowSize(int width, int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTelnetSession

public SimpleTelnetSession(java.lang.String term)
Method Detail

receiveOption

public void receiveOption(TelnetOption opt)
                   throws java.io.IOException
Specified by:
receiveOption in interface TelnetSession
Throws:
java.io.IOException

setOutputStream

public void setOutputStream(java.io.OutputStream out)
                     throws java.io.IOException
Specified by:
setOutputStream in interface TelnetSession
Throws:
java.io.IOException

sendWindowSize

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

sendTerminalType

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

setWindowSize

public void setWindowSize(int width,
                          int height)
                   throws java.io.IOException
Throws:
java.io.IOException

serverWillEcho

protected abstract void serverWillEcho(boolean echo)


Copyright © 2003 OSJava. All Rights Reserved.