Class LoginInterpreter

java.lang.Object
  extended byLoginInterpreter

public class LoginInterpreter
extends Object

Interpreter for Juno login commands. There are so few commands that if-then-else logic is OK.

Version:
7

Constructor Summary
LoginInterpreter(Juno system, Terminal console)
          Construct a new LoginInterpreter for interpreting login commands.
 
Method Summary
 void CLILogin()
          Simulates behavior at login: prompt.
 void setConsole(Terminal console)
          Set the console for this interpreter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginInterpreter

public LoginInterpreter(Juno system,
                        Terminal console)
Construct a new LoginInterpreter for interpreting login commands.

Parameters:
system - the system creating this interpreter.
console - the Terminal used for input and output.
Method Detail

CLILogin

public void CLILogin()
Simulates behavior at login: prompt. CLI stands for "Command Line Interface".


setConsole

public void setConsole(Terminal console)
Set the console for this interpreter. Used by the creator of this interpreter.

Parameters:
console - the Terminal to be used for input and output.