|
|
@@ -2,6 +2,7 @@ package com.zd.netty.sdk;
|
|
|
|
|
|
import com.gg.reader.api.dal.GClient;
|
|
|
import com.gg.reader.api.dal.GServer;
|
|
|
+import com.gg.reader.api.dal.HandlerGClientConnected;
|
|
|
import com.gg.reader.api.protocol.gx.MsgBaseStop;
|
|
|
import com.zd.common.core.enums.HardwareOperate;
|
|
|
import com.zd.common.core.exception.ServiceException;
|
|
|
@@ -48,6 +49,7 @@ public class DeJuRFIDListenerService implements IService {
|
|
|
String ipAddress = hardware.getIpAddress();
|
|
|
if (serverMap.containsKey(ipAddress)) {
|
|
|
GServer server = serverMap.get(ipAddress);
|
|
|
+ server.onGClientConnected= (client, s) -> DeJuRFIDService.stopGpo(client,0);
|
|
|
server.close();
|
|
|
log.info(ipAddress + "---监听结束");
|
|
|
}
|