All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class com.cometway.jerminal.DumbTerminal
com.cometway.jerminal.DumbTerminal
  -  public class DumbTerminal
  
-  implements JerminalListenerInterface
  
The Terminal classes are responsible for connecting the I/O streams from local
 or remote JerminalSessions to the JerminalWindow and JerminalKeyListener. The OutputStream
 of a JerminalSession needs to be connected to the JerminalWindow and the InputStream needs 
 to be connected to the JerminalKeyListener associated with the JerminalWindow.
 This terminal implements a JerminalListenerInterface to recieve notifications of the
 JerminalSession status so that it can be relayed to appropriate classes.
  
  -  
	DumbTerminal()
   -  
  
 -  
	DumbTerminal(String[])
   -  
 
  
  -  
	main(String[])
   -  
  
 -  
	notifyExecutingCommand(String)
   -   Not Implemented
  
 -  
	notifyFinishedExecutingCommand(String)
   -   Not Implemented
  
 -  
	notifyFinishedRunningBinary()
   -   When the JerminalSession is finished executing a binary, the JerminalKeyListener must start interpreting input again.
  
 -  
	notifyInvalidCommand()
   -   If the JerminalSession has been given an invalid command, the JerminalWindow will visually beep.
  
 -  
	notifyJerminalExiting()
   -  
 This notification tells us we should clean house and shut down.
  
 -  
	notifyRunningBinary()
   -   When the JerminalSession is executing a binary, the JerminalKeyListener must stop interpreting input.
  
 -  
	run()
   -   This is the method that sets everything up and reads from the JerminalSession's output stream
 and writes to the JerminalWindow.
 
  
DumbTerminal
 public DumbTerminal()
DumbTerminal
 public DumbTerminal(String args[])
  
notifyRunningBinary
 public void notifyRunningBinary()
  -  When the JerminalSession is executing a binary, the JerminalKeyListener must stop interpreting input.
 
notifyFinishedRunningBinary
 public void notifyFinishedRunningBinary()
  -  When the JerminalSession is finished executing a binary, the JerminalKeyListener must start interpreting input again.
 
notifyInvalidCommand
 public void notifyInvalidCommand()
  -  If the JerminalSession has been given an invalid command, the JerminalWindow will visually beep.
 
notifyExecutingCommand
 public void notifyExecutingCommand(String command)
  -  Not Implemented
 
notifyFinishedExecutingCommand
 public void notifyFinishedExecutingCommand(String command)
  -  Not Implemented
 
notifyJerminalExiting
 public void notifyJerminalExiting()
  -  This notification tells us we should clean house and shut down.
 
run
 public void run()
  -  This is the method that sets everything up and reads from the JerminalSession's output stream
 and writes to the JerminalWindow.
 
main
 public static void main(String args[])
All Packages  Class Hierarchy  This Package  Previous  Next  Index