|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wpi.prc.templates.java.science.ScienceApplication
public class ScienceApplication
The ScienceApplication class initializes and starts the XML-RPC server. It handles requests from the project client or project server, computing results for work units.
Field Summary | |
---|---|
private static int |
SCI_APP_PORT
|
(package private) Server |
server
|
private static int |
SLEEP_TIME
|
private static java.lang.String |
STDERR_LOG_FILE
|
private static java.lang.String |
STDOUT_LOG_FILE
|
Constructor Summary | |
---|---|
ScienceApplication()
Default constructor. |
Method Summary | |
---|---|
boolean |
isRunning()
|
static void |
main(java.lang.String[] args)
Initializes and starts the science application. |
boolean |
shutdown()
Shuts down the XML-RPC server, which will cause the main to exit. |
void |
start()
Starts the XML-RPC server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final int SLEEP_TIME
private static final int SCI_APP_PORT
private static final java.lang.String STDERR_LOG_FILE
private static final java.lang.String STDOUT_LOG_FILE
Server server
Constructor Detail |
---|
public ScienceApplication()
Method Detail |
---|
public boolean isRunning()
public void start()
public boolean shutdown()
public static void main(java.lang.String[] args)
args
- Command-line arguments.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |