lost conn means nothing

This commit is contained in:
ZZ 2021-09-08 16:33:52 +08:00
parent 67305b7396
commit fded0d4999

View File

@ -32,9 +32,9 @@ public class ChargingPileEventHandler implements ClientEventHandler {
public void lostConnection(ClientHandler handler) {
String pileNo = ChargingPileServer.getPileNo(handler);
if (pileNo != null) {
ChargingPileServer.disconnPileNGuns(pileNo);
}
// if (pileNo != null) {
// ChargingPileServer.disconnPileNGuns(pileNo);
// }
log.info("<- ({}) - [{}] - {} ->",
pileNo, handler.getName(), handler.getSocket().getRemoteSocketAddress().toString());
}