public void handleClientMessage(ClientMessage clientMessage, Connection connection) { try { eventExecutor.execute(new ClientEventProcessor(clientMessage, (ClientConnection) connection)); } catch (RejectedExecutionException e) { logger.log(Level.WARNING, " event clientMessage could not be handled ", e); } }
public void shutdown() { eventExecutor.shutdown(); }