public void start() { if (initOK) { houseKeepingAgent.Start(); tcpServer.start(); } }
public void startWorker() { if (initOK) { tiWorker.Start(); if (aliveInterval > 1000) { aliveAgent.WorkerTimerTick = aliveInterval; aliveAgent.start(); houseKeepingAgent.Start(); } } }