com.mindbright.terminal
Class TerminalInputChaff

java.lang.Object
  extended bycom.mindbright.terminal.TerminalInputChaff
All Implemented Interfaces:
java.lang.Runnable, TerminalInputListener
Direct Known Subclasses:
SSH2TerminalAdapterImpl, TelnetTerminalAdapter

public abstract class TerminalInputChaff
extends java.lang.Object
implements TerminalInputListener, java.lang.Runnable


Constructor Summary
TerminalInputChaff()
           
 
Method Summary
 void dispenseChaff()
           
 void run()
           
protected abstract  void sendFakeChar()
           
protected abstract  void sendTypedChar(int c)
           
 void startChaff()
           
 void stopChaff()
           
 void typedChar(char c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.mindbright.terminal.TerminalInputListener
sendBytes, signalWindowChanged
 

Constructor Detail

TerminalInputChaff

public TerminalInputChaff()
Method Detail

startChaff

public void startChaff()

stopChaff

public void stopChaff()

typedChar

public void typedChar(char c)
Specified by:
typedChar in interface TerminalInputListener

run

public void run()
Specified by:
run in interface java.lang.Runnable

dispenseChaff

public void dispenseChaff()

sendTypedChar

protected abstract void sendTypedChar(int c)

sendFakeChar

protected abstract void sendFakeChar()