}
/** Handles incoming TCP sockets */
@Override
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();
}