现在MsgType不足以容纳我需求中新的消息类型, 我是在MsgType中继续放数据, 还是再搞一个服务呢? 工程实践中一般采用什么方案捏?
public final class GameServerHandler extends SimpleChannelInboundHandler<MsgType> { @Override protected void channelRead0(ChannelHandlerContext channelHandlerContext, MsgType s) - 在
MsgType里继续耕耘! - 新开一个服务, 就有新的 pipeline 了!
