Package net.targetr.rc
Class Main
java.lang.Object
net.targetr.rc.Main
Starts the Remote Control Web server.
- Author:
- Dr Michael Gardiner
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Main
Initializes the server application.- Throws:
IOException- if the HTTP server fails to instantiate
-
-
Method Details
-
main
The main entry point for the Remote Control Web application. Parses arguments, loads settings, initializes the HTTP server, and starts listening.- Parameters:
args- command line arguments, optionally expecting a path to a properties file as the first argument- Throws:
Exception- if server initialization or startup fails
-
get
Retrieves the singleton Main instance.- Returns:
- the main application instance
-
getServer
Retrieves the underlying HTTP server.- Returns:
- the configured HTTP server instance
-