Netty学习——Netty和Protobuf的整合 Protobuf作为序列化的工具,将序列化后的数据,通过Netty来进行在网络上的传输 1.将proto文件里的java包的位置修改一下,然后再执行一下protoc 异常捕获:启动服务器端正常,在启动客户端的时候,发送消息,报错 警告: An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the l…
Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients 学习前,建议了解下java NIO相关知识,有助于对Netty中对象的理解. NIO介绍,博客地址:https://blog.csdn.net/the_fool_/article/details/8…