1.ioserver 监听是否有连接被建立 2.ioprocessor 这个接口在另一个线程上,检查数据是否再通道上读写。 3.iofilter 过滤数据 4. iohandler 业务逻辑 ,接收发送数据。