throw new RuntimeException(e);
}
assert client != null;
// wrap it in a message connection and register with event loop
NIOMessageConnection connection = new NIOMessageConnection(client);
connection.setBigEndian();
this.eventLoop.registerRead(client, new ClientConnectionHandler(connection));
this.numConnections.incrementAndGet();
}