update 电单车协议

This commit is contained in:
Guoqs
2024-08-03 16:09:02 +08:00
parent b535eba509
commit 01770b2123
5 changed files with 9 additions and 8 deletions

View File

@@ -10,8 +10,8 @@ public class ClientChannelInitializer extends ChannelInitializer<SocketChannel>
protected void initChannel(SocketChannel socketChannel) throws Exception {
ChannelPipeline pipeline = socketChannel.pipeline();
pipeline.addLast(new MessageEncode());
pipeline.addLast(new MessageDecode());
// pipeline.addLast(new MessageEncode());
// pipeline.addLast(new MessageDecode());
pipeline.addLast(new RpcResponseHandler());
}