🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
~~~ public class ProtobufServerHandler extends SimpleChannelInboundHandler<DataInfo.Student>{ @Override protected void channelRead0(ChannelHandlerContext channelHandlerContext, DataInfo.Student student) throws Exception { System.out.printf(student.getAddress()); } } ~~~