jhomenet.shell
Interface SystemInterface

All Known Implementing Classes:
JHomeNetServer, StartTestConsole

public interface SystemInterface


Method Summary
 void execute(java.lang.Object[] commandLine, SystemInputStream in, SystemPrintStream out, SystemPrintStream err, java.util.HashMap environment)
          Execute a command.
 Shell getShell()
          Get a reference to the shell.
 java.lang.String getUptime()
          Get the uptime of the system.
 

Method Detail

getUptime

java.lang.String getUptime()
Get the uptime of the system.

Returns:
The uptime of the system in milliseconds

execute

void execute(java.lang.Object[] commandLine,
             SystemInputStream in,
             SystemPrintStream out,
             SystemPrintStream err,
             java.util.HashMap environment)
             throws java.lang.Exception
Execute a command.

Parameters:
commandLine -
in -
out -
err -
environment -
Throws:
java.lang.Exception

getShell

Shell getShell()
Get a reference to the shell.

Returns:
Reference to the current shell


Copyright © 2004-2005 David Irwin. All Rights Reserved.