{"push_id":3026354462,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"6271f76099b9a010b45389b1f5de4261fe580dde","before":"fa72065c3d044049795bca7fb55691647fa75559","commits":[{"sha":"6271f76099b9a010b45389b1f5de4261fe580dde","author":{"name":"VLoye","email":"0d1803343cc3407b86d0d89e79f70da3d9ddc868@qq.com"},"message":"支持多客户端并发连接\n1、bootstrap线程将accept的socketchannel分散注册到IO线程池中中，由IO线程池完成R/W操作\n2、IO线程读取、拆包粘包、解码后的的message对象放入handlerExecutor线程池,完成逻辑业务\n3、handlerExecutor完成业务后将返回message对象放入IO线程池，完成编码、写操作，返回给客户端。\n\n硬编码，未重构及优化。\n责任链模式未实现。\n\n修复多客户端连接时读取错误~\ntips:千万千万不要拿没有实现hashCode()、equal()的对象做为容器的key...\n\n顺便吐槽一下nio的*buffer.filp()方法设计简直反人类，虽然对空间进行了优化。\n\n18/11/7修改：\n修改前：IOhandlerExecutor读取、解码得到一个完整的natp对象后放入list容器,读完channel缓冲区所有的数据后再将list中的message对象放入业务线程池执行~\n修改后：IOhandlerExecutor读取、解码得到一个完整的natp对象后直接发送业务线程池执行。","distinct":true,"url":"https://api.github.com/repos/VLoye/NatpDemo/commits/6271f76099b9a010b45389b1f5de4261fe580dde"}]}
{"actor":{"display_login":"VLoye"}}