摘要:
首发于Enaium的个人博客 协议就用上篇文章的协议 public class Message implements Serializable { private final long order; public Message(long order) { this.order = order; } 阅读全文
摘要:
首发于Enaium的个人博客 先写一个Messsage类,解码的时候将要把ByteBuf解码为Message public class Message implements Serializable { private final String data; public Message(String 阅读全文