com.mindbright.ssh2
Interface SSH2TerminalAdapter

All Known Implementing Classes:
SSH2TerminalAdapterImpl

public interface SSH2TerminalAdapter

Glue interface implemented by terminal windows to handle the interaction with the underlying SSH2Session.


Method Summary
 void attach(SSH2SessionChannel session)
          Attach the terminal to a session
 void detach()
          Detach from the session
 TerminalWindow getTerminal()
          Get the actual terminal window.
 void startChaff()
          Starts sending chaff.
 void stopChaff()
          Stop sending chaff.
 

Method Detail

getTerminal

public TerminalWindow getTerminal()
Get the actual terminal window.

Returns:
The terminal interface.

attach

public void attach(SSH2SessionChannel session)
Attach the terminal to a session

Parameters:
session - The session to attach to.

detach

public void detach()
Detach from the session


startChaff

public void startChaff()
Starts sending chaff. While chaffing is in operation the terminal sends packets at a constant rate. This hides the timing of the actual keypresses made by the user. It is mostly useful while passwords are enterd.


stopChaff

public void stopChaff()
Stop sending chaff.