4647484950515253
public void onConnection(SocketChannel channel) throws IOException { ServerConnection cnt = new ServerConnection(channel); connectionPool.put(cnt.getConnectionId(), cnt); ChatroomServer.getServer().addUser(cnt); cnt.setDaemon(true); cnt.start(); } }