Package apps
Class JmriFaceless
- java.lang.Object
-
- apps.AppsBase
-
- apps.JmriFaceless
-
public class JmriFaceless extends AppsBase
Application for running JMRI server functions without a graphical interface. Goal is to run on very light hardware, such as a Raspberry Pi, without requiring the overhead associated with display functions. Needs an existing JMRI profile ID passed to program, e.g.
NOTE: JMRI "server" functions based on ui components (such as JmriJFrames) may need to be modified to check isHeadless() and adjust their behavior as needed.JmriFaceless --profile=RPi.3d3f1dfc
This file is part of JMRI.JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.
JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-
-
Field Summary
-
Fields inherited from class apps.AppsBase
configDeferredLoadOK, configOK, preferenceFileExists, preInit
-
-
Constructor Summary
Constructors Constructor Description JmriFaceless(java.lang.String[] args)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
void
start()
Final actions before releasing control of the application to the user, invoked explicitly after object has been constructed in main().-
Methods inherited from class apps.AppsBase
configureProfile, getConfigFileName, handleQuit, handleRestart, installConfigurationManager, installManagers, preInit, setAndLoadPreferenceFile, setConfigFilename, setJmriSystemProperty
-
-
-
-
Constructor Detail
-
JmriFaceless
public JmriFaceless(java.lang.String[] args)
-
-