Package apps

Class 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.
    JmriFaceless --profile=RPi.3d3f1dfc
    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.

    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.

    • Constructor Detail

      • JmriFaceless

        public JmriFaceless​(java.lang.String[] args)
    • Method Detail

      • start

        public void start()
        Description copied from class: AppsBase
        Final actions before releasing control of the application to the user, invoked explicitly after object has been constructed in main().
        Overrides:
        start in class AppsBase
      • main

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