169170171172173174175176177178179
ChannelStateEvent e) throws Exception { channels.add(e.getChannel()); super.channelOpen(ctx, e); } }, new MessageDecoder(), new LoggingHandler(), handler); } }); channels.add(bootstrap.bind(new InetSocketAddress(port))); }