Main ccnd command line daemon. More...
Classes | |
class | CCNDShutdownHook |
Stop ccnd on exit from daemon. More... | |
class | CCNDWorkerThread |
Static Public Member Functions | |
static void | main (String[] args) |
Main entry point for command line invocation. | |
Static Public Attributes | |
static final String | PROP_CCND_COMMAND = "ccnd.command" |
static final String | PROP_CCND_DEBUG = "ccnd.debug" |
Protected Member Functions | |
void | initialize (String[] args, Daemon daemon) |
Overridden by subclasses. | |
WorkerThread | createWorkerThread () |
overridden by subclasses to make right type of thread. | |
void | usage () |
Overridden by subclasses. | |
Protected Attributes | |
String | _command = DEFAULT_CCND_COMMAND_STRING |
Process | _ccndProcess = null |
CCNDaemon | _daemon = null |
Main ccnd command line daemon.
Allows start & stop of ccnd, as well as interactive runs.
TODO This is not actually yet used in any tests and therefore is itself not well tested
WorkerThread org.ccnx.ccn.impl.support.CCNDaemon.createWorkerThread | ( | ) | [protected] |
overridden by subclasses to make right type of thread.
Reimplemented from org.ccnx.ccn.impl.support.Daemon.
static void org.ccnx.ccn.impl.support.CCNDaemon.main | ( | String[] | args | ) | [static] |
Main entry point for command line invocation.
args | Arguments passed in from command line. |
Reimplemented from org.ccnx.ccn.impl.support.Daemon.