sleep.console
Interface ConsoleProxy

All Known Implementing Classes:
ConsoleImplementation

public interface ConsoleProxy

a necessary interface for creating a front end to the sleep console. all messages read in or written out from the console are done through a ConsoleProxy implementation.


Method Summary
 void consolePrint(java.lang.String message)
          print a message to the console with no newline
 void consolePrintln(java.lang.Object message)
          print a message to the console with a newline
 java.lang.String consoleReadln()
          read a message in from the console.
 

Method Detail

consolePrint

void consolePrint(java.lang.String message)
print a message to the console with no newline

Parameters:
message - the message to print

consolePrintln

void consolePrintln(java.lang.Object message)
print a message to the console with a newline

Parameters:
message - the message to print

consoleReadln

java.lang.String consoleReadln()
read a message in from the console. this method should block until a line is read.