sleep.console

Interface ConsoleProxy

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
voidconsolePrint(String message)
print a message to the console with no newline
voidconsolePrintln(Object message)
print a message to the console with a newline
StringconsoleReadln()
read a message in from the console. this method should block until a line is read.

Method Detail

consolePrint

public void consolePrint(String message)
print a message to the console with no newline

Parameters: message the message to print

consolePrintln

public void consolePrintln(Object message)
print a message to the console with a newline

Parameters: message the message to print

consoleReadln

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