Why did the execution fail here? The error is as follows: @Override protected void initChannel(SocketChannel ch) throws Exception { // Keep only one channelHandler based on the first request recognition protocol, build the following ChannelHandler ch.pipeline().addLast(connectionChannelHandler) .addLast(new AdapterDecoder (serverChannelHandler, transportConfig.getPayload(), transportConfig.isTelnet())); }
为什么这里执行失败了?
报错如下:
Why did the execution fail here? The error is as follows:
@Override protected void initChannel(SocketChannel ch) throws Exception { // Keep only one channelHandler based on the first request recognition protocol, build the following ChannelHandler ch.pipeline().addLast(connectionChannelHandler) .addLast(new AdapterDecoder (serverChannelHandler, transportConfig.getPayload(), transportConfig.isTelnet())); }