@Override public void handleEnd(final Channel channel) { try { channel.close(); } catch (IOException e) { ROOT_LOGGER.errorClosingChannel(e.getMessage()); } }
@Override public void handleError(final Channel channel, final IOException error) { ROOT_LOGGER.tracef(error, "%s error handling incoming data", this); try { channel.close(); } catch (IOException e) { ROOT_LOGGER.errorClosingChannel(e.getMessage()); } }