@Override public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception { try { checkIfMessage(msg); syncProcessor.onInboundMessage((Message) msg); } catch (Exception e) { e.printStackTrace(); } }
@Override public void channelActive(final ChannelHandlerContext ctx) { System.out.println("CHANNEL ACTIVE SYNC"); syncProcessor.onLayerActive(new MessageExecutorImpl(ctx)); }