controller = createAgentController();
controller.startup(options, runtime);
}
private IAgentController createAgentController() {
OutputMode controllerType = options.getOutput();
switch (controllerType) {
case file:
return new LocalController();
case tcpserver:
return new TcpServerController(logger);