| | |
| | |
|
| | | }
|
| | | }
|
| | |
|
| | |
|
| | | // /**
|
| | | // * 断开全部的Link网关连接
|
| | | // */
|
| | | // public static void stopAllConnectLinkGateway() {
|
| | | // for (TcpSocketBoot data : TCP_SOCKET_BOOT_LIST) {
|
| | | // //断开指定的link网关连接
|
| | | // stopConnectLinkGateway(data);
|
| | | // }
|
| | | //
|
| | | // }
|
| | | //
|
| | | // /**
|
| | | // * 断开指定的link网关连接
|
| | | // *
|
| | | // * @param tcpSocketBoot tcp对象
|
| | | // */
|
| | | // public static void stopConnectLinkGateway(TcpSocketBoot tcpSocketBoot) {
|
| | | // synchronized (TCP_SOCKET_BOOT_LIST) {
|
| | | // try {
|
| | | // TCP_SOCKET_BOOT_LIST.remove(tcpSocketBoot);
|
| | | // tcpSocketBoot.client.disconnect();
|
| | | // } catch (Exception ignored) {
|
| | | // }
|
| | | // }
|
| | | // }
|
| | |
|
| | | }
|