mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-07 19:40:07 +08:00
update
This commit is contained in:
@@ -17,6 +17,7 @@ public class StartAndLengthFieldFrameDecoder extends ByteToMessageDecoder {
|
|||||||
// 构造函数,初始化起始标志
|
// 构造函数,初始化起始标志
|
||||||
public StartAndLengthFieldFrameDecoder() {}
|
public StartAndLengthFieldFrameDecoder() {}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected void decode(ChannelHandlerContext ctx, ByteBuf buffer, List<Object> out) throws Exception {
|
protected void decode(ChannelHandlerContext ctx, ByteBuf buffer, List<Object> out) throws Exception {
|
||||||
// log.info("StartAndLengthFieldFrameDecoder.decode");
|
// log.info("StartAndLengthFieldFrameDecoder.decode");
|
||||||
// 记录包头开始的index
|
// 记录包头开始的index
|
||||||
|
|||||||
Reference in New Issue
Block a user