edu.northwestern.at.wordhoard.server
Class Server

java.lang.Object
  extended by edu.northwestern.at.wordhoard.server.Server

public class Server
extends java.lang.Object

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

main

public static void main(java.lang.String[] args)
Main program.

Parameters:
args - Command-line arguments.