Class Daemon

    • Field Detail

      • configFile

        java.io.File configFile
      • port

        int port
      • host

        java.lang.String host
      • timeout

        int timeout
      • enable

        java.util.List<java.lang.String> enable
      • disable

        java.util.List<java.lang.String> disable
      • canOverride

        java.util.List<java.lang.String> canOverride
      • forbidOverride

        java.util.List<java.lang.String> forbidOverride
      • exportAll

        boolean exportAll
      • directory

        java.util.List<java.io.File> directory
    • Constructor Detail

      • Daemon

        Daemon()
    • Method Detail

      • run

        protected void run()
                    throws java.lang.Exception
        Perform the actions of this command.

        This method should only be invoked by TextBuiltin.execute(String[]).

        Specified by:
        run in class TextBuiltin
        Throws:
        java.lang.Exception - an error occurred while processing the command. The main framework will catch the exception and print a message on standard error.
      • getUserConfig

        private StoredConfig getUserConfig()
                                    throws java.io.IOException
        Throws:
        java.io.IOException