@Override public void handle(DeviceMsg jsonObject, HandlerChain handlerChain, Channel channel) { index++; if (index <= max) { handlerList.get(index).handle(jsonObject, handlerChain, channel); index = -1; } else { LOG.error("无法处理的客户端消息: {}", jsonObject.toString()); } }