|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjhomenet.JHomeNetServer
public class JHomeNetServer
Id: $Id: JHomeNetServer.java,v 1.20 2005/10/29 04:35:45 dhirwinjr Exp $ Description:
| Field Summary | |
|---|---|
static java.lang.String |
buildId
The release build ID. |
| Method Summary | |
|---|---|
void |
execute(java.lang.Object[] commandLine,
SystemInputStream in,
SystemPrintStream out,
SystemPrintStream err,
java.util.HashMap environment)
Used to execute shell commands. |
static JHomeNetServer |
getInstance()
Get an instance of the jHomenet server. |
Shell |
getShell()
Get a reference to the shell. |
static java.lang.String |
getShellName()
|
static java.lang.String |
getShellVersion()
|
static java.lang.String |
getStartTime()
Get the server start time. |
java.lang.String |
getUptime()
Get the uptime of the system. |
void |
loadProperties()
Load the properties from the properties file. |
static void |
main(java.lang.String[] args)
The server main starting point. |
static void |
printUsage()
Print the command line server usage. |
void |
quit()
Quit the server application. |
static void |
setShell(JHomenetShell shell)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String buildId
| Method Detail |
|---|
public static JHomeNetServer getInstance()
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - A list of the command line arguments
java.lang.Exceptionpublic static java.lang.String getStartTime()
public void loadProperties()
public void quit()
public static void printUsage()
public static java.lang.String getShellName()
public static java.lang.String getShellVersion()
public static void setShell(JHomenetShell shell)
public void execute(java.lang.Object[] commandLine,
SystemInputStream in,
SystemPrintStream out,
SystemPrintStream err,
java.util.HashMap environment)
throws java.lang.Exception
execute in interface SystemInterfacecommandLine - in - out - err - environment -
java.lang.Exceptionpublic Shell getShell()
SystemInterface
getShell in interface SystemInterfaceSystemInterface.getShell()public java.lang.String getUptime()
SystemInterface
getUptime in interface SystemInterfaceSystemInterface.getUptime()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||