|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.wordhoard.server.Server
public class Server
The server main program.
Server (start path | stop path)
The main program is used to both start and stop the WordHoard server.
The first argument is required and specifies the operation: start or stop.
The second argument is required and specifies the path to the server directory. This directory contains the server configuration file "wordhoard.config" and the log configuration file "log.config". The server log file is also written to this directory.
On startup the server creates a Bootstrap
object and
registers it in the RMI registry using the bind name "WordHoard". On
shutdown this registry entry is removed.
Shutdown requests must originate from the local host, or they are ignored.
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Main program. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 |