// initial handler chain for every connected client
Integer ID = connection.getID();
LOG.log(Level.INFO, "[SERVER] Client (ID={0}) has connected.", ID);
connections.put(ID, connection);
// we need the connection in the constructor of the serverclient already
ServerClient sclient = new ServerClient(ID, this);
sclient.addHandler(new GeneralHandler());
clients.put(ID, sclient);
}
}