Commit 8ea108dc by Future

日志打印

parent 9a2856ee
...@@ -60,7 +60,7 @@ public class ChannelManager { ...@@ -60,7 +60,7 @@ public class ChannelManager {
*/ */
public void online(Long clientId, Integer platform, NioSocketChannel channel) { public void online(Long clientId, Integer platform, NioSocketChannel channel) {
String longChannelId = channel.id().asLongText(); String longChannelId = channel.id().asLongText();
log.info("保存本地连接clientId {} platform {}", clientId, platform); log.info("保存本地连接clientId {} platform {} channel is null {}", clientId, platform, channel==null);
this.putSessionInfoMap(clientId, platform, channel); this.putSessionInfoMap(clientId, platform, channel);
UserStateListener.triggerOnlineEvent(clientId, platform, longChannelId); UserStateListener.triggerOnlineEvent(clientId, platform, longChannelId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment