state.setRuninfo(((InetSocketAddress) session.getRemoteAddress()).getAddress().getHostAddress());
TaskCenter.taskState.get(state.getUrlReq().getTask()).add(state);
TaskCenter.taskCount.put(state.getUrlReq().getTask(),
TaskCenter.taskCount.get(state.getUrlReq().getTask())-1);
new LogDao().saveLogs(state);
}
}