158159160161162163164165166167
case tcpserver: return new TcpServerOutput(logger); case tcpclient: return new TcpClientOutput(logger); case none: return new NoneOutput(); default: throw new AssertionError(controllerType); } }