消息中间件RocketMQ原理解析 - 斩秋二:NettyRemotingServer Remoting 服务端实现 broker 启动初始化 NettyRemotingServer , 向 netty 注册 handler NettyEncoder 协议编码器,将 RemotingCommand 转换为字节,给 netty 传输 NettyDecoder 协议解码器, 将 netty 接收的输入流,转换成 RemotingCommand NettyConnetManageHandler sendMessageExecutor) 三:NettyRemotingClient 向 netty 注册 handler NettyEncoder 协议编码器,将 RemotingCommand 转换为字节,给 netty 传输 NettyDecoder 协议解码器, 将 netty 接收的输入流,转换成 RemotingCommand Ne0 码力 | 57 页 | 2.39 MB | 1 年前3
共 1 条
- 1













