| | |
| | | package com.zy.core.netty.handle; |
| | | |
| | | import com.core.common.Cools; |
| | | import com.zy.common.utils.News; |
| | | import com.zy.core.netty.AbstractInboundHandler; |
| | | import com.zy.core.netty.cache.ChannelCache; |
| | | import com.zy.core.netty.domain.ChPackage; |
| | |
| | | String uuid = ChannelCache.removeChannel(ctx.channel()); |
| | | ctx.close(); |
| | | if (!Cools.isEmpty(uuid)){ |
| | | log.info("uuid={} 空闲剔除", uuid); |
| | | News.info("uuid={} 空闲剔除", uuid); |
| | | } |
| | | } |
| | | } |
| | |
| | | String uuid = ChannelCache.removeChannel(ctx.channel()); |
| | | ctx.close(); |
| | | if (!Cools.isEmpty(uuid)){ |
| | | log.info("通道 uuid={} 失去连接", uuid); |
| | | News.info("通道 uuid={} 失去连接", uuid); |
| | | } |
| | | } |
| | | |