| keepAliveThread = new CommandMonitorThread(
keepAlivePort,
new PingCommand(),
new StopMonitorCommand(),
new ExitCommand(),
new HaltCommand()
);
keepAliveThread.start();
}
catch (IOException e) {
throw new RuntimeException("Could not start keep alive thread", e);
|