public ApiMessageProcessor(RuntimeConfiguration runtimeConfiguration, WorkerRegistrationPool workerRegistrationPool, JobDispatchManager jobDispatchManager) { sharedLogger = runtimeConfiguration.GetLoggerInstance(); apiServer = new TCPServer(runtimeConfiguration.GetManagerBindAddress(), runtimeConfiguration.GetManagerExecPort()); workerPool = workerRegistrationPool; this.jobDispatchManager = jobDispatchManager; reportProcessor = new ReportProcessor(workerRegistrationPool, jobDispatchManager); activeClients = new List <TCPClient>(); commandProcessor = new CommandProcessor(jobDispatchManager); }