final Map<ServerHandler, AtomicInteger> lastMap =
new ConcurrentHashMap<ServerHandler, AtomicInteger>();
// Create a new server with id "server1" with a listener that ensures
// that for each handler, perfect message order is guaranteed.
final Server s = new Server("server1", new ServerListener() {
@Override
public void messageReceived(ServerHandler handler,
String message) {
AtomicInteger last = lastMap.get(handler);