netty连接nbiot_netty4 连通步骤
建立服务端监听套接字ServerSocketChannel,以及对应的管道pipeline;启动boss线程,将ServerSocketChannel注册到boss线程持有的selector中,并将注册返回的selectionKey赋值给ServerSocketChannel关联的selectionKey变量;在ServerSocketChannel对应的管道中触发channelRegistere...