Class ServerMain
java.lang.Object
edu.uky.cs.nil.tt.ServerMain
The main entry point for the Tandem Tales server. This class includes the
main method to launch the server and its components.- Author:
- Stephen G. Ware
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe key used to specify that the server should read or save a database of story worlds and agentsstatic final StringThe default location of the database file, if one is not specifiedstatic final StringThe default location of the log file, if one is not specifiedstatic final intThe default port the server will listen on, if one is not specifiedstatic final StringThe default location of the session log directory, if one is not specifiedstatic final StringThe key used to print the usage instructionsstatic final StringThe key used to specify that server messages should be logged to filestatic final StringThe key used to specify on which port the server should listenstatic final StringThe key used to specify that sessions should be logged to filestatic final StringUsage instructions for the server executable -
Method Summary
-
Field Details
-
HELP_KEY
-
LOG_KEY
The key used to specify that server messages should be logged to file- See Also:
-
DEFAULT_LOG_FILE
The default location of the log file, if one is not specified- See Also:
-
SESSIONS_KEY
The key used to specify that sessions should be logged to file- See Also:
-
DEFAULT_SESSIONS_DIRECTORY
The default location of the session log directory, if one is not specified- See Also:
-
DATABASE_KEY
The key used to specify that the server should read or save a database of story worlds and agents- See Also:
-
DEFAULT_DATABASE_FILE
The default location of the database file, if one is not specified- See Also:
-
PORT_KEY
The key used to specify on which port the server should listen- See Also:
-
DEFAULT_PORT
public static final int DEFAULT_PORTThe default port the server will listen on, if one is not specified- See Also:
-
USAGE
Usage instructions for the server executable
-
-
Method Details
-
main
-