Class NodeCommand

    • Field Detail

      • rcEventsBufferSize

        protected int rcEventsBufferSize
      • rcStartNode

        protected boolean rcStartNode
      • spec

        protected picocli.CommandLine.Model.CommandSpec spec
    • Constructor Detail

      • NodeCommand

        public NodeCommand()
    • Method Detail

      • call

        public Integer call()
                     throws org.drasyl.node.DrasylException
        Specified by:
        call in interface Callable<Integer>
        Throws:
        org.drasyl.node.DrasylException
      • log

        protected org.drasyl.util.logging.Logger log()
        Specified by:
        log in class GlobalOptions
      • getDrasylConfig

        protected org.drasyl.node.DrasylConfig getDrasylConfig()
        Tries to load a DrasylConfig from file defined in configFile. If the does not exist, the default configuration will be used.