[1078] 临时提交

This commit is contained in:
lin
2025-07-09 16:16:04 +08:00
parent 48eff320fd
commit 3c6b715ce1
7 changed files with 63 additions and 34 deletions

View File

@@ -2,6 +2,7 @@ package com.genersoft.iot.vmp.jt1078.session;
import com.genersoft.iot.vmp.jt1078.proc.Header;
import io.netty.channel.Channel;
import io.netty.channel.ChannelFuture;
import io.netty.util.AttributeKey;
import lombok.extern.slf4j.Slf4j;
@@ -44,7 +45,9 @@ public class Session {
public void writeObject(Object message) {
log.info("<<<<<<<<<< cmd{},{}", this, message);
channel.writeAndFlush(message);
System.out.println(message);
ChannelFuture channelFuture = channel.writeAndFlush(message);
System.out.println(222);
}
/**